Topic: Autopilot Issues - why?
Copy&paste of the IRC convo with garg, who said he is the wrong DEV to ask. So here for the "right" one:
[BKK]Annihilator
i got a question regarding the autopilot in perpGargajCNS
mhm?[BKK]Annihilator
why does it break up so often?
i've read a bit through some wiki posts about how pathfinding works, and from how i understand it, the pathfinding part works pretty fine in perp, but the smallest desync with the server leads to your robots standing still
often thats just after walking from 1 tile to another...GargajCNS
boyc looked into it some time ago
not sure what he found[BKK]Annihilator
for me, with my limited knowledge, its a loop where your bots aproaches a chain of waypoints set by the pathfinding algorithm,client side
the loop should only stop by either manual input from player, or by reaching the last waypoint in list.
but it seems its also stopped by any synch-operation between server/client
....GargajCNS
well
its boyc's code
While i was at it, i also put this in:
[BKK]Annihilatorthe other two missing aspects of autopilot are lower priority... first it would need to work stable. I will mention them anyway:
1. tile weighting for the pathfinding process (aka higher priority for highways if present)
2. perodical refresh of the route, since it cannot "see" plants that are not visible at the moment you give the command
Whining - It's amazing how fast your trivial concerns will disappear