Adam
343793c4a7
npcutil: make rtconfig nullable
2022-06-21 12:15:30 -04:00
Adam
bed2220a42
entity hider: remove pvp hiding restriction
2022-06-20 20:52:15 -04:00
Adam
2c8cbfdc8c
party: switch to protobuf
...
This switches party and member ids to also be 64bit ints. This uses
considerably less data and cpu due to being able to use binary websocket
frames, and the server can avoid json deserialization completely.
Also hold member ids instead of party member references in the party
plugin, since the members can be reset if connection is lost, causing it
hold refs to old party members.
Encode location update points into a single int, since the updates are
so frequent.
2022-06-20 09:18:04 -04:00
Adam
d89a64505b
boosts: right justify compact overlay text
...
Also replace buff/debuff images with one that is sized 16x16 similar to
the small skill icons, so that the text aligns properly too.
2022-06-19 17:13:02 -04:00
Adam
e8a65220e0
boosts: add compact view
2022-06-19 13:18:11 -04:00
Adam
1d616c9050
boosts: cleanup
2022-06-19 13:18:11 -04:00
Adam
b96867bb06
Require Attack option for dying npcs
2022-06-19 10:48:36 -04:00
Adam
6aadd3ba26
Add rtconfig for excluded dead npcs
2022-06-19 10:48:35 -04:00
Adam
d87dec02be
party: make ping hotkey configurable
...
This is conflicting with shift-click swaps currently
2022-06-19 10:47:57 -04:00
Adam
68da7ce55f
npc indicators: separate sw true tile and regular overlay
2022-06-17 14:47:15 -04:00
Adam
e92dd7e47b
menu swapper: add global npc shift-click swap
2022-06-17 14:47:15 -04:00
Adam
592e193697
npc indicators: add true tile highlight
2022-06-17 14:47:15 -04:00
Adam
9a584d2982
menu swapper: always raise menus from low priority to cc_op
2022-06-17 14:47:15 -04:00
Adam
463a11da59
menu swapper: disable pmd check
2022-06-17 10:15:52 -04:00
Adam
020acbffb6
menu swapper: add worn item swaps
2022-06-17 09:55:34 -04:00
Adam
acfb7c631d
entity hider: add option to hide dead npcs
2022-06-17 09:55:34 -04:00
Adam
c04b597228
menu swapper: add npc walk here swap
2022-06-17 09:55:34 -04:00
Adam
0a1a10cf11
menu swapper: add option to remove dead npc menu options
2022-06-17 09:55:34 -04:00
Adam
ef6df76d7b
menu swapper: remove Pickpocket block
2022-06-17 09:55:34 -04:00
Adam
bdb480ee6b
npc overlay: use true tile for south west tile
2022-06-17 09:55:34 -04:00
Adam
1d5bd756ea
corp plugin: add dark core attack deprioritization
2022-06-17 09:55:34 -04:00
Adam
93d6fa94ca
Merge pull request #15118 from cjhetzle/master
...
loottracker: reverse collapse all tooltips
2022-06-16 22:43:32 -04:00
Adam and Shaun Dreclin
9b655588e6
xpglobes: add time to level to tooltip
...
Co-authored-by: Shaun Dreclin <ShaunDreclin@users.noreply.github.com >
2022-06-16 13:35:49 -04:00
Adam
0c4f35560b
raids: remove party scout message
...
This isn't used much and is superseded by !layout
2022-06-15 11:54:05 -04:00
Adam
575469a3cc
timers: fix showMinigameTeleports check
2022-06-12 10:06:17 -04:00
Adam
db0e56194e
entity hider: fix hide pets
...
The check for this got accidentally inverted when moving it out of the mixins
2022-06-10 22:57:30 -04:00
Adam
d4a3fe0069
party: send join on reconnect
...
If the server expires the membership before the client in the party
reconnects, it will falsely assume it is in a party when it isn't.
Additionally since users are resynced on reconnect, this was duplicating
members as it would get joins for already joined members.
2022-06-10 18:29:46 -04:00
Adam
169ec74a01
party: no longer use account session id
...
This is no longer required because the oauth responses don't come back via websocket anymore
2022-06-10 18:29:46 -04:00
Adam
05567739b9
spec counter: add config option for infoboxes
2022-06-10 18:29:46 -04:00
Adam
82c93f45da
Move party messages from http-api
2022-06-10 14:42:59 -04:00
Adam and Bonfire
3ef9095771
cannon: use varp for cannonball count
...
Co-authored-by: Bonfire <5704760+Bonfire@users.noreply.github.com >
2022-06-10 12:44:48 -04:00
Adam
f8c27b680b
runelite: set jagex.disableBouncyCastle=true
2022-06-10 09:40:03 -04:00
Adam
70ca9a7706
chat channel: use fc max size from container
2022-06-10 08:42:47 -04:00
Adam
b9d9cab697
account: use http redirect for oauth login response
2022-06-09 19:03:34 -04:00
Adam
4aa1a3f6e8
hooks: raise exception logs to error level
2022-06-08 17:13:34 -04:00
Adam
5c319169d5
hooks: add exception handler for renderable draw listener
2022-06-08 17:10:22 -04:00
Adam
82d92b9953
Move entity hider logic to plugin
2022-06-08 16:23:51 -04:00
Adam
8be3210b87
chatfilter: fix matching lt/gt
...
These are encoded as <lt> and <gt> and so require the patterns to match those, which is unintuitive
2022-06-08 11:03:03 -04:00
Adam
8116098792
chat commands: add rifts closed to gotr bossnames
...
The hiscore skill name for gotr is rifts closed
2022-06-02 15:22:24 -04:00
Adam
672a57ebcd
api: deprecate if1 usage
2022-06-02 15:01:09 -04:00
Adam
1c3ccdf3a9
chat commands: fix !lvl cox cm
...
The command could not work before because the capitalize in
longBossName would produce a capital Of causing the hiscore
skill name to not match.
This normalizes from the hiscore name by removing : to compare
it to our internal boss names.
2022-06-02 12:41:46 -04:00
Adam
10b84c803c
worldmap: add akp and bjp fairy rings
2022-05-30 08:56:23 -04:00
Adam
c2cc21da24
gpu: fix debug mode on macos
...
debug mode aggressively checks and throws whenever a gl error occurs.
The glBlitFramebuffer call is bizzare because with the alpha channel
enabled on the renderbuffer it appears to work correctly despite
causing an INVALID_OPERATION error. We have no use for the alpha channel
since the dst alpha value is always 1, so it can just be disabled on macos.
2022-05-30 07:58:01 -04:00
Adam
5fa08751a1
spec counter: add devmode check for spec command
2022-05-27 14:52:59 -04:00
Adam
282eab1a4c
party: remove overlay
...
This is rarely used because the information is duplicated in the panel, and not very useful. Also the toggling behavior is confusing to people.
2022-05-27 14:45:09 -04:00
Adam
eb0cbd5f49
party: use passphrases for party ids
...
These are easier to type and share than uuids.
2022-05-27 14:45:09 -04:00
Adam
ff210a6b42
party: remove Discord requirement
...
Orginally the only way to form a party was via Discord invites. This has
changed semi-recently to allow sharing party ids instead.
The Discord invite system is finnicky since it doesn't work unless
Discord is detected, doesn't work right with multiple clients, or
multiple Discords. And, discord_rpc is deprecated without a suitable
replacement.
This changes the party system to instead always require sharing party
ids instead.
2022-05-27 14:45:09 -04:00
Adam
307459e071
api: add player id accessor
2022-05-25 22:35:56 -04:00
Adam
95988db47f
fix race loading modicons
...
It can't be assumed the array passed to setModIcons is still correct in
the async image callbacks. Instead, fetch the current modicons array in
the callback and use that.
2022-05-25 13:34:41 -04:00
Adam
663d79d6dc
attackstyles: add weapon types 28 and 29
2022-05-25 09:25:28 -04:00
Adam
5367d225bf
api: add player accessor to menuentry
2022-05-23 17:58:58 -04:00
Adam
7a1d958ee0
api: add npc accessor to menuentry
2022-05-23 17:26:45 -04:00
Adam
c64fc72f9e
events: add tostring/equalsandhashcode to menuoption clicked
2022-05-23 17:26:45 -04:00
Adam
94fc38f05b
api: pass menu entry to menu add event and forward accessors
2022-05-23 17:26:45 -04:00
Adam
9ceabc5e47
prayer: don't return dimension for dynamic overlays
...
The returned dimension is only used for layoutable or movable overlays
2022-05-19 21:50:24 -04:00
Adam
bea1c6cb83
overlay: prevent moving non-movable overlays
2022-05-19 17:53:18 -04:00
Adam
004d321c15
widget overlay: use setForcedPosition
...
The inventory can be moved pre-interface tick by the tli subchange
listener, as well as post-our client tick event from script events
running.
This makes it difficult to correctly and generically move the interface,
since it would have to be moved pre-interface tick and also pre-frame.
Currently the code moves the interface pre-frame, which looks okay, but
since it is ticking the interface when it is a different position,
clicks on it do not work correctly.
We do not have events for pre-interface tick, so use forced position to
reliably set the position
2022-05-19 13:43:10 -04:00
Adam
cbf00f6c41
api: add setForcedPosition widget method
2022-05-19 13:42:51 -04:00
Adam
b9da0435d2
gpu: initialize scene uploader scene id with nanotime
...
Multiple gpu plugins initializing the scene id to the current time can cause conflicts. This makes that less likely.
2022-05-19 13:23:35 -04:00
Adam
ebd8483a37
overlay manager: remove spurious position reset logs
2022-05-18 21:02:05 -04:00
Adam
09949d344e
overlay: use hovered overlay for picking managed overlay
...
Hovered overlay already accounts for render order, with the exception of
the vanilla WidgetOverlays which are drawn prior to any of our overlays
being drawn. Instead we order them in render-order, which works for the
dynamic-layer ones.
The minimap must be top_right so that our overlays layout around it
correctly, which currently causes it to be picked up first over dynamic
overlays due to the way overlay sorting is done.
2022-05-17 11:41:48 -04:00
Adam and Max Weber
573a66abf1
devtools: allow pgup/down to cycle through previous commands
...
Co-authored-by: Max Weber <mii7303@gmail.com >
2022-05-17 11:41:47 -04:00
Adam
6b81e0c7d1
overlay: worldmap: prefer rect2d as g2d clip shape
2022-05-16 11:39:46 -04:00
Adam
b90d793eb7
overlay: set g2d clip per layer
2022-05-16 11:39:46 -04:00
Adam
30fb555809
overlay: disallow transformPosition with dynamic/tooltip
2022-05-16 11:39:46 -04:00
Adam
11ce994b72
overlay: add movable and snappable overlay flags
...
This merges DETACHED and DYNAMIC into one position, DYNAMIC. And, allows
detached/dynamic overlays to be snappable.
2022-05-16 11:39:46 -04:00
Adam
5732e3f6bd
widget overlay: change minimap position back to top_right
...
Otherwise layouted overlays don't get layouted around the minimap
2022-05-16 11:39:46 -04:00
Adam
b8188d27e3
menu swapper: removetags npc name on reset swap
2022-05-14 18:32:26 -04:00
Adam
77ccf68739
menu swapper: removetags object/npc names
2022-05-14 16:29:23 -04:00
Adam
570907ea11
overlay: better handle picking up overlapping overlays
...
findManagedOverlay needs to iterate in roughly the reverse drawing
order. Also adjust the moveable tli layers to be by priority in render
oder.
2022-05-13 13:48:57 -04:00
Adam
4f4c502b17
overlay: make alt drag hotkey configurable
2022-05-11 12:57:05 -04:00
Adam
5c98c47803
compost tracking: fix tracking fertile soil with ash covered tome
2022-05-11 12:10:42 -04:00
Adam
901cfa4192
client: remove setupJxAuth
2022-05-11 04:38:26 -06:00
Adam
7d5bc2bd31
api: update Jagex API
2022-05-11 04:38:22 -06:00
Adam
71d0885024
widgetoverlay: add chatbox and inventory layers
2022-05-11 05:56:49 -04:00
Adam
50af007e94
chat commands: fix matching random event rewards as kill messages
2022-05-10 23:49:49 -04:00
Adam
59b60655f7
status bars: fix npe if sprites aren't loaded yet
2022-05-10 22:29:07 -04:00
Adam
cab126c6bb
timers: remove unused tzhaar complete matcher
...
The usage of matches() vs find() is incorrect, but the timer is already removed when teleported from the arena
2022-05-09 21:10:16 -04:00
Adam
bb1f49b0b4
friendnotes: clean up modicons loading
...
This just needs to be run after modicons is initialized, and doesn't
need to be checked on gamestate change.
2022-05-07 10:23:16 -04:00
Adam
44de746d5b
emoji: clean up modicons loading
...
This just needs to be run after modicons is initialized, and doesn't
need to be checked on gamestate change.
2022-05-07 10:23:16 -04:00
Adam
026395fad5
chat commands: fix loading pets modicons
...
The asyncbufferedimage may not be loaded at the time the modicons is setup, so a listener must be added to assign the final image
2022-05-07 10:23:16 -04:00
Adam
2fa6eb1dc3
cache: update indextype names
2022-05-07 10:23:12 -04:00
Adam
b5515075ef
chatfilter: add config option for stripping accents
2022-05-06 15:03:29 -04:00
Adam
d6260f247f
api: add object composition cache accessor
2022-05-05 20:02:14 -04:00
Adam
230db67f07
api: add post object composition event
2022-05-05 20:02:14 -04:00
Adam
d110a3c28e
api: add object composition map setters
2022-05-05 19:26:29 -04:00
Adam
a551464180
cache: make slf4j-simple an optional dependency
2022-05-01 22:22:14 -06:00
Adam and Explv
54da56e7b1
map image dumper: add main method
...
Co-authored-by: Explv <explv@osbot.org >
2022-05-01 22:22:14 -06:00
Adam and Explv
75e23b9a3e
map image dumper: use BigBufferedImage
...
This redudces the memory consumption significantly since it requires
less of the image to be in memory at one time
Co-authored-by: Explv <explv@osbot.org >
2022-05-01 22:22:14 -06:00
Adam
1c99cce336
loottracker: fix tracking imp jars
...
event.getItemId() is not valid after the next tick, so can't be called in the inv change callback
2022-04-30 12:16:28 -04:00
Adam
d04a261630
maven: update surefire plugin to 2.22.2
2022-04-30 10:03:43 -04:00
Adam
cb20644145
script assembler: remove runelite-api dependency
2022-04-29 22:02:33 -04:00
Adam
62c0af064d
crowdsourcing: don't include menuoptionclicked event in movementdata
...
Serializing the event no longer works as expected, but is also not a good idea in general
2022-04-29 14:16:02 -04:00
Adam
c40b33a1e9
Don't overwrite okhttp ua if already set
...
If the request has its own UA set, don't overwrite it with the default
RuneLite one. This has to be an interceptor and not a network
interceptor so that it runs prior to the okhttp BridgeInteceptor, which
is what sets the default okhttp ua.
2022-04-28 18:56:02 -04:00
Adam
8ac8cd3cdd
clues: add Necropolis mine coordinate clue hint
2022-04-27 16:28:45 -04:00
Adam
e9474a86bb
fairy ring: add Necropolis
2022-04-27 15:54:17 -04:00
Adam
1cfdc86a5c
clues: update guardian mummy cryptic clue
2022-04-27 09:22:27 -04:00
Adam and EliasLahham
2d01ea2fb7
bank plugin: add quantity search
...
Co-authored-by: EliasLahham <eliaslahham@yahoo.com >
2022-04-26 20:41:43 -04:00
Adam
7cdbe6faab
chat commands: support parsing team size pbs off adventure log
2022-04-25 09:55:37 -04:00
Adam
d7f1681e6a
util: use error log level for exception loggers
2022-04-24 19:15:45 -04:00