Commit Graph
100 Commits
Author SHA1 Message Date
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
Adam 5006e959b0 gpu: fix anim array indexes with sparse texture array
Texture 54 doesn't exist and was causing everything after it to have its index off by 1
2022-03-02 14:20:03 -05:00
Adam 2520da4dca gpu: move texture animation to gpu 2022-03-02 10:13:24 -05:00
Adam 3ad8452d41 cache: rename texture animation direction and speed 2022-03-02 10:01:10 -05:00
Adam 5a4faef350 client: add plugin sideloading
This supports sideloading plugins out of the sideloaded-plugins
directory when run in developer mode
2022-03-01 10:50:23 -05:00
Adam e839dc15c3 api: expand item api for inventory model replacement 2022-03-01 10:31:35 -05:00
Adam cda29d36b8 idle notifier: disable by default 2022-02-27 22:57:00 -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
Adam ffc5380f28 cache: script: remove unused import 2022-02-25 14:30:06 -05:00
Adam 816bb9e412 client: update archive-patcher to 1.2 2022-02-22 12:37:52 -05:00
Adam f96f80f2da jshell: fix run/clear tooltips 2022-02-20 21:21:48 -05:00
AdamandSkretzo 109ad81473 screen markers: add marker labels
This adds a toggle to display the marker name as a label above the
marker

Co-authored-by: Skretzo <53493631+Skretzo@users.noreply.github.com>
2022-02-19 19:35:41 -05:00
Adam 9f5a3a7b3b screen markers: make ScreenMarkerRenderable implement RenderableEntity
This component is never added to the overlay componenet renderer so implementing LayoutableRenderableEntity was just unnecessary
2022-02-19 19:35:38 -05:00
Adam d661c47447 screen markers: remove fill toggle
This predates the alpha colorpicker, so it sort of made sense at the time, but currently the same effect can be achieved by just changing the fill color alpha. Additionally the toggle doesn't really toggle it but instead changes the alpha between 0 and 75 - and not the alpha that is chosen by the picker.
2022-02-19 19:35:38 -05:00
Adam 5ddd089f3e screen markers: add a tooltip to border thickness spinner 2022-02-19 18:04:20 -05:00
Adam c8ee879407 clues: add Yu'biusk clue 2022-02-18 19:44:48 -05:00
Adam 3ceb5d1552 clues: add Jimmy Dazzler clue 2022-02-18 19:44:21 -05:00
Adam 720b0d0273 linkbrowser: prefer xdg-open over Desktop.open and browse
Desktop.open/Desktop.browse doesn't work on Linux with gtk3

See JDK-8275494
2022-02-13 10:56:41 -05:00
Adam c81528b557 Update dnschange url
The old url now tries to sell users a vpn
2022-02-12 11:53:54 -05:00
Adam f31a67bb2b gpu: apply hsl override to flat shade faces
The behavior of this was changed in 203 to include flat shade faces
2022-02-11 19:45:19 -05:00
Adam 8811756301 gpu: replace count_prio_offset switch with loop
Nvidia drivers seem to compile the switch with fallthrough as a 19 level
nested if, and inlines the code from the fallthrough cases into each.

The hd devs have identified this as a potential source of the
artifacting that happens on some cards due to the number of nested
branches.

Replace the switch with a simple loop, which also is about 7% of the
generated code size of the switch.
2022-02-09 14:14:44 -05:00
Adam 2e34cbcbe1 gpu: reset fbo on resizablechanged on macos
Changing resizable mode changes the canvas size but doesn't change the client size, so the existing resize adapter doesn't get triggered
2022-02-08 18:09:49 -05:00
Adam 2d52f6d1b4 overlay manager: prevent loading dynamic overlay positions
The overlay renderer tries to never set these, but they can still be set due to conflicting overlay names or from old configs.
2022-02-07 23:03:09 -05:00
Adam 5d99ec56f2 defaultworld: always changeWorld on client thread 2022-02-05 21:56:50 -05:00
AdamandDavid Goldstein 43e8a57cad ground items: make hotkey configurable
Co-authored-by: David Goldstein <goldstein.g.david@gmail.com>
2022-02-04 18:01:38 -05:00
Adam 3f3f3dc97b plugins: prevent plugins from overriding equals and hashCode
This has no legitimate use and several parts of the core assume that they are not overridden
2022-02-03 18:57:02 -05:00
Adam aaf4adaea0 itemmanager: sanity check wiki prices
Try to avoid excessive item price manipulation by requiring the guide price to be within a configured threshold of the official price.
2022-02-02 22:34:01 -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
Adamandsuperiorser9 f283871f50 interact highlight: support menu option mouseover
Co-authored-by: superiorser9 <superiorser9@gmail.com>
2022-01-31 20:23:50 -05:00
Adam 302b57de8e xptracker: use seasonal wom version for seasonal worlds 2022-01-30 19:57:55 -05:00
Adam fe2677452c devtools: add object animation ids 2022-01-26 11:06:00 -05:00
Adam 5ca0eef25d Merge pull request #14631 from Thource/remove-uim-daily-sand-check
Remove daily sand check for UIM accounts
2022-01-23 22:25:59 -05:00
Adam 2eba3a886f slayer: fix reanimated abyssals not counting for tasks 2022-01-21 17:42:57 -05:00
Adam b53dc9ee8f cache: remove netty-buffer dependency 2022-01-18 18:15:31 -05:00
Adam f859ec9dc8 clues: use lists instead of sets for clues 2022-01-16 18:57:58 -05:00
Adam 22c02e4055 anagram clue: use builder pattern 2022-01-16 18:42:03 -05:00
Adam e8856ce418 Revert "Merge pull request #14512 from wayne-li2/anagram-clue-builder"
This reverts commit 72f55d8ce9, reversing
changes made to 82514e0c76.
2022-01-16 18:13:59 -05:00
Adam 82514e0c76 api: add projectile creation api 2022-01-15 13:40:59 -05:00
Adam e31bfa66fe api: add GraphicsObject finished setter 2022-01-15 13:40:59 -05:00
Adam 07f96a6abb api: add projectile target and end cycle setter 2022-01-15 13:40:59 -05:00
Adam 28a694f69f api: use deques for projectiles and graphicsobjects 2022-01-15 13:40:59 -05:00
Adam a37dfd8de5 api: add actor graphic height accessors 2022-01-15 13:40:59 -05:00