Commit Graph
100 Commits
Author SHA1 Message Date
Adam 1e6fef960f widgetid: update world map menu widget id 2018-08-02 08:50:16 -04:00
Adam f6b44a502e Add LootManager
Add loot manager that will manage item drops received and stream them as
item drop events for correct entity with correct items.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-31 20:59:04 +02:00
Adam f94af03a48 fishing plugin: add position to config 2018-07-27 23:05:23 -04:00
AdamandJacky d9ca9f5060 fishing plugin: add minnows overlay
This shows a progress pie on how much time is left before the minnow
moves

Co-authored-by: Jacky <liangj97@gmail.com>
2018-07-27 23:05:22 -04:00
Adam 042c99d3d0 perspective: change worldToMinimap location calculation back
This is how the client calculates positions for npcs/players. Originally I had thought it fixed an issue with minimap overlays being off, but it was due to the constants we were using in worldToMinimap being off in order to account for renderMinimapLocation being wrong
2018-07-27 18:26:38 -04:00
Adam 6c7ea1f834 runelite-mixins: correct worldToCanvas arguments
The 'plane' is no longer actually a z offset
2018-07-27 18:26:38 -04:00
Adam 045146b122 perspective: fix checkstyle 2018-07-27 18:26:38 -04:00
Adam cca977f784 perspective: fix getCanvasTileAreaPoly when getting tile next to a bridge
Pick the plane of the given tile and use it for all height calculations
2018-07-27 16:59:23 -04:00
Adam 0b8857d4de perspective: split tile height logic out of local to world 2018-07-27 16:59:22 -04:00
Adam bed529d9cd Revert "perspective: fix regression caused by 2599db2"
This reverts commit d6906e735b.
2018-07-27 13:27:56 -04:00
Adam b6954e0703 perspective: use less magic constants in getTileHeight 2018-07-27 11:31:17 -04:00
Adam 41996c181e Revert "perspective: fix worldToCanvas to convert from local to scene coords correctly"
This reverts commit 4ecf45f19e.
2018-07-27 09:15:15 -04:00
Adam 4ecf45f19e perspective: fix worldToCanvas to convert from local to scene coords correctly 2018-07-26 21:54:28 -04:00
Adam 23c13c1d53 cache: fix assembler to set correct switch table index
The int operand of switch instructions is an index into the switch table. The operand was always 0, breaking scripts with multiple switches.
2018-07-24 20:12:34 -04:00
Adam 5c920f9414 Add achievement diary plugin
This adds skill level requirements to the achievement diary log.
2018-07-23 10:59:15 -04:00
Adam 25ab36d56e Merge runelite-scripts into runelite-client 2018-07-22 19:59:54 -04:00
Adam 37c95ff75e Add private message input event and add !kc to chatcommands for private messages 2018-07-22 19:44:10 -04:00
Adam 381696fddd perspective: account for minimap being hidden or moved in worldToMiniMap 2018-07-22 12:13:09 -04:00
Adam 0297f7684c mixins: optimize widget isHidden and getParent 2018-07-22 12:13:09 -04:00
Adam 630a3947da mixins: only update render parent of nested widget if widget would have been rendererd 2018-07-22 12:13:09 -04:00
Adam 2942b25e5d runelite-api: add fixed minimap widgets 2018-07-22 12:13:09 -04:00
Adam 52c2249a37 Update 172 2018-07-19 06:55:52 -04:00
Adam bdc9008c1d Add item despawn events when ground items is nulled
When you walk into view of a chunk, all tiles get cleared followed by item spawns
2018-07-18 13:00:21 -04:00
Adam c81c863cd3 xp drop plugin: add positions for config 2018-07-16 20:55:35 -04:00
Adam 6bf32768f1 xp drop plugin: fix alignment of xpdrops when hiding skill icons 2018-07-16 20:52:02 -04:00
Adam eddb29ad2c prayer plugin: update zamorak robe itemids 2018-07-16 19:26:34 -04:00
Adam 6bca1d39a9 Remove MAZE_GUARDIAN_MOVING npc id
This isn't a real npcid and was erroneously added in b7b8fc85fb
2018-07-16 19:23:42 -04:00
Adam 99c7848294 Remove item layer changed event 2018-07-16 17:53:30 -04:00
Adam ca4616bac4 mta plugin: use item events 2018-07-16 17:53:30 -04:00
Adam 216d24ef5d agility plugin: use item events 2018-07-16 17:53:29 -04:00
Adam c5ab073407 region tile manager: send item spawns at plugin start 2018-07-16 17:53:29 -04:00
Adam 3016b84cfe grounditems: rewrite to use item spawn events 2018-07-16 17:53:28 -04:00
Adam 1bac71f840 Add item spawn events 2018-07-16 17:42:17 -04:00
Adam 2ef485dc30 ground items: scan entire scene for items not just ones within range
This is a relic from when we used to do this check once per frame
2018-07-15 19:04:58 -04:00
Adam 947c338c42 slayer plugin: clear highlighted targets on login
The despawn event is not sent on world hop/logout
2018-07-14 17:26:12 -04:00
Adam 30c3ce9dc1 hiscore plugin: fix race with inserting next character with autocomplete
The key events are already on the awt thread, so it is unnecessary to defer it. When more than one is queued the order it completes them is undefined.
2018-07-14 16:44:58 -04:00
Adam 3499efd6c1 config invocation handler: don't set config values if already set 2018-07-14 16:39:02 -04:00
AdamandMagic fTail b1038142cb screenshot plugin: fix hunter level up screenshots
Co-authored-by: Magic fTail <runecnielsen3132@gmail.com>
2018-07-14 15:53:07 -04:00
AdamandMagic fTail dfa892c2bc screenshot plugin: rename "raids" to "chambers of xeric"
Co-authored-by: Magic fTail <runecnielsen3132@gmail.com>
2018-07-14 15:53:02 -04:00
AdamandMagic fTail 69729c710c screenshot plugin: move level up and quest screenshots to after widget load
Move screenshot to the next game tick after loading the interface. This
is needed to fix Hunter as it applies the widget text after it has
unhidden the widgets.

Co-authored-by: Magic fTail <runecnielsen3132@gmail.com>
2018-07-14 15:51:47 -04:00
Adam a52b811af1 chat commands: count barrows chests too 2018-07-13 22:45:59 -04:00
Adam 94fe9de7e0 Add matches found to bank tag search dialog message 2018-07-13 17:59:17 -04:00
Adam 1d9819216e runelite-scripts: add bank search script 2018-07-13 17:56:44 -04:00
Adam 17f87669eb chat commands: loosen regex for boss names 2018-07-13 16:21:57 -04:00
Adam 52c2b747d6 chat commands: add test 2018-07-13 16:21:49 -04:00
Adam e2b9d0b00a slayer plugin: fix parsing points and streaks with commas 2018-07-13 08:50:35 -04:00
Adam eb5cb5deba Add chatbox input listener and use for chatbox input event
The immediate eventbus does not pass classloader validation: java.lang.SecurityException: class "com.google.common.eventbus.ImmediateEventBus"'s signer information does not match signer information of other classes in the same package
2018-07-12 18:02:26 -04:00
Adam ad26871479 Revert "runelite-client: add immediate event bus"
This reverts commit bdeaded3ee.
2018-07-12 18:02:17 -04:00
Adam abae04fc13 Revert "plugin manager: register plugins with immediate event bus"
This reverts commit 0469cfcc61.
2018-07-12 18:02:11 -04:00
Adam 19ccc165b9 Revert "command manager: post events to immediate eventbus"
This reverts commit 2e2d564d25.
2018-07-12 18:02:00 -04:00
Adam e2d4ec6893 widgetid: update barrows interface ids 2018-07-11 18:13:44 -04:00
Adam 2e2d564d25 command manager: post events to immediate eventbus
The ChatboxInput event has state which is returned back which the manager uses to conditionally block input
2018-07-11 18:05:32 -04:00
Adam 0469cfcc61 plugin manager: register plugins with immediate event bus 2018-07-11 18:04:56 -04:00
Adam ceb62ab8dc chat commands: fix kc command in friends chat 2018-07-11 18:04:36 -04:00
Adam bdeaded3ee runelite-client: add immediate event bus 2018-07-11 18:04:09 -04:00
Adam 60b0ab9ddf runelite-scripts: check length check in chatbox input 2018-07-11 18:03:40 -04:00
Adam c6ea6900f2 runecraft plugin: add positions for config options 2018-07-10 16:41:10 -04:00
Adam 2aa08231a2 Add getVarpValue and setVarpValue to RSClientMixin and Client 2018-07-09 08:54:50 -04:00
Adam 80fe6d4788 Add killcount command 2018-07-08 16:47:12 -04:00
Adam 62b069eab3 slayer plugin: move target highlight building to use events 2018-07-08 09:32:36 -04:00
Adam c216615d56 slayer plugin: add spiritual creatures, and fix a few other tasks 2018-07-08 09:32:36 -04:00
Adam 48708fd3d3 slayer plugin: don't lowercase task names 2018-07-08 09:32:35 -04:00
Adam 25c58fb69b Change Widget::parentId behavior to work again if the widget hasn't been drawn yet
Some events/plugins require this behavior
2018-07-01 16:52:35 -04:00
Adam 2bc38a124c chat commands: store kill counts in config
This will be used later.
2018-07-01 11:08:39 -04:00
Adam 36b68a6254 puzzle solver: add lightbox solver 2018-07-01 10:31:40 -04:00
Adam abce07bcc7 agility plugin: fix Al Kharid lap counter
The tightrope has the same XP as the final obstacle, so add additional
support for checking location of the final obstacle.
2018-06-30 11:55:13 -04:00
Adam 10a1babd90 chat commands: fix to use exiting accounttype api 2018-06-29 21:45:50 -04:00
Adam dbf0f38f28 Revert "Add ironman status and AccountType to API"
This reverts commit 865bae6c2d.
2018-06-29 21:36:46 -04:00
Adam 799f8b1266 Calculate and store widget parent id and position when the interfaces are rendered
This removes the need to calculate widget bounds and parent on demand by
traversing up the widget tree.
2018-06-28 16:00:38 -04:00
Adam 8ad6f466da runelite-api: make HashTable a generic 2018-06-28 14:07:59 -04:00
Adam b6a8fb199c opponent info: add player comparison overlay 2018-06-27 17:02:42 -04:00
Adam ad737321d0 opponent info: move interacting logic to plugin and use interacting changed event 2018-06-27 17:02:37 -04:00
Adam 17d0f49aee hiscore client: check response code of hiscore lookups 2018-06-26 19:19:13 -07:00
Adam afa46b6538 queries: replace some isHidden checks with isSelfHidden
The parents are known to be not hidden in these cases
2018-06-25 20:27:44 -04:00
Adam e7574b4ff5 cache: rename additional npc definition fields 2018-06-25 20:27:44 -04:00
Adam 58404f098d chat commands: add config setting for chat clear shortcuts 2018-06-25 18:23:31 -04:00
Adam 8247163fee animation smoothing: don't interpolate hellhound defence animation 2018-06-25 17:20:00 -04:00
Adam 714a533735 Revert "animation smoothing: do not interpolate to angle 0"
This reverts commit 68639d8932.
2018-06-25 17:20:00 -04:00
Adam 68639d8932 animation smoothing: do not interpolate to angle 0
This fixes most of the issue with hellhounds (npc 104, anim 6566)
2018-06-24 21:24:25 -04:00
Adam 784d39324c devtools: add transform command 2018-06-24 21:24:25 -04:00
Adam 309665c8ff modelviewer: add basic animation support 2018-06-24 15:54:55 -04:00
Adam f126dcf041 Add corporeal beast plugin 2018-06-24 11:19:04 -04:00
Adam f3f18b610f chat message manager: set default colors for GAME messages 2018-06-24 11:19:02 -04:00
Adam d239a47d98 Add interacting changed event 2018-06-24 11:19:01 -04:00
Adam 00a5845c7e actor mixin: fix getInteracting when index is 65535
There are short times where it is this before being set to -1
2018-06-24 11:19:01 -04:00
Adam 5e7a3513c7 hooks: dispose graphics after using 2018-06-23 09:20:13 -04:00
Adam f0da475370 Add interface representing all callbacks the client does, and convert mixins to use it
This allows creating and injecting Hooks via guice
2018-06-23 09:20:12 -04:00
Adam ab936a6cdb Add logback-parent to dependency management and use a consistent slf4j version everywhere 2018-06-22 22:43:41 -04:00
Adam fd1211cd8f runescape-api: remove no longer used annotations 2018-06-22 20:10:53 -04:00
Adam 44a363f73c runelite-client: add outdated dialog 2018-06-21 20:43:56 -04:00
Adam b2a616aac5 http-service: switch json serializer to jackson
This also changes it to minify json by default
2018-06-19 14:07:42 -04:00
Adam e6a2848a1b attack styles: add defensive casting to weapon types for staffs
Fix race with accessing client vars on startUp
2018-06-18 21:04:45 -04:00
Adam 00c1b447f6 item charges plugin: add dodgy necklace 2018-06-18 19:56:57 -04:00
Adam 7f25ec8238 http-service: crawl tradable item prices instead of queueing on demand 2018-06-18 09:35:11 -04:00
Adam a1ae397e11 runelite-client: use new bulk item price api 2018-06-18 09:35:10 -04:00
Adam f411e94e2c prayer plugin: add dose indicator 2018-06-17 18:09:10 -04:00
Adam 22f9e4cdf7 timers plugin: fix sotd timer removal logic 2018-06-16 14:16:27 -04:00
Adam 44813ce177 runelite-client: remove various redundant null checks 2018-06-16 13:52:20 -04:00
Adam 9075b44320 screenshot plugin: fix unsafe multithreaded usage of DateFormat 2018-06-16 13:52:19 -04:00
Adam e6cd1fedf0 config invocation handler: replace args with literal null 2018-06-16 13:52:14 -04:00