k9thebeast Posted October 17, 2016 Share Posted October 17, 2016 Hey All, So I'm looking to walk a path within a dungeon that is not yet covered by Webwalker. I'm at a loss for how to do this and I'll show you what I've implemented so far In method 1, the issue is that it is not smooth at all. It clicks on the first point and as its getting closer, it doesnt click on the second Position at all. In fact it arrives ~2 tiles away from the first position and proceeds to click on the exact position until it is standing on that exact square, not very human-like at all. As seen in method 2, webwalker doesnt work at all for this area. Any ideas on how to implement this? Is there some sort of "offset" I can specify in my walker? I've thought about using areas for my walker, but I'm afraid that it would still run into this problem and not appear human-like. //Method 1 List<Position> path = new ArrayList<Position(); path.add(new Position(100,200,0)); path.add(new Position(105,220,0)); path.add(new Position(123,240,0)); walker.walkPath(path) //Method 2 -- DOESNT WORK walker.webWalk(new Position(100,300,0)) @@venetox Quote Link to comment Share on other sites More sharing options...
Token Posted October 17, 2016 Share Posted October 17, 2016 (edited) LinkedList<Position> path = new LinkedList<Position>(); ... WalkingEvent e = new WalkingEvent(); e.setMinDistanceThreshold(2); e.setMiniMapDistanceThreshold(2); e.setPath(path); execute(e); Put positions closer together, max minimap radius - 1 distance between them otherwise it won't find a path to them Edited October 17, 2016 by Token 1 Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted December 20, 2016 Share Posted December 20, 2016 LinkedList<Position> path = new LinkedList<Position>(); ... WalkingEvent e = new WalkingEvent(); e.setMinDistanceThreshold(2); e.setMiniMapDistanceThreshold(2); e.setPath(path); execute(e); Put positions closer together, max minimap radius - 1 distance between them otherwise it won't find a path to them Whats the ....? its not path.add? Quote Link to comment Share on other sites More sharing options...
Token Posted December 20, 2016 Share Posted December 20, 2016 Whats the ....? its not path.add? It is Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted December 20, 2016 Share Posted December 20, 2016 It is ArrayList<Position> path = new ArrayList<Position>(); path.add(new Position(3253,3420,0)); path.add(new Position(3253,3426,0)); path.add(new Position(3246,3429,0)); path.add(new Position(3240,3429,0)); path.add(new Position(3234,3430,0)); path.add(new Position(3227,3429,0)); path.add(new Position(3222,3429,0)); path.add(new Position(3215,3429,0)); path.add(new Position(3208,3429,0)); path.add(new Position(3201,3428,0)); path.add(new Position(3194,3429,0)); path.add(new Position(3186,3429,0)); path.add(new Position(3182,3434,0)); Is giving me a error, multiple markers at this line.. I remember back when another api was around I used a similar path adding system like this. How do you add a path to just a list and then execute that path. Web walking is messing up my path badly. Ive been trying to add a alternative separate path but I dont exactly remember how I did it before. NVM -_- theres a fucking tutorial for walking paths and my brain dead ass completely missed it. Quote Link to comment Share on other sites More sharing options...