runelite icon indicating copy to clipboard operation
runelite copied to clipboard

fix: hide walk here target name with condensed options

Open trs opened this issue 2 months ago • 13 comments

Removes the target from the "Walk here" option when condensing options.

image

trs avatar Oct 14 '25 00:10 trs

Does doing type != MenuAction.WALK_HERE instead work too?

Adam- avatar Oct 14 '25 00:10 Adam-

Does doing type != MenuAction.WALK_HERE instead work too?

Yeah looks like it does, I'll change that

trs avatar Oct 14 '25 01:10 trs

This isn't what I meant. I meant adding it to line 163.

Adam- avatar Oct 14 '25 02:10 Adam-

Mfgty

ahmadshoaib2092-cell avatar Oct 14 '25 03:10 ahmadshoaib2092-cell

This isn't what I meant. I meant adding it to line 163.

How's this?

trs avatar Oct 14 '25 03:10 trs

This isn't what I meant. I meant adding it to line 163.

How's this?

Does it work if you delete all of your changes except for this? image

Adam- avatar Oct 14 '25 03:10 Adam-

This isn't what I meant. I meant adding it to line 163.

How's this?

Does it work if you delete all of your changes except for this?

No, we need to keep track of the first one so we can add it back to the top of the menu

trs avatar Oct 14 '25 04:10 trs

In #19156 is mentioned the following with regards to "lifting" the walk here option out of the player submenus:

I don't think that works since the "Walk here" option for different players could potentially target different tiles?

Did you test whether this change impacts "walk here" on multiple players targeting different tiles? Let's say your camera is at a low angle and you can right-click multiple players who aren't on the same tiles due to the angle. Does walk here always go to the same tile in vanilla and the old implementation of the plugin?

Ririshi avatar Oct 14 '25 05:10 Ririshi

Let's say your camera is at a low angle and you can right-click multiple players who aren't on the same tiles due to the angle.

No matter how many players you catch with your right click, there is only ever one "Walk here" option, which takes you to the tile your cursor was over when you right clicked. It doesn't matter what tiles the players are on. Simply moving it out of any submenus should be fine.

Hannah-GBS avatar Oct 14 '25 05:10 Hannah-GBS

#19156 is a bug about this: image

Where there is a duplicate player in the menu with just "Walk here". Doing the change I suggested changes it to this:

image

Which I think effectively fixes it. I don't understand why you are trying to reorder walk here over top of the object op. That shouldn't happen and just isn't how the game works really at all, the left click option should be the object op.

Adam- avatar Oct 14 '25 16:10 Adam-

Where there is a duplicate player in the menu with just "Walk here". Doing the change I suggested changes it to this:

That works as a fix.

Which I think effectively fixes it. I don't understand why you are trying to reorder walk here over top of the object op. That shouldn't happen and just isn't how the game works really at all, the left click option should be the object op.

Partially was to make walk here easier to find, always being at the top. It doesn't change the left click option, but does make it so the top option isn't the left click option, which breaks convention for sure.

If we don't like the reorder (which I totally get), happy to remove it!

What are your thoughts on removing the walk here target? So it just says "Walk here" rather than "Walk here PlayerName"

trs avatar Oct 14 '25 17:10 trs

Partially was to make walk here easier to find, always being at the top. It doesn't change the left click option, but does make it so the top option isn't the left click option, which breaks convention for sure.

But this isn't actually the convention. Eg here is the vanilla menu:

image

Notice Walk here isn't on top.

What are your thoughts on removing the walk here target? So it just says "Walk here" rather than "Walk here PlayerName"

This is fine

Adam- avatar Oct 14 '25 17:10 Adam-

You do not need a walk found boolean.

raiyni avatar Oct 15 '25 14:10 raiyni