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
Adam and Magic 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
Adam and Tomas 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
Adam and Jacky
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
Adam and Magic 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
Adam and Magic 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
Adam and Magic 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