Commit Graph

188 Commits

Author SHA1 Message Date
Max Weber
66ccd9c0d6 Add VarC events 2018-05-21 12:20:32 -06:00
Adam
0fe49ec2df runelite-api: expand hint arrow api 2018-05-21 08:20:48 -04:00
Adam
2c5284d597 runelite-mixins: fix hasHintArrow 2018-05-21 08:20:08 -04:00
Adam
fbca624ffd runelite-api: add widget positioned event 2018-05-19 20:40:53 -04:00
Adam
444e3a5152 runelite-api: add sprite override api 2018-05-19 19:15:35 -04:00
Adam
06aa5cd680 Merge pull request #2684 from Adam-/npc-despawn
fire npc despawn event before composition is nulled
2018-05-15 11:20:25 -04:00
Max Weber
669b0a0ab9 Revert #2530 "Make VarbitChanged only fire once..."
This broke the speccounter plugin, and is moderately incorrect because client scripts can update varbits before a tick has happened, and the event should reflect that.
2018-05-15 03:36:16 -06:00
Morgan Lewis
c8d7779248 Fix world map overlay to draw pixel perfect on the World Map 2018-05-14 20:34:10 -04:00
Adam
0acde2bd06 runelite-mixins: wrap drawTileUnderlay in try/catch
The rasterizer crashes on certain tiles ingame with specific camera angles.

java.lang.ArrayIndexOutOfBoundsException: -1
    at Graphics3D.rasterGouraudLine(Graphics3D.java:797)
    at Graphics3D.rasterGouraud(Graphics3D.java:680)
    at Region.drawTileUnderlay(Region.java:1853)
    at Region.draw(Region.java:1376)
    at Region.drawRegion(Region.java:1187)
    at class35.method682(class35.java:808)
    at WorldMapType3.gameDraw(WorldMapType3.java:448)
    at class218.method4359(class218.java:1069)
    at Client.method1268(Client.java:3922)
    at Client.methodDraw(Client.java:2239)
    at GameEngine.method914(GameEngine.java:605)
    at GameEngine.run(GameEngine.java:1027)
    at java.lang.Thread.run(Thread.java:748)
2018-05-14 18:22:23 -04:00
Adam
e915070b4b runelite-mixins: fire npc despawn event before composition is nulled 2018-05-13 15:45:39 -04:00
Adam
484d664a3c injector: support field hooks prior to field being changed 2018-05-13 15:45:16 -04:00
Adam
bc2c959e7a runelite-api: add getWorldType() 2018-05-12 18:25:30 -04:00
Adam
837d373fdd runelite-mixins: fix setting menu preventing menu add event from being fired 2018-05-11 15:47:04 -04:00
Adam
782e426f52 Merge pull request #2528 from pettenge/hiscore-autocomplete
Autocomplete name when looking up player on HiScores
2018-05-11 14:08:55 -04:00
Adam
0ac809fae2 runelite-api: expose friends 2018-05-11 13:28:12 -04:00
Max Weber
c9d0abc1c3 Make VarbitChanged only fire once, after everything has settled 2018-05-10 21:01:04 -06:00
Dennis
035ea6af41 runelite-client: add anti drag plugin 2018-05-10 16:02:06 -04:00
Adam
4d9c58750a Remove bounding boxes 2018-05-10 08:54:43 -04:00
Adam
b805f786a8 Update mixins/api for 170 2018-05-10 08:54:43 -04:00
Adam
e74dfcf13d Add removed friend event 2018-05-08 16:36:44 -04:00
Adam
4037ba9c00 injector: add method hooks 2018-05-08 16:36:44 -04:00
Adam
8106d99f83 runelite-api: add nameable name change event 2018-05-08 16:36:44 -04:00
Adam
863522afa9 runelite-api: expose Friend 2018-05-08 16:36:41 -04:00
Adam
dcfbfd8441 mixins: inject get/set tick count 2018-05-07 11:30:37 -04:00
Adam
ccef1dddd0 runelite-client: add tick counter 2018-05-07 09:43:31 -04:00
WooxSolo
2f1445859b Add graphics object API 2018-05-04 10:54:31 -04:00
Morgan Lewis
12104758cc Add world map api and mixin 2018-05-03 19:37:30 -06:00
Adam
4a8eef023d Merge remote-tracking branch 'joshua/feat/accounttype' into next 2018-05-01 21:24:58 -04:00
Adam
24865f050f Merge remote-tracking branch 'kamiel/overhead-api-additions' into next 2018-05-01 21:24:44 -04:00
Joshua Filby
b594c83ab6 feat: add a way to get AccountType
This adds a way to get the logged in players account type.
2018-05-01 21:00:54 -04:00
Kamiel
62deed7730 Add missing overhead icons to API 2018-05-01 19:32:57 -04:00
Max Weber
7f190f2534 Merge Varcs into Client::getVar 2018-04-30 16:17:04 -06:00
Max Weber
33d6b9bdb7 Rename Setting to VarPlayer 2018-04-30 16:03:49 -06:00
Adam
18dc60db60 runelite-api: add headicon enum 2018-04-29 19:42:21 -04:00
WooxSolo
ea5c1f3032 runelite-api: add WorldArea 2018-04-28 11:36:53 -04:00
WooxSolo
ed658df469 runelite-api: add line of sight algorithm 2018-04-28 11:36:43 -04:00
Max Weber
f0b1f0e8b0 Add UsernameChanged event 2018-04-26 19:46:25 -04:00
Max Weber
b3fa9a5e49 Allow ItemManager to be ran off the client thread
This allows the ItemManager to return a blank BufferedImage if it's not called on the client thread. This also makes it not render the image until the cache has been downloaded
2018-04-26 14:53:00 -06:00
Kamiel
63872835fa Fix issue where hiding local player would not hide you when in clan 2018-04-26 00:18:11 +02:00
Kamiel
d8ba53eecc Change ground marker plugin to use selected region tile coords instead of basing them off of mouse location 2018-04-24 21:38:25 -04:00
Lotto
6c21b2e21b Add entity hider plugin 2018-04-24 18:24:56 -04:00
Adam
3caf182b0b npc mixin: transform npc in getName/getCombatLevel/getId 2018-04-23 19:38:09 -04:00
Adam
fad8472c50 devtools plugin: add commands to get and set varbits 2018-04-23 10:09:21 -04:00
Kamiel
1fd9b3abcc Add VarClientStr to api and rename VarClient to VarClientInt 2018-04-23 10:09:16 -04:00
Adam
6c6fb3b87e tile mixin: don't fire itemlayer change events when loading regions 2018-04-22 21:00:06 -04:00
Adam
b8eac1296c Add Angle and Direction
Extend GameObject.getOrientation() to account for object flags, and
return an Angle
2018-04-18 22:57:59 -04:00
Kamiel
b72c3b234c Change menuOpened from FieldHook to Hook
This fixes an issue which occurs when the MenuEntries array is modified after the client has calculated the menu's bounds and position. Hooking to `openMenu`  will allow us to modify the MenuEntries array before the menu's bounds and its position is calculated.
2018-04-17 04:30:01 +02:00
Adam
c95f788c26 Merge pull request #1549 from Kamielvf/ge-sell-buy-cancelled
Show grand exchange offer type on cancelled state
2018-04-16 22:17:57 -04:00
Adam
317409a392 runelite-api: add events for actor spawning and despawning 2018-04-16 22:06:02 -04:00
Adam
c95163dd9a Add item container changed event 2018-04-16 22:06:02 -04:00