Commit Graph
570 Commits
Author SHA1 Message Date
Adam 82d92b9953 Move entity hider logic to plugin 2022-06-08 16:23:51 -04:00
Adam 8be3210b87 chatfilter: fix matching lt/gt
These are encoded as <lt> and <gt> and so require the patterns to match those, which is unintuitive
2022-06-08 11:03:03 -04:00
superiorser9 8aaaa320d3 timers: Check stamina effect using varbits (#15014) 2022-06-02 22:44:54 +00:00
Adam 1c3ccdf3a9 chat commands: fix !lvl cox cm
The command could not work before because the capitalize in
longBossName would produce a capital Of causing the hiscore
skill name to not match.

This normalizes from the hiscore name by removing : to compare
it to our internal boss names.
2022-06-02 12:41:46 -04:00
Jordan Atwood 491c23fd74 special counter: Fix test 2022-05-27 13:24:29 -07:00
HexagonandAdam 9fe186cad2 spec counter: add spec drops
Co-authored-by: Adam <Adam@sigterm.info>
2022-05-27 14:45:09 -04:00
Jordan Atwood b76e6fc56d item stats: Add mixed potions 2022-05-26 18:04:42 +00:00
Hydrox6 f678dd2188 item stats: add ancient brew 2022-05-26 16:42:21 +00:00
Adam 5367d225bf api: add player accessor to menuentry 2022-05-23 17:58:58 -04:00
Adam 7a1d958ee0 api: add npc accessor to menuentry 2022-05-23 17:26:45 -04:00
Adam 5c98c47803 compost tracking: fix tracking fertile soil with ash covered tome 2022-05-11 12:10:42 -04:00
Adam 50af007e94 chat commands: fix matching random event rewards as kill messages 2022-05-10 23:49:49 -04:00
LlemonDuck 0500f94830 timetracking: add compost tracking 2022-05-07 17:19:13 -04:00
Adam 44de746d5b emoji: clean up modicons loading
This just needs to be run after modicons is initialized, and doesn't
need to be checked on gamestate change.
2022-05-07 10:23:16 -04:00
Adam b5515075ef chatfilter: add config option for stripping accents 2022-05-06 15:03:29 -04:00
Max Weber af5ae4ab20 rl-client: update ID references to 2022-4-27 2022-04-26 22:14:33 -06:00
AdamandEliasLahham 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
LootBaggerandAdam 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
SirGirionandAdam 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