1016 Commits

Author SHA1 Message Date
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
Adam
627f0da0b8 Fix varbits to read the other settings[] array
The client appears to read "widgetSettings" though, but this breaks the attack indicator plugin

This fixes a regression introduced in f8c7a8b1c0f19b1344937504b972c71fd052a2f4
2018-02-17 12:14:25 -05:00
Adam
971692b025 Use client Varbit for index, lsb, msb 2018-02-15 09:57:22 -05:00
Runelite auto updater
ca4726d8b8 [maven-release-plugin] prepare for next development iteration 2018-02-15 13:02:13 +00:00
Runelite auto updater
8e62901919 [maven-release-plugin] prepare release runelite-parent-1.2.16 2018-02-15 13:02:08 +00:00
Max Weber
d8e4fe13c5 injector: Allow injection of <init> and <clinit> 2018-02-12 18:09:16 -07:00
Max Weber
f71059ce20 Add raw injector to hook the script interpreter 2018-02-09 23:35:16 -05:00
Runelite auto updater
acb2bce8fa [maven-release-plugin] prepare for next development iteration 2018-02-08 13:56:10 +00:00
Runelite auto updater
86512939dc [maven-release-plugin] prepare release runelite-parent-1.2.15 2018-02-08 13:56:04 +00:00
Adam
c5a7e642fa mixins: also disable execute6500 hook 2018-02-08 08:43:47 -05:00
UniquePassive
a61b383877 Rename ocLowDetail to objectCompositionLowDetail 2018-02-05 15:08:21 +01:00
UniquePassive
659413feb1 Rename highMemory to audioHighMemory 2018-02-05 15:05:06 +01:00
UniquePassive
48d6170351 Always use "high memory" audio 2018-02-05 14:59:41 +01:00
SomeoneWithAnInternetConnection
69fce20e96 Add events for Decorative and Ground TileObjects
For the agility plugin:
* Some tightropes are GroundObjects
* The last "obstacle" (a gate) in the penguin course is a WallObject
2018-02-01 19:36:31 -05:00
SomeoneWithAnInternetConnection
9eb5dfbf73 Add method to get the clickable area of a TileObject
getClickbox returns an AWT Area object which corresponds to theclickable area of a GameObject, GroundObject, DecorativeObject or WallObject.

getClickbox for ItemLayers isn't implemented, since I haven't looked into how clickabilty works for items on the ground in the client.
2018-02-01 19:36:29 -05:00
SomeoneWithAnInternetConnection
f2cc543dc7 Move orientation incantation into Vertex.rotate
Everywhere that Vertex#rotate was called, the orientation was rotated by 180 degrees first.
2018-02-01 19:24:11 -05:00
Runelite auto updater
836109f5a2 [maven-release-plugin] prepare for next development iteration 2018-02-01 19:54:08 +00:00
Runelite auto updater
dfb2d8e1d2 [maven-release-plugin] prepare release runelite-parent-1.2.14 2018-02-01 19:54:02 +00:00
Adam
00ef622144 Update API for 162 2018-02-01 14:36:00 -05:00
Adam
0325150267 runescape-client: refactor for 162 2018-02-01 13:08:19 -05:00
Adam
789221490e runelite-api: add game object and wall object spawn/change/despawn events 2018-01-30 09:52:41 -05:00
Adam
06fc579ef2 Remove even more unused imports 2018-01-29 09:16:20 -05:00
Adam
eebf3eee03 mixins: fix getProjectiles queue iteration logic 2018-01-29 08:16:44 -05:00
Adam
f31bc0d794 Remote projectile target and length tracking
Continuation of 4c293e612cd4b08fc7230a5e6722c8acc74e5a9e
2018-01-29 08:10:46 -05:00