Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Next thing is to put all this in a shell script so that someone can either run that, or, initiate a new VPS with this script setting up everything on launch.
Thanks for the info. Managed to peice together a Docker image which should let you run and install the dedicated server with a single command.
https://hub.docker.com/repository/docker/goldfish92/barotrauma-dedicated-server
Still some work to be done to make it easy to persist saved state between runs but will keep the README updated.
UPDATE:
Updated instructions to show how to add Submarines and persist Multiplayer saves between server restarts. Good to go!
Have fun running your servers :-)
Barotrauma Dedicated Server crash report (generated on 8/16/2020 4:33:15 PM)
Barotrauma seems to have crashed. Sorry for the inconvenience!
Game version 0.10.4.0 (ReleaseMac, branch release, revision 965c31410a)
Level seed: no level loaded
Loaded submarine: None
Selected screen: None
System info:
Operating system: Unix 19.6.0.0 64 bit
Exception: Could not find a part of the path '/Users/seannazari/Data/ContentPackages'. (System.IO.DirectoryNotFoundException)
Target site: IntPtr CreateDirectoryHandle(System.String, Boolean)
Stack trace:
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at Barotrauma.ContentPackage.LoadAll() in /Users/eetupitkanen/Documents/Repositories/Barotrauma-development/Barotrauma/BarotraumaShared/SharedSource/ContentPackage.cs:line 652
at Barotrauma.GameSettings..ctor() in /Users/eetupitkanen/Documents/Repositories/Barotrauma-development/Barotrauma/BarotraumaShared/SharedSource/GameSettings.cs:line 635
at Barotrauma.GameMain..ctor(String[] args) in /Users/eetupitkanen/Documents/Repositories/Barotrauma-development/Barotrauma/BarotraumaServer/ServerSource/GameMain.cs:line 85
at Barotrauma.Program.Main(String[] args) in /Users/eetupitkanen/Documents/Repositories/Barotrauma-development/Barotrauma/BarotraumaServer/ServerSource/Program.cs:line 46
Any explanation or fixes to this as of right now I'm very confused.
[9/23/2020 7:36:37 PM]
Starting the server...
[9/23/2020 7:36:37 PM]
Using Lidgren networking. Manual port forwarding may be required. If players cannot connect to the server, you may want to use the in-game hosting menu (which uses SteamP2P networking and does not require port forwarding).
Coroutine Barotrauma.Networking.GameServer+<StartServer>d__47 threw an exception: InitGameServer returned false (0,16704,27015,27016,Authentication,"1.0.0.0")
at Steamworks.SteamServer.Init(AppId appid, SteamServerInit init, Boolean asyncCallbacks) in /Users/eetupitkanen/Documents/Repositories/Barotrauma-development/Libraries/Facepunch.Steamworks/SteamServer.cs:line 93
at Barotrauma.Steam.SteamManager.CreateServer(GameServer server, Boolean isPublic) in /Users/eetupitkanen/Documents/Repositories/Barotrauma-development/Barotrauma/BarotraumaServer/ServerSource/Networking/SteamManager.cs:line 24
at Barotrauma.Networking.GameServer.StartServer(Boolean isPublic)+MoveNext() in /Users/eetupitkanen/Documents/Repositories/Barotrauma-development/Barotrauma/BarotraumaServer/ServerSource/Networking/GameServer.cs:line 195
at Barotrauma.CoroutineManager.IsDone(CoroutineHandle handle) in /Users/eetupitkanen/Documents/Repositories/Barotrauma-development/Barotrauma/BarotraumaShared/SharedSource/CoroutineManager.cs:line 212
CAppInfoCacheReadFromDiskThread took 302 milliseconds to initialize
The second part was all in red text and idk if this is because I'm doing something wrong, If so can you please enlighten me on what I have to do as it doesn't seem to start the server.
Anyways you guys stay safe and Good Luck.
The separate dedicated server application that's installed through SteamCMD is not available for Mac, so these instructions won't work as-is. Glad you got the server executable bundled with the game running though!
> I can't seem to find it in the "server browser"
Have you logged in to Steam and is Steam running on your computer?
> Also is there anyway to find the server IP in the server console?
I'm afraid there isn't, but you could use something like https://www.whatismyip.com/ to check your external IP address.
Warning: failed to init SDL thread priority manager: SDL not found
Warning: failed to set thread priority: set failed for priority 8
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
CHIDDeviceListSDL(): Couldn't load libSDL2-2.0.so.0, not enumerating devices
Barotrauma Dedicated Server 0.10.5.1 (ReleaseLinux, branch release, revision 9e259b2148)
Loading game settings
Loading MD5 hash cache
Initializing SteamManager
Initializing GameAnalytics
Initializing GameScreen
Loaded languages: English, German, French, Russian, Polish, Brazilian Portuguese, Castilian Spanish, Latinamerican Spanish, Simplified Chinese, Traditional Chinese, Japanese, Turkish, Korean
Loaded languages: English, German, French, Russian, Polish, Brazilian Portuguese, Castilian Spanish, Latinamerican Spanish, Simplified Chinese, Traditional Chinese, Japanese, Turkish, Korean
Selected sub: Typhon
Selected shuttle: Venture
[10/08/2020 01:21:34]
Starting the server...
[10/08/2020 01:21:34]
Using Lidgren networking. Manual port forwarding may be required. If players cannot connect to the server, you may want to use the in-game hosting menu (which uses SteamP2P networking and does not require port forwarding).
Coroutine Barotrauma.Networking.GameServer+<StartServer>d__47 threw an exception: InitGameServer returned false (0,57647,27015,0,NoAuthentication,"1.0.0.0")
at Steamworks.SteamServer.Init(AppId appid, SteamServerInit init, Boolean asyncCallbacks) in /home/joonas/Barotrauma/Libraries/Facepunch.Steamworks/SteamServer.cs:line 93
at Barotrauma.Steam.SteamManager.CreateServer(GameServer server, Boolean isPublic) in /home/joonas/Barotrauma/Barotrauma/BarotraumaServer/ServerSource/Networking/SteamManager.cs:line 24
at Barotrauma.Networking.GameServer.StartServer(Boolean isPublic)+MoveNext() in /home/joonas/Barotrauma/Barotrauma/BarotraumaServer/ServerSource/Networking/GameServer.cs:line 195
at Barotrauma.CoroutineManager.IsDone(CoroutineHandle handle) in /home/joonas/Barotrauma/Barotrauma/BarotraumaShared/SharedSource/CoroutineManager.cs:line 212
~/.steam/steamapps/common/Barotrauma\ Dedicated\ Server/DedicatedServer
If you do "steamcmd +login anonymous +app_run 1026340" then you get the error.
And from a fresh boot when you're not logged into steam, it'll stop at the languages line so the command that works for me is:
steamcmd +login anonymous +quit && screen ~/.steam/steamapps/common/Barotrauma\ Dedicated\ Server/DedicatedServer
I would definitely just make a shell script with the above command. Quick side note, I was able to launch this on my BuyVM VPS but it wouldn't display in server browser but works perfectly fine on my OVH VPS, so if you can't get it to work and you have BuyVM maybe contact support or switch to a new provider. Also, your save location is at "/home/USERNAME/.steam/steamapps/common/Barotrauma Dedicated Server/Daedalic Entertainment GmbH/Barotrauma/Multiplayer", didn't see this listed anywhere and you can just copy over SteamP2P multiplayer saves without any issues. Hope this helps someone else!
Also, you dont need to install the game with app code 602960 using your username. And you cannot start the server in steamcmd.
Use instead:
I can connect to the server using an IPv4 address, but connecting to my server using an IPv6 address failed
Do you have any plans for ipv6?