Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
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
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
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
Tomas Slusny 4323783bfc Merge pull request #4330 from MagicfTail/rename-event
ScreenshotPlugin: fix naming of onWidgetLoaded event
2018-07-15 02:46:59 +02:00
Tomas Slusny 70059a9bf1 Merge pull request #4304 from deathbeam/remove-investigate-swap
Remove investigate menu entry swap
2018-07-13 09:50:45 +02:00
Tomas Slusny fca7b2ee7f Remove investigate menu entry swap
As this was added to official client, it is now unnecessary.

Closes #4292

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-13 07:37:22 +02:00
Tomas Slusny 4e3cec18f0 Correctly reset boosts when on NEVER 2018-07-11 19:11:54 -04:00
Tomas Slusny 91991a5eb6 Add support for preserving boost indicators
- Add support for showing boost indicators after no stat is boosted based
on last accurate change.
- Change the  counter to be in ticks in order to get most accurate
results possible

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-09 15:00:59 -04:00
Tomas Slusny 2ab19503df Add debuff/buff change indicators
- Add support for dynamically updating infoboxes
- Create infoboxes only once and then determine if they should be drawn
- Add indicators for both buff and debuff timers. By default only buff
timer is enabled.
- Properly reset everything on shutdown

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-09 15:00:59 -04:00
Tomas Slusny 0223206994 Check if infobox can render in InfoBoxOverlay
Infoboxes have property render that needs to be checked in
InfoBoxOverlay.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-09 12:30:23 -04:00
Tomas Slusny 30976ee72b Add more !kc abbreviations
- Remove ambiguous "archaelogist" abbreviation and replace it with
respective crazy and deranged arch abbrevs
- Add "chambers" and "cox" abbrevs to raids 1
- Add "theatre", "tob", "verzik" and "verzik vitur" abbrevs to raids 2

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-08 23:46:24 +02:00
Tomas Slusny f8f561fe83 Fix "verxik" typo in ChatCommandsPlugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-08 23:34:48 +02:00
Tomas Slusny ac0de0aee5 Do not explode on illegal unicode chat in settings
Prevent client shutting down from main method in case settings contain
illegal unicode string due to config file corruption.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-08 18:44:42 +02:00
Tomas Slusny a4b3b6d272 Merge pull request #3702 from deathbeam/add-rs-mappings-oculus-normal-speed-public
Set oculus speed to 36 (x3) in DevTools
2018-07-08 14:49:53 +02:00
Tomas Slusny 4a26a39068 Merge pull request #4158 from Nightfirecat/fix-agility-pyramid-laps
Fix agility pyramid laps
2018-07-07 13:12:11 +02:00
Tomas Slusny 137b6d2260 Add spec active indicator to spec orb
Add indicator for special attack being active to special attack orb.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-07 01:35:24 +02:00
Tomas Slusny 9cb5f7283a Set oculus speed to 36 (x3) in DevTools
Default oculus orb speed is hardly useable when trying to explore
something so this will set it to more reasonable default.

Depends on !9

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-06 14:07:38 +02:00
Tomas Slusny 31d7ed8850 Add api mappings for oculus orb normal speed
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-06 14:06:48 +02:00
Tomas Slusny df0ad824f9 Merge pull request #4194 from Nightfirecat/remove-worldclient-from-xptracker-plugin
Remove WorldClient usages from xp tracker plugin
2018-07-06 11:30:44 +02:00
Tomas Slusny 54cce8209e Merge pull request #4191 from Nightfirecat/fix-sw-deserted-keep-hot-cold-clue
clues: Fix SW-of-deserted-keep hot-cold location
2018-07-05 23:03:35 +02:00
Tomas Slusny 945a80f114 Merge pull request #4178 from forsco/broad-arrows-skillcalc
Add broad arrows to fletching skill calc
2018-07-05 14:27:40 +02:00
Tomas Slusny a24449638b Merge pull request #4167 from deathbeam/clues-respect-hiscore
Make !clues command respect account type
2018-07-04 22:16:41 +02:00
Tomas Slusny 7d7ffa14de Merge pull request #4168 from deathbeam/fix-discord-reset
Reset Discord state if now > updated + timeout
2018-07-04 17:13:15 +02:00
Tomas Slusny 34e95cdafe Reset Discord state if now > updated + timeout
Correctly reset Discord state only if now > updated + timeout instead of
updated > start + timeout.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-04 16:45:59 +02:00
Tomas Slusny b4d836a903 Merge pull request #2899 from PandahRS/feature/discord-area-update
Add minigames/bosses/cities/dungeons to Discord plugin
2018-07-04 16:13:51 +02:00
Tomas Slusny 896f70d7a5 Make Discord plugin more extensible/support region
- Simplify DiscordState to support more scenarious and use simple
list-based system for determining last event and timeout each event
separately
- Remove actionDelay as that functionality is no longer present
- Add debug log output to DiscordService
- Cleanup DiscordGameEventType to follow new simple DiscordState logic
and add proper priorities to events
- Add support for different type of regions

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-04 15:58:40 +02:00
Tomas Slusny 0cd709f9ef Add logging of presence to DiscordService
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-04 15:57:42 +02:00
Tomas Slusny d77139f15a Make !clues command respect account type
Make !clues command in ChatCommandsPlugin respect account for rankings.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-04 12:47:24 +02:00
Tomas Slusny d494570ffd Merge pull request #4166 from Nightfirecat/add-agility-pyramid-entrance-obstacles
agility plugin: Add pyramid entrance obstacles
2018-07-04 11:26:50 +02:00
Tomas Slusny 5eb4fa4639 Merge pull request #4124 from Abextm/range-stat-boost
itemstats: Add variable healing food
2018-07-04 09:54:32 +02:00
Tomas Slusny 2539adb1d4 Merge pull request #4137 from deathbeam/varrock-quiz
Add Varrock Museum Quiz solver to puzzle solver plugin
2018-07-04 01:26:04 +02:00
Tomas Slusny 5571705183 Merge pull request #3957 from takuyakanbr/improve-plugin-list
Improve plugin list/config panel
2018-07-04 01:23:46 +02:00
Tomas Slusny 5643e2b41e Merge pull request #4145 from Nightfirecat/fix-skill-calculator-combined-item-decimals
skill calculator: Fix combined items with decimals
2018-07-03 10:49:10 +02:00
Tomas Slusny 257342de72 Merge pull request #4127 from Nightfirecat/fix-empty-ge-search
Fix empty GE search render bug
2018-07-02 10:21:40 +02:00
Tomas Slusny 3359828821 Merge pull request #4100 from Nightfirecat/add-field-rations
item stats plugin: Add field ration
2018-06-30 14:48:49 +02:00
Tomas Slusny 6e3eaf3111 Merge pull request #4088 from deathbeam/fix-title-component-size-return
Return preferredSize.width from TitleComponent
2018-06-30 14:47:36 +02:00
Tomas Slusny 84b09f05b4 Merge pull request #4086 from Nightfirecat/add-missing-rfd-foods
item stats: Add missing RFD foods
2018-06-30 14:45:55 +02:00
Tomas Slusny 9e316525b2 Merge pull request #4093 from Nightfirecat/add-eel-fishing-spots
fishing plugin: Add cave eel and slimy eel spots
2018-06-30 13:36:19 +02:00
Tomas Slusny eacf445e18 Merge pull request #4094 from Nightfirecat/add-swamp-caves-shortcuts
agility plugin: Add Lumbridge swamp cave shortcuts
2018-06-30 02:15:34 +02:00
Tomas Slusny f440796e76 Return preferredSize.width from TitleComponent
To return parent defined dimensions properly, return preferredSize.width
instead of text width, as this is block component so it should act like
block and not return custom sizes.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-29 23:37:36 +02:00
Tomas Slusny 7482d2f5a6 Merge pull request #4079 from deathbeam/fix-sotd-sol
Make SOTD/SOTL timer use chat messsage
2018-06-29 14:38:19 +02:00
Tomas Slusny e7022475b0 Make SOTD/SOTL timer use chat messsage
Instead of using graphic make SOTD/SOTL timer use chat message as that
one is more reliable and same for both.

Fixes #4078

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-29 14:20:33 +02:00
Tomas Slusny dab700b710 Merge pull request #1942 from Gamer1120/ironman-hiscore-lookups
Fix ironman hiscore lookup in chat
2018-06-29 12:26:41 +02:00
Tomas Slusny 865bae6c2d Add ironman status and AccountType to API
- Add ironman status varbit and account type to API

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-29 12:21:15 +02:00
Tomas Slusny bbe6417518 Merge pull request #4063 from Nightfirecat/dont-apply-vengeance-other-timer-on-energy-transfer
timers plugin: Apply Vengeance Other timer only on Vengeance Other graphic
2018-06-29 10:23:06 +02:00
Tomas Slusny f25afcbec2 Merge pull request #4064 from Nightfirecat/fix-chat-color-config-typo
chat color: Fix description typo
2018-06-29 08:10:28 +02:00
Tomas Slusny a83e05ddaa Merge pull request #4047 from Kamielvf/screenmarker-panel-fix
screen-markers: fix graphical bug
2018-06-28 15:25:44 +02:00
Tomas Slusny 08b4cfc72d Merge pull request #4043 from Nightfirecat/add-edible-seaweed
item stats plugin: Add Edible seaweed
2018-06-28 15:25:22 +02:00
Tomas Slusny 5620fb5e90 Merge pull request #4013 from Abextm/hotkey-ezfix
runelite-client: Don't use system specific modifier key names
2018-06-28 10:24:24 +02:00
Tomas Slusny 85b800f0a1 Merge pull request #4045 from Nightfirecat/clear-opponent-info-fields-on-shutdown
opponent info plugin: Clear fields on shutdown
2018-06-27 23:49:29 +02:00
Tomas Slusny 30897eb9aa Merge pull request #3997 from deathbeam/remove-corp-useless-title
Remove title from corp panel
2018-06-27 10:28:44 +02:00
Tomas Slusny fc16e51c70 Merge pull request #4018 from Abextm/hotkey-compare
runelite-client: Add a equals implementation to Keybind
2018-06-26 14:45:17 +02:00
Tomas Slusny 954d7fe692 Merge pull request #4017 from deathbeam/fix-kraken-tridents
Fix price of tentacle tridents
2018-06-26 10:46:33 +02:00
Tomas Slusny 932c957b3c Fix price of tentacle tridents
- Fix price/mapping of trident of the seas (e)
- Fix price/mapping of trident of the swamp (e)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-26 10:02:12 +02:00
Tomas Slusny 4f36a787de Merge pull request #4002 from HSJ-OSRS/battlestaves-idle
Add battlestaff crafting to idle notifier
2018-06-25 17:21:12 +02:00
Tomas Slusny f68dea3df7 Merge pull request #3830 from deathbeam/center-stretched-fixed
Center stretched fixed mode horizontally
2018-06-25 16:40:21 +02:00
Tomas Slusny a919653360 Make Fight Cave plugin more accurate
- Replace fixed scheduled hook with AnimationChanged hook to determine
what to pray
- Null current attack when Jad despawns (goes out of view)

Closes #3904

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-25 16:31:15 +02:00
Tomas Slusny b7ec293201 Merge pull request #4007 from Nightfirecat/add-stamina-mix-timer
timers plugin: Create timer for stamina mixes
2018-06-25 11:28:26 +02:00
Tomas Slusny 41d79b02a8 Remove title from corp panel
This is completely unnecessary as it is obvious and is just using screen
estate for no real reason. Also we dont do this for any other plugin.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-24 19:55:30 +02:00
Tomas Slusny beb9100c39 Merge pull request #3990 from Shingyx/karamja-stepping-stones-level
agilityShortcutLocation: Fix SE Karamja agility marker
2018-06-24 13:31:54 +02:00
Tomas Slusny 2d01eae2c4 Merge pull request #3963 from Nightfirecat/fix-more-hot-cold-clues
Even more hot-cold clue fixes
2018-06-24 13:30:29 +02:00
Tomas Slusny c8e0f5a3f9 Merge pull request #3976 from deathbeam/add-callback-docs
Update documentation for Callbacks interface
2018-06-24 11:58:16 +02:00
Tomas Slusny 49c3f538ef Add inventory tagging plugin
Add plugin that will tag items in inventory with 4 different categories
and draw outlines for tagged items.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-23 14:28:33 -04:00
Tomas Slusny af7e76502b Add new toBufferedOutline method to SpritePixels
Add method that returns item image with outline to SpritePixels.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-23 14:20:11 -04:00
Tomas Slusny 3c3e0ef1ae Update documentation for Callbacks interface
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-23 15:46:47 +02:00
Tomas Slusny 27de05c785 Move shift-click config to top of menu swapper
This should be clearly separated from other options and be priority at
the top.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-23 04:25:01 +02:00
Tomas Slusny 9839049abd Remove Age menu entry swapping
This feature is mostly unnecessary as it is way too spefic and with very
little use.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-23 04:24:40 +02:00
Tomas Slusny 4f837e9a86 Add prayer bar to prayer plugin
- Add optional prayer bar under HP bar to prayer plugin.
- Properly capitalize prayer config options

Reimplemented from and closes #2549

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-23 04:18:17 +02:00
Tomas Slusny ce619bbc20 Rename prayer tooltip option
Rename "Show Prayer Stats" to "Show Prayer Orb Tooltip".

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-23 04:17:51 +02:00
Tomas Slusny 42341133b7 Merge pull request #3961 from NathenSample/3911-KourendLibrary
Update kourend library plugin encapsulation
2018-06-23 02:33:40 +02:00
Tomas Slusny d21cac1449 Add documentation for Hooks
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:36 -04:00
Tomas Slusny ffbc89a801 Move menuActionHook to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:36 -04:00
Tomas Slusny 486c8c985a Move clientMainLoop to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:35 -04:00
Tomas Slusny 7437da1237 Move drawRegion call to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:35 -04:00
Tomas Slusny d948dc05ed Move drawAboveOverheads call to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:34 -04:00
Tomas Slusny bac06e5b3a Move graphicsObjectCreated to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:34 -04:00
Tomas Slusny 517c4c4796 Move addChatMessage to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:33 -04:00
Tomas Slusny 4d6386d846 Move projectileMoved to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:32 -04:00
Tomas Slusny 3835f005f6 Move setMessage to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:32 -04:00
Tomas Slusny 4241e4384f Move postItemComposition to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:31 -04:00
Tomas Slusny eea63dd171 Move focusLost to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:29 -04:00
Tomas Slusny 384bdb1179 Move focusGained to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:28 -04:00