Commit Graph

121 Commits

Author SHA1 Message Date
Adam
34f18f5656 Revert "Merge pull request #1154 from deathbeam/team-member-names"
This reverts commit f0293087ce0a2e2dc515cfb57ef926c185d25cb5, reversing
changes made to 309c1fde25d32086cfd242f988c8f45df903d66c.
2018-04-01 14:20:27 -04:00
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
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
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
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
Adam
819c7c6ec7 Add item layer changed event 2018-03-30 18:40:14 -04:00
Dennis
165c5088b7 fix widget loaded event 2018-03-29 19:05:11 -04: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
Max Weber
2078b7b37c Log game crashes to the logger, not Stdout 2018-03-28 21:20:14 -06:00
Adam
0eb7dc25d9 Add varc api accessors, and tooltip varclient 2018-03-26 10:27:20 -04:00
Adam
44266d0dcc instance map plugin: rewrite to use client minimap code 2018-03-25 18:43:29 -04:00
Max Weber
92a94cff32 Ensure createItemSprite is called on the game thread 2018-03-25 14:51:14 -04:00
Max Weber
0ec8d7615f runelite-client: Add ClientThread to aid in synchronizing with the client 2018-03-25 14:51:13 -04:00
Max Weber
764e361626 mixins: Use assert in scriptvm 2018-03-24 20:38:59 -06:00
Tomas Slusny
10629bfa4a Add support for getting real canvas dimensions
In stretched mode the canvas dimensions are the stretched dimensions, so
add method that will return normal game dimensions in case stretched
mode is enabled and we are not in resizeable mode.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-22 21:03:45 -04:00
Joshua Filby
70ddd2d4a3 fix: hook clientVarps instead of settings 2018-03-21 17:39:37 -05:00
Joshua Filby
abb1996c4e refactor: rename widgetSettings to clientVarps 2018-03-21 17:29:28 -05:00
Adam
257822aea0 Add npc menu options to MenuManager 2018-03-20 18:19:48 -04:00
Adam
da29e3560f runelite-api: add getConvexHull to Actor 2018-03-20 18:19:48 -04:00
Adam
6f61780e68 runelite-api: move getConvexHull to Model 2018-03-20 17:59:52 -04:00
Dreyri
fd0dd85bad Broadcast widget hidden changed recursively for each child too 2018-03-19 20:41:21 -04:00
Adam
1a7331331f boosts plugin: show time to next change 2018-03-16 17:46:07 -04:00
Dennis de V
ef02e6e316 runelite-mixins: add null check for widget group in getGroup() 2018-03-16 17:16:22 -04:00
Dennis de V
15ef09cd5e runelite-api: add widget open event 2018-03-16 17:16:18 -04:00
Dennis de V
56f8ebe4da runelite-api: add event for dragging widget 2018-03-16 17:16:14 -04:00
DESKTOP-G1DDN84\Denni
2e21f1e56a restore menu entries after open/close widget 2018-03-15 20:27:30 -04:00
Adam
6f1853575d runelite-mixins: add null checks in region mixin 2018-03-15 16:07:36 -04:00
SomeoneWithAnInternetConnection
f1751e21c3 Use a fieldhook for MenuEntryAdded events
The previously-hooked addMenuEntry method in runescape-client is one
that occasionally gets inlined which can cause weird breakages like
MenuEntryAdded not getting fired for menu entries defined in
ItemDefinitions. Hooking the menuOptionCount field should be more
reliable.

Fixes #936
2018-03-14 17:31:37 -04:00
Tomas Slusny
65619e998b Fix NPE from RSPlayer#getName
Add null check for getRsName, because when logging to game, sometimes it
is null, and throws NPE.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-14 18:09:58 +01:00
Adam
5411da531b runelite-api: add scale to createItemSprite 2018-03-13 14:13:14 -04:00
Adam
14299f543d Reset player menu types whenever the options are changed 2018-03-10 21:17:59 -05:00
Adam
7320a4f61a runelite-api: add ability to get npc index 2018-03-10 09:54:47 -05:00
Max Weber
f560fb9427 Add planes to planeless tile objects 2018-03-09 20:59:06 -07:00
Max Weber
b75dddca28 Update almost everything to the new API 2018-03-09 20:59:05 -07:00
Max Weber
1d5a9f7e90 isRSHidden > isSelfHidden 2018-03-08 19:35:03 -07:00
Max Weber
badc1e9182 injector: Fix scriptvm not updating currentScript 2018-03-08 18:54:05 -07:00
Adam
a8f6a7dcd7 npc mixin: add null checks for composition 2018-03-08 08:53:26 -05:00
Adam
0d2aa71387 script vm mixin: comment more 2018-03-08 08:46:27 -05:00
Adam
938dd969d7 script vm mixin: remove assert for pc
pc appears unused, and is not being set correctly
2018-03-08 08:41:58 -05:00
Adam
23c448ccd0 Merge pull request #794 from devLotto/clienterrorfilter
Improve printing of the game's stacktraces + don't send RuneLite stacktraces to Jagex
2018-03-07 19:15:54 -05:00
Lotto
4c8276b6fa runelite-mixins: add mixin for processing game exceptions 2018-03-07 18:28:03 +01:00
Tomas Slusny
c0e9a502eb Add support for changing world to API
- Export World from RS client
- Export changeWorld method
- Create new method for creating RuneScape world

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 15:22:00 +01:00
Lotto
d0aa72f61b Add support for proxying mouseWheelMoved events 2018-03-06 00:37:59 +01:00
Lotto
d1d45eb11f Modify the size and location of the game canvas if stretched is enabled 2018-03-06 00:37:59 +01:00
Lotto
4e198b6e0e Add logic for game image stretching in Hooks#draw
Cache stretched dimensions and image

Fix rendering hint not being set until you resize window
2018-03-06 00:37:59 +01:00
Lotto
22f931a438 Add a mixin for storing stretched fixed mode setting states 2018-03-06 00:37:59 +01:00
Lotto
e830442585 Use a mixin for calling Hooks.draw instead of a @Hook 2018-03-06 00:37:59 +01:00
Max Weber
2e80d972fe inline RSHashTableMixin.getNodes into RSWidgetMixin.getParentId to reduce allocations 2018-03-03 19:57:09 -07:00