SRCDS Steam group


OMG OMFG HELP HELP HELP!!!
#1
Exclamation 
Need some advice on how to stop running some servers they just don’t stop! I used the screen command but it seems I have created too many servers and the lag is terrifying, I just want to stop all the servers I created from running I don’t need 20!!! I only need 2 port 27015 & 27016 for now please help me!
Reply
#2
rofl, why don't you just reboot your box?
Reply
#3
Mr.Andy Wrote:Need some advice on how to stop running some servers they just don’t stop! I used the screen command but it seems I have created too many servers and the lag is terrifying, I just want to stop all the servers I created from running I don’t need 20!!! I only need 2 port 27015 & 27016 for now please help me!

Go to PuTTy or whatever you use to handle your screens and press the following:

Code:
Ctrl-A \

This should kill all your screens hence closing all your servers. Best way to run 2 servers is to create 2 seperate srcds folders and renaming one folders srcds_run to something different (remember to change the -port in one of them in the startup commands).

You should also look into scripts to detect already running srcds processes so you never open 20 again, like the following:

Code:
#!/bin/sh

gamedir="/home/<username>/slot1/"
cd $gamedir
process=`ps auxxwww | grep ./srcds_run | grep -v grep | awk '{print $6}'`
if [ -z "$process" ]; then
  echo "Couldn't Find Game Running. Restarting"
  nohup ./start.sh
  echo "ok"
fi

Where ./start.sh contains:

Code:
#!/bin/sh
echo "Starting CS:Source Public Server"
sleep 1
screen -A -m -d -S slot1 ./srcds_run -game cstrike -ip <enter external IP> -port 27015 +map de_dust2 +maxplayers 16 -tickrate 100 +fps_max 600 -autoupdate
Reply
#4
muppet,

he won't understand, reference:

http://forums.srcds.com/viewtopic/4399
Reply
#5
fqdn Wrote:muppet,

he won't understand, reference:

http://forums.srcds.com/viewtopic/4399

Haha, point taken :p
Reply
#6
Hehe, those 2 threads actually helped me Toungue

I´ve been windows-only user untill I had to try my own Linux (CentOS) installation, and I still have only a very basic understanding of what I´m doing. But it helps to read about commands and stuff, so this post actually gave me a good idea of how to setup my servers Cool
Hope you guys don´t give up on us nOObs Big Grin
Reply
#7
i personally won't give up until you start saying "OMFG that's too much reading, just tell me what to do" if you look at that thread i basically told him exactly what to do except for typing the whole thing out. he just chose not to read so i quit trying. so keep posting your questions nethouse.
Reply
#8
thanks, and I actually had a good laugh reading the other thread :-)
Reply
#9
anyway to stop these stupid dump files upon system error, they make the server go nuts and gives me no info really.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)