jonnybrahh 2 Share Posted June 5 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 Link to comment Share on other sites More sharing options...
Deep Slayer 49 Share Posted June 5 WebFinder webFinder = WebFinder.getWebFinder(); webFinder.disableInventoryTeleports(); webFinder.disableEquipmentTeleports(); webFinder.disableEquippingTeleports(); Link to comment Share on other sites More sharing options...
jonnybrahh 2 Author Share Posted June 5 Does this also disable the use of teleports in the magic tab? Link to comment Share on other sites More sharing options...
jonnybrahh 2 Author Share Posted June 5 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 Link to comment Share on other sites More sharing options...
Deep Slayer 49 Share Posted June 5 use webFinder.disableTeleport(MagicTeleport.VARROCK);// .. etc etc for each one you need to read the API https://dreambot.org/javadocs/overview-summary.html Kyle2016A 1 Link to comment Share on other sites More sharing options...
jonnybrahh 2 Author Share Posted June 6 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. Link to comment Share on other sites More sharing options...
morten1ela 24 Share Posted June 6 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); } jonnybrahh, Kyle2016A and Deep Slayer 3 Link to comment Share on other sites More sharing options...
jonnybrahh 2 Author Share Posted June 7 10 hours ago, morten1ela said: WebFinder webFinder = WebFinder.getWebFinder(); for(MagicTeleport magicTeleport : MagicTeleport.values()){ webFinder.disableTeleport(magicTeleport); } Thankyou, much appreciated Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now