Private Server saving issue
Private Server saving issue
i created my own server via Exi 's guide there. and its good i got my friends joining via my ip but one thing is when we play and we log out and when we log in again we are made to create new characters every single time i have no idea is there anyone that can help me with that? because i really wan my friends to play together with character saved and stuffs .
Re: Private Server saving issue
Was just about to post the exact same problem.
I'm running the server on ubuntu 14.04 with some xeon core and 32gb ram.
Starting the server with these options:
-Edit-
My server kept turning off when I closed putty so I ran the server_start.sh in screen. Not only did this stop the server from shutting down, I think it might have fixed the saving problem too. Awaiting verification.
-Edit2-
Pretty much 100% verified.
I'm running the server on ubuntu 14.04 with some xeon core and 32gb ram.
Starting the server with these options:
Code: Select all
#!/bin/bash
./ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?QueryPort=27015?listen?SessionName=xxxx?MaxPlayers=50?
ServerAdminPassword=xxxx?ServerPVE=true?ServerCrosshair=true?AllowThirdPersonPlayer=true?MapPlayerLocation=true?
ServerHardcore=false -server -log
My server kept turning off when I closed putty so I ran the server_start.sh in screen. Not only did this stop the server from shutting down, I think it might have fixed the saving problem too. Awaiting verification.
-Edit2-
Pretty much 100% verified.
Re: Private Server saving issue
Hi bro. What do you mean by you ran it in the screen?
Re: Private Server saving issue
Hey, sorry for the slow reply. I've been testing to see how this works with the update.
I'm a bit of a noob on linux so it might be better to wait to see if someone more experienced thinks what I'm doing isn't stupid.
First of all, I've read that you should never run your server as root, so log into an ssh account that isn't root.
then fill in your password. This should open a screen session.
this way runs the task as the user on my machine so I guess I'd recommend this.
There's another way of doing it, I got this method from the tf2 wiki. However, it runs the process as root so I'm not sure if it's the best to be using.
it then prompts you for a password, fill that in and wait a couple of minutes and your server should be running nicely.
If you want to check that your server is running and under what user, use this
or
Then, of course, if you want to kill your server, make sure to save it via the in game console, then use the PID of ShooterGameServ...like this:
I hope this helps. Btw, if anyone has any better way of shutting down a server that auto saves it, I'd like to know about it.
I'm a bit of a noob on linux so it might be better to wait to see if someone more experienced thinks what I'm doing isn't stupid.
First of all, I've read that you should never run your server as root, so log into an ssh account that isn't root.
Code: Select all
sudo screen
Code: Select all
./server_start.sh
There's another way of doing it, I got this method from the tf2 wiki. However, it runs the process as root so I'm not sure if it's the best to be using.
Code: Select all
sudo screen -m -S ark ./server_start.sh
If you want to check that your server is running and under what user, use this
Code: Select all
top
Code: Select all
htop
Code: Select all
kill -KILL <PID>
e.g. kill -KILL 12345