Commit Graph

4672 Commits

Author SHA1 Message Date
Jordan Atwood
be91d3ce26 friend notes plugin: Use ColorUtil functions 2018-07-26 19:51:22 -07:00
Jordan Atwood
c898fda923 boosts plugin: Use ColorUtil functions 2018-07-26 19:51:21 -07:00
Jordan Atwood
339ece742c achievement diary plugin: Use ColorUtil functions 2018-07-26 19:51:20 -07:00
Jordan Atwood
c64727e6b4 widget menu option: Use ColorUtil functions 2018-07-26 19:34:21 -07:00
Jordan Atwood
477027a032 chat message manager: Use ColorUtil functions 2018-07-26 19:33:29 -07:00
Jordan Atwood
8472ae61e5 notifier: Use ColorUtil functions 2018-07-26 19:29:25 -07:00
Jordan Atwood
29777c0b1f Add color utility class
In addition to creating `colorTag`, `prependColorTag`, and
`wrapWithColorTag` functions, this commit moves
`SwingUtil::toHexColor` and `SwingUtil::colorLerp` to this new class.
2018-07-26 19:21:29 -07:00
Jordan Atwood
39e56151b7 timers plugin: Use constants for checked strings 2018-07-26 18:27:12 -07:00
Jordan Atwood
aede77f7e5 item charge plugin: Use constant for checked string 2018-07-26 18:27:02 -07:00
Adam
f4344dd082 Merge pull request #4505 from deathbeam/fix-color-load
Fix loading of chat colors on startup
2018-07-26 17:36:39 -04:00
Tomas Slusny
01d5e11975 Fix loading of chat colors on startup
ConfigChanged is no longer propagated on startup, so colors need to be
loaded explictly for first time.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-26 13:31:34 +02:00
Runelite auto updater
6c0250df33 [maven-release-plugin] prepare for next development iteration 2018-07-26 10:57:59 +00:00
Runelite auto updater
9cbc1ad3a0 [maven-release-plugin] prepare release runelite-parent-1.4.9 2018-07-26 10:57:52 +00:00
Adam
71076c6cdc Merge pull request #4048 from jplsek/ge-alt-search-ge
Allow alt search while grand exchange inventory is active
2018-07-25 18:09:11 -04:00
Jeremy Plsek
4fce3b5c84 ge plugin: rewrite alt-click searching
This simplfies the code and improves performance by only needing to loop
over the menu entries instead of the inventory and checking all types of
inventories.

- Fix exceptions being thrown when losing focus on the client when
searching. There is still an exception when spam clicking, but that was
always there to begin with.
- Fix searching while using the GE window and while using a shop window.
2018-07-25 17:53:13 -04:00
Adam
f2a6391cdf Merge pull request #4482 from deathbeam/fix-ground-items
Propagate height to ground items
2018-07-25 14:37:11 -04:00
Tomas Slusny
c262ca267a Merge pull request #4494 from Nightfirecat/fix-menaphite-master-emote-clue
clues: Fix menaphite emote requirements
2018-07-25 11:14:29 +02:00
Tomas Slusny
3d46b17028 Merge pull request #4468 from LeviSchuck/xp-126
Fix level 126 next goal to be max XP (200,000,000) instead of -1 xp
2018-07-25 11:05:24 +02:00
Levi
08db5091af Check for skill being trained while ticking change (#4469)
Check for skill being actually trained while ticking XP change in XP tracker plugin.
2018-07-25 11:02:58 +02:00
Jordan Atwood
2e3efc29cb clues: Fix menaphite emote requirements
Fixes runelite/runelite#4493
2018-07-24 20:52:49 -07:00
Adam
23c13c1d53 cache: fix assembler to set correct switch table index
The int operand of switch instructions is an index into the switch table. The operand was always 0, breaking scripts with multiple switches.
2018-07-24 20:12:34 -04:00
Tomas Slusny
30bf68a23b Propagate height to ground items
Propagate item layer height to ground items again

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-24 18:22:34 +02:00
Levi Schuck
96c3f07c4b Fix level 126 next goal to be max XP (200,000,000) instead of -1 xp 2018-07-24 10:50:36 -05:00
Tomas Slusny
7831042189 Merge pull request #4447 from deathbeam/do-not-reconfigure
Update frame config when needed
2018-07-24 11:52:13 +02:00
Tomas Slusny
28dd5f477c Update frame config when needed
Update resizable only when it is really changed as it messes up window
sometimes if fullscreen

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-24 11:41:10 +02:00
Adam
7bbb154dff Merge pull request #2251 from marshdevs/2123-diary-level-requirements
Add level requirements to diaries
2018-07-23 17:50:06 -04:00
Adam
5c920f9414 Add achievement diary plugin
This adds skill level requirements to the achievement diary log.
2018-07-23 10:59:15 -04:00
Adam
25ab36d56e Merge runelite-scripts into runelite-client 2018-07-22 19:59:54 -04:00
Adam
37c95ff75e Add private message input event and add !kc to chatcommands for private messages 2018-07-22 19:44:10 -04:00
Abex
1d31796fc5 Merge pull request #4350 from Abextm/hotkey-consumer
runelite-client: Consume hotkeys in HotkeyListener
2018-07-22 14:36:24 -06:00
Adam
14707ba202 Merge pull request #4429 from deathbeam/add-movable-widgets
Add support for movable RS widgets
2018-07-22 14:23:28 -04:00
Adam
3f30e5ebb0 Merge pull request #4442 from Adam-/master+minimap
Fix plugins rendering over hidden minimap
2018-07-22 12:30:18 -04:00
Tomas Slusny
a3ddd47a29 Add support for RS movable widgets
Add support for adding RS widgets to RuneLite overlay system and make
them moveable with persisted positions during restarts.

Depends on #3820 for widget ids

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-22 18:25:00 +02:00
Tomas Slusny
2627f08f18 Add experience tracker widget WidgetInfo
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-22 18:25:00 +02:00
Tomas Slusny
84473262ba Use Overlay#getBounds for getting correct bounds
Use Overlay#getBounds for getting correct bounds in OverlayManager in
case overlay overrides getBounds with custom functionality.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-22 18:25:00 +02:00
Tomas Slusny
d700ebc257 Add support for resetting the detached overlays
Add support for resetting saved data for detached overlays.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-22 18:25:00 +02:00
Adam
381696fddd perspective: account for minimap being hidden or moved in worldToMiniMap 2018-07-22 12:13:09 -04:00
Adam
0297f7684c mixins: optimize widget isHidden and getParent 2018-07-22 12:13:09 -04:00
Adam
630a3947da mixins: only update render parent of nested widget if widget would have been rendererd 2018-07-22 12:13:09 -04:00
Adam
2942b25e5d runelite-api: add fixed minimap widgets 2018-07-22 12:13:09 -04:00
Adam
4d98c63168 Merge pull request #3820 from deathbeam/fix-resizable-minimap
Use correct widget when hiding resizable minimap
2018-07-21 21:29:15 -04:00
Adam
5c1028817e Merge pull request #4399 from Abextm/map-clue-description
cluescrolls: Add description to map clues
2018-07-21 20:50:04 -04:00
John Pettenger
8943d1d106 timers plugin: add abyssal sire stun timer 2018-07-21 20:31:55 -04:00
Adam
899ad1c78a Merge pull request #3668 from deathbeam/improve-client-creation
Improve client creation
2018-07-21 20:25:35 -04:00
Tomas Slusny
cda98fc50e Move Discord and EventBus after ClientUI
Move initialization of Discord service and EventBus after ClientUI
startup to display the ClientUI sooner

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 23:09:08 +02:00
Tomas Slusny
af34aa0e53 Properly load configuration when showing ClientUI
- Properly load configuration when first showing ClientUI instead of
waiting for ConfigChanged events.
- Merge open and show to 1 method
- Remove ClientUILoaded as it is no longer necessary

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 23:09:08 +02:00
Tomas Slusny
53148d0cdd Remove recursive dependency on RuneLite
- Merge ClientUI.show and ClientUI.init as now applet can be properly
injected
- Change RuneLite to be autocloseable and send it when opening ClientUI

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 23:09:07 +02:00
Tomas Slusny
66bfbc5648 Send launch properties around as bound constants
Instead of exposing static variable provide launch properties to
dependant classes as bound constants in RuneLiteModule.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 23:05:22 +02:00
Tomas Slusny
8909871554 Inject and load RS client and applet through Guice
Instead of requiring to create client from RuneLite just use Guice for
it and separate applet provider.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 23:05:22 +02:00
Tomas Slusny
0f0ac2ab64 Allow RS loading classes to be used with Guice
- Provide OkHttpClient through Guice instead of using it from static
variable
- Chain the RS classes with Guice and inject ClientLoader to RuneLite
class
- Cleanup RS loading classes a bit

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 23:05:19 +02:00