jonnybrahh 2 Posted June 5, 2024 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
Deep Slayer 59 Posted June 5, 2024 WebFinder webFinder = WebFinder.getWebFinder(); webFinder.disableInventoryTeleports(); webFinder.disableEquipmentTeleports(); webFinder.disableEquippingTeleports();
jonnybrahh 2 Author Posted June 5, 2024 Does this also disable the use of teleports in the magic tab?
jonnybrahh 2 Author Posted June 5, 2024 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
Deep Slayer 59 Posted June 5, 2024 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
jonnybrahh 2 Author Posted June 6, 2024 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.
morten1ela 31 Posted June 6, 2024 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); } Kyle2016A, jonnybrahh and Deep Slayer 3
jonnybrahh 2 Author Posted June 7, 2024 10 hours ago, morten1ela said: WebFinder webFinder = WebFinder.getWebFinder(); for(MagicTeleport magicTeleport : MagicTeleport.values()){ webFinder.disableTeleport(magicTeleport); } Thankyou, much appreciated
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