Commit Graph

524 Commits

Author SHA1 Message Date
Adam
b3c4465e73 Move hiscore client to rl-client
Thie removes the http-service hiscore api, which we haven't used in
awhile and doesn't work in practice due to upstream rate limits, as well
as the xp tracker which also hasn't been used in a long time since there
are now multiple quality community run xptrackers.
2021-12-14 20:24:22 -05:00
Adam
e04a6becd2 grandexchange: remove osb ge client 2021-12-14 18:48:37 -05:00
Ron Young
a0c14cf06a api: MenuEntry::setDeprioritized return self 2021-12-11 18:06:45 -05:00
Adam
4fe37f978c friendslist: add option to hide per-friend login notifications 2021-12-10 15:06:55 -05:00
Adam
409d0dda76 api: make MenuEntry an interface
This adds a new createMenuEntry api method to make MenuEntries instead.
Menu entries now have an associated callback called when they are
clicked on, avoiding most plugins from having to hook separately to
detect the menu click. Additionally get/set type has changed to take a
MenuAction.
2021-12-09 13:56:40 -05:00
Adam
a05655f412 screenshot plugin: test screenshot filenames 2021-12-05 12:13:18 -05:00
Adam
9564e13d0f screenshot plugin: add combat achievements
Co-authored-by: Evan <55665020+EvanDeadlySins@users.noreply.github.com>
2021-12-05 12:06:28 -05:00
Adam
90f200be53 chat message manager: don't apply color changes to message nodes
Apply the color changes at chat build time directly to the message being
set on the component, instead of prepending the color change onto the
message itself.

This is a bit more robust since it doesn't break things which depend on
the chat message not starting with a color, which they would not
otherwise, such as the chat filter.
2021-11-28 17:34:21 -05:00
Adam
e36e362aa1 chat commands: update duel arena messages 2021-11-18 17:23:06 -05:00
Adam
58bc37f051 screenshot: update duel arena messages 2021-11-18 17:23:06 -05:00
Adam
1362af414a chat filter: Ignore character accents for matching
This lets plain latin-character filters to match messages with accents
and diacritics which are not easily typed on all keyboard layouts.

Co-authored-by: Jordan Atwood <jordan.atwood423@gmail.com>
2021-11-13 10:15:42 -05:00
Adam
67f7e7f488 clues test: remove unnecessary stubbing 2021-11-12 20:02:42 -05:00
Hydrox6
32ff64b30c clues: make item requirements work with the runepouch 2021-11-11 21:03:52 -08:00
Tal Skverer
e50b0f61a8 timers: Track imbued heart timer from varbit 2021-11-04 11:46:28 -07:00
Tal s
533bcd26be woodcutting: Add clue nest notification config (#14132) 2021-10-27 21:21:43 +00:00
Adam
4187db4059 prayer: fix sanfew prayer dose indicator
The plugin was incorectly computing the amount of prayer sanfews restore
2021-10-26 14:53:19 -04:00
Jordan Atwood
7b678b2afb skill calculator: Define actions and bonuses in Java
As the number of bonus types increases, the existing system of allowing
only a single type of bonus to be applied, and only allowing actions to
entirely opt out of having bonuses applied rather than more fine-grained
control, is showing its age. This commit redefines all bonus and action
entries in Java enums so that such systems can be better-defined.
Additionally, it comes with the benefit of easier change validation via
testing and enabling item and sprite ID referencing via runelite-api.
2021-09-28 22:05:00 -04:00
Jordan
1b49afa56b Merge pull request #14019 from superiorser9/notification-screenshot
ScreenshotPlugin: support collection log popup
2021-09-21 07:34:24 +00:00
superiorser9
8345f6c7bd screenshot: Capture collection log popup notifications 2021-09-21 00:28:13 -07:00
Jordan Atwood
d27f5f9a76 api: Add getMirrorPoint to WorldPoint API 2021-09-19 15:10:12 -04:00
Jordan Atwood
d58cecdb8d idle notifier: Support filling water vessels, Shades of Mort'ton
LOOKING_INTO is a generic animation used for numerous activities, and
was previously used as an intermediate animation in a test case. Now
that it is used to trigger idle notifications, a dummy animation has
been inserted to ensure the affected test case will not be broken in the
same way in the future.

Co-authored-by: Nick Wolff <nickwolff2@gmail.com>
Co-authored-by: Arnaud Peralta <arnaud.peralta@gmail.com>
2021-09-13 23:33:03 -07:00
Adam
c52667a5cc Move npc highlight overlay to core
This allows the other plugins which depend on the npc overaly to work
when npc highlight plugin is off, while still letting them use the
consistent highlight style of the central overlay.
2021-09-06 21:45:14 -04:00
Adam
c3c1222570 chat commands: update to parse new adv log pb counters 2021-08-23 17:03:07 -04:00
Adam
e9665f3504 implings plugin: use npc indicators for impling overlay 2021-08-22 16:51:51 -04:00
Adam
442c6105ce chat commands: rename tob story mode to entry mode 2021-08-22 15:33:08 -04:00
Adam
e9c252e227 chat channel: fix join/leave world hop detection
The ChatPlayers do not implement equals or hashCode, making them
unsuitable as a hashmap key. Instead just use a linked list and compare
the members using the comparable interface.
2021-08-21 15:41:53 -04:00
Cyborger1
bd762cc0da text: don't remove double spaces in toJagexName 2021-08-16 10:40:05 -04:00
Adam
33ff3a2749 npc indicators: add fill color config 2021-08-11 19:30:07 -04:00
Adam
c7b444d892 slayer plugin: use npchiglight for task highlights 2021-08-08 11:37:35 -04:00
Max Weber
b23a310832 itemstats: remove quest field
this has always been unused and isn't particularly useful to us anyway
2021-08-06 00:20:28 -06:00
Adam
e276d5e5ce Add interact highlight plugin
Co-authored-by: Eirik Leikvoll <12532870+LeikvollE@users.noreply.github.com>
2021-07-29 18:11:26 -04:00
Adam
87c72e94a3 chat commands: fix parsing nightmare pb 2021-07-28 16:32:08 -04:00
Adam
7854c6f096 chat commands: fix parsing nightmare nb 2021-07-23 17:19:39 -04:00
Adam
671ef69db6 chat commands: use script event for loading col log pets 2021-07-21 14:33:42 -04:00
Trevor
48c6434e6d ground items plugin: add lootbeams 2021-07-18 13:50:44 -04:00
Adam
21a7bf4906 chat commands: add pets command
Co-authored-by: Illya Myshakov <imyshako@uwaterloo.ca>
2021-07-17 10:15:10 -04:00
Jordan Atwood
1ea92b03ef Remove unused Slf4j annotations and imports 2021-07-12 00:49:16 -07:00
Max Weber
778d679ab0 worldmap: fix tooltip widget id 2021-07-06 17:39:52 -06:00
Adam
5d420ae57b Close various resource inputstreams 2021-07-04 15:30:44 -04:00
Hydrox6
30d377f566 timers: make thrall timer use boosted magic level
turns out that thrall spells are seemingly the only arceuus spell with a
magic-level based duration that uses the boosted level, at least out of
the ones we have timers for
2021-06-25 13:00:50 -04:00
Hydrox6
f7136f7aeb timers: add duration and cooldown timers for arceuus spells
Co-authored-by: Adam <Adam@sigterm.info>
2021-06-21 00:00:19 -04:00
Adam
6fc38ed918 discord: fix npe from menu event timing out with elapsed total time
Setting the start time to null isn't necessary, since IN_MENU is marked
shouldRestart, it always resets the start time when the status is changed to
menu. This was clearing it, forcing a presence update, and then erroring when
trying to compute the original start time. It also would have never really unset,
even if it wasn't erroring later, due to IN_MENU also being unclearable, and
so would have never been removed in the first place.

Additionally the status reset test is also wrong since it is testing the end
timestamp which has never been used by us, making the test useless.
2021-06-17 00:13:12 -04:00
Adam
35ddeebf04 screenshot plugin: add tob story and hard mode screenshots 2021-06-13 18:12:55 -04:00
Adam
5db59f083e screenshot plugin: consolidate kill count fields 2021-06-13 17:31:29 -04:00
Adam
86a79a1509 Remove examine api
The non-items examine info has been broken for years, and the wiki already has item examines anyway, so we can use those in the future if we need them.
2021-06-13 15:25:04 -04:00
Jordan Atwood
c60d714832 HotColdLocation: Add clue type field 2021-06-12 13:20:28 -04:00
Adam
798ed5e027 chat commands: update tob duration pattern 2021-06-10 17:07:33 -04:00
Adam
d228fa70fc chat commands: update tob new pb pattern
The old text (Personal best!) is no longer used
2021-06-09 11:59:36 -04:00
Adam
3f7146a6c2 chat colors: fix clan chat message highlight keys
The old friends chat uses "clan chat" as its key name for historical
reasons, and so the new clan chat uses "clan"
2021-06-06 15:11:13 -04:00
Jordan Atwood
70dc7f56bc clues: Fix three step cryptic clue getLocations NPE
Prior to this commit, ThreeStepCrypticClue simply returned a
concatenation of the active step locations without filtering the mapped
locations in any way. This could lead to NPEs in the plugin as some
cryptic clues have null locations for steps which have no specific
location or have a variable location. This commit addresses this by
making CrypticClue's location field `@Nullable`, filtering null
locations from ThreeStepCrypticClue's getLocations stream, and by adding
a test to ensure ThreeStepCrypticClue's getLocations method cannot yield
any null entries in its return value.
2021-06-05 17:53:17 -04:00