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

    Recommended Posts

    Posted

    Hey, Sometimes when im walking somewhere, the walker will try to teleport instead of walking throwing off my sript.

    Just wondering if there is an easy way to disable all teleporting with the walker, Thankyou

    Posted
    WebFinder webFinder = WebFinder.getWebFinder();
    webFinder.disableInventoryTeleports();
    webFinder.disableEquipmentTeleports();
    webFinder.disableEquippingTeleports();
    Posted

    Does this also disable the use of teleports in the magic tab?

    Posted
    1 hour ago, Deep Slayer said:
    WebFinder webFinder = WebFinder.getWebFinder();
    webFinder.disableInventoryTeleports();
    webFinder.disableEquipmentTeleports();
    webFinder.disableEquippingTeleports();

    unfortunately this doesnt stop it from using the spellbook teleports

    Posted
    10 hours ago, Deep Slayer said:

    use 

    webFinder.disableTeleport(MagicTeleport.VARROCK);// .. etc etc for each one

     

    you need to read the API

     

    https://dreambot.org/javadocs/overview-summary.html

    I knew of this way, I just thought there may have been a way to turn them all off, instead of having to turn them off individually.

    Posted
    13 hours ago, jonnybrahh said:

    I knew of this way, I just thought there may have been a way to turn them all off, instead of having to turn them off individually.

    WebFinder webFinder = WebFinder.getWebFinder();
    for(MagicTeleport magicTeleport : MagicTeleport.values()){
        webFinder.disableTeleport(magicTeleport);
    }
    Posted
    10 hours ago, morten1ela said:
    WebFinder webFinder = WebFinder.getWebFinder();
    for(MagicTeleport magicTeleport : MagicTeleport.values()){
        webFinder.disableTeleport(magicTeleport);
    }

    Thankyou, much appreciated

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