Page 1 of 1

Logistic Drone Behavior Issue

Posted: Sun Mar 17, 2019 10:05 pm
by Eldera
Hello,

I was experimenting with some debug settings, in hopes of figuring out where all my drones were when I needed them.

Eventually I noticed that many of the drones were caught in this loop.

They'd take off from the robo ports along the train tracks, apparently on their way to a target at a complex to the east of the location where this screen shot was taken.

If you look at the photo, you can see that the eastern most drones are all in roughly a vertical line.

As each drone reaches that line, it turns back to return to the west. Eventually, turning around and returning to the east, and, when reaching that same point, returns back west again.

I can upload a save game file and you'd be able to see this for your self.

The only mod I'm running at the moment is infinity zoom.

I've been running the Experimental build, which at the time of this writing is 0.17.14 (build 43773, mac, steam)

While I've not written C++ in the last 20 years, I'm pretty sure I can muddle through capturing some debug data for you.

Please let me know if you'd like further information.

--Adam

P.S. I've attached the save game file, with my character positioned at the same point as is shown in the screen shot. However, it is 28 MB and I'm not sure if it will upload or not.

Re: Logistic Drone Behavior Issue

Posted: Sun Mar 17, 2019 10:20 pm
by TruePikachu
Seems like the good-old issue of batteries running out when trying to cross a large gap that doesn't contain roboports, then they turn around to go to the closest roboport to recharge, while that roboport was the one they just left from.

Re: Logistic Drone Behavior Issue

Posted: Mon Mar 18, 2019 8:08 am
by Eldera
I did some further testing based on TruePikachu's observation, and they were correct.

Adding a Roboport closer to that "fault line" than the originating roboport did cause the drones to continue on at their 20% speed setting.

I have to admit, I'd probably have gone on assuming it was a bug. The info from the logistics page in the docs left me expecting they'd still pursue their objective, only at 20% speed.

Perhaps some clarification there will prevent others from becoming confused in the future?