Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug OSRS Interaction when dropping

Client Developer
Joined
Oct 12, 2015
Messages
3,760
Interaction doesn't seem improved for OSRS at all. Banking is still incredibly buggy, but most concerning of all is the fact that interacting with an inventory item using menuitems (eg to "Drop") an item will drop whatever item it right clicks, not the item selected.

Example of this is in my Wintertodt bot. I drop empty vials, but if it happens to be hovering a different item (say an empty vial or in my case, a dragon axe) it will drop that item instead. Personally feel like there should be a hover check or something similar before actually interacting with the item.
 
@SlashnHax this is still an incredibly annoying issue. Please force pattern matching when dropping.

You can see below uses Drop on "Bucket of sand" and Empty on "Bucket of sandworms".

HSW4eBz.gif


JavaScript:
SpriteItem sandBucket = Inventory.newQuery().names("Bucket of sand").results().first();
if(sandBucket != null && ItemInteraction.interact("Empty", sandBucket)) {
    if(Execution.delayUntil(() -> {
        Player player = Players.getLocal();
        return player == null
                || !sandBucket.isValid();
    }, (int) Random.nextGaussian(1200, 1800, 1300))){
        setStatus("Emptied bucket");
    }
}
 
Go check out new bots and give helpful feedback.
Joined
Jan 31, 2016
Messages
5,413
Interaction doesn't seem improved for OSRS at all. Banking is still incredibly buggy, but most concerning of all is the fact that interacting with an inventory item using menuitems (eg to "Drop") an item will drop whatever item it right clicks, not the item selected.

Example of this is in my Wintertodt bot. I drop empty vials, but if it happens to be hovering a different item (say an empty vial or in my case, a dragon axe) it will drop that item instead. Personally feel like there should be a hover check or something similar before actually interacting with the item.
 
@SlashnHax this is still an incredibly annoying issue. Please force pattern matching when dropping.

You can see below uses Drop on "Bucket of sand" and Empty on "Bucket of sandworms".

HSW4eBz.gif


JavaScript:
SpriteItem sandBucket = Inventory.newQuery().names("Bucket of sand").results().first();
if(sandBucket != null && ItemInteraction.interact("Empty", sandBucket)) {
    if(Execution.delayUntil(() -> {
        Player player = Players.getLocal();
        return player == null
                || !sandBucket.isValid();
    }, (int) Random.nextGaussian(1200, 1800, 1300))){
        setStatus("Emptied bucket");
    }
}
It seemed like for a bit of time the speed was better, but now for most things it has reverted back. Thanks for the hard work Cloud and Slashnhax.
 
Top