[GH-ISSUE #2] Shift-Drop doesn't work on objects who's first option isn't "use" #6947

Closed
opened 2026-05-30 12:19:33 +00:00 by Dark98 · 12 comments
Owner

Originally created by @dginovker on GitHub (Jun 28, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/2

Originally assigned to: @Gptaqbc on GitHub.

Update: Gptaqbc is on it

Originally created by @dginovker on GitHub (Jun 28, 2019). Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/2 Originally assigned to: @Gptaqbc on GitHub. Update: Gptaqbc is on it
Dark98 added the Difficulty: Medium label 2026-05-30 12:19:33 +00:00
Author
Owner
<!-- gh-comment-id:510084174 --> @dginovker commented on GitHub (Jul 10, 2019): https://github.com/dginovker/2006rebotted/blob/master/2006Redone%20Client/src/Game.java#L1172 https://www.rune-server.ee/runescape-development/rs2-client/snippets/651304-shift-click-dropping.html Possibly relevant
Author
Owner

@Gptaqbc commented on GitHub (Oct 24, 2019):

Ahh I was hoping there would be something like that:

if (shiftDown)
{
menuActionName[menuActionRow] = "Drop @lre@" + itemDef.name;
} else {
menuActionName[menuActionRow] = "Use @lre@" + itemDef.name;
}

But for the wear option... But there isn't.

I'm looking at it for a bit.

<!-- gh-comment-id:545930461 --> @Gptaqbc commented on GitHub (Oct 24, 2019): Ahh I was hoping there would be something like that: if (shiftDown) { menuActionName[menuActionRow] = "Drop @lre@" + itemDef.name; } else { menuActionName[menuActionRow] = "Use @lre@" + itemDef.name; } But for the wear option... But there isn't. I'm looking at it for a bit.
Author
Owner

@DPSCryptic commented on GitHub (Oct 24, 2019):

make the option :P

<!-- gh-comment-id:545931094 --> @DPSCryptic commented on GitHub (Oct 24, 2019): make the option :P
Author
Owner

@Gptaqbc commented on GitHub (Oct 24, 2019):

Yep, I'm trying to figure it out simply :P

<!-- gh-comment-id:545933854 --> @Gptaqbc commented on GitHub (Oct 24, 2019): Yep, I'm trying to figure it out simply :P
Author
Owner

@Gptaqbc commented on GitHub (Oct 24, 2019):

https://github.com/dginovker/2006rebotted/blob/master/2006Redone%20Client/src/Game.java#L1172

menuActionName[menuActionRow] = itemDef.actions[i4] + " @lre@" + itemDef.name;
if (i4 == 0) {
menuActionID[menuActionRow] = 74;
}
if (i4 == 1) {
menuActionID[menuActionRow] = 454;
}
if (i4 == 2) {
menuActionID[menuActionRow] = 539;
}

i4 contains the options of the items but do you guys know what 74, 454 and 539 are?

<!-- gh-comment-id:545935648 --> @Gptaqbc commented on GitHub (Oct 24, 2019): https://github.com/dginovker/2006rebotted/blob/master/2006Redone%20Client/src/Game.java#L1172 menuActionName[menuActionRow] = itemDef.actions[i4] + " @lre@" + itemDef.name; if (i4 == 0) { menuActionID[menuActionRow] = 74; } if (i4 == 1) { menuActionID[menuActionRow] = 454; } if (i4 == 2) { menuActionID[menuActionRow] = 539; } i4 contains the options of the items but do you guys know what 74, 454 and 539 are?
Author
Owner

@DPSCryptic commented on GitHub (Oct 24, 2019):

where do you find this?

<!-- gh-comment-id:545936801 --> @DPSCryptic commented on GitHub (Oct 24, 2019): where do you find this?
Author
Owner

@DPSCryptic commented on GitHub (Oct 24, 2019):

if (shiftDown)
{
doAction(2); //Drop?
needDrawTabArea = true;
return;
}

<!-- gh-comment-id:545938054 --> @DPSCryptic commented on GitHub (Oct 24, 2019): if (shiftDown) { doAction(2); //Drop? needDrawTabArea = true; return; }
Author
Owner

@DPSCryptic commented on GitHub (Oct 24, 2019):

this is in there

<!-- gh-comment-id:545938422 --> @DPSCryptic commented on GitHub (Oct 24, 2019): this is in there
Author
Owner

@Gptaqbc commented on GitHub (Oct 24, 2019):

So 447 seems like to be the use option?

<!-- gh-comment-id:545939807 --> @Gptaqbc commented on GitHub (Oct 24, 2019): So 447 seems like to be the use option?
Author
Owner

@DPSCryptic commented on GitHub (Oct 24, 2019):

yeah probably

<!-- gh-comment-id:545940326 --> @DPSCryptic commented on GitHub (Oct 24, 2019): yeah probably
Author
Owner

@DPSCryptic commented on GitHub (Oct 24, 2019):

just talk in discord will ya

<!-- gh-comment-id:545940452 --> @DPSCryptic commented on GitHub (Oct 24, 2019): just talk in discord will ya
Author
Owner

@Gptaqbc commented on GitHub (Oct 24, 2019):

Sweet, we are getting closer and closer. I'll have to do some testing when I get home. Don't have Discord at work, sorry. It's blocked.

<!-- gh-comment-id:545940563 --> @Gptaqbc commented on GitHub (Oct 24, 2019): Sweet, we are getting closer and closer. I'll have to do some testing when I get home. Don't have Discord at work, sorry. It's blocked.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#6947