Erabior / RouteManager

Mod for Railroader the game that adds basic automation for passenger routes
12 stars 5 forks source link

V1 - Almond causes direction checks to reverse - Likely current dist < prev dist on check. #69

Open Kaceyproductions opened 7 months ago

Kaceyproductions commented 7 months ago

Latest Stable 1.0.2.1

Basically as title suggests. Train can go all the way from Sylva to Nantahala, but won't return. For some reason, when departing Almond for Alarka Jct, the train chooses to travel west. This only happens while trying to go east.

Would say that it's because of the angle of Almond, but it doesn't appear to be that way, or else Whittier would show the same behavior

TnNytehawk commented 7 months ago

+1 here, same version, same result. I can run between Whittier and Alarka Jct no issue, but toss in Almond and it gets stuck on the eastward run from Almond to Alarka Jct and winds up pushing west again. It definitely looks like the way Almond heads northwest before cutting northeast, so the route manager thinks it's going to wrong way and pushes southeast instead, which then cuts southwest to Wesser.

image

AdamC1228 commented 7 months ago

This is due to how the next closest station is calculated in the mod in V1 which has an impact on automatic direction selection. We are changing our approach and are working on getting V2 stable where we expect that this situation will not occur. As my focus is on V2 I will defer to @Erabior on alterations to V1.x

AdamC1228 commented 7 months ago

Armyf35 has done some testing and worked on improving this situation further in V2. I have merged the pull request and when Alpha 3 is released, I think this will no longer be an issue.

AdamC1228 commented 7 months ago

Please confirm if the latest v2 Release shows improvement.

TnNytehawk commented 7 months ago

Please confirm if the latest v2 Release shows improvement.

Definitely seeing improvement at Almond on the v2 version, currently running 2.0.0.8.