runelite icon indicating copy to clipboard operation
runelite copied to clipboard

Menu Entry Swapper: 'Buy 50' op doesn't work for Nightmare Zone

Open SaffiCauthon opened this issue 3 years ago • 1 comments

Type

Incorrect behavior

Operating System

Windows

OS Version

Microsoft Windows 10 Home

Bug description

Apologies if this isn't considered a bug, but it goes against the intended functionality as an end-user.

Most other shops in Old School Runescape use 'Buy ?' where ? is 1, 5, 10, or 50. The Nightmare Zone shop uses 'Buy-?' instead, replacing the space with a hyphen.

This makes it such that the Menu Entry Swapper "Shop Buy Shift-Click" does not work as intended.

I believe additional logic will need added here for the "Buy-50" option in this minimenu.

Screenshots or videos

Normal Shop Nightmare Zone Shop

RuneLite version

RuneLite version: 1.8.26 Oldschool revision: Rev 206 Launcher version: 2.4.2

Logs

No response

SaffiCauthon avatar Jul 09 '22 19:07 SaffiCauthon

I tried setting the second argument to "buy 1" || "buy-1" but that didn't seem to work and I'm not sure how to use regex in this case so I did the unelegant solution of copying and pasting all 8 buy and sell swaps and adding the dash lol

JordanShackelford avatar Aug 12 '22 02:08 JordanShackelford

This is now possible via custom UI swaps in the menu entry swapper plugin; I recommend using that instead.

Nightfirecat avatar Jul 16 '23 05:07 Nightfirecat