Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Smart pathing?

#F2P
Joined
Nov 23, 2018
Messages
15
What's the best practice for creating smart pathing? Or i guess just my own paths in general.

My bots work fine, however its very noticeable that it has trouble navigating around city walls, for instance my bot is currently walking to the air altar but it doesn't follow a decent path without back tracking a few times.

Code:
     final BresenhamPath bp = BresenhamPath.buildTo(Constants.current_altar.getEntrance());

        if (bp != null) {
            if (bp.step(true)) {
                Execution.delayWhile(bot.player::isMoving, 1000, 2500);
            }
        }

8b34cbdcd55b2093230942862bf5af1d.png
 
Last edited:
easily triggered ✌
Joined
Dec 31, 2015
Messages
4,596
Im really suprsied this is happening with Bresen pathing, webs just ducked dude
 
#F2P
Joined
Nov 23, 2018
Messages
15
Top