Commit Graph

388 Commits

Author SHA1 Message Date
Adam
908c6b4fe4 infobox: add support for multiple infobox groups
Co-authored-by: Ron Young <admin@ryoung.io>
2020-09-27 10:20:14 -04:00
Adam
9c362fb836 containable frame: assume jdk 12/13/14 do not have fix for JDK-8231564
These versions are EOL, and although greater than 11, do not include JDK-8231564
2020-09-24 18:44:54 -04:00
Jordan
6895ed54da Merge pull request #12430 from usa-usa-usa-usa/feature/update-tzhaar-timer 2020-09-20 21:53:35 -07:00
Adam
62a69b94c5 containableframe: fix parsing Oracle Java 8 version string 2020-09-20 16:46:08 -04:00
jcwhisman
2c2c013cba timers: Fix inferno timer starting time 2020-09-14 08:07:04 -05:00
jcwhisman
43c5e1f916 ElapsedTimer: Display time in mm:ss format 2020-09-09 17:38:03 -07:00
Adam
01447e52a7 timers: consolidate teleblock timers 2020-09-09 11:08:17 -04:00
Adam
2021b4c1ff grounditems: add test for notify on highlight 2020-08-31 13:19:06 -04:00
Jordan Atwood
d1a765091a screenshot: Fix BA high gamble toggle
Because both level up dialogs and BA high gambles use the same widget
interface, commit 40f032bede caused BA
high gambles and some level up dialogs to trigger screenshots if either
config was enabled in the config, as that would set a flag to capture a
screenshot on the next game tick based on the widget text. This commit
adds config checks to the DIALOG_SPRITE_TEXT branch to ensure the
appropriate config flag must be set for a screenshot to be captured.
2020-08-30 13:14:06 -04:00
Max Weber
431e09588b specify utf8 encoding
this should fix the following known bugs:
 - putting a U+2019 in the config causes it to become corrupted and
   ~double in size every launch
 - scripts become assembled incorrectly and the nbsp after your name in
   the chatbox becomes incorrect
 - the feed panel doesn't show emoji
2020-08-28 21:58:08 -04:00
Adam
c9859f36b6 hiscore panel: fix lookup to run on edt
It modifies various fields in the ui and should be running on edt.
Additionally add a clear listener to reset the search state when the
input is cleared.

This requires changing the hiscore client to be async so that the
response can be properly applied on the edt
2020-08-23 11:54:36 -04:00
Adam
a89202e230 party service: prioritize user join handler over plugins
The Discord invites requires the party size to be >0 for invites to work.
Previously this was not updating the presence with the 1 (local) member
after joining due to the plugin event handler running prior to the
service adding the member to the party.

This also changes the party id to always be null when not in a party instead of
set to the special local party id. This simplifies the checks in the
plugins trying to differentiate being in your own party vs not being in
a party.
2020-08-23 11:43:08 -04:00
Adam
be1e1bbdbb timers plugin: add fight cave and inferno timers
Co-authored-by: winterdaze <35933468+winterdaze-rs@users.noreply.github.com>
Co-authored-by: Jordan Atwood <jordan.atwood423@gmail.com>
2020-08-21 20:28:28 -04:00
Jordan Atwood
c9ef18b55e menuentryswapper: Prefer last-destination on Zanaris fairy ring 2020-08-21 16:10:47 -04:00
Landy Chan
1a88b8e214 prayer plugin: fix time remaining text when greater than 1 hour 2020-08-19 16:40:26 -04:00
Adam
276746eea6 mining plugin: add session stats
Co-authored-by: jzomerlei <jzomerlei@gmail.com>
2020-08-15 00:30:37 -04:00
Adam
7c19a6c73b slayer plugin: support new Turael task completion message 2020-08-12 11:04:37 -04:00
melkypie
c2026f5516 chatcommands: make cox pb account for 11-15 and 16-23 team sizes 2020-08-10 18:30:20 -04:00
leejt
18087ca9cc loot tracker: add metadata field to loot record
This is for tracking miscellaneous data with the loot records, such as
npc id and skill levels, for the wiki drop log project.

Co-authored-by: Adam <Adam@sigterm.info>
2020-08-07 18:50:18 -04:00
Jordan Atwood
b16b3a8017 slayer: Fix slaughter bracelet proc text
After the 2020-08-06 game update[1] the Bracelet of slaughter gives a
slightly different text than before. This commit updates the slayer
plugin to identify that new text.

[1]: https://secure.runescape.com/m=news/pvp-changes?oldschool=1
2020-08-07 12:35:51 -04:00
LA
40f032bede screenshot: Capture Barbarian Assault high gamble screenshots (#12071) 2020-07-30 05:39:22 +00:00
Jussi Kauppinen
6034d4646d cooking: Add support for drying sinew (#12184) 2020-07-24 08:05:02 +00:00
Cyborger1
4362adb876 itemstats: check for two handed interactions (#12168) 2020-07-21 02:13:11 -06:00
melkypie
ffafa3a91a loot tracker: add ability to have end of raid tob chest loot value in a chatmessage 2020-07-14 18:47:48 -04:00
melkypie
1ee41dba5a loot tracker: move cox loot value message from raids to loot tracker
Reverts commit bf0ff69e07.
Fixes the bug of double loot messages and adds the ability to use HA for loot value messages.
2020-07-14 18:47:48 -04:00
Max Weber
4308d433a2 npchighlight: Don't iterate npcs off the client thread 2020-07-14 17:05:12 -04:00
Jordan
8464d9b604 Merge pull request #11972 from Nightfirecat/slayer-plugin-use-higher-of-task-lengths-for-start
slayer: Update initial amount if current amount is higher
2020-07-09 12:46:18 -07:00
Jordan
f91fd11621 Merge pull request #12048 from zeffirojoe/key-remapping-authent 2020-07-06 22:19:52 -07:00
Jordan Atwood
349efebd58 keyremapping: Remove vestigial LOGIN_SCREEN guard clause
Key remaps have been blocked at the KeyManager level as of commit
01bdbe5aab, so a LOGIN_SCREEN game state
check is no longer needed within individual KeyListeners.
2020-07-06 22:12:13 -07:00
Adam
83607f1335 infobox manager: keep infoboxes in order of insertion
Collections.binarySearch() does not guarantee which element is found if
there are multiple that compare equal, leaving the order of infoboxes
not necessarily in insertion order. This was an unintended side effect of
ba9ffb1d60 and
406c2bc7db.
2020-07-01 19:21:06 -04:00
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
Jordan Atwood
1dbf432377 slayer: Update initial amount if current amount is higher
Prior to this commit it was possible to receive a change or update in
task by playing on mobile or another client, log back in to RuneLite
with incorrect task information saved to config and, once updated via
checking a slayer gem or speaking with a slayer master, having a task
amount greater than the saved initial task length. This updates the
plugin to use the greater of these numbers so that case is no longer
possible.
2020-06-24 14:56:35 -07: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