Commit Graph

417 Commits

Author SHA1 Message Date
Adam
3771444b7f chat commands: fix detecting pb when completing leagues tasks
The league task message is in between the kc and pb messages, so just look for the pb message on the same tick as the kc message
2020-12-04 15:50:21 -05:00
Adam
16149cdcae config manager: manually parse config keys
The regex used took too long to complete with large inputs that can
appear when the user has a corrupted config.
2020-12-02 19:26:13 -05:00
Adam
23b7a65c29 chatfilter: fix filtering self and clan messages with chat icons
This was incorrectly filtering self/clan messages from players with chat
icons due to not stripping the icon tag before matching the player name.
2020-11-27 15:32:51 -05:00
Max Weber
f078717822 runelite-client: add rsprofile support 2020-11-25 22:29:35 -07:00
Adam
6f60750c31 combat level: show next levels needed even past 99
In some cases, it is not possible to get a combat level solely from leveling
any one stat. If this happened previously the overlay would show an empty
tooltip due to the levels required all being >99. This just shows the levels
required even if it surpasses 99.
2020-11-21 10:40:18 -05:00
Jacob Buckheit
661aca8475 chat notifier: fix matching messages with included punctuation
The punctuation is not in \b or \s, so additionally include \z. Also
added \A for the beginning, which would have the same problem, which the
test also tests for.

Co-authored-by: Adam <Adam@sigterm.info>
2020-11-16 16:28:45 -05:00
Adam
811842ef2f wildcard matcher: quote replacement to prevent the matcher from replacing group references 2020-11-09 19:15:28 -05:00
Adam
3a1e752da5 item charges test: remove unnecessary eq matchers 2020-11-04 15:35:29 -05:00
Unmoon
f17a08ff9d item charges: add Chronicle 2020-11-04 15:35:29 -05:00
Matthew Zegar
43bf4d60eb key remapping: add control remap
Co-authored-by: Adam <Adam@sigterm.info>
2020-11-03 16:06:28 -05:00
Adam
7ceb3c9e02 client: add PMD source code analyzer
This catches common bugs, dead code, etc., and also performs some more advanced
code style checks compared to checkstyle.

Co-authored-by: pilino1234 <pilino@posteo.de>
2020-11-01 11:54:54 -05:00
Adam
d3c0713969 key remapping: don't remap space in options dialog
The options dialog never accepts space, so remapping a key to it doesn't make sense, and it is possible the original key was one of the keys actually being listened for
2020-10-30 14:44:20 -04:00
Jordan
d70003448c Merge pull request #11765 from Plondrein/motherlode-broken-wheel
motherlode: Add overlay for broken water wheel struts
2020-10-24 19:45:31 -07:00
Plondrein
1c21d0671e motherlode: Add overlay for broken water wheel struts
* Rename MotherlodeRocksOverlay to MotherlodeSceneOverlay
* When strut is broken, red border with hammer icon will show around it.
2020-10-24 19:35:40 -07:00
paymon123
03566d6702 ConfigManager: Fix NPE when resetting configs with null default 2020-10-24 22:52:44 +02:00
Matthew C
5a863f358f discord: Fix action timeout, add in game time elapsed option (#12471)
Co-authored-by: Matthew C <66925241+Matthew-nop@users.noreply.github.com>
Co-authored-by: Tomas Slusny <slusnucky@gmail.com>
Co-authored-by: Jordan Atwood <jordan.atwood423@gmail.com>
2020-10-24 02:56:35 +02:00
SirGirion
274df60d3c timetracking: add compost bin time trackers (#12619) 2020-10-19 19:46:14 -06:00
Abex
736e649e24 Merge pull request #12621 from Nightfirecat/kourend-library-varlemore-envoy-fix
kourendlibrary: Don't reset state when not finding Varlamore Envoy
2020-10-18 16:30:01 -06:00
Adam
a2d693fc74 chat commands: unregister bh and lms commands 2020-10-16 13:06:34 -04:00
Jordan
67ecfc3cfa Merge pull request #12130 from Cyborger1/contract-overlay-fix-12124
Check diseased and dead states on the Farming Contract Indicator
2020-10-12 13:07:17 -07:00
Cyborger1
6d78e6884d farming: Fix contract status for plots with diseased/dead crops
This commit fixes the farming contract manager's behavior when
encountering crops which have become diseased. Previously, it would not
take this into account and incorrectly report the crop as IN_PROGRESS or
READY.
2020-10-08 19:52:02 -07:00
Jordan Atwood
d0589c80b9 kourendlibrary: Don't reset state when not finding Varlamore Envoy
The Varlamore Envoy is a quest item which, while having a known location
in the library once a rotation is determined, cannot be found under
certain circumstances. (when the Depths of Despair quest has not been
started, has been collected while completing the quest, and after the
quest is completed) Previously searching a bookcase which could contain
this book and not finding it would cause a state reset. This commit
keeps those null finds from resetting the known library state.
2020-10-08 14:09:06 -07:00
Jack Hodkinson
1ce0474336 Sort plugin search results with closer test matches higher (#12432) 2020-10-05 02:18:16 -06:00
Jordan Atwood
d9876976d6 util: Remove unused and unneeded methods
ImageUtil had previously provided a number of image fill and outline
methods which accepted Predicates to control the fill and outline
behavior, but they are not used anywhere in the client or by external
plugins. This commit removes these methods and the
is(Not)?FullyTransparent ColorUtil methods which existed solely as
Predicate defaults for them.
2020-10-03 12:06:52 -04:00
Adam
1799c9e593 loottracker: submit loot when not logged in
This is to aid the wiki drop log project. The data is not otherwise
stored.
2020-10-01 18:31:39 -04:00
Adam
475e463692 Merge pull request #12472 from Nightfirecat/fix-experience-tests-location
Move Experience tests to proper test class
2020-09-30 17:18:19 -04:00
Adam
c774117d93 loot tracker: fix tracking grubby chest
Co-authored-by: Jonathan Lee <cookmeplox@weirdgloop.org>
2020-09-28 20:16:33 -04:00
SirGirion
f01dce648a loot tracker: add bird houses 2020-09-27 12:36:10 -04:00
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
Jordan Atwood
a0acbb0f7b Move Experience tests to proper test class 2020-09-08 17:27:52 -07: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