Commit Graph

429 Commits

Author SHA1 Message Date
Adam
83756e8722 ge: submit spent price instead of computed per-item price 2020-06-01 09:56:09 -04:00
johannfrias
b25cfc5f80 screenshot: fix quest screenshot naming method (#11580)
This commit adds a quest completion dialog parsing method which gives
proper quest screenshot filenames for all quests, including those with
unique/non-uniform completion texts such as "You have Made Friends with
My Arm" and "You have rebuilt The Giant Dwarf".
2020-06-01 05:59:58 +00:00
TheStonedTurtle
4836080e56 item stats - Fix sanfew serum restore bonuses 2020-05-31 07:34:53 -07:00
TheStonedTurtle
1c159c929a item stats - Fix revitalisation potion prayer bonus 2020-05-31 07:34:53 -07:00
Adam
6a2e15643f ge plugin: include world type in trades 2020-05-30 20:06:33 -04:00
Adam
17d6921a4a ge plugin: submit partially completed trades 2020-05-30 19:26:43 -04:00
melkypie
ed9621e18a chatcommands: add tob personal best tracking
Adds the ability to use theatre of blood !pb command, which will include the best wave/challenge time
2020-05-27 19:18:06 -04:00
Lotto
6518a6a51d player-indicators: don't decorate non-player custom menu options
Splits the RUNELITE menu action into two actions:

RUNELITE -  general menu items.

RUNELITE_PLAYER - menu items which target a player and have its identifier set to a player index.

Then the player indicators plugin is changed to only decorate RUNELITE_PLAYER menu items.
2020-05-27 18:42:46 -04:00
melkypie
654966c5b3 chatcommands: fix chambers of xeric pb tracking
Fixes the !pb command to account for the new OSRS update. This does not include team size based pb's, just your best overall pb
Also adds the ability to look at adventure log to check your cox pb's.
2020-05-27 18:15:47 -04:00
Adam
ba9ffb1d60 infobox manager: make threadsafe
Currently this gets called from multiple threads, mostly client and EDT,
causing unsafe acces to infoBoxes.
2020-05-24 15:52:28 -04:00
Adam
e9aac02a43 keyremapping: use modified key map for mapping key release
This cleans up the code some and is more-correct since it will eg. no
longer remap fkeys on keyrelease even when it was not remapped on
keypress.
2020-05-24 10:32:52 -04:00
Jordan Atwood
c2a9ac443b client: Simplify ItemContainer usage
Because itemManager#getItemPrice() canonicalizes the passed item ID, it
is no longer necessary to get noted items' base IDs or otherwise
canonicalize item IDs before interacting with the method.
2020-05-23 16:22:29 -04:00
Jordan Atwood
39a2407b71 examine: Move price lookups off executor
Historically price lookup was done by sending a web request on price
lookups, which required calls to be done on an executor. As of
a1ae397e11, client prices are loaded periodically and cached, thus no
longer imposing any thread requirement on price lookup.
2020-05-23 16:22:29 -04:00
Corey Forsyth
f85f6be5cf chatfilter: add option to block repeated public messages
Co-authored-by: Adam <Adam@sigterm.info>
2020-05-23 13:19:14 -04:00
Corey Forsyth
0715e3c9fc chatfilter: add collapse duplicate chat option
Co-authored-by: Adam <Adam@sigterm.info>
2020-05-23 13:19:14 -04:00
Adam
4da4979e48 attackstyles: use script event for hiding attack styltes 2020-05-16 14:12:51 -04:00
bfmoatbio
7dba7b58e6 menu manager: Remove bounty hunter emblem text from player name (#11541) 2020-05-14 06:47:31 +00:00
bfmoatbio
d74fff1991 Allow non-degraded barrows equipment for clue step
One master clue step requires the player to wear "any full barrows set."
Previously the emote clue logic for this step allowed only levels of
degradation from 0-100, but not the non-degraded item (whose item ID is
disjoint from the others).

Wrap those item range checks with an 'any' clause which also allows the
non-degraded item.

Add tests for degraded and non-degraded barrows sets.
2020-05-13 14:19:05 +02:00
Adam
0309ba41fd loottracker: stack clue scrolls in the ui instead of at loot receive time 2020-05-11 11:14:59 -04:00
Jordan Atwood
9c77948f80 loottracker: Show chat message after NPC and PVP kills
This commit adds configs to display chat messages with the name and
value of NPC and/or PVP kills.
2020-05-07 14:30:10 -07:00
Adam
26ffd1be33 key remapper: consume key typed events for remapped keys
Since all of the keys we remap to (f/arrow/escape keys) do not have
associated characters, consume key typed events for the characters
associated to the original key press event.

This fixes entering bank pins with fkey remapping on both entering your
pin and changing your inventory tab, due to the client processing the
tab change on key press (which is remapped) and the bank plugin
processing the pin input on key typed.
2020-05-04 23:21:39 -04:00
Adam
c7a155d09c loot tracker: cleanup clue scroll stacking and test
Most of this test was superfluous and continiously retesting the same
logic
2020-05-04 23:20:57 -04:00
Tomas Slusny
c2d855de65 Merge pull request #11420 from while-loop/loottracker-clue-scroll
loot-tracker: make clue scroll drops stackable
2020-05-03 10:24:26 +02:00
Jordan Atwood
7bea9f9f3b timers: Remove color matching for teleblock messages
When playing using the resizable viewport and the transparent chatbox,
teleblock messages are sent using a different color than when using the
standard chatbox. This commit removes that color matching entirely from
messages indicating that a teleblock timer has been applied or removed.
2020-05-02 13:14:23 -04:00
Anthony Alves
e5a7f9af73 loot-tracker: make clue scroll drops stackable 2020-05-02 13:04:48 -04:00
Adam
f60d818558 chat notifier: fix highlight own name matching player names with spaces
We internally rewrite nbsp to space in Player.getName(), but the in-game
drop messages which include players names still have nbsp. Modify the
generated username matcher pattern to match either nbsp or space.
2020-04-30 15:07:27 -04:00
Adam
e930283176 timers: add divine bastion and battlemage potions 2020-04-30 11:23:29 -04:00
Adam
6f0a2c9069 client: update itemcontainer api usage
Use new api methods if appropriate
2020-04-21 18:39:41 -04:00
Dennis
059b28989e ge plugin: fix fuzzy search highlighting 2020-04-16 17:56:01 -04:00
Adam
3ede5ebb56 Revert "Mock ConfigManager in ItemStatOverlayTest to inject TooltipManager"
This reverts commit 75b29026f9.
2020-04-16 16:57:34 -04:00
Tomas Slusny
75b29026f9 Mock ConfigManager in ItemStatOverlayTest to inject TooltipManager
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2020-04-08 15:17:38 +02:00
Deon Zhao
65d63cd754 loottracker: Track herbiboar loot with an open herb sack
When looting the herbiboar with an open herb sack, instead of receiving
the herbs to your inventory, the herbs are deposited to the sack
directly and the player receives chat messages indicating the herbs they
received. This commit adds support for reading those chat messages when
looting the herbiboar.

This change incidentally fixes an issue which arose when the open herb
sack was introduced to the game where any inventory change after looting
the herbiboar would be tracked as herbiboar loot, such as drinking a
stamina potion.

Closes #10655
Fixes #10718
2020-03-30 18:43:34 -04:00
Adam
844a85392b speccounter: fix some bugs and edge cases
1) fix plugin to correctly identify blocked hits as a spec being used

2) fix when hitsplats appear on the same tick as uninteracting with the
target npc

3) fix when hitsplats appear in between the spec and its hitsplat on
other targets

4) fix specs not registering when not having to path to monsters due to
the spec varbit changing prior to the interact event firing
2020-03-27 17:40:44 -04:00
Max Weber
1f09833022 grounditems: manually match item thresholds
The regex used was explosive and wouldn't complete with large inputs
that can appear when the user has a mildly corrupted config
2020-03-26 11:21:06 -06:00
Adam
91ae43dd2d api: make IterableHashTable generic 2020-03-24 14:04:13 -04:00
Adam
046c20fb5b client: block extra mouse keys
The key remapping plugin has no way to operate being on and also not
blocking chat input, due to the other features of the plugin all doing
key remaps and thus are required to know whether or not you are trying
to type, or using a remapped key.

This moves the blocking to the core, which we think won't affect many
users anyway, and those that it does can just remap their mouse keys.
2020-03-22 17:59:41 -04:00
Adam
5da84178e7 chatcommands: fix showing -1 experience/rank in lvl 2020-03-22 14:24:52 -04:00
Adam
0ee189cf9d keyremapping: add test for typing mode change 2020-03-22 12:15:20 -04:00
Adam
203ecce4db keyremapping: add option to block extra mouse buttons 2020-03-22 12:15:20 -04:00
Tomas Slusny
c7bbb3bb3a Merge pull request #10912 from dekvall/ground-count
ground items: add support for quantity thresholds
2020-03-17 21:29:51 +01:00
Adam
c1d5e3ae16 hiscore panel: autocomplete recent search history
Co-authored-by: Daniel <serpa88@hotmail.ca>
2020-03-17 10:26:34 -04:00
Jordan
a0ba612219 Merge pull request #10974 from Nightfirecat/center-more-hot-cold-clues
HotColdLocation: Center some location spots
2020-03-13 15:33:48 -07:00
Jordan Atwood
af7647e204 HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Note: Because this commit makes adjustments to some locations relied
upon in the hot-cold solver class test, some tests must be adjusted in
order to keep passing.

Ref: #9601
2020-03-12 10:00:38 -07:00
dekvall
982b1749ce ground items: add support for quantity thresholds
Adds the ability to use `<` and `>` when configuring highlighted or hidden drops.
2020-03-10 18:22:34 +01:00
Daniel
a34d9d30d6 Reset Discord status after a while of being in menu (#9116)
Closes #667
2020-03-08 23:01:23 +01:00
Trevor
43123e46a3 client: fix default sessionfile/config args 2020-03-06 14:08:50 -05:00
Trevor
d19e125998 client: add session and config file arguments 2020-03-06 11:47:58 -05:00
ThatGamerBlue
dc6942197e chatfilter: add filtering by username 2020-03-05 15:28:05 -05:00
Adam
7c3ff105fb api: update for tinted block and damage hitsplats 2020-03-05 07:17:07 -05:00
Jordan Atwood
bb0e693aea itemstats: Add tooltip string method tests
This commit adds tests to ensure proper formatting of the tooltip string
so as to prevent bugs like the one fixed by 7ca4a929.
2020-03-04 16:05:13 -08:00