Commit Graph

357 Commits

Author SHA1 Message Date
Adam
67030e38a4 slayer plugin: better support multikills
This observes deaths of tagged npcs each tick and will use those if
available instead of assuming one kill per xpdrop
2020-07-01 15:55:26 -04:00
Adam
47c375cb03 client: use guice provided http client everywhere 2020-06-27 23:21:28 -04:00
Adam
f9aea0d958 examine plugin: fix overflow in computing alch price 2020-06-27 13:52:14 -04:00
Adam
71d89af946 client: use item composition high alch price
The correct way to compute ha price is floor(storePrice * 0.6f). This
was being computed incorrectly everywhere except for the bank plugin.
THis is now being computed centrally via the api.
2020-06-27 13:41:49 -04:00
Adam
edbf5d22e1 client: update to use isKeyPressed 2020-06-26 12:14:27 -04:00
Jordan Atwood
6ccaf8876c bank plugin: Remove ContainerCalculation class
This commit removes the hashing feature from container calculation which
alone would make obsolete the ContainerCalculation class, so it
additionally inlines the `calculate()` method into the plugin class.

Additionally, this commit adds null handling for the items parameter of
`calculate()` to prevent NPEs.
2020-06-24 17:28:47 -07:00
Jordan Atwood
db917454e8 menuentryswapper: Fix birdhouse swap 2020-06-24 18:07:44 -04:00
melkypie
90aa9ecc09 chatcommands: allow cox pb to look at previous pb times from jagex 2020-06-24 14:17:50 -04:00
melkypie
d3e7998e99 chatcommands: fix cox pb tracking for 24+ players team size 2020-06-24 14:17:50 -04:00
Adam
e02bd1d5b8 client: remove itemskeptondeath plugin
This is being superseded in the game update tomorrow - https://twitter.com/JagexAsh/status/1275786030038335488
2020-06-24 10:08:40 -04:00
MMagicala
573baa40fc item charges: Fix Amulet of Chemistry charges for low-dose potions (#11825)
Prior to this change, an amulet of chemistry creating potions of any
dose amount less than four (by using it when mixing one-dose Stamina
potions, for instance) would not have its charge count updated.
2020-06-24 04:09:48 +00:00
Max Weber
b0677e68e9 chatcommands: don't throw every tick if the player has opened a scroll
This interface is used in many other places
2020-06-23 19:10:34 -04:00
Adam
f20d3e7e1e menu swapper: clean up swap logic 2020-06-23 14:53:53 -04:00
Adam
bf49da90b4 client: add safemode flag to disable gpu plugin and externals 2020-06-17 11:23:53 -04:00
Adam
51f0b7752d timers plugin: add support for ring of endurance to stam timer 2020-06-15 18:23:51 -04:00
Adam
cc8b8c9bcf chat commands: add hallowed sepulchre kc 2020-06-15 15:20:02 -04:00
Adam
2c9e8ab222 chat commands: add hallowed sepulchre pb 2020-06-15 15:20:02 -04:00
Adam
84611f0db8 Rename clan chat to friends chat 2020-06-15 14:57:16 -04:00
Steven Goodman
735d7eba37 chatfilter: fix formatted messages not being collapsed 2020-06-14 13:28:37 -04:00
PresNL
ba7f6de445 slayer: Parse task information from gem activate chat (#11866) 2020-06-14 07:58:23 +00:00
Jordan Atwood
4b4720751c infoboxmanager: Test infoboxes with same plugin and priority
See: 406c2bc7db
2020-06-09 12:51:01 -04:00
Jordan
50ca13f031 Merge pull request #11612 from TheStonedTurtle/sanfew 2020-06-09 00:45:44 -07:00
Broooklyn
3379494a67 util: Add removeFormattingTags text function 2020-06-08 18:22:53 -04:00
Adam
d7f55bbef6 slayer plugin: fix points and streak being forgotten when restarted with no task 2020-06-08 17:57:41 -04:00
Adam
a1122ba141 ge: fix computing bought/sold amount
Use the total spent price instead of the delta spent price, as it is
being divided by the total quantity
2020-06-06 10:35:20 -04:00
Adam
bda66e8da4 npc indicators: add option to highlight dead npc menu entries 2020-06-04 23:15:49 -04:00
Adam
a45d208eb6 ge plugin: ignore offers being cleared on logout 2020-06-04 14:56:07 -04:00
Adam
2dd6fa41e9 ge: include both delta qty and qty 2020-06-04 10:14:01 -04:00
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