mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[GH-ISSUE #2] Shift-Drop doesn't work on objects who's first option isn't "use" #8334
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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
@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.
@DPSCryptic commented on GitHub (Oct 24, 2019):
make the option :P
@Gptaqbc commented on GitHub (Oct 24, 2019):
Yep, I'm trying to figure it out simply :P
@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?
@DPSCryptic commented on GitHub (Oct 24, 2019):
where do you find this?
@DPSCryptic commented on GitHub (Oct 24, 2019):
if (shiftDown)
{
doAction(2); //Drop?
needDrawTabArea = true;
return;
}
@DPSCryptic commented on GitHub (Oct 24, 2019):
this is in there
@Gptaqbc commented on GitHub (Oct 24, 2019):
So 447 seems like to be the use option?
@DPSCryptic commented on GitHub (Oct 24, 2019):
yeah probably
@DPSCryptic commented on GitHub (Oct 24, 2019):
just talk in discord will ya
@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.