Commit Graph

555 Commits

Author SHA1 Message Date
Max Weber
af5ae4ab20 rl-client: update ID references to 2022-4-27 2022-04-26 22:14:33 -06:00
Adam
2d01ea2fb7 bank plugin: add quantity search
Co-authored-by: EliasLahham <eliaslahham@yahoo.com>
2022-04-26 20:41:43 -04:00
Adam
7cdbe6faab chat commands: support parsing team size pbs off adventure log 2022-04-25 09:55:37 -04:00
Adam
9bd36db0c9 chat commands: update gotr kill message 2022-04-22 20:03:19 -04:00
Adam
a6f955ac87 client: update for if3 inventory 2022-04-20 03:39:42 -06:00
Adam
3218fc7568 menu swapper: move bank swaps to client tick
The underlying issue preventing this from working during client tick has been addressed
2022-04-16 21:50:42 -04:00
Adam
fcb933eeef api: pass menu entry to menu clicked event and forward accessors 2022-04-16 21:50:42 -04:00
Adam
802f8c654a api: add menuentry widget accessor 2022-04-16 21:50:42 -04:00
Adam
eb13c0153b hiscores: add gotr 2022-04-13 10:00:23 -04:00
Adam
6e68a964a7 chat command: use plural "players" to be consistent with cox 2022-04-11 09:37:26 -04:00
Adam
244f8e7ad5 chat commands: track team sizes for raids pb 2022-04-10 12:18:03 -04:00
Adam
2bc2e867bd api: deprecate getVar(int) and use getVarbitValue(int)
getVarbitValue was originally for external plugins which could not
modify the varbits enum, but now ints are used everywhere it is no
longer necessary for two separate methods
2022-04-10 12:08:59 -04:00
Adam
d129c49923 api: replace varbits enum with ints
This adds a Varbit magic constant annotation which is used now on
varbit parameters and fields.

This is roughly the same type-safety wise, with IDE support, but the ids
can be inlined by the compiler and it avoids having to have a large enum
class with many fields.
2022-04-10 12:08:59 -04:00
Adam
dadf3661e1 menu swapper: add custom npc left click swap 2022-04-08 12:40:58 -04:00
Giovanni van der Schelde
ce0ec535d1 chat commands: add shortnames for shayzien agility courses 2022-04-06 09:19:21 -04:00
Adam
92aac53f42 menu swapper: add custom object left click swap 2022-04-04 15:35:29 -04:00
Adam
9980c11296 chat commands: fix tob pb tracking
The word "wave" was removed from the message
2022-03-28 15:30:48 -04:00
Adam
5c77312edf chat commands: add gotr kc 2022-03-23 21:34:28 -04:00
Max Weber
3f6885999a config: associate account hashes to rsprofiles 2022-03-23 20:14:45 -04:00
Adam
e953631a08 chat message manager: fix gim rl-format messages
The rl-format messages aren't prepended with |, causing them to be sent to normal clan chat instead.
2022-03-15 15:42:17 -04:00
Adam
28d4ceb2b5 loottracker: refactor inv change events
Instead of having logic to set the event type and then pick it up again in the inv change event, store a callback to be called on inv change
2022-03-13 15:55:12 -04:00
Adam
64abf450d9 loot tracker: store loot in config
Since loot is now aggregated, the data is little enough to store in
config. This allows loot to persist between sessions even when not
logged in.
2022-03-06 15:12:52 -05:00
Adam
5d7edacd21 item manager: fix active price threshold calculation
This was meant to keep items within 5x of their Jagex price, but the
logic was only correct if activePriceThreshold <= 1.0.
2022-02-27 12:33:40 -05:00
Jordan Atwood
d94abb884d slayer: Fix name matching
The Slayer plugin highlights target monsters based on their name rather
than NPC ID, as many common monsters (skeletons, zombies, etc.) have
nearly endless variations for different models and combat levels.
Previously, this name matching was done via a simple
`String#contains()`, which led to some incorrect matches such as pirates
being highlighted while on rat tasks and Jonny the beard being
highlighted while on bear tasks.

This commit changes matching to use regex to match string boundaries or
whitespace at either end of the task string, ensuring these substring
matches can only happen when word breaks occur. The only known existing
case where this would apply is for baby dragons and brutal dragons,
which are valid alternatives for their respective chromatic dragon
tasks.
2022-02-25 12:40:43 -05:00
LootBagger
e17baf1aee plugin manager: fix plugins with multiple dependencies
If one plugin has multiple dependencies this would throw a concurrent
modification exception due to iterating the successors after removing
the edge

Fill out javadoc for topologicalSort

Co-authored-by: Adam <Adam@sigterm.info>
2022-02-05 23:17:43 -05:00
Adam
b37d46e488 client: add runtime config
A form of this was added in 1.7.11.2 in
e8ea616fc24691177cb2de18698f13ba17448a11, but did not bind the config to
the RuneLite guice module.
2022-02-02 22:34:01 -05:00
SirGirion
48a6d40418 itemcharges: Add support for blood essence
Co-authored-by: Adam <Adam@sigterm.info>
2022-01-18 15:49:13 -05:00
Adam
5960a2f43e chat message manager: format rl-messages at chat build time
This allows different final messages being built for split chat vs
normal chat, fixing <colNORMAL> incorrectly applying the default chatbox
color to split chat.
2022-01-13 09:52:12 -05:00
Adam
513c250d28 chat notifications: restore normal color after own name highlight 2022-01-11 21:32:41 -05:00
Adam
0a501429e6 Move okhttp client from http-api
The client has been recreated with a new builder off of the http-api
client for awhile anyway since runelite-client has multiple other
requirements (caching, tls, etc). This fully moves creation of the
okhttp client into both http-service and runelite-client separately.

I've kept the CLIENT field in http-api for now since a few external
plugins depend on it currently.
2021-12-23 12:36:05 -05:00
Adam
37d538f0db Move http-api clients to rl-client 2021-12-23 11:30:55 -05:00
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