Commit Graph

2872 Commits

Author SHA1 Message Date
Tomas Slusny
d268f9a75c Add clan changed hook
Add hook that will fire when user changed his clan.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:54 -04:00
Tomas Slusny
01f2532b1c Add DMM name drawing opcodes to cache
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:54 -04:00
Tomas Slusny
52129598e5 Always remove tags from player.getName()
- Move removal of tags to RSPlayerMixin
- Remove tags from players names where needed

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:53 -04:00
Tomas Slusny
59ad536fa9 Merge clan chat and player indicators plugin
As the only purpose of clan chat was to add clan chat icons for players
in CC, this functionality can be done too from Player Indicators plugin.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:52 -04:00
Tomas Slusny
5044e40bdd Use built-in name rendering in player indicators
- Change player indicators to use built-in player name rendering
- Add support for drawing clan member rank icons thanks to built-in
player name rendering

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:50 -04:00
Tomas Slusny
7c233a096c Add mappings and api for DMM player names
- Add mappings for DMM player names and methods using them
- Create class with DMM player name rendering masks
- Create mapping for cleanName from player
- Create mapping for setting name to player

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:11:12 -04:00
Tomas Slusny
24e6b24200 Add support for drawing player team's names
Add support for drawing player names and indicators for players in same
team as actual player.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:11:11 -04:00
Adam
197c42eafd Merge pull request #1198 from sethtroll/addregiontoagility
agility plugin: Add region check to lap counter
2018-03-31 21:31:14 -04:00
Seth
543476cf54 agility plugin: Add region check to lap counter
Some courses have obstacles that have XP equal to another courses last obstacle making it trigger a new course. This adds a region check to make sure you are in the correct region for the course
2018-03-31 21:00:13 -04:00
Adam
331b634f49 Merge pull request #1209 from sethtroll/fiximplingoverlay
impling plugin: Move minimap overlay into it's own overlay
2018-03-31 20:56:41 -04:00
Adam
68b38d106f Merge pull request #1207 from deathbeam/fix-ground-item-recache
Invalidate ground items and item composition cache
2018-03-31 20:50:46 -04:00
Adam
942f396c21 Merge pull request #1210 from MESLewis/ground-item-user-input
Add configuration options for ground item plugin
2018-03-31 20:49:08 -04:00
Seth
3d5e0b82b0 impling plugin: Move minimap overlay into it's own overlay
to render above minimap on resizable, the overlay must be rendered above widgets
2018-03-31 18:58:52 -05:00
Tomas Slusny
7164d4cc8c Merge pull request #1202 from rune3132/master
Added the turquoise slayer helmet to the slayer plugin
2018-04-01 01:57:36 +02:00
Morgan Lewis
43ca959c2a Add configuration options for ground item plugin 2018-03-31 16:50:38 -06:00
Adam
9e9ad7eb38 Add maven-jar-plugin 3.0.2 to plugin management
This uses a newer version of maven-archiver which supports reproducable
builds.
2018-03-31 17:29:41 -04:00
Tomas Slusny
dff0ce007d Invalidate item manager cache on hopping and login
Invalidate item manager composition cache when person is hopping or goes
to login screen to prevent issues with changing from p2p to f2p worlds.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-31 20:56:31 +02:00
Tomas Slusny
19bd1f5c67 Invalidate ground items cache properly
Instead of clearing ground items after game state change, just mark the
ground items dirty.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-31 20:54:29 +02:00
Adam
4878cf14a2 Merge pull request #1125 from Kamielvf/shift-click-customization
Shift click customization
2018-03-30 22:36:41 -04:00
Kamiel
f9c0a12a1a Add shift click customization to menu swapper plugin 2018-03-30 22:25:07 -04:00
Kamiel
194dadd030 Add event for ItemComposition post() 2018-03-30 22:14:55 -04:00
Adam
7e8aadcaf9 Merge pull request #1114 from deathbeam/ground-items-improvements
Improve ground items plugin
2018-03-30 21:45:11 -04:00
Adam
8385ef174b ground items: use item layer changed event 2018-03-30 18:40:15 -04:00
Adam
819c7c6ec7 Add item layer changed event 2018-03-30 18:40:14 -04:00
Adam
42353e4863 ground items overlay: use a loop 2018-03-30 18:40:14 -04:00
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
Adam
c041c3eaf2 Merge pull request #1192 from deathbeam/fix-overlay-reset-save
Save overlay data after resetting position
2018-03-30 08:27:35 -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
Dennis
d825950388 add show menu option nine widget config 2018-03-29 21:09:49 -04:00
Dennis
732c4ab9ca expose widget actions 2018-03-29 21:09:49 -04:00
Dennis
6e5f0a6f4d expose widget flags 2018-03-29 21:03:19 -04:00
Dennis
502cf8dfb2 expose integer node fields 2018-03-29 21:03:18 -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
Adam
d072beff64 Merge pull request #1179 from Infinitay/modify-kingdom-config
Disabled kingdom plugin by default, and it's options
2018-03-29 19:02:12 -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
Runelite auto updater
66b3633aa1 [maven-release-plugin] prepare for next development iteration 2018-03-29 12:33:12 +00:00
Runelite auto updater
d5a14c635b [maven-release-plugin] prepare release runelite-parent-1.3.2 2018-03-29 12:33:06 +00:00
Adam
d72ac5b1b1 mixins: remove unused imports 2018-03-29 08:27:42 -04:00
Adam
83e38d8140 mixins: move widget open event to loadWidget 2018-03-29 08:10:41 -04:00
Runelite auto updater
8047fac86c Update 167 2018-03-29 11:51:40 +00:00
Tomas Slusny
da029b9276 Merge pull request #1175 from Abextm/log-game-crash
Log game crashes to the logger, not Stdout
2018-03-29 12:19:09 +02:00