SRCDS Steam group


help using screen with linux
#1
Hello

I seem to have a lil bit of a problem. Let me try to explain first.

I made a file named: l4dserver3.sh
Inside that file is:

#!/bin/sh
echo "Starting Left 4 Dead Server #3"
sleep 1
screen -A -m -d -S l4dserver3 ./srcds_run l4d +ip 74.208.155.190 +hostport 27300 +exec server.cfg +map l4d_airport01_greenhouse

I press ctl+a+d to close and when I reopen I type:
screen -x l4dserver3

Now the problem I'm haveing is then when I try to restart the server in console by typing quit and quits the whole server and shuts it now and i have to redo my steps all over and it gets annoying.

Sometimes I type quit and it restarts but I have know idea what I have done to keep it working. I'm sure this is a small mistake i'm making somewere could someone please help.
Reply
#2
Maybe the behavior for L4D differs from the CS:S server?
Try "_restart" in exchange for "quit" ...
Reply
#3
No that dont work either. It does same thing with CSS. I have no clue, I have tried under root and also made other account names to run through ssh and all the same.

The one thing I noticed is when I added _restart through manni to restart the server I tried quit also and it shut down the whole server. But once in a while when I manage server it don't do that everything works perfect.
Reply
#4
xgreedyx Wrote:No that dont work either. It does same thing with CSS. I have no clue, I have tried under root and also made other account names to run through ssh and all the same.

The one thing I noticed is when I added _restart through manni to restart the server I tried quit also and it shut down the whole server. But once in a while when I manage server it don't do that everything works perfect.

when you run the server without running it a screen what happens when you type quit? i've noticed that you will drop out of the screen if the server crashes when trying to restart, so maybe typing quit with srcds not running in a screen will give you some info on whats happening.
Reply
#5
Umm im using putty but if I dont use screen then it will exit putty and close server if i type quit unless I add &
Reply
#6
without -autoupdate the server will just die, but autoupdate is slow. heres an alternative: http://forums.srcds.com/viewtopic/7123
Reply
#7
lol wow I just came back to post I know why this is doing this I just added the autoupdate command and it worked haha

Thanks Ryan I'll look over this when I'm not so tired. I didn't want the update on my l4d server because I took out the campain maps so it would stay on VS only.

Thanks again Smile`
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)