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 401 forks source link

Respawning a shuttle which has other shuttles on causes it to respawn out of the map #4673

Open fire-bot opened 3 years ago

fire-bot commented 3 years ago

Sent by WordPress (issue@barotraumagame.com). Created by fire.


From: Tea and Crumpets

Description Respawning a shuttle which has other shuttles on causes it to respawn out of the map (3.5k below).

Steps To Reproduce As above

Version Public release.

Operating System Windows

--

This issue was sent from a contact form on https://barotraumagame.com/bug

NilanthAnimosus commented 1 year ago

Tested against Release/1.1 commit https://github.com/Regalis11/Barotrauma-development/commit/22b6e37f6b9fb419483cac723cb13b9abe25db71

Although a shuttle with other shuttles did not respawn out of the map in my tests, some strange things did occur when doing this (In my case, I simply saved a copy of the remora as a shuttle and ran mission mode).

Firstly on respawning, the shuttle does not enter from the above and go down, it instead ends up somewhere in the level, 300 meters in one case from the outpost straight down, another case it was over 900 meters from the starter outpost somewhere in the middle of the level.

console contains this line: image

and the hull at the docking port fills with water then immediately removes the water (suggesting a desync between client and server): image

swimming through the open door closes it clientside, undocks the shuttle and then the main shuttle leaves (Leaving the shuttle originally docked to it behind).