[kovarex] [0.17.76] Trainfuel is not reliably applied from blueprint
Posted: Sun Nov 10, 2019 1:30 pm
by Calibretto22
Game: 0.17.76 Vanilla
Setup:
- a blueprint with rails and a train that has fuel
- place blueprint repeatedly
- bots build rails and train
- moduleslots for fuel are applied
Bug:
- moduleslots for fuel are not reliably applied
Clarifiacations:
- mostly happens on trains that are rotated or diagonally
- error seems to happen more often on games that have high ups (60+) and less often in my megabase (~45 UPS)
Re: [0.17.76] Trainfuel is not reliably applied from blueprint
Posted: Sun Nov 10, 2019 2:06 pm
by Rseding91
Thanks for the report. I don't think this will ever be fixed. Blueprinting trains on curves just doesn't work due to how trains align themselves to rails at a fundamental level.
I'll assign this to Kovarex but i don't think there's a solution except "don't blueprint trains on curves".
Re: [kovarex] [0.17.76] Trainfuel is not reliably applied from blueprint
Posted: Wed Mar 04, 2020 5:18 pm
by AntiElitz
I have to second this report [0.18.10], It's really annoying because its so inconsistent. Not blueprinting on a curve is not really a solution you can manage to do in a naturally grown base.
Re: [kovarex] [0.17.76] Trainfuel is not reliably applied from blueprint
Posted: Mon Jun 22, 2020 5:55 am
by schmorp
I note that the original bug report says "mostly" on curves, and indeed, this happens for me on straight rails [0.18.32], mostly when I have a blueprint with many trains in them, such as when building an LTN depot - out of ten trains, usually 2-4 do not receive their fuel.
Re: [kovarex] [0.17.76] Trainfuel is not reliably applied from blueprint
Posted: Thu Jun 25, 2020 9:29 pm
by kovarex
Hello, the bug was quite straightforward.
The storytime:
4 years ago, when the feature to allow construction robots deliver modules into machines as part of a blueprint or upgrade operation, it wasn't really considered that it might have something to do with moving entities.
So there was a condition: whenever the surface, force or position of the entity changes, just cancel the request.
Since the trains tend to move a little here and there when the blueprint for trains is being completed, that caused the request to be randomly removed.
Well, removing the if and making the request follow the train around was simple and it solved the original bug, but now we had a new problem: when the robot is chasing the locomotive to insert the fuel, but it already has some and runs away, the robots just follows it intil it runs out of power and get stuck in an infinite loop trying to get to the locomotive somewhere deep in the wilderness.
Long story short, the special logic that calls off robots chasing damaged vehicles to repair them when they run out of the logistic network had to be extended for this case, but it works and this smal bug will be finally solved.
TL;DR; Solved for the next release
Re: [kovarex] [0.17.76] Trainfuel is not reliably applied from blueprint
Posted: Sat Jul 25, 2020 3:36 am
by AntiElitz
Nice! Thank you
Re: [kovarex] [0.17.76] Trainfuel is not reliably applied from blueprint
Posted: Sat Jul 25, 2020 5:00 pm
by azesmbog
With blueprints and train fuel, I have had the following problem for a long time -
when building a train remotely, (this is when I am not directly present,
and I'm building something several thousand kilometers away), then construction drones build both the rails and the train itself, but they never add fuel, although it is on the blueprint. This is a very, very, very bad drone behavior. Some nuance and peculiarity is that drones take rails, train, wagons and fuel not from a supply or storage chest, but from what they hold in their paws , from the destroyed previous train, to be more precise.
They can build rails, a train and cars from this, but they cannot load a train with fuel: (((As they kept fuel with them, they keep it.
As I understand it, they need to put it in the storage chest and take it from there.
But with everything else, they don't need it !!!!
Of course, I resigned myself to such their unworthy behavior, but maybe this can also be fixed ??
If I didn't understand it, then all I can do is take a screenshot. If it's necessary
To clarify - there are only construction drones!
Or should transport drones deliver fuel?