voxeltycoon / issues

18 stars 4 forks source link

Game changes road on its own, and making a destination unreachable #1041

Open mmikeyy opened 1 year ago

mmikeyy commented 1 year ago

A while ago, I noticed trucks lined up at a loading station, with the first one marked with a yellow triangle signalling an unreachable destination. image

I looked at the destination, and everything was fine, except that the road in front of the unloading station continued a short distance past it, to a dead end where trucks were expected to do a U-turn. Strangely, this dead end where the trucks used to do their U-turn was now extended (without my intervention) right to the next perpendicular street, without connecting because of a ramp in that street. When a road ends without rounded corners, trucks can't turn around. (in image below, destination is marked with asterisk, dead end is circled. image

Then I erased the last little section of road before the dead end, and everything was back to normal as the dead end now had rounded corners allowing U-turns. image

Now the game keeps adding the little section of road that I removed. It's done it about 4 times. I only find out when I stumble upon a big traffic jam caused by this. I really don't know what causes the road to be extended without me ever doing anything near this area: building another road elsewhere, working on tracks or whatnot. It can take hours. Is this happening as the game is expanding the city? I tried fixing the road, saving and reloading the game, and the problem did not appear at that moment. The traffic jam illustrated above was present just after loading the game, so it was formed a while before my previous session ended.

Perhaps the game wouldn't do this if I removed a longer section of road. That's what I'll try next: I needed to see first if this problem was going to happen repeatedly when I remove a short section of road. Even if this workaround is successful, this should not happen in the first place IMO. If it is the game expanding the city that causes that, the logic might need some tweaking. (oh.. just thought of something: perhaps I should put a decoration just past the end of the road. I guess this should stop the game extending it. Still, I don't think I should have to do this. The game should not alter the road network in a way that invalidates established routes)

So here's what I just did. We'll see what happens. My hunch is that it will do the trick. image