Commander_Wars icon indicating copy to clipboard operation
Commander_Wars copied to clipboard

Reconnecting to a multiplayer match doesn't work properly

Open lonewolf19991 opened this issue 2 years ago • 8 comments

Describe the bug While using this version of the game https://github.com/Robosturm/Commander_Wars/commit/33d042ac339509b97b818ff3e9ab41e3159db914, the re-connection to a previously created match, leads to a screen reading 'connecting'.

This leads to being unable to rejoin a match.

To Reproduce Steps to reproduce the behavior:

  1. Go to Multiplayer and create a match
  2. Play a few turns and then leave
  3. Try rejoining
  4. The connection screen shows up but the match doesn't load

Expected behavior Both players being able to load the match again after reconnecting to the game.

Desktop (please complete the following information):

  • OS: Windows, Linux
  • Version 25.1-main

lonewolf19991 avatar Oct 07 '22 00:10 lonewolf19991

Whenever I try to re-launch the game from the shared save file this screen pops up. image

TheMasterCreed avatar Oct 07 '22 01:10 TheMasterCreed

Are we talking about savegames, loaded onto the server or a private session or something else? I need a bit more details of the steps cause @TheMasterCreed and @lonewolf19991 your describitions don't match on what you did.

Robosturm avatar Oct 07 '22 05:10 Robosturm

Saved games loaded onto the server. Lonewolf has a debug log that he should be providing soon.

Essentially exiting a game on the server and trying to rejoin isn't always successful, and you'll get stuck on the connecting screen.

TheMasterCreed avatar Oct 07 '22 05:10 TheMasterCreed

Are we talking about savegames, loaded onto the server or a private session or something else? I need a bit more details of the steps cause @TheMasterCreed and @lonewolf19991 your describitions don't match on what you did.

The original error came through the server connection. I have the local client logs if you want to look at them privately. I believe it might have to do with the functions that handle the sockets of the connection.

lonewolf19991 avatar Oct 07 '22 05:10 lonewolf19991

Yes that would help as well

Robosturm avatar Oct 07 '22 05:10 Robosturm

@TheMasterCreed can you also attach the savegame thx.

Robosturm avatar Oct 07 '22 08:10 Robosturm

@TheMasterCreed can you also attach the savegame thx.

Alrighty, I'll get the save file when I get home from work. Do you want me to DM you the file?

TheMasterCreed avatar Oct 07 '22 14:10 TheMasterCreed

You can dm it or attach it i don't care

Robosturm avatar Oct 07 '22 15:10 Robosturm