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

Loading savegame from a multiplayer game might assign you to the wrong company #7695

Closed
Wuzzy2 opened this issue Aug 14, 2019 · 2 comments

Comments

@Wuzzy2
Copy link

commented Aug 14, 2019

Version of OpenTTD

1.9.2

Summary

When you save a game in multiplayer, then load the savegame, you usually end up playing a different company.

Expected result

When you load the savegame, you play as the same company you controlled when you saved the game.

Actual result

When you load the savegame, you always play as company no. 1 which might or might be your company.
If you're unlucky, it was not your company and you have to resort to cheats to fix this.

Steps to reproduce

  1. Play online multiplayer, any vanilla server will do
  2. Play for a while
  3. Save the game
  4. Quit the game
  5. Load the savegame in singleplayer mode
  6. Check which company you control
@Eddi-z

This comment has been minimized.

Copy link
Contributor

commented Aug 14, 2019

I'd say this is intended behavior.

Single player will always be company 0, and the information which company you played is not saved. besides there will be confusion if you load a server autosave or someone else's save that they sent you.

Anyway, you can load the game as a multiplayer game (local server), if you don't want to use cheats.

@LordAro

This comment has been minimized.

Copy link
Member

commented Aug 14, 2019

The possible enhancement here is to know when the save was a multiplayer save (is there anything to indicate that currently?), and give a company selection window when loading (then drop the "is multiplayer" bit and assign the correct company)

But until then, yeah, this is intended behaviour. Feel free to implement the above though!

@LordAro LordAro closed this Aug 14, 2019

@andythenorth andythenorth changed the title Loading savegame from a mulitplayer game might assing you to the wrong company Loading savegame from a mulitplayer game might assign you to the wrong company Aug 15, 2019

@andythenorth andythenorth changed the title Loading savegame from a mulitplayer game might assign you to the wrong company Loading savegame from a multiplayer game might assign you to the wrong company Aug 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.