Commit Graph
7143 Commits
Author SHA1 Message Date
Paul Norton 943d69d8bb Add scorched Lletya region ID to discord presence determination 2020-12-21 13:52:05 -05:00
Paul Norton 1e27c2f5ff Add "scorched" Lletya regionID recognition to TimeTracking's FarmingWorld 2020-12-20 23:50:23 -05:00
Adam 175f436f48 ping: place IcmpCloseHandle in finally
If toIntExact() throws then this would leak the handle
2020-12-20 12:54:22 -05:00
pilino1234 ab4cf1afe9 Add alpha channel to color config options where applicable 2020-12-20 00:01:32 -05:00
Adam b1ebf7814b menu entry swapper: refactor configure shift click menu code to use menu types and ids
This fixes an issue where if the action at the configured shift click action
index was null, which can happen due to item variations, the option.equals()
check would npe, and prevent configuring shift click on the item.
2020-12-19 14:11:27 -05:00
Adam c05d29424f menu entry swapper: replace some client.getItemDefinition calls with itemManager.getItemComposition 2020-12-19 14:11:16 -05:00
Adam 5dc5adc01f Remove ITEM_DROP menu action
It is identical to ITEM_FIFTH_OPTION and of() was returning only ITEM_DROP,
which made ITEM_FIFTH_OPTION useless
2020-12-19 14:11:07 -05:00
Adam eafaaec07d timers: use pvp varbit to clear teleblock timer 2020-12-18 17:19:47 -05:00
Adam 1d5df7b475 wiki: use script post fired event for hiding wiki banner 2020-12-18 16:40:46 -05:00
Max Weber ecbcd1b9cc config/PluginHubPanel: show uninstall ui feedback when in safe mode
This normally relies on ExternalPluginsChanged being emitted to rebuild
the ui, but that doesn't happen in safe mode
2020-12-16 11:59:14 -05:00
Fjara - Choppe 9d3a10f7d6 agilityshortcut: fix Neitiznot Bridge agility level requirements
Only the northeast (to the center island mine) requires 40 agility
2020-12-16 11:49:18 -05:00
Koanga cb82923196 item prices: fix evalulating large platinum token stack prices 2020-12-16 11:44:24 -05:00
Adam 34e37dcc57 Add interface and layer draw hooks for overlays
This allows overlays to request draw after any interface or layer. This
allows removal of the ABOVE_MAP layer which can now just be replaced
with requesting draw after the map interface. This also fixes item
overlays from drawing over top of the map by now drawing the item
overlay immediately after the interface and/or layer the item is on is
drawn.

For backwards compatability, ABOVE_WIDGETS is kept as a layer, but
internally just requests draw after the 3 TLIs.

Due to overlays defaulting to the UNDER_WIDGETS layer, a new layer
MANUAL has been added, which is intended for use when requesting draw
after specific interfaces or layers, so that the overlay is otherwise
not drawn a second time due to being UNDER_WIDGETS.
2020-12-15 14:30:49 -05:00
Adam a43a344aca Rename various itemWidget to widgetItem to match class name 2020-12-15 14:30:48 -05:00
Adam 61a36f106f overlay renderer: use viewport bounds for snap corner offsets
The rendered x/y position of the viewport layer is the same as the viewport offsets. This also no longer assumes the x/y offets are the same, even though in practice they always are.
2020-12-15 14:30:47 -05:00
Adam 38b3d3a904 api: remove getViewportWidget()
The returned widget isn't actually the viewport widget, but is a layer within the viewport, and only needs to be used within the overlay renderer to position the snapcorners
2020-12-15 14:30:46 -05:00
dekvallandAdam e6169ab79b zalcano: add damage counter
Adds a panel which tracks damage dealt to Zalcano's health and shield
to make it easier prioritising what to focus on at a low level.

Co-authored-by: Adam <Adam@sigterm.info>
2020-12-13 11:21:52 -05:00
Adam 70a2e41db0 Allow overlay renderer to restrict overlay parent bounds
This removes the hack of double setting the widget position in
WidgetOverlay, which was required to override the overlay renderers
clamping code in both overlay drag and in overlay rendering.
2020-12-12 23:46:37 -05:00
Adam 59bccf2c6f overlay renderer: set currentManagedOverlay also when clicking
Requiring the mouse to be moved first causes dead clicks when the mouse is
pressed immediately after entering overlay management mode. Also since
resetOverlayManagementMode() clears the managed overlay, after dragging
an overlay it again requires the mouse to be moved to pick up a click on it
if dragging again or trying to reset the overlay.
2020-12-12 21:04:18 -05:00
Adam 0bf7f33ee0 devtools: assign unique names to debug infoboxes 2020-12-12 21:03:06 -05:00
Adam eaa16429e5 widget overlay: use the in-game configured position for the xptracker widget 2020-12-12 21:01:43 -05:00
Hydrox6 fa0c5066d3 WidgetOverlay: Make Multicombat Indicator moveable 2020-12-12 16:05:51 -05:00
Paveldin f9594e5295 fishing: Add crystal and trailblazer harpoon to fishing tool list (#12829) 2020-12-12 19:52:17 +01:00
Broooklyn aa81261e5d discord: add a few missing regions 2020-12-12 19:49:15 +01:00
Adam c2d5165709 twitch: fix npe closing client if no socket has been created
If the client is closed prior to the socket being created, or if socket creation fails, this will repeatedly throw out of close() in connect() and is never able to reestablish a connection
2020-12-09 20:13:02 -05:00
Adam 807a22172f barrows: fix reward potential color overlay
The reward text color is meant to show what is the optimal reward percent
for money, assuming that blood runes are best, and death runes are
second best. The percentage thresholds however were incorrect.
2020-12-09 20:00:29 -05:00
Runelite auto updater 096f457d9f Bump for 1.6.36-SNAPSHOT 2020-12-09 12:22:49 +00:00
Runelite auto updater 3ac711ebf7 Release 1.6.35 2020-12-09 12:22:39 +00:00
Adam b9b87d10a4 music: update for volume api changes 2020-12-09 04:44:57 -07:00
Adam 45ae2fa3f6 metronome: update for volume api changes 2020-12-09 04:44:57 -07:00
RuneLite Cache-Code Autoupdater b68acebb52 Update Object IDs to 2020-12-9 2020-12-09 04:44:56 -07:00
RuneLite Cache-Code Autoupdater 7dc41e8dfb Update Item variations to 2020-12-9 2020-12-09 04:44:56 -07:00
RuneLite Cache-Code Autoupdater 9cdcd371ed Update Scripts to 2020-12-9 2020-12-09 04:44:55 -07:00
Max Weber 5c75762f83 camera: add slider tooltip to main settings window
this replaces the overlay with onMouseRepeatListeners
2020-12-08 16:16:29 -05:00
Adam f67eed0f96 chatcommands: always apply pb from raids
This logic was from prior to cox having a pb message, and so it had to compare
the known pb with the current raid duration. Now that all raids have a pb
message, it is no longer necessary to do this. This fixes pb times syncing up
in the main game correctly that were overwritten by leagues.
2020-12-07 23:34:02 -05:00
Adam 3911a2c79c Merge pull request #12889 from abextm/music-sliders-2000-external
music: re-add slider granularity
2020-12-07 16:06:06 -05:00
Max Weber 1076272d8d music: re-add slider granularity
removed in e60c25be99
2020-12-07 03:23:04 -07:00
Max Weber b5b9da1a41 runelite-api: rename Options group to SettingsSide 2020-12-07 03:23:03 -07:00
Max Weber 07819bd9a4 rl-api, rl-client: add Client::getWidget(I) 2020-12-07 03:23:03 -07:00
Max Weber 7840bb2b18 devtools: add dragParent to widget inspector 2020-12-07 03:23:02 -07:00
Adam 3bad0b726b ba plugin: cleanup and remove unused code 2020-12-06 15:45:35 -05:00
Adam f0233234da chat commands test: remove unnecesary argument matchers 2020-12-04 16:01:50 -05:00
Adam 3771444b7f chat commands: fix detecting pb when completing leagues tasks
The league task message is in between the kc and pb messages, so just look for the pb message on the same tick as the kc message
2020-12-04 15:50:21 -05:00
Adam f5a76e9961 clientui: fix double requestFocusInWindow() when showing frame
requestFocus() always calls giveClientFocus() in addition to requesting
focus, so it is not necessary to call giveClientFocus() separately on
startup.
2020-12-03 15:50:56 -05:00
Adam 16149cdcae config manager: manually parse config keys
The regex used took too long to complete with large inputs that can
appear when the user has a corrupted config.
2020-12-02 19:26:13 -05:00
Runelite auto updater ed591b123b Bump for 1.6.34-SNAPSHOT 2020-12-02 12:21:36 +00:00
Runelite auto updater eb1f86f6cb Release 1.6.33 2020-12-02 12:21:27 +00:00
Max Weber 898641fa79 rl-client: add new zoom update script 2020-12-02 04:54:57 -07:00
Max Weber e60c25be99 music: remove volume slider granularity
this interface was entirely rewritten
2020-12-02 04:54:56 -07:00
RuneLite Cache-Code Autoupdater 77681a3f3e Update Scripts to 2020-12-2 2020-12-01 19:54:33 -07:00