Page 1 of 1

[0.9.8] Walls are not repaired from nearest Roboport

Posted: Sat Jul 26, 2014 11:40 pm
by JoshLittle
When I build large sized logistic networks, it seems to be very random from which roboport the walls are repaired. Even if the roboports along a wall all have enough constructionbots and repairpacks, the repairing bots are flying in from somewhere else. This leads to the effect, that even in only rarely attacked areas a small damage from little bitergroups adds up to a breakdown of a wallsegment after a few attacks, because the repairbots can't keep up with it. One bot flys for each segment flies in from far away, when he arrives he repaires till the repairpack is done, and then the next bot starts from somewhere else. If the repair would start from the nearest roboport, the damage would be repaired within seconds and not minutes.

Re: [0.9.8] Walls are not repaired from nearest Roboport

Posted: Mon Jul 28, 2014 2:42 pm
by kovarex
Hello, I did some tweaking of the logic, so it should be better.

a) When choosing the nearest robot, the one with repair pack has always priority
b) When robot runs out of repair pack while working, he is ordered to get some, and the job to repair is then reordered to some other robot (if possible) that is nearer.

Fixed for 0.10.5

Re: [0.9.8] Walls are not repaired from nearest Roboport

Posted: Mon Jul 28, 2014 9:27 pm
by JoshLittle
Sounds like "Job done" :D

Re: [0.9.8] Walls are not repaired from nearest Roboport

Posted: Mon Jul 28, 2014 11:02 pm
by kovarex
JoshLittle wrote:Sounds like "Job done" :D
Well, there are other things that might might be done in the future to make it more smooth.
a) When robot A finishes repair, he can be reordered to repair nearby structure that is ordered to be repair by robot B that is much more far.
b) When robot is sent to repack repairpacks, he could be ordered to return to the roboport near to his last repair point, so he is available for next task nearby.