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

Ditching the Main Submarine and using Shuttles Boogaloo #4610

Open Kaillera opened 3 years ago

Kaillera commented 3 years ago

Description So I was playing around with the idea that you may have to ditch the main submarine for some reasons. Several issues came up interestingly.

  1. Leaving the submarine behind about 200m away and then docking to previous outpost via shuttle. The shuttle is now considered the main submarine (as expected).

  2. You can purchase to recover "shuttle" to attempt to recover the main submarine, but it won't. I don't think there's any logic in place anyways, and ontop of that I don't think it would know where to dock the main submarine to the shuttle. You can get back the main submarine by using the outpost's switch submarine terminal.

  3. Re-entering the level in order to salvage the old main submarine, it spawns over half way through the level instead of where it originally was in the level last time.

  4. If there were any shuttles docked onto the old previous submarine, all of them will start undocked instead of docked to the old main submarine. Capture

  5. The level is regenerated to the shuttle size, so if you try to recover a very big sub in comparison to the shuttle, it may not fit to dock to the outpost. At least we can still swim into the outpost to enter it. Capture

  6. Upon entering the outpost via swimming while having a sub with multiple shuttles, it seems like the game randomly selected any vessel that was docked to enter the outpost with. You also lose the rest of the vessels. Capture

  7. If you leave the outpost at this point, the rest of the vessel will not exist in the level. Apparently you can use the outpost's switch submarine terminal to get it back, with all shuttles recovered apparently.

  8. If you ditch a main submarine and use a shuttle with no top hatch docking port (Like Remora Drone or My Custom Sub for instance), entering the outpost with it, returning into the level with the shuttle, redocking the shuttle to the main sub. If you dock to any outposts, you will not be returned to the outpost level automatically or prompted. You have to climb into the outpost to end the level.

  9. By doing #8, the game will start the submarine undocked in the outpost level because the main submarine is now the Drone (Remora Drone for instance) because of lack of top docking port, even though we were docked via the old Main Sub.

  10. I went and upgraded the submarine at the outpost after I have switched back to my old submarine. Upgraded it, started the level, ditch the main submarine again, and then returned to the outpost with my drone. The server ended up crashing: 111.txt Multiplayer.zip Rebooting the server and reloading the save went just fine. Not sure if you'll find anything in the save file about it.

  11. Switching submarine to recover submarine leads to money lost by #4611

Version ~0.1200.0.1

DaviesDesmond commented 1 year ago

I had a very similar issue. I can spawn into separate report if appropriate. I was using a mod sub that has a shuttle that could attach to an outpost.

At the start of the level I jumped in the shuttle and went to the outpost (I was curious what would happen if I docked with just a tiny shuttle). Once the outpost loaded, I ONLY had the little shuttle. I went selected level to go back to the outpost I had just come from, and the old shuttle was marked on the map several hundred meters off the left side, so was impossible to get back to in the shuttle (or I couldn't find a way to get back to it). I piloted the shuttle back to the first outpost, and loaded around to return to outpost #2, and the sub spawned in even farther off the map to the left.

I was using the Hammerhead submarine (https://steamcommunity.com/sharedfiles/filedetails/?id=2309484889) when the bug occurred. I tired to recreate the issue in vanilla, but the two subs that have comparable shuttles I could not get to connect with the outpost.

Regalis11 commented 8 months ago

Compiling this into a checklist to make it easier to see the status: