Page 1 of 1

[2.0.12] Train settings are removed from locomotive when train wagons are built out of order

Posted: Sun Oct 27, 2024 8:42 am
by teiriko
UPDATE: Please read the first response instead, as it provides a more compressed version of it

What did you do?
1. Create a blueprint with a parametrized "train station + train", where the fluid is parametrized
2. Place a blueprint, select a fluid, e.g. water
3. Wait for the train to be placed by logistic robots from roboports*

*NOTE: the way it normally happens in my save:
- locomotive is placed first,
- then a bit later - the second wagon
- then the first wagon connecting the locomotive and second wagon

What happened?
1. After the initial placement of the locomotive - the train has all the necessary settings
2. After the fluid wagons are placed - the train settings reset as if it was a new train
factorio_bug.mp4
(19.28 MiB) Downloaded 15 times

What did you expect to happen instead?
1. After the train is fully constructed - the locomotive settings remain intact
NOTE: When the train is placed by robots from inside the character - such behavior doesn't occur (not sure if placement delay plays a role - didn't check it yet)
factorio_normal_behavior.mp4
(6.9 MiB) Downloaded 8 times

Does it happen always, once, or sometimes?
With the current state of the game and the same placement of the blueprint - happens all the time.
Perhaps, it can be affected by the location of the items in the storages / distance to robots / etc.


Additional notes / attachments
- Logs:
factorio-previous.log
(22.19 KiB) Downloaded 8 times
factorio-current.log
(27.52 KiB) Downloaded 11 times
- Save:
space age.zip
(13.17 MiB) Downloaded 11 times
- Blueprint:

Code: Select all

0eNq1mk1vpDgQhv/Kymc6woABRzunlea8h7mNWoiA07GGr6VNstEo/33L0AlkBk+5Jr2XYGjzFHa9BS8O39ldM6lh1J1ht9+ZrvruzG6/fmdnferKxh7rylaxW2bGUneHs+kH9hIw3dXqX3bLX44BU53RRqvlvHnnueim9k6N0CF4PX/Qg2IBG/ozdO47SwZAnPMbEbBndhsl8Y14eQl+QkQoIsQQMYqIMUSCIiIMIVCEwBApikgwRIYiMgyRo4gUQ0gUITEED1FGjjJQfUpUnxwVqEQFylGFSlShHJWoRCXKUY1KVKMcFalERcpRlUpUpRyVqURlylGdSlSnEapTieo0wnSahPh9NEIZqE6jVafwJBjLkzqYsvu2M6ZsnRdQDDwxaj2qaumR7JETX/LmRutHF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z8N+xG+2FUhZr+lgQPjNJiFfJn1z5Nq5sUnwshUU9gwcK1TZ4qyeQewE3yvx7PxXyezxMPbNdsFN/t9kCntx0J2ufjHBTk7YFOOJ2X2c1j1ZXP8w47MPv1+J3cwwiWBwU89+3HtqLsSRPgIirbHdPXtbP+LGC4p0d1Z16p4m3Z2a8ZJwW+zXk1ffbPX1C0yfh0IHF1c+F05t5JFQMtheHzcj72dFfvovfQItz3k5kSI8gRVYslfozjgQZQE/BgsbSGXdmKPi6UtbDtd2qltZ0s7s+18aee2fTkXNkEczm2Rr0zYiCCNAgFtuwnSfGnDJsiW43YTwHucOMJVvmV+mYTXua1XnXy2TshKuP7h7TBg/4CgYP4P7/R3OQidu35sy0WfGw19WjRkxQJ766dpAXuEq5ghIo1kIqWAF74o4vAu8h8kZmeF
P.S. That's my first post/bug report here, hope I didn't miss anything

Re: [2.0.11] Parametrized train settings are removed from locomotive when train is fully built

Posted: Sun Oct 27, 2024 9:14 am
by teiriko
I'm sorry for creating the bug report before fully testing it, but the root cause really seems to be "placing the train out of order".
To update on the original post:

What did you do?
1. Place a locomotive
2. Configure its name/schedule
3. Place the second wagon
4. Place the first wagon, connecting the whole train together

*NOTE: Originally it happened due to how logistic robots build blueprints

What happened?
After the train is built in such a way the locomotive settings are reset, see:
factorio - bug built manually.mp4
(6.66 MiB) Downloaded 15 times

What did you expect to happen instead?
After the train is fully constructed the locomotive settings remain intact

Does it happen always, once, or sometimes?
Always

Re: [2.0.11] Train settings are removed from locomotive when train wagons are built out of order

Posted: Wed Oct 30, 2024 3:34 pm
by teiriko
Quick update: tested on a clean 2.0.12 version - same behavior, will update the thread name

Blueprint to quickly reproduce:

Code: Select all

0eNqlldFu6jAMhl8F+WqTykRKQte+yjShUrwSLU2qJGVDqO8+h8I4R3Ako3NXJ/H3O8rv+ggbM2DvtY1QHUE3zgao3o4QdGtrk9Zs3SFU4GttYMxA2y1+QyXG9wzQRh01Thmn4LC2Q7dBTweyS2akVDsP0fWQQe8CpTibyIRZ0rEDVPOSyFvtsZn2RJ5BiPUUgPOzuNNh1h1CRH+Ybdz3U6+bz5mz+Ew13Wjnv9ohibe7OD+VfyOfl5N88be8vMNccpmXKzGYks1cspnql2lc4zoX9R7vAOUViLbeGFwb1+oQdRPWXztNcef22rZQfdQmYEaPoEnp/CSLl0Ld0V6x76PY9ynYzILNfGUz+f4ouUzJ94dYsKF8gwjBhvJfSbBbTvKfSVx7rql96+ZfdUtnb5Gv/2nmXKX/2p6WnCeQHYy5Vw67XSXfNkJxoeoB37AbUT3gG3Ynqgd8w25F9S/f0BwKzQ63gzkPout/L8Xqj/2Eokznt+chxx0xxGi9G/o0zTBEGE+q0TWfa5qYdirmwqRVKjdd9vwtlum4jthR/nXeZrBHH076apWXsiyVzBdFIVfj+ANoBYlu
Steps:
1. Place blueprint
2. Check locomotive: it has group name + a train station in the schedule
3. Place a wagon between the locomotive and the wagon on the rails
4. Check locomotive: it has lost all the settings (also was assigned with a new ID)

Note:
Why the behavior is painful: Robots can build the trains in the same manner

Re: [2.0.12] Train settings are removed from locomotive when train wagons are built out of order

Posted: Fri Nov 01, 2024 5:37 pm
by Loewchen

Re: [2.0.12] Train settings are removed from locomotive when train wagons are built out of order

Posted: Mon Nov 04, 2024 4:42 pm
by r3sist3nt
can confirm, same behaviour here