-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1862] Auto-routing fails when running freight trains #9627
Comments
Duplicate of #5925 |
Duplicate of #5925 |
@philcampeau Sorry if I misunderstood something, but it seems that #5925 is about revenue calculating on permanent trains. Is that problem also related to auto routing (with error output in console)? |
This is what I get for looking at GitHub at 3am. Sorry about that, you're right. This is a different issue. |
Well I find out that sometimes auto routing can finish even if the corporation has freight trains, with wrong result like this: (https://gist.github.com/Yuki-yao/af2390f7190a9c5a6ceac7011dbf339b) Just a guess: considering that the correct route is linking the port, maybe there is something wrong with the auto-routing calculation involving ports? |
I'm not sure auto-routing has ever worked for 1862 due to the unusual rules for freight trains. |
If the corporation has any freight train, uncaught error occurs in javascript when I click the auto routing button.
I checked the console and got message like this:
Hotseat game json link: https://gist.github.com/Yuki-yao/42b9614470fe5cd1bc791b23db30b0ed
To reproduce the bug, just buy L&H (with freight permission) and lay a track towards the C2 port, then try to run a 1F train.
Updated: I'm not sure if this would help, but there is another example in which auto-routing generated bad result, when clicking auto button after resetting to last route: https://gist.github.com/Yuki-yao/35d9e35560ad25b6bdb96c2517f8bffb. No error reported in console.
Browser version: Chrome 116.0.5845.187, on desktop
The text was updated successfully, but these errors were encountered: