Commit Graph

7484 Commits

Author SHA1 Message Date
Adam
c5586123c8 npc overlay: set lower priority on npc change and despawn handlers
Similar to spawn, these need to run after plugins for most of the highlight functions to work correctly
2021-09-09 20:38:03 -04:00
Adam
342e0169e3 npc minimap overlay: use unmodified highlight color
The darker() is originally from the npc indicators minimap overlay, but other plugins now using this such as impling plugin do not expect this.

If we require the minimap colors to be different later we should add a separate property specifically for it.
2021-09-09 12:44:43 -04:00
Vic Segers
1d2d1e445a itemstats: Add jangerberries prayer point restore (#14101) 2021-09-07 18:29:13 +00:00
Adam
178638b73b external plugins: require assertions when loading builtin plugins 2021-09-07 14:26:06 -04:00
geheur
03e51acf08 bank tags: Fix tag tab tab scroll height (#13761) 2021-09-07 18:19:15 +00:00
Adam
58fb78ff00 runecraft: use npc overlay service 2021-09-06 21:45:15 -04:00
Adam
4a9b650249 corp: use npc overlay service 2021-09-06 21:45:14 -04:00
Adam
c52667a5cc Move npc highlight overlay to core
This allows the other plugins which depend on the npc overaly to work
when npc highlight plugin is off, while still letting them use the
consistent highlight style of the central overlay.
2021-09-06 21:45:14 -04:00
Adam
99100979df npc highlight: fix npe rendering minimap names on npcs with no name 2021-09-06 21:41:33 -04:00
Adam
97095b41f8 ui: force heavyweight tooltips on macos
Lightweight components do not render correctly over AWT canvases on
MacOS. The popup factory API to override this is not available on 8, so
add an 11-specific popup factory to override it by using a multi-release
jar.
2021-09-05 16:56:01 -04:00
Adam
cdbb0a3aa7 api: make getCanvasTilePoly work on multi-tile npcs 2021-09-05 11:49:43 -04:00
Adam
adf0d75be8 wiki: move icon to match vanilla position 2021-09-04 12:32:21 -04:00
Adam
ef3622c05a api: flatten model uvs
This drastically reduces the number of allocated float arrays on the heap just by flattening the uvs into a single array per model
2021-09-03 15:04:08 -04:00
Adam
a3d33bee0d logback: add duplicate exception filter
This only applies to marked logged messages for overlay rendering and event subscribers, which are common sources of exceptions in 3rd party plugins
2021-09-03 11:45:06 -04:00
Ryan
dbc7d4049f ItemMapping: Add Tome of Water and Master Scroll Book 2021-09-02 18:08:28 -04:00
pilino1234
f06fee20a1 worldmap: Add mining spots in Ruins of Camdozaal 2021-09-02 18:00:48 -04:00
Adam Davies
41d3384358 mining: Add barronite ore and deposits 2021-09-02 18:00:48 -04:00
Jordan
48da3f30fd Merge pull request #14073 from Hydrox6/xp-globes-correct-bounds
xp globes: account for progress arc width when deciding overlay bounds
2021-08-30 17:34:06 +00:00
Adam
b42932d581 loot tracker: add world id to loot record for dmmt 2021-08-30 11:05:33 -04:00
Hydrox6
7046737a48 xp globes: account for progress arc width when deciding overlay bounds 2021-08-30 12:17:05 +01:00
Jordan
4bfd020b2a Merge pull request #14042 from Hydrox6/roof-removal-instances
roof removal: properly account for instances when applying overrides
2021-08-30 05:59:21 +00:00
Jordan
931276b1e7 Merge pull request #14074 from Hydrox6/loot-tracker-ea 2021-08-30 05:58:25 +00:00
Jordan
b7d22f266d Merge pull request #13908 from Hydrox6/sign-in-wording
client: update various wordings to use "signed in/out" for RL accounts
2021-08-30 01:55:09 +00:00
Max Weber
f1df57f9dd timetracking: don't load notification icons for every panel 2021-08-29 15:36:52 -06:00
Adam
a772eebf09 world hopper: bubble up mouse events from activity label
This fixes hopping and mouseover on the activity label not working
2021-08-27 19:59:27 -04:00
Hydrox6
8b683b4057 loot tracker: don't show unneeded tooltip lines for coins and platinum 2021-08-27 23:48:32 +01:00
Hydrox6
50c6100596 loot tracker: add ea display to tooltips 2021-08-27 23:47:55 +01:00
Adam
6723fb3205 overlay: only layout widget overlays if the preferred location is set
With the new steam client updates, the client tries to aggressively
move around several of the widget overlay components, including xp
tracker, and several hp bars. This tends to fight with the layouting we
already do with the widgets.

This changes the widgets to only be layouted if the overlay has a
preferred location or position set. Otherwise, it will offset the snap
corner bounds by where the client has positione the widget.

It is still possible to get the client ui to fight the widget overlay by
moving the overlays around manually, but it should no longer happen in
the default positioning of the widgets.
2021-08-27 16:59:26 -04:00
Adam
ed5ae02bc3 world hopper: set activity tooltip on world list 2021-08-25 09:15:26 -04:00
Adam
719022c044 Update world types for seasonal deadman 2021-08-25 08:06:40 -04:00
Adam
b695ca8689 ge: fix detecting dmmt world type 2021-08-24 18:59:55 -04:00
Adam
c3c1222570 chat commands: update to parse new adv log pb counters 2021-08-23 17:03:07 -04:00
Adam
e9665f3504 implings plugin: use npc indicators for impling overlay 2021-08-22 16:51:51 -04:00
Adam
ec7af70da4 npc indicators: allow plugins to specify highlight styles
After changing the slayer plugin to use npc indicators for the outline
style, some users request being able to set the color of slayer
highlights to be unique in order to identify marked npcs such as
superiors while slaying. This readds the previous target color config
and adds new highlight style options to the slayer plugin.
2021-08-22 16:51:47 -04:00
Adam
442c6105ce chat commands: rename tob story mode to entry mode 2021-08-22 15:33:08 -04:00
Adam
7d89f5a52f xp updater: don't send updates for dmm, leagues, or beta worlds 2021-08-21 18:59:31 -04:00
Adam
e9c252e227 chat channel: fix join/leave world hop detection
The ChatPlayers do not implement equals or hashCode, making them
unsuitable as a hashmap key. Instead just use a linked list and compare
the members using the comparable interface.
2021-08-21 15:41:53 -04:00
TheStonedTurtle
60d135c7dd CrypticClue: Fix hosidius fruit store crates highlighting (#14051) 2021-08-21 15:35:10 +00:00
Hydrox6
ffff30d60c roof removal: properly account for instances when applying overrides
Since instances shift around real regions to WorldPoints that don't
match, the override system was trying to apply overrides to areas that
don't currently exist.
2021-08-19 16:00:45 +01:00
Jordan Atwood
5df5abd50d clues: Support combat achievement slayer helms 2021-08-18 19:58:04 -04:00
Jordan Atwood
42d27d6786 slayer: Support combat achievement slayer helms 2021-08-18 19:58:04 -04:00
Jordan Atwood
1d870b3308 ItemMapping: Add combat achievement rewards variations 2021-08-18 19:58:04 -04:00
Max Weber
3422136e5b rl-client/ImageCapture: use RSProfileType for screenshot naming 2021-08-18 18:33:56 -04:00
Max Weber
9ea0f9f9e5 rl-client/RSProfileType: add DMM Reborn 2021-08-18 18:33:56 -04:00
Jordan
357597cd96 Merge pull request #14020 from TheStonedTurtle/gaunt 2021-08-18 22:33:17 +00:00
Jordan
cf2d9dacfa Merge pull request #13907 from Hydrox6/clues-fakes
clues: remove non-existent clues
2021-08-18 22:26:54 +00:00
Adam
541e20c592 clientui: fix restoring sidepanel when expanding sidebar
Closing and opening the sidebar when the side panel is collapsed
currently expands the side panel to the most recently opened panel,
even if it was collapsed at the time the sidebar was closed, and also
incorrectly doesn't set the nav button as selected.

This changes the behavior of expanding the sidebar to not open the side
panel if it was not opened at the time the sidebar was closed.
2021-08-17 16:02:55 -04:00
Adam
b0b41a612a clientloader: fix loading classes in packages 2021-08-17 15:50:34 -04:00
Jordan
4d77f6cdfb banktags: Fix bank scroll height with separators hidden (#13723)
Prior to this change, an extra row of empty space was added to tag tabs
with items reaching the end of a row (ie. multiples of 8) which led to
scroll behavior not matching vanilla for tabs with enough items to
require scrolling. This change fixes this behavior to add extra scroll
height only when a new row is started.

In addition to the 36 pixels of height allotted to each bank item row,
an additional 4 pixels of height exists at the bottom of the bank item
container. This change ensures that a bank tag scrolled to the bottom
will have its items displaying at the exact same y values as that of a
normal bank tab.
2021-08-16 11:04:20 -04:00
Cyborger1
bd762cc0da text: don't remove double spaces in toJagexName 2021-08-16 10:40:05 -04:00