Welcome!

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

Sign up now!

Bug Problemo Walking

Joined
Oct 18, 2015
Messages
25
So everything is going fine, then i suddenly notice my bot has stopped moving as if it cannot detect the area its standing in, although, when i restart the script completely it will continue walking without a problem until the problem crops up again. Any idea what might cause this?

Also question #2 is even with a slow mouse setting, it seems as though my bot will missclick and actually land itself in areas that arent specified as walking zones. Causing me to create a tonne of 'slip up' areas that can help to put the player back on track, help!? :)

I am using Bresenham Path walking.

Also my code is crappy and primative, basically just nested if statements checking if in the area, if so walk to the next kind of thing, if that gives any indication.
 
Joined
Sep 30, 2015
Messages
86
@Cloud

Apparently path generation is having issues overall, there's been people in Dev Chat talking about neither Web Walking or Bresenham is working.
 
Author of MaxiBots
Joined
Dec 3, 2013
Messages
6,861
Bresenham only generates a straight line to the destination, so if there are obstacles or anything then you'll want RegionPath or WebPath instead. We need more info than it stopping walking. Debug the path make sure it's not null, check the destination tile, debug your loop make sure it's not getting stuck somewhere
 
Top