Jort 2 Share Posted May 8, 2021 Destination: walkable area before Lesser demon cage. Behaviour: case 1: - works instantly case 2: - walks 3/4 bridge - walks to adjecent lumbridge forest, parallel to supposed position on bridge - keeps failing case 3: - walks bridge 3/4 of the way - turns back to begin of bridge - repeat - eventually works Demonstration code: import org.dreambot.api.methods.map.Area; import org.dreambot.api.methods.walking.impl.Walking; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.script.Category; import org.dreambot.api.script.ScriptManifest; @ScriptManifest(category = Category.MISC, name = "WalkingTest", author = "Jort", version = 0.0) public class WalkTest extends AbstractScript { Area lesserDemonArea = new Area(3108, 3161, 3113, 3159, 2); @Override public int onLoop() { if(Walking.shouldWalk()){ Walking.walk(lesserDemonArea.getCenter()); } return 100; } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.