SRCDS Steam group

making a server on linux debian
does it work with debian? i need hell much help!

Hello, my brother hosts a website on his server, and i was allowed to add a css server on it, is this possible? if. i got a putty user and im logged in, is it just to follow the guide? its no desktop only terminal and i dont understand it -.-
Follow this guide:

When you're done copy and paste the script I added somewere here or start the server using screen

The basic commandlist should be helpful:
i think i downloaded all and stuff, how can i make a server.cfg with terminal:S? how can i check if the server is started ?Plz ^^_
You can make a server.cfg using the vi editor:

Just add the vars in the cfg or copy and paste it.

To see if the server is started use:
ps -ef
You'll see a line with ./srcds_i686
To shut the server down do:
kill -9 <process ID>

Process ID is the number in the second column.

You can use the script I wrote to start/ stop/ restart/ update the server or check the status:
i started the server. but do i have to have putty on all day if i want it to run?
i logged in with putty, then cd srcds then i did this line... i found the server, but with a wried port... it was 276** but thats ok. its gonna be a war server.

./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate
Add -ip <external IP-adres> -port <serverport> to your startupline. So you can use a different port for your public server.

Because there's a "&" after my line in the script you can quit Putty after the serverstart. If you don't like this way take a look at screen.
Install: apt-get install screen
Usage: man screen
screen?:/ aka desktop? i dont want many updates ....
no screen the command-line-prog-you-don't-have-to-update-often.
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate dedicated server UDP port
Do you use any port or ip commands?

If so, post your startup script or command line Smile
nvm i used +ip and -port and i removed ip it worked Wink
./srcds_run -game cstrike -autoupdate -tickrate 100 +maxplayers 16 +map de_dust2 > /dev/null 2>&1 &
i used that, and i cannot find it on processes, i find this

terje 17733 1 0 Mar24 ? 00:00:00 SCREEN -A -m -d -S css-server ./
terje 17734 17733 0 Mar24 pts/1 00:00:00 /bin/sh ./srcds_run -console -ga
terje 17750 1 0 Mar24 ? 00:00:00 SCREEN -A -m -d -S css-server ./
terje 17751 17750 0 Mar24 pts/2 00:00:00 /bin/sh ./srcds_run -console -ga
terje 17765 17734 0 Mar24 pts/1 00:00:26 ./srcds_amd -console -game cstri
terje 17771 17751 0 Mar24 pts/2 00:00:04 ./srcds_amd -console -game cstri

that is stuff i have tryed, how do i stop it -.- the server..
Using the script I suggested:
./<script> stop

Not using the script:
kill -9 <Process ID's>
how can i see the process id?
nvm, i stopped it, it auto starts again, can i change the tickrate when the server is up?!?

Forum Jump:

Users browsing this thread: 1 Guest(s)