FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.72k stars 400 forks source link

Submarine equality check failed when host transitions too fast after loading in #12699

Open Rokvach opened 11 months ago

Rokvach commented 11 months ago

Disclaimers

What happened?

Clients can disconnect from a server if the host starts a new round before any of the other clients have loaded in yet.

image

Reproduction steps

  1. Play with multiple non-local clients
  2. Leave outpost
  3. Dock back into outpost
  4. As soon as outpost loads in load a new round
  5. Clients who were still loading into the outpost should disconnect once the next level is loaded.

Bug prevalence

Happens regularly

Single player or multiplayer?

Multiplayer hosted from the in-game menu (= using a listen server)

-

No response

Version

Unstable (v1.1.10.0)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

Rokvach commented 10 months ago

Can be reproduced quite easily nowadays by running two clients with the "multiclienttestmode" command enabled and then using "teleportsub endoutpost" command as soon as you get access to the conole on a level which has a outpost at the end so the round ends immediately after using the command.