Commit Graph

1184 Commits

Author SHA1 Message Date
Tomas Slusny
9dfd671121 Reduce the amount of temporary objects in items
- Reduce the amount of GroundItem objects created by mutating objects
instead of creating merged copies
- Reduce the amount of stream transformations required by using
LinkedHashMap and sorting the ground items before collection

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 18:40:13 -04:00
Tomas Slusny
5272e2d9b6 Color the hidden items gray when in highlight mode
Color hidden ground items gray when in item highlight mode to show
different between non-hidden and hidden items.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 18:40:13 -04:00
Tomas Slusny
76d954db21 Improve ground items plugin
- Reduce amout of iterations per frame by pre-collecting the ground
items on game tick
- Collect ground items in ground item plugins and pre-compute some
easy-to-get values
- Replace the looping over all tiles with looping over collected ground
items
- Change GroundItemOverlay logic to support single list of items instead
of multi-dimensional array

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 18:40:12 -04:00
Adam
618d86f05c Merge pull request #1191 from deathbeam/fix-overlay-viewport-npe
Move viewport check below gamestate and CTP
2018-03-30 14:10:50 -04:00
Tomas Slusny
e7897eccc2 Save overlay data after resetting position
Due to flaw in logic, the save event in mouseReleased was never
triggered when overlay position was reset. It is not possible anymore to
go through the logic again/not worth and so save the overlay data
immediately.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 04:01:02 +02:00
Tomas Slusny
37ac47417c Move viewport check below gamestate and CTP
Move viewport widget check below logged in check and click to play
screen check.

Fixes: #1190

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 03:33:34 +02:00
Adam
f2f3550576 Merge pull request #1170 from DevDennis/bank-tags
Add Bank Tags Plugin
2018-03-29 21:21:52 -04:00
Dennis
c6ed38afb2 add bank tags plugin 2018-03-29 21:09:50 -04:00
Adam
a3ccb6af0a Merge pull request #1148 from deathbeam/move-session-loading
Move loading of session before starting plugins
2018-03-29 19:17:33 -04:00
Adam
37c3aa682b Merge pull request #1178 from DevDennis/fix-widget-loaded-event
Fix widget loaded event for prayer reordering
2018-03-29 19:15:39 -04:00
Dennis
165c5088b7 fix widget loaded event 2018-03-29 19:05:11 -04:00
Infinitay
3096c35e5c Disabled kingdom plugin by default, and it's options 2018-03-29 12:51:03 -04:00
Tomas Slusny
15cd9164b4 Merge pull request #1066 from ShaunDreclin/black-demon-hp-fix
Fix capitalization of 'Black demon' in npc_health.json
2018-03-29 17:33:58 +02:00
Tomas Slusny
fca60e32ec Merge pull request #1135 from JustANull/tray-icon-crash
Fix tray icon crash when clicked quickly on start
2018-03-28 14:02:46 +02:00
jamesahhh
c157514faa Add antipoison and superantipoison timers (#1159)
Add new timers for antipoison and superantipoison and respective resource images.
2018-03-28 13:36:59 +02:00
Kamiel
8edf8ff196 Replace raids points widget with custom overlay 2018-03-27 13:25:28 -04:00
Adam
b0d7aa78c8 Merge pull request #1133 from Joshua-F/refactor/widget
Refactor Widget defs
2018-03-27 08:52:38 -04:00
Adam
47606af9f0 Merge pull request #1137 from ChaoticConundrum/clue-scroll-bugs-pr
Fix clue scroll plugin game object overlay bug, fix some solutions
2018-03-27 08:30:21 -04:00
Adam
9621b50172 slayer plugin: load points and streak on login and startup 2018-03-27 08:27:30 -04:00
Tomas Slusny
347e42a5a3 Move loading of session before starting plugins
To remove the need for restarting plugins or reloading configurations
when plugins are loaded and then their confifguration changes, load
session configuration in advance.

Closes: #1121

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-27 12:52:18 +02:00
Charlie Waters
6aef3bf968 Fix some clue solutions 2018-03-27 02:34:33 -04:00
Charlie Waters
c335bb484d Fix clue scroll plugin game object query for world overlay 2018-03-26 23:36:26 -04:00
Adam
017a6a9b36 Merge pull request #1029 from devLotto/update-clues
Revamp clue scroll plugin
2018-03-26 20:58:06 -04:00
Adam
1f3eec9e31 agility lap overlay: set priority to low 2018-03-26 20:36:56 -04:00
Adam
ea93bc9a4e cluescroll overlay: set priority to low 2018-03-26 20:35:38 -04:00
Lyn Levenick
8d58e7928b Fix tray icon crash when clicked quickly on start
SwingUtil adds a click event to focus the frame, but the frame isn't
fully built when the icon is created. Click after the icon was made and
before the frame was built caused a crash. Moved icon creation to after
the frame is built, should resolve the problem.
2018-03-26 18:17:58 -05:00
Joshua Filby
102b8b1083 fix: import correct field for click masks 2018-03-26 17:07:56 -05:00
Adam
d0a2e0d5d7 Merge pull request #1107 from sethtroll/addlapcounter
agility plugin: Add lap counter
2018-03-26 17:34:58 -04:00
Lyn Levenick
f1e8a4db2e Add notifications for NMZ power-up spawns 2018-03-26 17:26:55 -04:00
Adam
dc4a668d31 xp globes: move expire check to a scheduled method 2018-03-26 17:19:09 -04:00
Seth
9e4969b598 agility plugin: Add lap counter 2018-03-26 17:13:56 -04:00
Adam
ee035730e2 Merge pull request #1118 from sethtroll/addteleportcharge
jewelrycharges: Add Teleport crystal(5)
2018-03-26 12:07:53 -04:00
Adam
077c259df6 Merge pull request #1101 from deathbeam/mouse-highlight-no-tooltip
Do not display mouse tooltips over RS tooltips
2018-03-26 12:07:36 -04:00
Lotto
5eedb0d3c8 runelite-client: remove old clue scroll enums 2018-03-26 17:26:03 +02:00
Lotto
14aa57e126 runelite-client: revamp clue scroll plugin 2018-03-26 17:25:58 +02:00
Lotto
59f6258446 runelite-client: add resource images to clue scroll plugin 2018-03-26 17:25:40 +02:00
Lotto
7f4e36cf5f runelite-client: add line wrapping to PanelComponent lines 2018-03-26 17:23:24 +02:00
Lotto
0aae96f0ce runelite-client: extend overlay util to render Areas and LocalPoint 2018-03-26 17:22:42 +02:00
Lotto
04abc1fb12 runelite-client: pass in z offset into renderActorOverlayImage 2018-03-26 17:12:16 +02:00
Adam
49e7853b38 mouse highlight plugin: hide tooltips when the client is showing tooltips 2018-03-26 10:27:45 -04:00
Adam
5f734450f5 Merge pull request #1120 from rune3132/master
Additions to Jewellery count plugin
2018-03-26 08:47:27 -04:00
Infinitay
6f0b5c05a3 Disabled plugin by default
- Hopefully will encourage users seeking this
   feature to configure it to their liking.
   For example, if ironman, disable herb box.
2018-03-26 01:51:38 -04:00
rune3132
8eda75dde8 Additions to Jewellery count plugin
Added the enchanted lyre and showing the remaining charges of teleport items equipped in the weapon slot.
2018-03-26 04:01:33 +02:00
Infinitay
c369113f28 Fixed checkCanCollectEssence method 2018-03-25 20:34:39 -04:00
Seth
5571586495 jewelrycharges: Add Teleport crystal(5) 2018-03-25 18:58:52 -05:00
Adam
28bb91bcaa Merge pull request #1093 from deathbeam/fix-screenshot
Add getCanvasOffset to clientUI, fix screenshots
2018-03-25 19:04:05 -04:00
Adam
c0e211a4b5 Merge pull request #1099 from deathbeam/nav-button-lookup-fix
Expand panels based on click event not isSelected
2018-03-25 19:03:19 -04:00
Adam
44266d0dcc instance map plugin: rewrite to use client minimap code 2018-03-25 18:43:29 -04:00
Adam
8b8e91b5cc Merge pull request #1108 from Kamielvf/hunter-plugin-success-timer
Show remaining time on successful hunter traps
2018-03-25 18:42:56 -04:00
Adam
0fba6101e3 Merge pull request #1110 from deathbeam/fix-menu-manager
Add null-check for Client to MenuManager
2018-03-25 18:40:35 -04:00