Page 1 of 1
Rail repair
Posted: Sun May 14, 2023 10:24 am
by ncc1701e
In other games, this rail repair would be impossible because
Lodz is still owned by the enemy blocking the repairs.
Don't know the exact rule here but just highlighting it.

- rail repair.JPG (184.88 KiB) Viewed 975 times
Re: Rail repair
Posted: Sun May 14, 2023 8:53 pm
by AlvaroSousa
Need to be next to a 9 rail to repair
Re: Rail repair
Posted: Tue May 16, 2023 7:46 pm
by ncc1701e
Thanks, so this is indeed a bug.
Re: Rail repair
Posted: Thu May 18, 2023 12:22 pm
by AlvaroSousa
We never had an issue with it before. You sure they didn't get a 9 rail for a limited time?
I wonder if it due to Polish hexes.
Re: Rail repair
Posted: Thu May 18, 2023 3:58 pm
by ncc1701e
AlvaroSousa wrote: Thu May 18, 2023 12:22 pm
We never had an issue with it before. You sure they didn't get a 9 rail for a limited time?
I wonder if it due to Polish hexes.
The situation in Poland was very fluid but I think
Lodz was liberated by the Red Army then retaken. And, since then, a German corps is preventing me to access the city. That is why I bypassed it to reach the Oder river as quickly as possible.
generalfdog can confirm.
I am just finding this situation now.
Re: Rail repair
Posted: Thu May 18, 2023 4:00 pm
by ncc1701e
AlvaroSousa wrote: Sun May 14, 2023 8:53 pm
Need to be next to a 9 rail to repair
Maybe there is just one missing condition. Need to be next to a 9 rail to repair
AND this 9 rail needs to be on our side.
Re: Rail repair
Posted: Fri May 19, 2023 1:44 pm
by AlvaroSousa
It works like this. Looks for all rail 9 hexes. Then it looks int he 6 hexes around it. If it is damaged rail it fixes it.
Runs it twice over I believe.
Re: Rail repair
Posted: Fri May 19, 2023 3:40 pm
by ncc1701e
AlvaroSousa wrote: Fri May 19, 2023 1:44 pm
If it is damaged rail it fixes it.
Yes but does it check the ownership of the hexes?
Re: Rail repair
Posted: Sat May 20, 2023 1:28 pm
by AlvaroSousa
Well you need to have control of the hex to have a 9 supply rail
Re: Rail repair
Posted: Sat May 20, 2023 1:55 pm
by Nirosi
I think that ncc1701e is asking if there could be a bug that allows, for example, a German rail hex to be repaired because it is adjacent its next to a... Polish (or any enemy) controlled rail hex with 9 supply.
So basically, does the engine check for ownership of the adjacent hex that would allow supply for your hex?
Re: Rail repair
Posted: Tue May 23, 2023 2:02 pm
by AlvaroSousa
Yes. If both sides have a 9 supply rail hex next to each other they can still repair their own rail.... but not the other.
But I will 2x check the code to make sure it looks for this set of ownership.
Re: Rail repair
Posted: Mon Jul 24, 2023 2:13 pm
by AlvaroSousa
This might be linked to minor countries under enemy control not doing scorched earth bug. Which is now fixed in the next patch