Commit Graph
6264 Commits
Author SHA1 Message Date
Tomas Slusny 2647997bef Add OverlayPanel that contains PanelComponent
Add generic OverlayPanel class that uses PanelComponent as its backing
component.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2020-04-12 20:36:46 -04:00
Tomas Slusny d881a2fb99 Make overlay resizing configure wrapping
Instead of resizing every overlay component inside wrapped panel
component simply adjust wrap based on preferred size. Also remove the
configurable wrap after.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2020-04-12 20:36:46 -04:00
Tomas Slusny d676542dc2 Add support for resizable overlays
Add mostly complete support for resizable overlays. Currently only
screen markers are supported.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2020-04-12 20:36:46 -04:00
Adam ab365d17a1 emoji plugin: load emojis on client thread 2020-04-12 17:48:00 -04:00
SirGirion 2c8c695736 emoteclue: Replace vamb with vambraces in clue text
This follows a Jagex update where "vamb" and "vambs" was replaced with
"vambraces" across all game text, including clue scrolls.
2020-04-12 17:35:24 +00:00
Trevor fae69d4fd2 loot tracker plugin: submit loot on client shutdown (#11243) 2020-04-10 15:51:09 -06:00
Adam 242ea42964 Merge pull request #11218 from abextm/shutdown-event-external
runelite-client: add ClientShutdown event
2020-04-10 14:37:28 -04:00
trimbe 22cee79ab9 bank plugin: improve responsiveness of bank searches
The client will normally layout the bank during a search only once every 40 client ticks, causing slow response times after the search input is updated. Instead, hook the search refresh script that is called every client tick, and if the bank hasn't been laid out on the current tick, and the search input has changed, lay it out early.
2020-04-10 10:53:14 -04:00
Max Weber ec3fbabbe2 grounditems: don't crash when having a duplicate highlight value 2020-04-09 18:21:06 -04:00
Max Weber e83d1e6b72 runelite-client: add ClientShutdown event
This should hopefully make the client not corrupt it's cache randomly,
and prevents the config sets from racing shutdown
2020-04-09 16:04:39 -06:00
Lucas Snel 45c229bc32 combatlevel plugin: add option for showing precise combat level 2020-04-09 17:59:54 -04:00
Max Weber a8d4bff423 camera: add option to invert camera mouse controls 2020-04-09 15:01:15 -06:00
Max Weber 42db64dc79 eventbus: make higher priority events fire first 2020-04-09 14:52:53 -06:00
Adam edcfeb25fd screenshot plugin: fix screenshot friend deaths to not screenshot own death 2020-04-09 14:21:44 -04:00
Tomas Slusny 75b29026f9 Mock ConfigManager in ItemStatOverlayTest to inject TooltipManager
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2020-04-08 15:17:38 +02:00
Max Weber ed86daa46d runelite-client: update ItemID references 2020-04-08 04:43:43 -06:00
RuneLite Cache-Code Autoupdater e7fa298e24 Update Item variations to 2020-04-08-rev182 2020-04-08 10:32:23 +00:00
Tomas Slusny 1b2ded5a34 Merge pull request #11220 from deathbeam/reset-tooltip
Reset repositioned tooltip overlays
2020-04-08 09:31:03 +02:00
TheFlemoid c31971d0d3 WidgetOverlay: Use TOP_RIGHT anchor for LMS widgets 2020-04-08 06:04:11 +00:00
Jordan f5a64af481 Merge pull request #11216 from Nightfirecat/center-more-hot-cold-clues
HotColdLocation: Center some location spots
2020-04-07 21:22:28 -07:00
AdamandHugh 15b5dd0290 worldhopper: skip over almost full worlds
Co-authored-by: Hugh <nivcraft@gmail.com>
2020-04-07 16:30:21 -04:00
Adamandjcwhisman 6e06b1c929 antidrag: add option to disable in pvp
This lifts the shift requirement by instead just disabling the feature
in pvp

Co-authored-by: jcwhisman <jcwhisman@gmail.com>
2020-04-07 16:26:42 -04:00
Tomas Slusny 1fccba9fda Reset repositioned tooltip overlays
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2020-04-07 21:49:11 +02:00
Max Weber 81914b7c95 kourendlibrary: don't throw npe when starting on the login screen
books was null until you login, making the plugin throw every time the
client starts
2020-04-07 13:27:21 -06:00
Jordan Atwood 5b9591db6e HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Ref: runelite/runelite#9601
2020-04-07 11:11:32 -07:00
Adam 6abc433141 hooks: use monotonic clock for main loop tasks 2020-04-06 12:32:52 -04:00
Sean Dewar 417b42b0bf music: revalidate slider handle on creation 2020-04-06 16:00:22 +01:00
Abex 54283b9a80 Merge pull request #11063 from seandewar/zoom-music-slider-tooltips
music, camera: volume & zoom slider tooltips
2020-04-06 04:36:52 -06:00
Unknown f2d7515ff3 Update Plugin Hub risk label
As discussed in issue #10997 - using dekvall's label suggestion
2020-04-05 20:37:11 -06:00
Sean Dewar 07d414d41d camera: zoom slider tooltip & zoom constants
This commit also adds constants for:

VarClientInt.CAMERA_ZOOM_FIXED_VIEWPORT = 73
VarClientInt.CAMERA_ZOOM_RESIZABLE_VIEWPORT = 74

WidgetID.Options.CAMERA_ZOOM_SLIDER_HANDLE = 15
WidgetInfo.OPTIONS_CAMERA_ZOOM_SLIDER_HANDLE
2020-04-05 03:42:48 +01:00
Sean Dewar 4a1dbf4e2d music: slider volume percentage tooltips 2020-04-05 03:42:41 +01:00
Abex d263e6115b Merge pull request #11035 from rfick/kourend-library-features 2020-04-04 18:31:51 -06:00
Adam c703a35f15 party plugin: play sound effects on client thread 2020-04-03 12:48:34 -04:00
jostn 29901e5b13 HotColdLocation: Center Rimmington mine dig location 2020-04-03 15:10:03 +02:00
Crow 0f66573fb2 NPC Agression Timer: fix typo in notification 2020-04-02 21:32:26 -05:00
Daniel 3bc66a0608 questlist: Ensure filter has non-null state on startup
Prior to this commit, the filter state was only set initially when
logging in, causing NPEs and errant plugin behavior if toggled on when
already logged in.
2020-04-02 22:29:33 +00:00
Magic fTail babeed3293 chatmessagemanager: use default timestamp if none is provided 2020-04-02 18:21:18 -04:00
ypperlig 71488eaa2f barrowsplugin: fix null pointer exception in region check
2020-03-31 01:01:39 [Client] WARN  n.runelite.client.eventbus.EventBus - Uncaught exception in event subscriber
java.lang.NullPointerException: null
	at net.runelite.client.plugins.barrows.BarrowsPlugin.isInCrypt(BarrowsPlugin.java:252)
	at net.runelite.client.plugins.barrows.BarrowsPlugin.onGameStateChanged(BarrowsPlugin.java:166)
	at net.runelite.client.eventbus.EventBus$Subscriber.invoke(EventBus.java:73)
	at net.runelite.client.eventbus.EventBus.post(EventBus.java:222)
	at net.runelite.client.callback.Hooks.post(Hooks.java:167)
	at client.oz(client.java:62117)
	at bn.ew(bn.java:1275)
	at client.zl(client.java:2476)
	at client.u(client.java:1114)
	at br.kq(br.java:336)
	at br.run(br.java:315)
	at java.lang.Thread.run(Thread.java:748)
2020-04-02 15:01:18 -04:00
Lotto bdb554e9a1 player-indicators: highlight the 'Walk here' menu entry too 2020-04-02 13:34:37 -04:00
Lotto d4f2753e05 player-indicators: move menu logic to ClientTick 2020-04-02 13:34:36 -04:00
Lotto e7171ee386 player-indicators: break out decorating code into own methods 2020-04-02 13:34:01 -04:00
Lotto b85675f624 api: remove Follow and Trade menu actions
They are just the third and fourth player options but deprioritized by having 2000 added to them.
2020-04-02 13:34:01 -04:00
Lewis 85c5cf9a19 music plugin: add option to mute prayer sounds 2020-04-02 13:26:21 -04:00
Dennis b81caff06f ge plugin: add fuzzy search option 2020-04-02 12:27:48 -04:00
Max Weber 5f585987f5 Notifier: Reuse Clip instances
This was leaking instances of Clip, which on linux/alsa+alsa-pulseaudio
keeps a connection to pulseaudio open forever, for each notification
which will eventually lock/crash the pulse daemon.

If we just made it close the clip, it would become difficult to change
the volume because the volume interface would go away as soon as the
clip has stopped playing, so instead we keep the clip around after it
has been loaded if the mtime of the file hasn't changed.
2020-04-02 00:07:17 -06:00
Thomas 0bf469eaf1 slayer plugin: add Jormungand's Prison task location 2020-04-01 23:35:32 -04:00
Sean Dewar b8ad248fcb runenergy: update graceful recovery rate logic
Updates the energy recovery rate calculation to reflect the changes made
in the 9th January 2020 game update.

Each individual piece of graceful now boosts your recovery rate by 3%,
with an extra 1% for the top and legs. With the full set, an extra boost
of 10% is added, totalling 30%. Previously, there was no boost for
individual pieces, instead the full set was required for a flat boost of
30%.
2020-04-01 19:22:07 -04:00
Jordan b250d8c327 Merge pull request #11052 from TheStonedTurtle/kbd-nmz
Nmz Plugin - Fix area check to exclude KBD lair
2020-03-31 21:01:51 -07:00
TheStonedTurtle 7744056766 discord: Fix NMZ area check to exclude KBD lair
NMZ reuses the KBD region ID but is always above plane 0
2020-03-31 20:52:46 -07:00
TheStonedTurtle 0faf994f54 nightmarezone: Fix area check to exclude KBD lair
Fixes #3692
2020-03-31 20:52:28 -07:00