Commit Graph
100 Commits
Author SHA1 Message Date
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
Adam dbf1b3b011 api: combine projectileid and graphicid 2022-01-14 19:40:03 -05:00
Adam 0d76c441d3 api: remove tileitem spawn time
This was never used and has limited use
2022-01-14 11:26:11 -05:00
Adam fa8bc363ee api: make ClanMember an interface 2022-01-13 09:57:26 -05:00
Adam 077c0a78b3 ground items: add option to deprioritize hidden item options 2022-01-13 09:54:54 -05:00
Adam ac547210f7 ground items: fix show item quantities to work with no item highlight mode
This also cleans up the telegrab highlighting code
2022-01-13 09:54:54 -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 9ff0538cf8 chat notifications: simplify finding closing color in pattern matching
Searching the replacement isn't necessary since it won't ever have any
additional col tags except for the ones identified by getLastColor, which
would be identified even when searching the original message. Instead,
just search the original message up to and including the match.
2022-01-11 22:02:19 -05:00
Adam c7e6ffb4de chat notifications: fix restoring last color on own name highlight
This was an issue with multiple name matches, since it was applying the
replacement with its close color to all matches, even though only
scanning the message for the last color up until the first match
2022-01-11 22:02:14 -05:00
Adam d5fe57865d chat message manager: support game chat color settings
This will use the configured in-game setting for default chat colors, if
configured.
2022-01-11 22:02:14 -05:00
Adam 513c250d28 chat notifications: restore normal color after own name highlight 2022-01-11 21:32:41 -05:00
Adam 32ccf59f30 infobox overlay: hoist some config values out of the render loop 2022-01-07 22:24:05 -05:00
AdamandVanilj 791912a7c0 ui: add infobox font config
Co-authored-by: Vanilj <robindavidsson@outlook.com>
2022-01-07 22:24:05 -05:00
Adam 4330d9f939 item charges: remove unused slot from ItemChargeInfobox 2022-01-07 22:23:17 -05:00
Adam 6924802362 entity hider: add option to hide clan members 2022-01-07 16:34:45 -05:00
Adam b593a5167e run energy: fix orb text flickering
It is possible a clientscript can update the energy in between the last
game tick and the current frame, causing the text to flicker between run
energy and our replacement. This just sets the text before each frame.
2022-01-07 15:55:23 -05:00
Adam ffd6652826 ground items: add nex instance area 2022-01-05 17:06:50 -05:00
Adam c19beea8cd discord: add nex boss area 2022-01-05 17:06:44 -05:00
Adam 238b35e8f8 Use leagues hiscores for seasonal worlds 2022-01-05 16:23:18 -05:00
Adam 0abe846028 xp updater: add seasonal worlds to wom 2022-01-05 15:58:54 -05:00
Adam 1a88fcc57b loot manager: add nex 2022-01-05 15:58:51 -05:00
Adam ce56056e2f ge plugin: disable fuzzy search if search event is consumed
This allows other plugins which replace the search results, such as the bank
tags plugin, to not get overwritten by the fuzzy search.
2022-01-04 19:57:16 -05:00
Adam 409a4ab4e9 slayer plugin: support fake xpdrops 2022-01-04 19:53:50 -05:00
Adam 060cb31a6c Merge pull request #14550 from abextm/phub-cache-longer
rl-client: keep plugin hub jars around for longer
2022-01-04 18:16:34 -05:00
Adam 198724bb03 api: add new head icons 2022-01-04 18:16:02 -05:00
Adam fb035a8c13 world map: remove quest icon load retry if not logged in
The quest icons are also loaded on world map open, so all this has to do is
load the icons if the player is logged in with the map open at the time the
plugin is started.
2022-01-03 14:30:42 -05:00
Adam 8bdf78c874 Revert "world map: use game state change event to load quest icons"
This reverts commit 97c484fc38.
2022-01-03 14:25:14 -05:00
Adam a2f8a4219e menu swapper: remove examine swap
This has not worked in the past, since the Examine option is not an inventory
action and so cannot ever be shift-click swapped, and causes a crash now if
set due to it subtracting the Examine menu op from ITEM_FIRST_OPTION.
2022-01-03 13:58:08 -05:00
Adam 97c484fc38 world map: use game state change event to load quest icons
This was queueing potentially multiple tasks if the config was changed on the
login screen, all waiting for the player to be logged in. Instead, use the game
state change event to load the icons.
2022-01-03 12:10:21 -05:00
Adam fa9a178f4a Fix race with client startup and low detail/chat icon loading
Since c1aa0c4898 moved client startup to
be much earlier, the plugins can now start after the client is already
at the login screen. This causes the low detail plugin and chat icon
manager to not initialize correctly as they are waiting on the event
for the login screen.
2022-01-03 11:51:57 -05:00
Adam 45f744fa2b api: fix wallobject orientation javadoc and use
This is not an angle, and the model outline renderer code which uses it as one is incorrect.
2022-01-02 20:24:38 -05:00
Adam a8e2e88810 api: add getConfig to deco, game, and ground objects
Additionally fix the wall object orientation javadoc, the returned value is an angle
2022-01-02 19:48:07 -05:00
Adam 0da504769d ui: set DO_NOTHING_ON_CLOSE close op prior to disposing
Disposed frames are still reachable via Window.getWindows() until gcd, and can
receive and process events. We don't want the splash screen to close the app if
it receives a window close event after being disposed.
2022-01-01 20:28:35 -05:00
Adam 31dc32c225 Set macos quitStrategy to CLOSE_ALL_WINDOWS
The quit strategy API existed in com.apple.eawt prior to Java 9, and was moved
into java.desktop in 9. This move makes our orange-extensions API incompatiable
with the 9 eawt package too, so we can not use Application.setQuitStrategy on
9+ either, without making orange-extensions multi-release too.

Since Desktop.setQuitStrategy is the new standard way of doing this, use it if
available, and otherwise use the Java 8 Application.setQuitStrategy instead.
2022-01-01 20:28:35 -05:00
Adam cb8788c38f Merge pull request #14536 from keyosk/roof-removal-poh-fixes
Roof removal poh fixes
2021-12-31 14:54:42 -05:00
Adam 430d8a081a Merge pull request #14529 from Hydrox6/roof-removal-poh
roof removal: a POH override and feature
2021-12-30 10:49:00 -05:00
Adam 98279d4cfd api: add arguments and mousey to scriptevent 2021-12-28 12:24:34 -05:00
Adam 637ee563d6 gpu: queue fbo reset on startup too
Startup races with stretch mode plugin startup and clientui startup, so starting with stretched mode on doesn't reliably work. Just reset a few frames after startup to be sure.
2021-12-27 16:22:36 -05:00
Adam 153b475301 clientui: disable ui scale transform for client bounds on macos
This appears unnecessary on macos and breaks the remember client position feature
2021-12-27 16:21:37 -05:00
Adam bb43d232bb gpu: fix stretched mode scaling issues on macos
This fixes the following issues:

1) resize events for the client not being propagated to the listener on
   the canvas
2) resizing the client in fixed mode not triggering a resetSize due to
   the underlying canvas size not changing
3) maximizing the client calling restSize too soon causing it to have no
   effect
2021-12-27 15:11:18 -05:00