Commit Graph

275 Commits

Author SHA1 Message Date
Hydrox6
afe85fa6e6 slayer: fix boss task parsing to support Konar
Fixes runelite/runelite#8009
2020-02-23 12:04:55 -05:00
Adam
01ebf340e3 Merge pull request #10777 from Nightfirecat/clear-clue-scroll-on-empty-dev-command
Clear clue scroll on empty dev command
2020-02-20 17:04:57 -05:00
Jordan Atwood
9e560d91e3 cluescroll plugin: Clear stale location clue hint arrows
Location clue scrolls added a hint arrow when the player was nearby one
of the clue's locations. It did not, however clear that arrow if the
locations were changed and the previously-set hint arrow location was no
longer marked. This commit updates this behavior to clear the active
hint arrow each game tick before re-adding any location hint arrows.
(and if no NPC hint arrows are set)

Fixes runelite/runelite#10370
2020-02-20 15:23:00 -05:00
Ron Young
e8454a367c banktags: add tests 2020-02-20 09:25:59 -05:00
Jordan Atwood
967fadf59d Revert "timers plugin: Improve imbued heart detection"
This reverts commit 45c5df3379.
2020-02-14 09:01:44 -08:00
Adam
99e885cb0a loottracker: fix tracking first clue opens 2020-02-13 12:51:36 -05:00
Max Weber
7e8bebc083 gpu: run glslangValidator on shaders during tests 2020-02-11 18:54:00 -05:00
Max Weber
cf9f7fc9fb gpu: refactor shader compilation 2020-02-11 18:53:59 -05:00
Jordan Atwood
5b28f343ca clues: Don't return clue instances for empty text
This commit ensures that all clues providing a static `forText()` method
return null when given an empty string as clue text.
2020-02-11 14:05:42 -08:00
Adam
4d5857214e loot tracker: add pickpocket events
Co-authored-by: Daniel Cimento <daniel.cimento@mail.mcgill.ca>
2020-02-10 18:27:01 -05:00
Max Weber
9a5337db3c runelite-client: typecheck configs extend Config 2020-02-09 04:14:57 -07:00
Jordan Atwood
45c5df3379 timers plugin: Improve imbued heart detection
As is the case with other graphics-based timers, the imbued heart timer
will not fire if enough other graphics animations are triggered (such as
those created when fighting the Dagannoth Kings). To add this timer more
reliably, this commit will add the timer when a Magic stat boost occurs
which is large enough that it can only be triggered by the heart.

Because the heart's boost scales with the player's level, it gives an
equal boost to the Magic essence and Magic potion boosts, depending on
the base magic level. To account for this, it will only be applied if
the user's base magic level is high enough to assuredly identify that a
potion was not used to trigger the boost.

Fixes runelite/runelite#3516

Co-authored-by: Lucas <lws.ned1260@gmail.com>
2020-02-08 18:57:22 -05:00
Adam
5bbd3fa30c Merge pull request #10717 from Nightfirecat/fix-hot-cold-same-temperature-narrowing
HotColdSolver: Add same-temperature solution narrowing
2020-02-08 18:11:03 -05:00
Jordan Atwood
73d37c061b HotColdSolver: Add same-temperature solution narrowing
The hot-cold solver previously was unable to perform narrowing if given
a temperature change of "SAME", leading to less-than-optimal results
when a number of otherwise-possible solutions could be removed from the
possible results by inferring that since they would have yielded a
"COLDER" or "WARMER" temperature change. This commit removes possible
solutions which are absolutely closer or farther from the previous
tested location.

One pre-exisitng test needed to be updated to pass with this change, as
it expected results to be narrowed more slowly than they now are. In
addition, a minimal test case with only two starting locations has been
added to demonstrate this change is working correctly.
2020-02-02 15:46:50 -08:00
Alexsuperfly
ecbfd9caa9 Raids: Enable screenshotting of scouting overlay 2020-02-02 17:06:38 -05:00
Alexsuperfly
3f1120d23a idle notifier: prevent double notifications for anim and interact 2020-02-02 13:19:47 -05:00
Zach Waller
8708788004 menu swapper: add bank deposit/withdraw shift click
Co-authored-by: Adam <Adam@sigterm.info>
2020-01-27 19:51:54 -05:00
melkypie
7c20e05bf9 chatcommands: fix cox pb tracking 2020-01-23 22:53:36 +02:00
Matt Capone
10e5a1f181 chatcommands: add CoX pb tracking 2020-01-20 15:42:36 -05:00
Adam
4845560cb8 menu swapper: add bank extra op swap 2020-01-14 20:07:32 -05:00
melkypie
2681d395fc menu swapper: check home portal swap target
The swap was attemting to run on anything with the "enter" option, which
conflicted with the quick-enter swap below it.

Co-authored-by: Adam <Adam@sigterm.info>
2020-01-10 20:24:01 -05:00
Adam
bf0ff69e07 raids plugin: add option to show loot value
Co-authored-by: melkypie <melkypie@users.noreply.github.com>
2020-01-07 17:38:01 -05:00
Adam
3cf777d274 hiscore plugin: add boss hiscores
Co-authored-by: Abex <mii7303@gmail.com>
Co-authored-by: Gamma91 <bramvgemert@gmail.com>
2020-01-05 10:10:49 -05:00
Max Weber
dc2f4b6f59 ImageUtil: Rename methods to luminance, and work with non ARGB images 2019-12-16 13:30:07 -07:00
h3half
4578333fe0 slayer plugin: fix detecting Konar's first assignment 2019-12-09 18:15:08 -05:00
dekvall
1b3fe266bc prayer-reorder: remove test
The plugin has been removed.
2019-11-27 21:23:57 +01:00
Adam
b273e9f464 client: use mock webserver for client config loader test 2019-11-25 09:47:05 -05:00
Adam
0b90fcde22 client: refactor for nameable api changes 2019-11-22 09:25:23 -05:00
Adam
0e920bdd98 raids plugin: fix matching rotation whitelist
Spaces were not being removed from the config values causing the
whitelist contains check to fail.

Additionally, change the format of the raids whitelist to be newline
separated CSV which is not interpreted by GSON as valid JSON, fixing the
config service from serializing the whitelist rotation which is adding
erroneous quotes around the room names.

This also refactors the rotation whitelist display to be a simple yes/no
instead of this unused match count logic.

Co-authored-by: Alexsuperfly <alexcsumner@gmail.com>
2019-11-20 19:38:23 -05:00
Adam
7052977448 rotation solver: fix to use modulus instead of remainder operator 2019-11-16 12:46:42 -05:00
Tomas Slusny
f7d441fc1d Merge pull request #10255 from dekvall/attack-style-change-test
attack styles: add test for swap between bludgeon and bow
2019-11-15 10:32:30 +01:00
dekvall
51e951e4dc attack styles: add test for swap between bludgeon and bow
When swapping between bludgeon and bow, onWidgetHiddenChanged is called before
the weapon varbit is set. Since that varbit determines which widgets should be
hidden we would like to make sure the widget is set to hidden even after a
varbit change.
2019-11-14 09:54:00 +01:00
15987632
e3edc16f86 raids plugin: fix rotation solver 2019-11-11 08:22:41 -05:00
JZomerlei
560a738845 woodcutting plugin: add arctic pine logs 2019-11-10 11:11:07 -05:00
Adam
6d34e2b2f3 Merge pull request #10155 from Adam-/layout
Add layout chat command
2019-11-08 11:32:18 -05:00
Adam
7e57e15f47 Move ConfigChanged event to client events 2019-11-08 10:08:07 -05:00
Adam
eea61cdc8e client: update for new skill change event 2019-11-04 13:15:06 -05:00
Adam
ec0858548f container calculation: fix overflow computing ge price 2019-11-01 10:14:44 -04:00
Adam
19b27d11fc raids plugin: refactor RaidRoom 2019-10-28 20:04:54 -04:00
Adam
6a3264e68b client: remove Cerberus plugin
Removed at Jagex's request
2019-10-24 14:12:36 -04:00
Alex
fcbd26bbc9 menu entry swapper: add shift click teleport spell swap
Co-authored-by: Adam <Adam@sigterm.info>
2019-10-23 13:19:55 -04:00
Adam
37e025ed79 client: update mockito
Remove various unused stubbing detected by the newer Mockito version

Update references to deprecated Matchers and MockitoJUnitRunner classes
2019-10-23 10:52:14 -04:00
SebastiaanVanspauwen
45c8da0adb timers plugin: update full teleblock text 2019-10-18 20:57:59 -04:00
Adam
7bbb705b3e Merge pull request #10027 from abextm/quantity-formatter
Fix documentation/naming/safety of StackFormatter
2019-10-16 12:39:34 -04:00
Adam
81f5125496 async buffered image: move to util 2019-10-12 11:24:05 -04:00
Max Weber
d627171bbe runelite-client: Rename StackFormatter to QuantityFormatter
StackFormatter.formatNumber was incredibly misleading, it makes more
sense to remove Stack from the classes name than move it.
2019-10-10 04:29:30 -06:00
Max Weber
32f624e1d5 StackFormatter: remove quantityToRSStackSize
This is nearly unused, and serves no great purpose as
quantityToStackSize can display the same information in a more readable
format
2019-10-10 03:49:44 -06:00
Ron Young
bcbcf638e5 bank plugin: add item value searching
Co-authored-by: Adam <Adam@sigterm.info>
2019-09-16 14:25:43 -04:00
Adam
27b5d7308f menu entry swapper: fix menu searching optimization 2019-09-13 09:29:50 -04:00
Adam
c94dd00a05 clue plugin: support Prifddinas clues
This adds hotcold solver support in Prifddinas, and allows coordinate
clues to be located in the city.

Modify coordinate clues to support "real" and "overworld" locations so
that regardless of which region you are in, the overlays work for
either.

Closes #9459
2019-09-07 13:21:48 -04:00