Slicing and dicing a Pineapple selects the wrong selection

Report potential bugs here, and if they seem valid we can create gitlab issues for them.

Moderator: Bug Janitor

Forum rules
- Check if a topic exists before creating a new one.
- Duplicate topics will be immediately deleted.
- Issues lacking detail or sources (where applicable) will be deleted immediately.
- Unimplemented content is not bugged content. Do not report unimplemented content.
- IF YOUR BUG IS EXPLOITABLE DO NOT REPORT IT HERE. DM the report to a Bug Janitor instead.
- Repeated violation of these rules may result in a user being denied access to this section.
Locked
User avatar
RiL
Noob
Posts: 22
Joined: Sat Feb 11, 2023 9:36 am
Been thanked: 5 times

Slicing and dicing a Pineapple selects the wrong selection

Post by RiL »

What did you do?
Used a Knife on a Pineapple, selecting slice or dice, then right clicking to select options to make different amounts.

What happened?
Incorrect selection. All selections are shifted one step down. Specifically:

Make 1 -> Make 5.
Make 5 -> Make X.
Make X -> Make All.
Make All -> fails.

What did you expect to happen? (Provide a source from runescape wiki/youtube/etc if possible)
The chosen selection.

Have you reproduced it on the test server? If so, what are the steps?
Only on single player server.
User avatar
TheChimpken
Froob
Posts: 59
Joined: Tue Dec 27, 2022 7:59 pm
Has thanked: 30 times
Been thanked: 29 times

Re: Slicing and dicing a Pineapple selects the wrong selection

Post by TheChimpken »

Hey RiL,

Thanks for sending this one in - Have reproduced in test!

The fascinating thing about this one is that when I select to slice only 1, the correct amount is sent to the handler, by the looks:
Image

But that said, it clearly went and cut 5 instead.

I'll get a GitLab report up for this: https://gitlab.com/2009scape/2009scape/-/issues/1022
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Slicing and dicing a Pineapple selects the wrong selection

Post by Ceikry »

That debug output is only telling you the amount in the stack of items that was clicked on, not whatever was put into the dialogue handler.
Nerds
Locked