Commit Graph
100 Commits
Author SHA1 Message Date
Adam 7adca5bda2 http-api: modify ItemPrice to contain id/name instead of Item 2018-10-07 12:43:22 -04:00
Adam 7223d3436d http service: return item names in price lookup 2018-10-07 12:00:55 -04:00
Adam d4cbe0e730 feed controller: move feed result fetch to spring scheduler
memoizeWithExpiration will block threads if one is waiting on a result, or crashes when getting the result
2018-10-04 09:32:23 -04:00
Adam 453b174c79 Merge remote-tracking branch 'db/re-enable-hop' 2018-09-27 06:30:09 -04:00
Adam e5c13eff74 xp tracker: limit to one update per 5 minutes 2018-09-26 19:06:46 -04:00
Adam 78eb357bbf opponent info: add config opt to show health as percent 2018-09-21 17:27:31 -04:00
Adam 15c610ea63 Update 175 2018-09-20 06:57:56 -04:00
Adam e66ae78f67 virtual levels plugin: fix plugin changed method name to have meaning 2018-09-19 22:07:50 -04:00
Adam 2b27e2163c runelite-api: add queueChangedSkill for queueing a skill change event 2018-09-19 18:42:14 -04:00
Adam 8293819e47 world hopper: disable world hopper plugin
Jagex reports the world switcher is being falsely flagged as a bot
2018-09-18 15:01:45 -04:00
Adam 8be49e1604 http-api: use https for hiscore urls
These have started to return 302 moved to https now.
2018-09-12 07:50:38 -04:00
Adam 9906f3120d http-service: add caching for hiscore lookups 2018-09-12 07:50:38 -04:00
Adam 417c19e209 Revert "Merge pull request #4568 from deathbeam/proper-shutdown"
This reverts commit 8d53997685, reversing
changes made to 4f548e835c.

This is crashing on shutdown.
2018-08-30 06:46:26 -04:00
Adam 031b53b11d woodcutting plugin: fix npe rendering redwood trees if axe is null 2018-08-27 20:31:26 -04:00
Adam 50b19b2ced widget id: update bottom line stones widget ids 2018-08-26 12:42:49 -04:00
AdamandForsco 692fcfa7d2 runelite-client: add friend list plugin
This adds a count to friend and ignore list titles

Co-authored-by: Forsco <github@forsco.net>
2018-08-24 21:17:27 -04:00
Adam 2b81d30228 Add Ignore API 2018-08-24 21:13:34 -04:00
Adam 962d5d7827 runelite-api: add method for getting number of friends 2018-08-24 21:13:26 -04:00
Adam 2602e70f51 http service: improve update detection logic
Check the next revision is "outdated" in the event multiple revisions are valid.
2018-08-23 16:11:58 -04:00
Adam 811061c18a Update 173 2018-08-23 06:59:01 -04:00
Adam 534fda881e pest control plugin: cleanup & lombokize 2018-08-18 09:31:59 -04:00
Adam d7739fafc5 pest control plugin: move portal text overlay underneath progress bar 2018-08-18 09:29:07 -04:00
Adam e36c5fae91 barrows plugin: fix double counting price of coins
getItemPrice was changed to count coins in b4f95f1f4b
2018-08-18 08:33:13 -04:00
Adam 1fb5365e7c corp plugin: deprioritize attack option on dark energy core 2018-08-17 22:07:09 -04:00
Adam 3bfcae3c77 mixins: fix friend manager mixin to implement friend manager 2018-08-16 20:07:55 -04:00
Adam f7a433f3bc wasd plugin: allow input to world map search when focused 2018-08-16 19:00:57 -04:00
Adam 1117e93be0 wasd plugin: release same keychar as pressed when changing to typing mode 2018-08-16 19:00:56 -04:00
Adam 4d6352dffb wasd plugin: check chatbox input widget visibility to determine if a dialog is open
Fix using numbers to navigate dialog, and fix using wasd with dialog open
2018-08-16 18:05:24 -04:00
Adam f05df703ea wasd plugin: fix slash to talk
The typing=true in unlockChat on the client thread was racing with the awt event thread for keyTyped/Released making the slash not get typed
2018-08-16 14:55:50 -04:00
Adam 34b513f433 wasd plugin: allow input to chat dialogs
The chat dialogs use the same key listener as the chatbox
2018-08-16 14:00:59 -04:00
Adam 5cac102798 wasd plugin: pass through ctrl, alt, and tab 2018-08-16 14:00:59 -04:00
Adam 28f6f23fa8 wasd plugin: disable key listener if not logged in 2018-08-16 12:47:00 -04:00
Adam 23608bef5b wasd plugin: pass through shift and escape 2018-08-16 07:49:16 -04:00
Adam 41634c96ab Change world load event to fire at the end of world loading 2018-08-15 15:36:18 -04:00
Adam 5d7a3a0072 runelite-client: add wasd camera plugin 2018-08-15 08:08:10 -04:00
Adam c02ff65a5a cache: fix outputstream writeString to not write unicode strings
Add test for assembling a script with a nbsp in it
2018-08-15 08:00:29 -04:00
Adam f25eaff16e Add world load event 2018-08-14 10:13:25 -04:00
Adam 3c34b5f338 Revert "player indicators plugin: Use ColorUtil functions"
This reverts commit a9d29a70f4.
2018-08-14 08:53:19 -04:00
Adam 720c5f0184 timers plugin: don't reset freeze timers each animation 2018-08-13 11:46:55 -04:00
Adam 258c2c6b86 runescape-api: GameEngine doesn't extend KeyFocusListener 2018-08-13 09:38:04 -04:00
Adam 26c6e252da world controller: fix caching, move to scheduled method
Guava memorize will block threads waiting for a new result
2018-08-13 09:37:30 -04:00
Adam 40ff55558f world service: split controller from service and add cache 2018-08-12 09:15:03 -04:00
Adam bb87983ed5 mixins: simplify acquiring client thread reference 2018-08-09 21:36:24 -04:00
Adam 3406f5043c widgets: update minimap world map id 2018-08-09 08:15:09 -04:00
Adam 6cd71a9a34 scripts: update for game update 2018-08-06 08:39:46 -04:00
AdamandMagic fTail 4d35174d97 chat commands: add !cmb command
Co-authored-by: Magic fTail <runecnielsen3132@gmail.com>
2018-08-05 13:28:17 -04:00
Adam 8610c488ba config service: update key name too when setting config
The collation is case insensitive but the client properties are case sensitive. If the case of a key changes, the client will attempt to update it in the config, but will instead overwrite the old one in the service.
2018-08-05 11:47:38 -04:00
Adam 19cf1fd344 ge plugin: fix accessing item composition from executor thread 2018-08-04 17:03:55 -04:00
Adam b72bda1c75 item manager: assert item composition access is done from client thread 2018-08-04 17:03:24 -04:00
Adam 7e7fb16693 modelviewer: fix zfighting of models
This uses the stencil buffer to hold face priorities and prevents drawing fragments of a lower priority overtop those of higher on the same model
2018-08-04 16:19:25 -04:00
Adam 90c962accf modelviewer: fix some incorrect gl usage, add error logging 2018-08-04 16:16:24 -04:00
AdamandTomas Slusny 8cc4059525 Fix applying default config to session settings
cda98f moved the plugin manager to not be registered on the eventbus until
after the session was opened. The session config was relying on the plugin
manager applying the default config based on the session open event.

This moves session loading to be prior to applying the default config, so newly
added config options get properly set at startup.

Fixes config panel breaking which expects the config to always have non-null
values for config items with defaults.

Co-authored-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 16:09:08 -04:00
Adam ca7ca3a7a0 Disable zoom extender when a cache overlay fails to load
The zoom extender relies on multiple scripts to be up to date. If only one is changed, its functionality breaks badly.
2018-08-02 18:52:30 -04:00
Adam 537a97e145 runelite-client: update options panel rebuilder script for game update 2018-08-02 09:00:26 -04:00
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