Commit Graph

165 Commits

Author SHA1 Message Date
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
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
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
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
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
Adam
41f005827c Add runelite vm opcode and event 2018-01-27 13:07:32 -05:00
Adam
c4d838b10c Add ability to overlay cache archives 2018-01-27 13:07:31 -05:00
Adam
e467ebdcf8 Add slf4j to mixins and expose logger in Hooks for them 2018-01-27 13:07:21 -05:00
Seth
1b24d83a00 Add graphic changed event 2018-01-25 19:55:07 -05:00
Adam
b6c00a774d runelite-api: add ItemContainer 2018-01-24 18:01:29 -05:00
Adam
7287102254 Merge pull request #424 from oplosthee/grounditems-height
Incorporate height into the GroundItems overlay
2018-01-24 14:01:15 -05:00
oplosthee
300fa9c8f6 Incorporate height into the GroundItems overlay 2018-01-24 19:29:19 +01:00
Tomas Slusny
68ba5f40b6 Add low memory mode plugin 2018-01-24 12:48:07 -05:00
Adam
3ed0561ff0 Merge pull request #410 from Dreyri/RSWidget
Add more methods to modify widgets
2018-01-22 19:57:19 -05:00
SomeoneWithAnInternetConnection
74ae39258e Expose runescape click/boundingbox display mode 2018-01-22 18:46:47 -05:00
SomeoneWithAnInternetConnection
560b169e68 Implement sound-playing API
There's no playSoundEffect-equivalent method in the actual client code.
Instead, the client just adds some values to the 4 sfx arrays, removes
any old queued sound effects, and then bumps the counter, which is what
I've done as well.
2018-01-22 11:55:27 -05:00
Dreyri
4a20e9ca07 add setter for name 2018-01-22 15:06:22 +01:00
Max Weber
fdc80dfeaa Prevent the client from taking focus when it doesn't have it. 2018-01-15 19:51:29 -07:00
Frederik Engels
53317cdfc8 Add widget hidden change event, use in attack indicator plugin 2018-01-14 10:28:16 -05:00
Frederik Engels
b319d74f8d Track projectile target and spawn cycle. Add to api with rest of mapings. 2018-01-14 09:41:03 -05:00
Tomas Slusny
d41c6ec6d8 Fix new player-is-x mixins
- Call the real method from isFriended
- Call the real method from isIgnored
- Add null check for getClanMembers

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-01-14 05:07:57 +01:00
Tomas Slusny
f565c4b7dd Add tile indicators plugin
Add tile indicators plugin, that will currently highlight the tile
player is walking to. It is disabled by default, and have configurable
highlighting color.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-01-13 03:25:37 +01:00
UniquePassive
68d448b7de Implement optimized isFriend, isIgnore and isClanMember 2018-01-12 20:49:21 -05:00
Adam
31c73e4d61 Move field hooks to mixins 2018-01-11 18:59:58 -05:00
UniquePassive
8f9c74aa91 Don't NPE when Player name is null 2017-12-27 20:31:50 +01:00
Onvo
b5c2d75527 Add Widget.contains point 2017-12-23 19:11:21 -05:00
Tomas Slusny
4860eb871f Add chat message recolouring API
- Update api of SendMessage to also include message type
- Create API for updating chat message based on saved colors for normal
and highlighted message and for adding game messages that can be
recolored too
- Update chat commands plugin to use the new API
- Add option to globally disable recoloring to RuneliteConfig

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-07 21:08:36 -05:00
Tomas Slusny
454fd4cfc1 Add clan ranks to clan chat
- Extend API to include support for getting clan members and
informations about them
- Add API for manipulation with modIcons
- Display clan ranks in clan chat (add to ClanChat plugin)
- Add new hook for clan members changed

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-04 19:33:13 -05:00
Adam
d0cb93c433 runelite-api: add Projectile 2017-11-26 11:03:47 -05:00
Adam
6f4fb6d8be runelite-api: fix Tile location methods 2017-11-24 18:00:59 -05:00
Toocanzs
6c14b08384 instance map: draw map icons, objects, doors, and improve walls 2017-11-21 19:04:35 -05:00
Adam
1cad0c1504 runelite-api: add SpritePixels.toBufferedImage 2017-11-21 18:58:54 -05:00