Commit Graph

689 Commits

Author SHA1 Message Date
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
Runelite auto updater
53e19ea206 [maven-release-plugin] prepare for next development iteration 2018-03-15 12:21:30 +00:00
Runelite auto updater
1dcdb90463 [maven-release-plugin] prepare release runelite-parent-1.3.0 2018-03-15 12:21:26 +00: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
bcab14bfe4 Bump to 1.3.0-SNAPSHOT 2018-03-08 19:54:10 -05:00
Runelite auto updater
f00ef6ae34 [maven-release-plugin] prepare for next development iteration 2018-03-08 14:02:25 +00:00
Runelite auto updater
91c73c5c8c [maven-release-plugin] prepare release runelite-parent-1.2.19 2018-03-08 14:02:21 +00: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
Max Weber
81a90762d9 zoom: Fix pitch relaxer after rev 165 changes 2018-03-01 19:33:55 -07:00
Runelite auto updater
af46fc4756 [maven-release-plugin] prepare for next development iteration 2018-03-01 14:43:43 +00:00
Runelite auto updater
5ae9a9fbff [maven-release-plugin] prepare release runelite-parent-1.2.18 2018-03-01 14:43:38 +00:00
Adam
a999863a80 Add support for intercepting mouse and keyboard input
Also allow translating mouse input for stretched fixed mode.

This is required for moving overlays, and interacting with the instance map.
2018-02-27 19:31:45 -05:00
Lotto
141f5ac778 modelmixin: use verticesCount/trianglesCount instead of array lengths 2018-02-27 15:43:14 +01:00
Lotto
856f1d9a96 Fix Widget#isHidden returning incorrect state when parent is null 2018-02-26 18:46:09 +01:00
Adam
631d7e5e80 Merge pull request #701 from Abextm/camera-sorry
Fix Perspective when near tall terain
2018-02-26 08:42:15 -05:00
Max Weber
47f2061387 cameraPitch > cameraPitchTarget 2018-02-25 22:53:49 -07:00
SomeoneWithAnInternetConnection
971b10c26c runelite-api: Add Grand Exchange offer support
This includes a new event: GrandExchangeOfferChanged which is fired
whenever a grand exchange offer is updated, either manually by the
player, or as a result of the offer being fufilled (partially or
otherwise)
2018-02-25 19:57:52 -05:00
SomeoneWithAnInternetConnection
9b50f16339 Expose isStackable on ItemComposition objects 2018-02-25 19:55:00 -05:00
Adam
f1b615fbe2 Merge pull request #655 from deathbeam/hunter-maniacal-monkeys
Hunter maniacal monkeys
2018-02-24 13:08:08 -05:00
Max Weber
346aa845c2 zoom plugin: Add option to relax the camera's upper pitch limit. 2018-02-23 04:32:32 -07:00
Tomas Slusny
9313747479 Prevent throwing duplacite events for GameObject
Store last gameObject as static variable in tile mixin and in case new
event is exactly same as last one in game object spawned, do not
proceed.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-02-22 16:18:11 +01:00
Runelite auto updater
481829bfac [maven-release-plugin] prepare for next development iteration 2018-02-22 14:20:14 +00:00
Runelite auto updater
843e63d661 [maven-release-plugin] prepare release runelite-parent-1.2.17 2018-02-22 14:20:07 +00:00
Tomas Slusny
04cf082b9c Enhance the sending message API
- Change sendGameMessage call to addGameMessage to allow sending messages with all supported fields
- Update chat message manager to support sending messages with all supported fields
2018-02-20 19:39:48 +01:00