EncoreAspire 3 Posted July 25, 2016 Hey guys randomly this method will have my character walk back and forth while trying to get to the given tile? (He's not actually walking to the given tile, but kind of around it) Dont know why. Is there a way of creating a personal walk path, could any one recommend a tutorial or give me a rundown on how to accomplish this?
Calculus 30 Posted July 25, 2016 if(!tileList.isEmpty){ if(nextTileToWalkTo == null || distanceToNextTileToWalkTo < 5) nextTileToWalkTo = tileList.pop(); }else{ if(distanceToDestination < 5) stop(); } if(nextTileToWalkTo != null) if(getWalking().walk(nextTileToWalkTo)) sleepUntilSomeCondition();
EncoreAspire 3 Author Posted July 25, 2016 if(!tileList.isEmpty){ if(nextTileToWalkTo == null || distanceToNextTileToWalkTo < 5) nextTileToWalkTo = tileList.pop(); }else{ if(distanceToDestination < 5) stop(); } if(nextTileToWalkTo != null) if(getWalking().walk(nextTileToWalkTo)) sleepUntilSomeCondition(); grazie,does it have to be a queue? Edit: I suppose thats best huh
Calculus 30 Posted July 25, 2016 grazie,does it have to be a queue? Edit: I suppose thats best huh I mean...you asked for a walk path, and that would be a path...of tiles. So, yes? Only other way I could think of is writing your own web walker. I don't even know where to start for that...so I can't help you there
EncoreAspire 3 Author Posted July 25, 2016 I mean...you asked for a walk path, and that would be a path...of tiles. So, yes? Only other way I could think of is writing your own web walker. I don't even know where to start for that...so I can't help you there is there a way of overriding the auto enable run in the title method?
Calculus 30 Posted July 25, 2016 is there a way of overriding the auto enable run in the title method? http://dreambot.org/javadocs/org/dreambot/api/methods/walking/impl/Walking.html#setRunThreshold-int- Pretty sure setting that to 101 should work
Recommended Posts
Archived
This topic is now archived and is closed to further replies.