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
  • Try asking for help in the chatbox
  • Interact(String) misclicks when teleport with Glory. (NOT ZOOM PROBLEM)


    TheAppFoundry
     Share

    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

    Edited by TheMcPker
    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

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    ×
    ×
    • 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.