Commit Graph
159 Commits
Author SHA1 Message Date
Tomas Slusny ac8f728d47 Remove dodgy charges variable from item charges plugin
Just use config class directly, this variable makes no sense.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-19 22:53:26 +00:00
Adam a211e39cfd plugin manager test: check plugins don't error when registering with eventbus 2019-02-08 18:27:15 -05:00
Henry Zhang 4e6552a1f1 Migrate onSetMessage to onChatMessage
These were probably just missed. They cause warnings in the console and
make it so the Wintertodt plugin doesn't start
2019-02-07 22:58:44 -08:00
Adam b0f29aab0a client: update SetMessage usages to ChatMessage 2019-02-07 19:42:25 -05:00
Adam 640e0d2915 mlm plugin: fix ore counter to not count already collected ore 2019-02-04 11:27:45 -05:00
Jordan Atwood b559fd859b chat commands: Add test case for PB without trailing period 2019-01-30 09:13:26 +01:00
Adam 9d5dad5cad Add !pb chat command 2019-01-26 15:58:35 -05:00
AdamandSpedwards 41ae79437e Add task chat command
Co-authored-by: Spedwards <improbablepuzzle@gmail.com>
2019-01-22 19:13:32 -05:00
Tomas Slusny 272990041c Replace usage of Spliter/Joiner with toCSV/fromCSV
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-21 11:22:56 +00:00
Adam c4afc599ed examine plugin: drop examines for tradable items and large stacks 2019-01-20 16:17:05 -05:00
Max Weber c017bd4a36 PatchImplementationTest: Don't immediately fail upon finding an error 2019-01-16 13:35:55 -07:00
Charlie Waters b2666eb088 Slayer plugin: Add task location tracking 2019-01-13 20:16:44 -05:00
Tomas Slusny 2fc784a2ed Merge pull request #7124 from Nightfirecat/fix-prayer-to-next-combat-level-calculation
Fix prayer to next combat level calculation
2019-01-10 17:25:37 +01:00
Max Weber e5ab589c3b Skybox: Do bounds check on the localPlayer's location, not the camera's
This prevents the skybox from turning black when the camera goes out of bounds, but the player is still inbounds
2019-01-08 18:01:13 -07:00
Max Weber 9098d1fa94 Add Skybox plugin 2019-01-07 13:39:09 -05:00
trimbe 60aa135fe5 bank value: use ItemContainer instead of WidgetItemQuery 2019-01-05 18:11:55 -05:00
AdamandMonsterxSync e48b5acb07 Add karambwans and wine to cooking plugin
Change "You cook the" to just "You cook" to potentially cover more food than
just karambwans. Also add test for various cooking messages.

Co-authored-by: MonsterxSync <william53142@gmail.com>
2019-01-04 22:33:43 -05:00
steffenhauge 72cce77784 Add puzzle solver for monkey madness 1 puzzle box (#6545)
* Add puzzle solver for monkey madness 1 puzzle box
2019-01-04 21:44:00 +01:00
Spedwards 57d2ec5317 Split Valuable and Untradeable screenshot options (#7167) 2019-01-03 23:12:24 +01:00
Jordan Atwood 5edeeb6633 combatlevel: Fix prayer level needed to next combat
This adds a test which exposes an edge case where the needed prayer
levels to next combat level had been calculated to be 3 instead of 1,
and fixes that calculation.

Fixes runelite/runelite#7103
2018-12-31 20:01:05 -08:00
Jordan Atwood 541ad1e26d combatlevel: Clean up plugin code
This commit moves constants from the test to the overlay, and replaces
instances of magic numbers with them. It additionally fixes the odd
check in `correctPrayer()` and fixes some minor whitespace issues.
2018-12-31 10:40:26 -08:00
AdamandJustin Kufro 1ad41c76fd idle notifier: add spec regen notifier
Co-authored-by: Justin Kufro <kufroj@gmail.com>
2018-12-09 10:47:42 -05:00
tanlines 83eee1f074 screenshot plugin: add screenshot on valuable/untradeable item drop 2018-12-05 09:17:28 -05:00
Adam e3c243e1e0 Move EventBus implementation to runelite-client 2018-12-01 19:08:26 -05:00
Tomas Slusny 0281237b99 Replace usages of Guava EventBus with custom one
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-12-01 16:41:09 -05:00
Twiglet1022 c4bea02599 Improve responsiveness of fishing idle notification (#6457)
Move fishing idle notification from animation-based to interaction based to enhance the responsiveness of it.
2018-11-25 13:12:40 +00:00
Michael 42542ddad9 Add support for parsing first slayer task (#6677)
Fixes #5945
2018-11-25 13:08:24 +00:00
Adam c28f53cd4a gpu: move common compute header to its own file 2018-11-23 13:22:13 -05:00
Brett 8452409937 Add tooltip to show levels required for next combat level (#5764)
* Add new final int under `Experience.java` for maximum combat level
* Add overlay that will calculate which skills and how many levels are necessary to increase combat
* Add new configuration page for the combat level plugin
* Create tests to ensure calculations are accurate

![image](https://user-images.githubusercontent.com/21368969/46361707-ec9acd80-c633-11e8-8467-90edab14f744.png)

![image](https://user-images.githubusercontent.com/21368969/46361749-03d9bb00-c634-11e8-9012-a0dd586ff4cb.png)
The tooltip will leave out anything you are unable to gain a combat level through training.

Closes #448
2018-11-20 10:26:38 +01:00
Adam 3f5e273349 Add GPU renderer 2018-11-15 09:37:36 -05:00
Tomas Slusny 91dd07f405 Make ItemVariationsMapping use generated json
This adds support for many new variations (mostly slayer helmets,
tridents and items with different ids but same names).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-03 18:30:55 +01:00
Tomas Slusny 3f904d3804 Merge pull request #6244 from deathbeam/idle-notifier-fixes
Properly update last action times in Idle Notifier
2018-11-03 12:44:30 +01:00
Ron Young 7d4fa67af6 Add ItemVariationMapping enum and test
Add mapping for item variations to base items and test for it.
2018-10-31 10:36:29 +01:00
Hydrox6 0432ce4ca9 Merge multiple varbitChanged events in AttackStyles to one (#6258)
There's no good reason for this plugin to have 3 separate events for a Varbit changing.
2018-10-30 17:31:47 +01:00
Tomas Slusny 4800560dee Fix combat brace slayer test after double trouble addition
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-29 12:39:42 +01:00
Tomas Slusny 4e8df5f6f2 Merge pull request #6164 from deathbeam/fix-combat-brace-race-condition
Fix combat brace slayer task race condition
2018-10-29 12:23:24 +01:00
Tomas Slusny 6515174e18 Properly update last action times in Idle Notifier
- Properly update last action times in Idle Notifier right after the
action is changed/updated.
- Do not reset lastCombatCountdown in resetTimers()

Supersedes/closes #6241
Extracted from #5369

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-29 11:58:13 +01:00
Dustin db684d8d1b Stop slayer kills desync for Grotesque Guardians with Double Trouble reward active (#5983)
Correctly reduce task amount by 2 if killing Grotesque Guardians with the Double Trouble slayer reward enabled

Fixes #4336
2018-10-28 08:44:06 +01:00
Tomas Slusny 338794f8f3 Fix combat brace slayer task race condition
Apparently combat bracelet message is sent before XP drop is received,
so task updates to correct amount and then is substracted by 1. To
combat this, virtually increase amount by 1 so the xp drop will
substract to correct amount.

Closes #6091

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-24 17:22:29 +02:00
Adam 5eae5201f1 runelite-client: add Twitch chat plugin 2018-10-22 21:44:53 -04:00
Jordan Atwood 8594cd4a93 slayer: Add combat bracelet task update handling
Fixes runelite/runelite#4473
2018-10-12 14:35:24 -07:00
Tomas Slusny f6588ae3ba Correctly parse slayer task with the and breaks in npc name
This fixes e.g chaos elemental task assignment.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-10 17:34:33 +02:00
Kamiel 44dcba2f10 Fix chat notification highlight words split regex (#5798)
Fixes an issue where the chat notifications plugin would not split word highlights with input as `some,highlight` even though they are supposed to be valid
2018-10-08 15:18:48 +02:00
Tomas Slusny 6b5c0d719c Merge pull request #5784 from NathenSample/fix/DontUseNF
Improve readability of stackformatter tests
2018-10-05 10:51:28 +02:00
Nathen Sample fd50e773be Add support for partner assignment to slayer plugin (#5782) 2018-10-04 15:12:32 +02:00
Nathen Sample e3b33a7d61 Improve readability of stackformatter tests 2018-10-03 18:17:18 +01:00
robinwithes 2adb760f02 Add support for parsing Wilderness assignment updates to slayer plugin (#5757)
Fixes #5687
2018-10-03 15:00:20 +02:00
Jordan Atwood 20922aea9a slayer plugin: Add parsing for boss task assignments
Ref: https://user-images.githubusercontent.com/2199511/45984305-f9c22600-c04f-11e8-8cda-a8f4ab40e678.png
2018-09-24 16:05:55 -07:00
Max Weber f117ac082a idlenotifier: Correctly warn about AFK kicking 2018-09-17 15:23:31 -06:00
Tomas Slusny b90d37c8ec Use mouse/keyboard idle state properly in IdleNotifier
- Use mouseLastPressedMillis instead of mouseIdleTicks as
only mouse press events indicate that player is idle, and not mouse
movements
- Use also keyboard check when resetting idle when active

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-09 04:38:44 +02:00