Commit Graph
100 Commits
Author SHA1 Message Date
Adam fc1c12c0e3 infobox: consistently require non-negative timer durations 2022-04-24 19:15:45 -04:00
Adam c4055e765a ci: disable maven-shade-plugin 2022-04-24 16:44:18 -04:00
Adam 36730dccbc client: update pmd 2022-04-24 13:46:42 -04:00
Adam 6a4544ed2e cl: set pmd cache location 2022-04-24 13:46:42 -04:00
Adam 1edd417336 api: remove Nullable on getLocalPlayer
While this can be null, in the vast majority of events and also in every overlay it cannot be, and just triggers unncessary warnings from IDE inspections
2022-04-23 19:32:10 -04:00
Adam 1149a5a0e7 examine: remove unused import 2022-04-22 21:39:37 -04:00
Adam e6d83c8322 examine: fix examining ground items
Remove support for examining npcs/objects which has been unused for a long time. All examines I see go through this examine_item script, so we can assume the ITEM_EXAMINE chat message type is used for all examines.
2022-04-22 21:31:41 -04:00
Adam 9bd36db0c9 chat commands: update gotr kill message 2022-04-22 20:03:19 -04:00
Adam 8746c09354 interact highlight: fix detecting spell attacks on npc click
This was counting any widget use as an attack, when only spell use
should be
2022-04-22 13:12:05 -04:00
Adam 20d2566471 interact highlight: fix using npc attack color on item use 2022-04-21 14:23:01 -04:00
Adam f8e754b62f examine: fix item examine message recolor 2022-04-21 09:41:03 -04:00
Adam d533285a32 timers: update for if3 inv 2022-04-21 09:41:02 -04:00
Adam 96fbdda03d runelite: remove otl requester
This is being replaced with a different api signature later
2022-04-20 17:50:19 -04:00
Adam edbc723b20 statusbars: update for if3 inv 2022-04-20 13:57:15 -04:00
Adam 4fc6466e4f clues: fix tracking cluescroll 2022-04-20 13:57:14 -04:00
Adam 1c0a0f43ef mes: fix item swaps with op4 and op5
Since the client does menu sorting after our tick event but before
rendering, it currently renders the wrong menu action. This prevents the
sorting when doing item swaps.
2022-04-20 13:57:14 -04:00
Adam 3c7582f629 item stats: update for if3 inv 2022-04-20 11:50:32 -04:00
Adam 71886515a9 antidrag: update for if3 inv 2022-04-20 08:48:58 -04:00
Adam 3b18042785 inv grid: fix for if3 inv 2022-04-20 08:48:58 -04:00
Adam 97580ac6f6 api: add dragTime accessor 2022-04-20 08:48:58 -04:00
Adam a6f955ac87 client: update for if3 inventory 2022-04-20 03:39:42 -06:00
Adam c683e41c01 api: add item op menu api 2022-04-20 03:39:40 -06:00
Adam eb0bbc6426 external plugin client: use verificationexception for security exceptions 2022-04-19 19:53:59 -04:00
Adam aca22f13c0 fatal error dialog: work with substance laf
Changing the laf from substance to system breaks the client the next
time it paints
2022-04-18 12:43:44 -04:00
Adam aeb5701d07 client: replace MediaType.parse with MediaType.get 2022-04-16 21:50:42 -04:00
Adam 439ebe22e4 client: replace HttpUrl.parse with HttpUrl.get 2022-04-16 21:50:42 -04: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 3d089369bd api: add selected widget api 2022-04-16 21:50:42 -04:00
Adam c0a338519c api: refactor some menu action names
Replace spell cast with widget use and correct a couple of the other
names
2022-04-16 21:50:42 -04:00
Adam eb13c0153b hiscores: add gotr 2022-04-13 10:00:23 -04:00
Adam 6f58a6707b Revert "menu swapper: add deposit-runes swap for gotr"
This reverts commit 7c60630206.
2022-04-13 09:23:13 -04:00
Adam fe791a9600 examine: support item examine on if3 components 2022-04-12 23:47:31 -04:00
Adam 8b3f129c1e devtools: remove inventory tool 2022-04-12 22:23:17 -04:00
Adam 8d7c845e58 mta: disable by default 2022-04-12 22:08:20 -04:00
Adam db69f55b9c mta: use widget item overlay 2022-04-12 22:08:20 -04:00
Adam 6e68a964a7 chat command: use plural "players" to be consistent with cox 2022-04-11 09:37:26 -04:00
Adam 0c0f790bee api: move autoweed to farming plugin 2022-04-11 09:16:23 -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 b010e0481e blast furnace: remove unused BarOres map 2022-04-09 23:45:57 -04:00
Adam 13ee6c3174 FarmingRegion: remove unused varbits field 2022-04-09 23:44:03 -04:00
Adam c693a5d4dc Move SlayerUnlock to slayer plugin 2022-04-09 23:43:39 -04:00
Adam b24f9c59fc api: exclude annotations package from runtime jar
Both of these annotations have source-level retention policy, so don't need to be in the runtime jar
2022-04-09 23:41:46 -04:00
Adam f1e7829771 overlay: add drawAfterLayer that accepts ids for plugins, and javadoc 2022-04-09 11:09:02 -04:00
Adam dadf3661e1 menu swapper: add custom npc left click swap 2022-04-08 12:40:58 -04:00
Adam f54b7ffc44 session manager: open session on executor thread
This avoids blocking the main thread on startup during the http call
2022-04-08 12:20:25 -04:00
Adam dc009bd7af api: add friends chat kick rank 2022-04-08 12:16:15 -04:00
Adam 23035294c6 boosts: default to display as infoboxes and only combat stats 2022-04-06 15:04:50 -04:00
Adam d46a661651 chat commands: refactor skill abbreviation to a switch 2022-04-06 11:16:51 -04:00
Adam bdf556f4bd chat commands: support boss shortnames for !lvl 2022-04-06 11:16:51 -04:00
Adam d2308c7ede Revert "menu swapper: Add uncharged cell swap for gotr (#14795)"
This reverts commit 0609c246a5.

This is superseded by the new object swap
2022-04-05 12:55:19 -04:00
Adam 948d025695 menu swapper: change object left click configure method
This changes from shift-clicking the option to adding dedicated options
for setting the swap. The menu swapper has existing shift-click object
swaps for climb-stairs and the current method interferes with it.
2022-04-05 10:20:28 -04:00
Adam 92aac53f42 menu swapper: add custom object left click swap 2022-04-04 15:35:29 -04:00
Adam bded770d53 menu swapper: rename SwapConfig to ItemSwapConfig 2022-04-04 15:02:55 -04:00
Adam 1550fae2ed runecraft: add degraded colossal pouch 2022-04-04 10:25:12 -04:00
Adam 8aa9b060f8 runecraft: update blood rift id
This is a multiloc now to change the menu order
2022-03-30 16:41:35 -04:00
Adam a35c44ac25 runecraft: remove unnecessary rifts set 2022-03-30 16:41:30 -04:00
Adam 054396ba2c xp updater: send account hash to templeosrs 2022-03-28 16:44:08 -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 eaf2f462bb plugins: readd quest list plugin
This adds back the quest search functionality which is not included in vanilla now
2022-03-25 13:06:02 -04:00
Adam b640c22c75 loot tracker: fix race with loading saved loot and client startup
switchProfile can be run in early client startup via either startUp or the profile change event caused from the client remember username feature. Item compositions cannot be accessed this early and will throw an exception, causing the loot to fail to load.
2022-03-24 10:11:37 -04:00
Adam ab56a7ab0f config manager: log profile changes 2022-03-24 10:11:37 -04:00
Adam 311b77a127 clientthread: log exceptions at error level 2022-03-24 10:11:37 -04:00
Adam 47403c675c chat commands: add hmt alias for theatre of blood hard mode 2022-03-23 21:39:39 -04:00
Adam 5c77312edf chat commands: add gotr kc 2022-03-23 21:34:28 -04:00
Adam d9f303adac plugins: replace getUsername uses with getAccountHash 2022-03-23 20:14:45 -04:00
Adam bb0b30915d api: deprecate getUsername 2022-03-23 20:14:45 -04:00
Adam db96e9dcef client: add otl token requester 2022-03-23 20:14:45 -04:00
Adam babe279997 api: add Jagex api 2022-03-23 20:14:45 -04:00
Adam 69b6cdf5b0 gpu: set jogamp.gluegen.TestTempDirExec=false
This prevents gluegen from testing if the tempdir is noexec, resulting
in it always using the tempdir. The test seems unreliable since we see
many users who fail the exec test but the plugin would work for
otherwise.
2022-03-22 15:24:02 -04:00
Adam ac2856daae ground item: expand item lists by default 2022-03-22 15:01:37 -04:00
Adam 2654975db7 loot tracker: remove import notice 2022-03-21 19:02:03 -04:00
Adam 508c5928fe gpu: use DebugGL4 in debug mode 2022-03-19 18:05:53 -04:00
Adam 2192ac7d45 client: allow setting system properties via runtime config 2022-03-18 16:19:47 -04:00
Adam dbfcc456f9 gpu: update to jogl 2.4.0-rc-20220318 2022-03-18 15:59:25 -04:00
Adam 3464551d83 gpu: remove egl dependency 2022-03-18 15:59:12 -04:00
Adam b9d905621d gpu: remove newt dependency 2022-03-18 15:59:04 -04:00
Adam 4f8991dc7e loot tracker: add remember loot option 2022-03-15 18:24:01 -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 310b007409 Revert "gpu: Fix loading gluegen natives on some Windows configurations"
This reverts commit 35949bce22.
2022-03-13 23:35:39 -04:00
Adam d8ba9b13ba loottracker: replace repaint calls with revalidate
This fixes removing panels from the logs container not correctly rebuilding the container to remove the space the box was previously in
2022-03-13 19:59:44 -04:00
Adam 08da9a2d8a loot tracker: add wilderness loot chest 2022-03-13 16:42:46 -04:00
AdamandShawn Shadrix 88933be3df loot tracker: track caught implings
Co-authored-by: Shawn Shadrix <shshadri@ncsu.edu>
2022-03-13 15:55:15 -04:00
AdamandShawn Shadrix a877c58005 loot tracker: support opening multiple imp jars in 1 tick
This tracks the number of removed jars to determine how many were
opened. This only works when opening multiple of the same type of jar.

Co-authored-by: Shawn Shadrix <shshadri@ncsu.edu>
2022-03-13 15:55:15 -04:00
AdamandShawn Shadrix 08359a0df0 loottracker: add imp jars
Co-authored-by: Shawn Shadrix <shshadri@ncsu.edu>
2022-03-13 15:55:15 -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 de2edb2033 Add barbarian rod anim to fishing and idle notifier 2022-03-09 10:41:31 -05:00
Adam 6aba1e3894 api: add isFollower to NPCComposition 2022-03-08 19:31:42 -05:00
Adam 93d483db7b gpu: don't animate textures when loading 2022-03-08 16:11:23 -05:00
Adam d2fd37e543 config manager: run shutdown hook after plugins 2022-03-07 22:48:29 -05:00
Adam 473a3042fb api: add methods to get selected item 2022-03-06 22:32:55 -05:00
Adam 94691fc870 runelite: disable option parser abbreviations 2022-03-06 19:39:46 -05: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 f2b43743c3 config manager: post RuneScapeProfileChanged when new profiles are created 2022-03-05 21:39:58 -05:00
Adam d842bacd2c loottracker: hoist box emptyborder from loop 2022-03-05 19:52:27 -05:00
Adam 17f6890b69 loottracker: replace getTotalPrice with stream 2022-03-05 19:51:07 -05:00
Adam 7864a10135 loottracker: split panel construction into methods
This moves the overall and actions panel creation into separate methods
2022-03-05 19:51:05 -05:00