Skip to content
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

vehicle.max_train_length should be changeable #4471

Closed
DorpsGek opened this issue Feb 6, 2011 · 3 comments
Closed

vehicle.max_train_length should be changeable #4471

DorpsGek opened this issue Feb 6, 2011 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Feb 6, 2011

Razmir opened the ticket and wrote:

Hi, thanks for the new betaversion. I found one problem though.

New setting of maximum train length should be changeable from running game I think.
Also default value could measured from longest existing train maybe, when loading older savegame, instead of making it seven.

From my server:

setting vehicle.max_train_length
Current value for 'vehicle.max_train_length' is: '7' (min: 1, max: 64)
setting vehicle.max_train_length 32
ERROR: This command/variable is not available during network games.

now I cannot do anything with my TL10 trains...

Thanks

Reported version: 1.1.0-beta5
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4471
@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2011

Rubidium wrote:

The train length is (somewhat) exposed to NewGRFs, which in multiplayer means that you cannot change it as it might cause desyncs. Yes, your game might not use NewGRFs and then that doesn't apply, and yes your NewGRFs might not read the variable, but differentiating between the "good" and the "bad" case is far from trivial. If you want longer vehicles, just load it in single player, change the setting and resave it.

Though the idea to check the train length seems okay.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4471#comment9611

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2011

frosch wrote:

I guess we could just as well always report mammoth_trains as enabled towards NewGRFs.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4471#comment9612

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2011

Rubidium closed the ticket.

Reason for closing: Fixed

In r22004


This comment was imported from FlySpray: https://bugs.openttd.org/task/4471

@DorpsGek DorpsGek closed this as completed Feb 6, 2011
@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant