truck pathfinding bugs

Vehicles & Roads
kennyb [ideas] · 10 months ago

truck pathfinding is extremely frustrating. here are a few bugs that are clear demonstrations of bad behavior.

inefficient construction and deconstruction

Image

when you load the save file, one truck will go over and deconstruct the bottom belt, taking 3 rubber all the way up to the top to build another belt up there. right as that's happening another truck will deliver 3 rubber to another belt that's being built right there.

a month before the action: bug - truck disassembles belt and doesn't use materials to build the belt nearby.save
right before the action: bug - truck disassembles belt and doesn't use materials to build the belt nearby.save

I would expect the truck to pick up all of the rubber from the belt deconstruction, then take it to all nearby construction sites (there's more than 300 rubber need in nearby construction tasks) and then if there is any left over, take that to storage/shipyard.

inefficient dumping

Image

open the save and notice that there are a lot of trucks trying to dump in the same spot (for some reason they all decide to go to the same spot) to make matters worse, when there are a lot of shallow dumping designations (it's much less noticeable with deep ones), having more than one truck try to dump in the same spot makes for some really inefficient dumping.

bug - extremely inefficient dumping.save

inefficient distribution of trucks to excavators

Image

I oftentimes see a bunch of trucks crowded around one excavator while the rest of the excs have either one or no trucks (this save demonstrates 6 trucks on one excavator). they don't distribute evenly, and the trucks don't go to the one with dirt in his mouth

bug - one exc has 6 trucks.save

excavators driving too much

this one happens to me all the time (I will update soon with a save). it usually happens when the mining designations are quite a distance from the mining tower, so when I think when the exc calculates the distance to the next designation, it can easily get a "closer" designation (to the tower) which is on the other side of the circle. maybe they could sample the nearest designations to the exc, then sort them by distance to the tower?

bonus bug: tree planter can't find a job

Image

this only happened to me intermittently (I've seen it only a couple times) and I can't remember it happening lately either. my setup is the same, so don't really know what is causing the bug. here it is just in case you want to look (quite an old save file)

bug - tree planter cant find jobs.save

4 attachments only for registered users
kennyb [ideas] · 10 months ago

update: the tree planter bug just happened again.

Image

bug - tree planter no jobs.save

1 attachment only for registered users
16 Showing 1–2 of 2