Commit Graph
11830 Commits
Author SHA1 Message Date
Owain van Brakel badddd9bfe Merge remote-tracking branch 'runelite/master' 2022-06-23 18:03:15 +02:00
Owain van Brakel 795a8effc0 project(mixins): Server varps 2022-06-23 18:02:53 +02:00
AdamandMoreBuchus 003a92fb7b antidrag: add cox private chest
Co-authored-by: MoreBuchus <107762640+MoreBuchus@users.noreply.github.com>
2022-06-22 20:18:32 -04:00
Adam 004a52159f spec counter: make SpecialWeapon public
This is included in the party event which is public
2022-06-22 17:09:38 -04:00
Adam ef268ebc7f tooltip: don't set overlay bounds when rendering
The overlay was storing the previous frames tooltip width and height in
the overlay bounds, to use for the next frame to position the overlay
correctly so that it did not get pushed off canvas.

This requires the tooltip overlay to have a non-empty bounds, which is
not something dynamic/tooltip overlays usually support. The overlay
renderer translates the g2d to the given bounds prior to rendering.

The reason this worked was it always kept x/y=0, causing the translation
to not happen.

However this incorrectly caused the overlay to be picked when testing
overlay bounds against the mouse position when up near the corner of the
screen. This would then cause the player to pick the tooltip overlay,
despite the overlay not being rendered there.
2022-06-22 16:39:47 -04:00
Owain van Brakel f78b07a861 Merge remote-tracking branch 'runelite/master' 2022-06-22 22:29:55 +02:00
Jordan Atwood 9ce80d4bef Add rtconfig for forced dead npcs 2022-06-22 15:56:54 -04:00
Jordan Atwood 9da5852231 plugins: Use isDying for loot and boss timer checks 2022-06-22 15:56:54 -04:00
Jordan Atwood 07d55b864e game: Override isDying for Nex, Alchemical hydra, and Drakes
These NPCs transform to a new form in their "dying" phase, thus have
`isDead()` reset to false, despite actually dying. This commit overrides
those particular forms to be considered dead.
2022-06-22 15:56:54 -04:00
Jordan Atwood 560ca9eac1 game: Add Giant rockslug to isDying block list 2022-06-22 15:56:54 -04:00
Owain van Brakel 3c805c4d82 Merge remote-tracking branch 'runelite/master' 2022-06-22 02:59:19 +02:00
Adam 73116f35f3 party: sanitize passphrase inputs 2022-06-21 19:11:12 -04:00
Owain van Brakel 0a81939200 Merge remote-tracking branch 'runelite/master' 2022-06-21 23:20:01 +02:00
Adam a9d89f058b menu swapper: add custom shift-click object swap 2022-06-21 15:46:33 -04:00
Adam 9d69c84653 menu swapper: add custom shift-click npc swap 2022-06-21 15:46:33 -04:00
Adam 8972a6de25 xp drops: test server varbit for prayer active check
This fixes an issue where the xp drop recoloring would incorrectly
recolor the xpdrop if the prayer was flicked on client side in between
when the server tick happens and when the xp drop is created
2022-06-21 12:38:05 -04:00
Adam 343793c4a7 npcutil: make rtconfig nullable 2022-06-21 12:15:30 -04:00
Owain van Brakel 89e9a2ad4d Merge remote-tracking branch 'runelite/master' 2022-06-21 13:44:13 +02: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
JumpIfZero 973ac211ee Merge remote-tracking branch 'rl-upstream/master' into rl-upstream-200622 2022-06-20 12:30:36 +03: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
Hexagon ec79cca130 spec-counter: reset counter on sotetseg maze 2022-06-19 16:22:26 -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
Tomas Slusny fcd869fa10 account: send username and sessionid when redirecting to /logged-in page
This also logs in user on website

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2022-06-19 10:50:26 -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
Jordan Atwood 6b68ba9806 game: Remove isDying block on transforming NPCs
These have been fixed in an internal change.
2022-06-19 10:48:05 -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
Hexagon cc61a00950 spec-counter: use npc index instead of id for tracking 2022-06-19 08:00:22 -04:00
Robin 2e3d6e27fe game: Add lizards to isDying block list (#15144) 2022-06-19 05:15:15 +00:00
SirWrain 7dcfafab41 achievement diary: Fix Kourend elite blood runecrafting task text (#15128) 2022-06-18 04:09:52 +00:00
Owain van Brakel cbfce46512 Merge remote-tracking branch 'runelite/master' 2022-06-17 22:21:37 +02:00
Jordan Atwood 1ca381ea83 game: Add more NPCs which do not die at 0hp 2022-06-17 14:47:15 -04:00
Jordan Atwood 1979ca14a7 entity hider: Don't hide NPCs which are alive at 0hp 2022-06-17 14:47:15 -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
LlemonDuck 2e12c707c2 party: spelling generatePassphrase 2022-06-17 14:05:48 -04:00
Owain van Brakel 063a1b07e8 Merge remote-tracking branch 'runelite/master' 2022-06-17 17:01:19 +02: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