Commit Graph
100 Commits
Author SHA1 Message Date
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
Adam 11ace62224 worldpoint: add dx/dy/dz methods 2018-04-18 22:57:59 -04:00
Adam 9252c02ac4 ge search panel: show "No results found" if search is empty, clear on empty lookup 2018-04-18 08:04:12 -04:00
Adam c5695c1c30 screenshot plugin: remove unused import 2018-04-17 08:41:53 -04:00
Adam e94c453d4a screenshot plugin: create screenshot folder on startup
Fixes attempting to view the screenshots before having taken any. #1506
2018-04-17 08:23:16 -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
Adam b571da79e3 Add deferred eventbus for posting events on the next tick 2018-04-16 22:06:02 -04:00
Adam a7d1c8815c Fix bank value overflow
Use longs instead of ints for per-item price calculations to avoid int
overflows.

Fixes: #1460
2018-04-15 21:37:51 -04:00
Adam 10e7d6bb9c bank value plugin: make calculator more testable 2018-04-15 21:37:51 -04:00
Adam 8932ef4f74 Use built in player index field 2018-04-15 11:40:36 -04:00
Adam 8207d89468 slayer plugin: add several missing slayer tasks
Fixes #1149
2018-04-14 19:10:54 -04:00
Adam f4b3fe9f98 geplugin: add alt-click to bank items and bank inventory 2018-04-14 18:03:40 -04:00
Adam e03b9d2b19 item stats: fix zammy brew 2018-04-13 23:03:19 -04:00
Adam c354324553 item stats: fix sara brew 2018-04-13 23:03:07 -04:00
Adam 930231d8ea item stats: add raids combat potions 2018-04-13 23:02:50 -04:00
Adam b7176f16b2 wsservice: move log messages to debug 2018-04-13 22:29:38 -04:00
Adam d9143aa8e7 xp tracker plugin: don't throw from startUp if unable to fetch worlds 2018-04-11 21:44:43 -04:00
Adam c66cb42a52 Add animation smoothing plugin 2018-04-08 19:30:09 -04:00
Adam acf3233d4a pluginmanager: don't store plugin enabled/disabled state in config 2018-04-08 12:37:54 -04:00
Adam 1ba4bf73cd runelite-client: remove old Plugin.file too 2018-04-08 12:36:15 -04:00
Adam 44f41714de runelite-client: remove old plugin classloader 2018-04-08 12:20:34 -04:00
Adam 9eb94736d5 indicators plugin: fix not always identifying menus by type
The client seems to add 2000 to menu types to force reordering
2018-04-05 18:07:34 -04:00
Adam 92103f66f6 player indicators: add config for recoloring menu and showing clan rank 2018-04-05 17:54:53 -04:00
Adam ba6cb3352b runelite-api: add idEquals to inventory item query 2018-04-05 11:58:22 -04:00
Adam 46d66d7823 Change MenuEntry type to int
We don't have all of the types in MenuAction and it causes them to get mapped to UNKNOWN when translated back and forth with the API
2018-04-02 08:24:16 -04:00
Adam e63dcc9e82 bank tag plugin: use chatbox input manager 2018-04-01 16:43:09 -04:00
Adam fac507c7e8 player indicators plugin: change color of menus 2018-04-01 15:06:59 -04:00
Adam c0bec73e5c player indicator overlay: render clan rank next to names 2018-04-01 15:06:59 -04:00
Adam 74fd91d887 clanmanager: expose way to get bufferedimages for clan icons 2018-04-01 15:06:58 -04:00
Adam 2b64f1b569 Move clanmember icon logic to clanmanager 2018-04-01 15:06:55 -04:00
Adam c916b9cb34 Add clan member manager to cache clanmember ranks, use in clanchat plugin 2018-04-01 15:06:32 -04:00
Adam 65e3629f34 clanchat plugin: change cache to expire after write 2018-04-01 14:21:00 -04:00
Adam 34f18f5656 Revert "Merge pull request #1154 from deathbeam/team-member-names"
This reverts commit f0293087ce0a2e2dc515cfb57ef926c185d25cb5, reversing
changes made to 309c1fde25d32086cfd242f988c8f45df903d66c.
2018-04-01 14:20:27 -04:00
Adam 45597133f7 perspective: use viewport offset in get2DGeometry 2018-04-01 11:16:10 -04:00
Adam 96b75e088b overlay renderer: clip above scene and under widgets to viewport on fixed
The minimap on fixed is drawn before above scene and under widgets
2018-04-01 11:16:10 -04:00
Adam 4265a1cf15 overlay renderer: use copyonwritelist for overlays
The map can be rebuilt during rendering
2018-04-01 10:52:48 -04:00
Adam 9e9ad7eb38 Add maven-jar-plugin 3.0.2 to plugin management
This uses a newer version of maven-archiver which supports reproducable
builds.
2018-03-31 17:29:41 -04:00
Adam 8385ef174b ground items: use item layer changed event 2018-03-30 18:40:15 -04:00
Adam 819c7c6ec7 Add item layer changed event 2018-03-30 18:40:14 -04:00
Adam 42353e4863 ground items overlay: use a loop 2018-03-30 18:40:14 -04:00
Adam 9f943832ea cache: rewrite map image dumper with logic from client 2018-03-30 12:35:20 -04:00
Adam 769ce714e4 cache: add post to object loader 2018-03-30 12:29:14 -04:00
Adam f50760c8b2 cache: add and compute hsl in overlay 2018-03-30 12:28:13 -04:00
Adam d3c4c9551f cache: add and compute hsl in underlay 2018-03-30 12:23:38 -04:00
Adam f3b9548c84 cache: split color palette code into its own class 2018-03-30 12:22:35 -04:00
Adam d72ac5b1b1 mixins: remove unused imports 2018-03-29 08:27:42 -04:00
Adam 83e38d8140 mixins: move widget open event to loadWidget 2018-03-29 08:10:41 -04:00
Adam 9621b50172 slayer plugin: load points and streak on login and startup 2018-03-27 08:27:30 -04:00
Adam 1f3eec9e31 agility lap overlay: set priority to low 2018-03-26 20:36:56 -04:00
Adam ea93bc9a4e cluescroll overlay: set priority to low 2018-03-26 20:35:38 -04:00
Adam dc4a668d31 xp globes: move expire check to a scheduled method 2018-03-26 17:19:09 -04:00
Adam 49e7853b38 mouse highlight plugin: hide tooltips when the client is showing tooltips 2018-03-26 10:27:45 -04:00
Adam 0eb7dc25d9 Add varc api accessors, and tooltip varclient 2018-03-26 10:27:20 -04:00
Adam 8da1bb8d7d wsservice: remove sessions on close or error 2018-03-25 17:01:24 -04:00
Adam cc036b9d6f feed plugin: make scheduled method public
The scheduler only looks at annotations on public methods
2018-03-24 11:59:03 -04:00
Adam a71bec83f8 travis: remove oracle-java8-installer as it broke and use the oraclejdk travis ships, which is new enough now 2018-03-24 09:13:22 -04:00
Adam add6db5d7e Add movable overlay support
This overhauls most of the overlay renderer to do so. There are 4 (or 5) "snap corners" that let overlays change their position, or you can set a custom location which is at a set x/y.

Calculate which layer overlays are on up front and build separate lists for each layer. The fixed-point under-widget overlays are moved to above-widget so that they work when moved above the interfaces.
2018-03-22 21:10:35 -04:00
Adam 91c3925867 config manager: add get and set configuration methods for objects 2018-03-22 21:06:13 -04:00
Adam 81553b61c4 config manager: check for invalid keynames in loadFromFile
Copy properties before advertising config changed events to prevent ConcurrentModificationException
2018-03-22 12:54:44 -04:00
Adam 1923671bb1 runelite-client: add npc highlight plugin 2018-03-20 18:19:49 -04:00
Adam 93638de6b8 utils: add wildcard matcher from grounditems 2018-03-20 18:19:49 -04:00
Adam 6fe87ae386 devtools: remove double npc transform call 2018-03-20 18:19:48 -04:00
Adam 257822aea0 Add npc menu options to MenuManager 2018-03-20 18:19:48 -04:00
Adam da29e3560f runelite-api: add getConvexHull to Actor 2018-03-20 18:19:48 -04:00
Adam 6f61780e68 runelite-api: move getConvexHull to Model 2018-03-20 17:59:52 -04:00
Adam c7d693b5f9 gitignore: add eclipse files 2018-03-20 17:42:55 -04:00
Adam f383624b1b Hook to actor health being updated to detect death 2018-03-20 08:36:33 -04:00
Adam adc5fe2b26 item manager: add batch item price lookup 2018-03-18 11:46:46 -04:00
Adam 53d8286db8 examine service: correct type column enum 2018-03-17 22:21:20 -04:00
Adam 86578fcc12 cache controller: expose item sprites 2018-03-17 21:40:21 -04:00
Adam 66c8fce606 cache: add item sprite renderer
Most of the code is slightly deobfuscated and stripped down from the client
2018-03-17 21:40:21 -04:00
Adam 148a7e1c0b cache: add resize, recolor, and retexture to modeldefinirtion 2018-03-17 21:40:20 -04:00
Adam 710c0a2ecf cache: store original pixels and palette too, and add normalize() 2018-03-17 21:40:20 -04:00
Adam beb9d3a27a cache: expand on texture definition and loader 2018-03-17 21:40:18 -04:00
Adam 735052232c cache: fix not invalidating vertexNormals in reset 2018-03-17 21:07:31 -04:00
Adam e4af1aa0da cache: add updateNote to ItemDefinition 2018-03-17 21:07:09 -04:00
Adam a3e4dc400f cache: add provider interfaces for items, models, sprites, and textures 2018-03-17 21:06:55 -04:00
Adam d35ec38577 ge plugin: move item composition and image calls off of awt thread 2018-03-17 18:47:52 -04:00
Adam 82cfa48d9c ground items: add support for wildcards 2018-03-16 20:06:13 -04:00
Adam 1a7331331f boosts plugin: show time to next change 2018-03-16 17:46:07 -04:00
Adam 6f1853575d runelite-mixins: add null checks in region mixin 2018-03-15 16:07:36 -04:00
Adam 0d5a7ea6d8 cache: change netty dependency to netty-buffer 2018-03-14 16:48:38 -04:00
Adam 4c9a3bcea9 runelite-client: add github release plugin configuration 2018-03-13 21:03:09 -04:00
Adam e82e404c6e http-service: add sprite service 2018-03-13 14:21:18 -04:00
Adam 5411da531b runelite-api: add scale to createItemSprite 2018-03-13 14:13:14 -04:00
Adam 10311e4965 cache: fix item definition default zoom2d 2018-03-12 20:44:43 -04:00
Adam 1856a5f1a1 sessions: decrease session ping frequency 2018-03-12 08:12:10 -04:00
Adam 6f5a8b75ea dev tools overlay: transform npcs if applicable 2018-03-11 19:20:03 -04:00
Adam d71f8bd3b3 runelite-api: expose npc composition 2018-03-11 19:19:06 -04:00
Adam 14299f543d Reset player menu types whenever the options are changed 2018-03-10 21:17:59 -05:00
Adam 652dd91211 opponent info overlay: use last opponent if no opponent is targeted 2018-03-10 09:57:34 -05:00
Adam e8d232de72 runelite-api: expose cachedNpcs 2018-03-10 09:55:07 -05:00
Adam 7320a4f61a runelite-api: add ability to get npc index 2018-03-10 09:54:47 -05:00
Adam 8df7843eef instance map: fix various races between game and event threads 2018-03-09 14:54:27 -05:00
Adam 4c5c3d81f8 item controller: add method for bulk price lookups 2018-03-09 12:28:43 -05:00
Adam 1ea2c341be widget id: fix viewport child widget
(cherry picked from commit ba88c222b29b31baa5bb6a216b5d23e7c8b62ee4)
2018-03-08 20:34:36 -05:00
Adam b2d11ce661 session client: fix throwing IllegalArgumentException if deserialization of uuid fails
(cherry picked from commit 267db643d6b9f2375eaa0d44fbd26f7cf2b97d73)
2018-03-08 20:34:32 -05:00
Adam bcab14bfe4 Bump to 1.3.0-SNAPSHOT 2018-03-08 19:54:10 -05:00
Adam a8f6a7dcd7 npc mixin: add null checks for composition 2018-03-08 08:53:26 -05:00