Commit Graph

4620 Commits

Author SHA1 Message Date
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
Tomas Slusny
dcbccbb01b Move rs-client related classes to own package
To properly differentiate between client loading logic, move these
classes to own package.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 22:33:46 +02:00
Tomas Slusny
7de8436bdb Merge pull request #4412 from deathbeam/pmod-support-chat
Add support for mod public chat to ChatCommands
2018-07-21 10:54:46 +02:00
Tomas Slusny
90853c91c8 Merge pull request #4417 from deathbeam/clan-member-rank-jmod
Add JMod clan member rank
2018-07-21 10:53:53 +02:00
Tomas Slusny
7c5e545846 Merge pull request #4436 from timovv/inventory-viewer-spacing
Inventory viewer: make padding between items same as in inventory.
2018-07-21 10:31:17 +02:00
Tomas Slusny
b861b7d706 Merge pull request #4432 from Nightfirecat/fix-sdmm-opponent-lookup
opponent info plugin: Fix SDMM hiscore lookup
2018-07-21 09:48:41 +02:00
Timo van Veenendaal
fa7403affa Inventory viewer: Fix vertical spacing of items to match inventory. 2018-07-21 16:13:58 +12:00
Timo van Veenendaal
175ec9d271 Inventory viewer: make padding between items same as in inventory.
Fixes #4136
2018-07-21 15:59:07 +12:00
Jordan Atwood
6c1aefc8d9 opponent info plugin: Fix SDMM hiscore lookup
SDMM worlds have both `DEADMAN` and `SEASONAL_DEADMAN` types, so we
must check for the latter first to accurately determine the hiscore
lookup endpoint.
2018-07-20 16:45:31 -07:00
Tomas Slusny
67bb02c42e Merge pull request #4430 from Joshua-F/fix/actorquery-interacting
Use the supplied actor passed to ActorQuery#isInteractingWith
2018-07-21 00:35:14 +02:00
Joshua Filby
fb0dc0c68c fix: use the supplied actor to check against in isInteractingWith 2018-07-20 17:07:03 -05:00
Tomas Slusny
5249f73e54 Add JMod clan member rank
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-19 23:27:38 +02:00
Tomas Slusny
0a4ce4cf4c Merge pull request #4388 from Kamielvf/tile-fix
perspective: fix regression caused by 2599db2
2018-07-19 21:32:01 +02:00
aquivers
aa6cb47a8c Add more chat !kc abbreviations (#4372)
Fixes #4396
2018-07-19 21:02:46 +02:00
Tomas Slusny
e19b057bdd Add support for mod public chat to ChatCommands
Without this chat commands were not working because it just exited
early for pmods.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-19 20:09:51 +02:00
Tomas Slusny
9fbe78e069 Merge pull request #4397 from Abextm/banana-plantation-clue
cluescrolls: Move banana plantation clue out of tree
2018-07-19 19:06:30 +02:00
Magic fTail
fd09843bb6 bank value plugin: add option to display exact value 2018-07-19 11:05:03 -04:00
Bert De Geyter
7a0ed04005 Render abyss rift portals as soon as visible (#3841)
Instead of checking for max distance, just render all visible abyss portals
2018-07-19 15:58:00 +02:00
Adam
573832386a Merge pull request #4403 from Abextm/172-double-translate
mixins: Don't post mouse events that have already been posted
2018-07-19 08:41:53 -04:00
Max Weber
f1907fc7b1 mixins: Don't post mouse events that have already been posted 2018-07-19 06:32:38 -06:00
Runelite auto updater
4ec592b1cd [maven-release-plugin] prepare for next development iteration 2018-07-19 11:13:12 +00:00
Runelite auto updater
f872e08dc3 [maven-release-plugin] prepare release runelite-parent-1.4.8 2018-07-19 11:13:04 +00:00
Adam
52c2249a37 Update 172 2018-07-19 06:55:52 -04:00
Samunition
3bd8b51e1f Rename NPC from Blue Moon Inn to Bartender (#4396)
Fixes #4389
2018-07-19 12:15:32 +02:00
Max Weber
6f781bfc61 cluescrolls: Move banana plantation clue out of tree 2018-07-19 02:27:12 -06:00
Adam
c68dcb073d Merge pull request #4114 from LeviSchuck/xp-pausing
Add pause skill timing feature to the XP Tracker
2018-07-18 20:36:34 -04:00
Levi Schuck
f0e35fcd6d Add feature to pause skill timers on logout or after idle period 2018-07-18 20:23:26 -04:00
Tomas Slusny
10e1ab3bd8 Merge pull request #4391 from deathbeam/fix-varrock-quiz-camels
Fix camels type in varrock museum quiz
2018-07-19 02:18:37 +02:00
Tomas Slusny
2c463c48cd Merge pull request #4390 from Nightfirecat/remove-clue-scroll-plugin-useless-null-check
clue scroll plugin: Remove useless null check
2018-07-19 01:58:03 +02:00
Tomas Slusny
a006cdebb1 Fix camels type in varrock museum quiz
Fix spaces in camels type answer in VarrockMusuem quiz solver.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-19 01:11:55 +02:00
Levi Schuck
aa8d2e5b1f Add dimming UI to progress bar 2018-07-18 19:08:20 -04:00
Jordan Atwood
b36d6fa410 clue scroll plugin: Remove useless null check 2018-07-18 15:48:15 -07:00
Kamiel
d6906e735b perspective: fix regression caused by 2599db2 2018-07-18 23:50:09 +02:00
Tomas Slusny
9fa8e1271a Merge pull request #3602 from Nightfirecat/reset-freeze-timer-on-vorkath-spawn-death
Remove freeze timer on Vorkath Zombified spawn death
2018-07-18 22:09:47 +02:00
Tomas Slusny
db7d1e8a6d Merge pull request #4383 from deathbeam/sang-staff-tradeable-val
Add mappings for untradeable versions of raids 2 items
2018-07-18 20:31:50 +02:00
Tomas Slusny
4ccf7fed92 Merge pull request #4384 from deathbeam/fix-unused-import
Remove unused import from RSTileMixin
2018-07-18 20:20:34 +02:00
Tomas Slusny
f99b1416b7 Remove unused import from RSTileMixin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-18 20:04:45 +02:00
Tomas Slusny
aa7d8925ca Add mapping for Scythe to ItemMappings
Add mapping of untradeable version of Scythe Of Vitur to its tradeable
version.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-18 20:02:30 +02:00
Tomas Slusny
8227d045c9 Add Sanguinesti Staff to ItemMapping
Add mapping for untradeable to tradeable version of Sanguinesti Staff to
ItemMapping

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-18 20:01:31 +02:00
Adam
bdc9008c1d Add item despawn events when ground items is nulled
When you walk into view of a chunk, all tiles get cleared followed by item spawns
2018-07-18 13:00:21 -04:00
Jordan Atwood
f2a4d67aed Remove freeze timer on Vorkath Zombified spawn death 2018-07-18 09:19:13 -07:00
Tomas Slusny
69d8b74a09 Merge pull request #4376 from Nightfirecat/reduce-visibilities-in-timer-plugin
timers plugin: Reduce visibilities
2018-07-18 17:58:11 +02:00
Adam
6bd7739fb4 Merge pull request #3838 from Abextm/fairy-ring-search
Fairy ring search
2018-07-17 21:38:41 -04:00
Jordan Atwood
479cd395a9 timers plugin: Reduce visibilities
Ref: runelite/runelite#3911
2018-07-17 17:30:20 -07:00
Max Weber
181c4a0abf devtools: Show index on dynamic widgets in the tree 2018-07-17 18:19:03 -06:00