Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Interact(String) misclicks when teleport with Glory. (NOT ZOOM PROBLEM)


    TheAppFoundry

    Recommended Posts

    I'm developing a GDK script that uses a glory for teleporting. It will open up the equipment tab and then, item.interact("Edgeville"); So it will right click the amulet and click on Edgeville.
    This works.. MOST of the time. After a few hours it will accidentally (misclick) teleport to Karamja. This is one of my last bugs and I don't think it's even a bug of mine.

    getEquipment().open();
    sleepUntil(() -> getEquipment().open(), randNumber.nextInt(7500) + 5000);
    getEquipment().getItemInSlot((EquipmentSlot.AMULET).getSlot()).interact("Edgeville");
    
    Link to comment
    Share on other sites

    even tho its not a very good solution you  can have a area in karamja and if you are in that area

    you try teleport again to edgevile

     

    or use the getMouse and manually click the amulet+teleport

    Link to comment
    Share on other sites

    just use this dude?????

    public boolean interact(EquipmentSlot slot,
                            java.lang.String action)
    Interacts with the slot specified with the action specified
    Parameters:
    slot -
    action -
    Returns:]
    
    
    
    https://dreambot.org/javadocs/org/dreambot/api/methods/container/impl/equipment/Equipment.html
    
    Link to comment
    Share on other sites

     

    just use this dude?????

    public boolean interact(EquipmentSlot slot,
                            java.lang.String action)
    Interacts with the slot specified with the action specified
    Parameters:
    slot -
    action -
    Returns:]
    
    
    
    https://dreambot.org/javadocs/org/dreambot/api/methods/container/impl/equipment/Equipment.html
    

     

    He is. And it's mis-clicking rarely. 

     

    I have a similar problem with using equipped jewelry actions. I just do what TheMcPker said with the areas. Your own little fail safe.

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.