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

[BUG] Incompatible Version when valheim_plus.cfg created before launching V+ server #767

Open
frantjc opened this issue Jan 19, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@frantjc
Copy link

frantjc commented Jan 19, 2023

  • OS: Windows Client and Linux Server
  • Valheim Game Version: 0.212.9
  • V+ Mod Version: 0.9.9.11

Describe the bug

If V+ server is started for the first time with valheim_plus.cfg already in place, it starts up thinking its a different version, causing an Incompatible Version error when connecting from the client.

Get Incompatible Version after connecting and entering password.

Relevant, cleansed server-side BepInEx/LogOutput.log:

[Info   : Unity Log] 01/19/2023 21:16:28: New connection
[Info   : Unity Log] 01/19/2023 21:16:28: Accepting connection k_EResultOK
[Info   : Unity Log] 01/19/2023 21:16:28: Connecting to Steamworks.SteamNetworkingIdentity
[Info   : Unity Log] 01/19/2023 21:16:28: Got status changed msg k_ESteamNetworkingConnectionState_Connected
[Info   : Unity Log] 01/19/2023 21:16:28: Connected
[Info   : Unity Log] 01/19/2023 21:16:28: Got connection SteamID 123
[Info   : Unity Log] 01/19/2023 21:16:28: Got handshake from client 123
[Info   : Unity Log] 01/19/2023 21:16:33: VERSION check their:0.212.9@0.9.9.11  mine:0.212.9
[Info   : Unity Log] 01/19/2023 21:16:33: Peer 76561198296433998 has incompatible version, mine:0.212.9 remote 0.212.9@0.9.9.11
[Info   : Unity Log] 01/19/2023 21:16:34: RPC_Disconnect 
[Info   : Unity Log] 01/19/2023 21:16:34: Disposing socket
[Info   : Unity Log] 01/19/2023 21:16:34: Closing socket 123
[Info   : Unity Log] 01/19/2023 21:16:34:   send queue size:0
[Info   : Unity Log] 01/19/2023 21:16:34: Disposing socket
[Info   : Unity Log] 01/19/2023 21:16:34: Got status changed msg k_ESteamNetworkingConnectionState_ClosedByPeer
[Info   : Unity Log] 01/19/2023 21:16:34: Socket closed by peer Steamworks.SteamNetConnectionStatusChangedCallback_t
[Info   : Unity Log] 01/19/2023 21:16:34: Got status changed msg k_ESteamNetworkingConnectionState_None

Note the versions are the same aside from the stuff after the @

Expected behavior

No version mismatch.

Troubleshooting

Removing valheim_plus.cfg before launching the V+ server initially resolves the error.

Additional context

No additional mods/plugins.

@frantjc frantjc added the bug Something isn't working label Jan 19, 2023
@frantjc
Copy link
Author

frantjc commented Jan 19, 2023

I discovered that it depends on if I place the valheim_plus.cfg before I start the server the first time rather than letting the server generate it first and then editing it.

Updating primary post to match

@frantjc frantjc changed the title [BUG] incompatible version between UnixServer and WindowsClient [BUG] Incompatible Version when valheim_plus.cfg created before launching V+ server Jan 23, 2023
@EnkiTWS
Copy link

EnkiTWS commented Feb 3, 2023

I discovered that it depends on if I place the valheim_plus.cfg before I start the server the first time rather than letting the server generate it first and then editing it.

Updating primary post to match

So it has to have been created BEFORE the update? or it doesn't work? It explains why when I rolled V+ back several version it did the same thing. Verified the manifests and everything

@frantjc
Copy link
Author

frantjc commented Feb 3, 2023

I discovered that it depends on if I place the valheim_plus.cfg before I start the server the first time rather than letting the server generate it first and then editing it.
Updating primary post to match

So it has to have been created BEFORE the update? or it doesn't work? It explains why when I rolled V+ back several version it did the same thing. Verified the manifests and everything

I can't speak for updating; I have only tested on the very first run as I tear everything down and bring it back up with each change.

what I do know is that you should not create valheim_plus.cfg; you should let V+ create it and then edit it to your liking.

@EnkiTWS
Copy link

EnkiTWS commented Feb 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants