Stationeers

Stationeers

View Stats:
more or less "new" instruction for dedicated server?
Hi,
is there a updated version of the instructions for dedicated servers available?

I tried to set up a server in linux, but seems like I failed.

I installed the dedicated server software with:
steamcmd +login anonymous +force_install_dir "./stationeers" +app_update 600760 validate +quit

This worked, the files appeared and seem to be valid.

Then I created a new file named "startserver.sh"
Content:

exec /home/steam/stationeers/rocketstation_DedicatedServer.x86_64 -batchmode -nographics -settings ServerName "whatever" ServerVisible true GamePort 27016 AutoSave true SaveInterval 300 ServerPassword yes ServerMaxPlayers 5 UPNPEnabled true

But whenever I start the file, it seems like the servers tries to start but then my putty-window is no longer reacting and remains titled: STATIONEERS - Loading...

and thats it.

This is the output of the server:
https://pastebin.com/HspEZb7p

Any suggestions or hints or something like that?
< >
Showing 1-9 of 9 comments
Rocket  [developer] Apr 7 @ 4:34pm 
Have you tried this guide?

https://github.com/rocket2guns/StationeersDedicatedServerGuide

Many of the guides out there are for the old dedicated servers. We did a major refactor, the new dedicated servers (and multiplayer in general) is much better than before. Sadly configuration is completely different now though

Let us know if you have any problems
Originally posted by Rocket:
Have you tried this guide?

https://github.com/rocket2guns/StationeersDedicatedServerGuide

Many of the guides out there are for the old dedicated servers. We did a major refactor, the new dedicated servers (and multiplayer in general) is much better than before. Sadly configuration is completely different now though

Let us know if you have any problems
Yeah, let alone that you can not have more than bare 4 players on your dedicated server, no matter what amount of players you have adjusted in your settings...
Have the devs at least RECOGNIZED that this issue is a problem, after it has been called out to them, at least since JANUARY 2023 on THEIR OWN WEBSITE?

Sorry for my rude tone, but I have tried hard to recruit some of my friends for weeks, only to find out that I did that in vain, because we can not play on the same server on the same time, because we are 5 players and not only 4...
And it's the same problem, that the research system does work on local hosts, but not on dedicated ones. Please, get your ♥♥♥♥ together and care for dedicated servers as well.
JeanDeaux Apr 7 @ 6:16pm 
Boggles the mind how someone who wants to play the game soooo badly will just yell and mistreat the very people they need to fix it. Seems to me that violates some rule I read somewhere that could get a person banned.
moony Apr 7 @ 9:29pm 
Originally posted by Rocket:
Have you tried this guide?

https://github.com/rocket2guns/StationeersDedicatedServerGuide

Many of the guides out there are for the old dedicated servers. We did a major refactor, the new dedicated servers (and multiplayer in general) is much better than before. Sadly configuration is completely different now though

Let us know if you have any problems
Yes, beside others, I used your instructions.
First information missing in your instruction is how to install the dedicated server.
What's the number for steamcmd?
You wrote about a new software for dedicated servers, did the number change as well?
You don't appear to actually be looking at those new instructions, or so your posts lead me to believe. From your earlier post, you show that you're using this to launch your host... Steamcmd number has not changed.

Originally posted by moony:
exec /home/steam/stationeers/rocketstation_DedicatedServer.x86_64 -batchmode -nographics -settings ServerName "whatever" ServerVisible true GamePort 27016 AutoSave true SaveInterval 300 ServerPassword yes ServerMaxPlayers 5 UPNPEnabled true

I recognize that as the old/retired call script. In the link Rocket provided, it includes a Linux and Windows script example to replace that old one, same one I use and works well and looks more like this...

@REM set exe
set EXECUTABLE="C:\Program Files (x86)\Steam\steamapps\common\Stationeers Dedicated Server\rocketstation_DedicatedServer.exe"

@REM # Define settings
set SERVER_NAME="Test Dedi Server"
set SAVE_NAME="Dedi Test"
set WORLD_TYPE="mars"
set SERVER_PASSWORD="123"
set SERVER_AUTH_SECRET="stationeers"
set GAME_PORT=27016
set START_LOCAL_HOST=true
set SERVER_VISIBLE=true
set UPNP_ENABLED=false
set SERVER_MAX_PLAYERS=13
set AUTO_SAVE=true
set SAVE_INTERVAL=300
set SAVE_PATH="%DATA_DIR%"
set LOG_FILE="%DATA_DIR%/log.txt"
set SETTINGS_PATH="%DATA_DIR%/settings.xml"
set DIFFICULTY="easy"
set LOCAL_IP_ADDRESS="0.0.0.0"

@REM Run the server
%EXECUTABLE% ^
-loadlatest %SAVE_NAME% %WORLD_TYPE% ^
-settingspath %SETTINGS_PATH% ^
-difficulty %DIFFICULTY% ^
-settings StartLocalHost %START_LOCAL_HOST% ServerVisible %SERVER_VISIBLE% ^
GamePort %GAME_PORT% UPNPEnabled %UPNP_ENABLED% ServerName %SERVER_NAME% ^
ServerPassword %SERVER_PASSWORD% ServerMaxPlayers %SERVER_MAX_PLAYERS% ^
AutoSave %AUTO_SAVE% SaveInterval %SAVE_INTERVAL% ^
SavePath %SAVE_PATH% ^
ServerAuthSecret %SERVER_AUTH_SECRET% ^
LocalIpAddress %LOCAL_IP_ADDRESS%

Might want to spend a little time reading to get your issue resolved.
Last edited by JeanDeaux; Apr 8 @ 4:30am
moony Apr 9 @ 1:01am 
Hi,
thank you for your support.
I will read the info Rocket prrovided again.

So far, I just tried the start script you provided and thats the output:

./Startserver.sh ./Startserver.sh: line 21: fg: no job control ./Startserver.sh: line 22: -loadlatest: command not found ./Startserver.sh: line 23: -settingspath: command not found ./Startserver.sh: line 24: -difficulty: command not found ./Startserver.sh: line 25: -settings: command not found ./Startserver.sh: line 26: GamePort: command not found ./Startserver.sh: line 27: ServerPassword: command not found ./Startserver.sh: line 28: AutoSave: command not found ./Startserver.sh: line 29: SavePath: command not found ./Startserver.sh: line 30: ServerAuthSecret: command not found ./Startserver.sh: line 31: LocalIpAddress: command not found



After reading the provided info again, i tried to start the server with the start script prvided in the tutorial with slightly adaptions to the pasword and server nameusing the following line:
./rocketstation_DedicatedServer.x86_64 -settings ServerName "Rentnertreff" StartLocalHost true ServerVisible true GamePort 27016 AutoSave true SaveInterval 300 ServerPassword hallo123 ServerMaxPlayers 6 UPNPEnabled true

with the following result:
./rocketstation_DedicatedServer.x86_64: 1:ELF: not found ./rocketstation_DedicatedServer.x86_64: 2: Syntax error: "(" unexpected


As this did not work as well, I tried to go the way of minimum input:
./rocketstation_DedicatedServer.x86_64 -new moon

With the following result:
https://pastebin.com/DUgxiQ0G

and a putty-window sayint " Stationeers - LOADING..." and nothing happening anymore for maybe 15 minutes.
When I try to connect to the server IP, I can not connect to the server.

Am I to dumb to start the new version of the server? :(
Last edited by moony; Apr 9 @ 1:23am
Re-reading your original post, I see you're a Linux user; the script I copied and posted was for Windows so if you're using what I had posted vs the Linux script shows in the "Examples" portion of their website for Linux, then that's probably why you're having problems.

If you're having trouble navigating that page, here's a link from that page that'll take you directly to the Linux script example.
https://github.com/rocket2guns/StationeersDedicatedServerGuide/blob/main/examples/runstationeers-linux.sh

All I can do is tell you the example for Windows works, I would think the Linux version works as well but I can't confirm that as I don't use Linux. There's still getting your firewall handled properly, so it's getting all the settings just right. If you really want to host then just keep at it, you'll get it figured out as long as you keep investigating and learning.

Originally posted by moony:
When I try to connect to the server IP, I can not connect to the server.
If you're trying to join your server using the Join Game option within Stationeers, you won't be able to select your host from the drop down list and click to join it since you are the host. If you're hosting, you have to join using the IP connection option, type in your "LOCAL" ip address along with the Port # you've assigned...

Example: 192.168.xx.xx:[port#] 192.168.1.25:27500
Last edited by JeanDeaux; Apr 9 @ 6:41am
moony Apr 9 @ 11:03am 
Hi,

thank you for your support.
I will try this tomorrow.

I will not be able to use my local adress as i leased a dedicated server by a provider and use this server for all my game servers.
I have servers running for teamspeak, ARK, Space Engineers, 7Days2die, Valheim, satisfactory and many other games and all server are running well.
It´s just stationeer, that I can´t get to work...
I tried disabling all other servers so the port requests do not colide.
But this did not work as well :(
I've never rented a server, so I've no experience to share here with you. If you figure it out, I hope you share for the benefit of others.
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Apr 7 @ 1:42pm
Posts: 9