SRCDS Steam group


making a server on linux debian
#1
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 -.-
Reply
#2
Follow this guide:

http://forums.steampowered.com/forums/showthread.php?s=e2bc53cb757e8198485410753f7904f5&threadid=292495

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:

http://doors.stanford.edu/~sr/computing/basic-unix.html
Reply
#3
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 ^^_
Reply
#4
You can make a server.cfg using the vi editor:
http://www.cs.colostate.edu/helpdocs/vi.html

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:
http://forums.srcds.com/attachment.php?aid=640
Reply
#5
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
Reply
#6
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
Reply
#7
screen?:/ aka desktop? i dont want many updates ....
Reply
#8
no screen the command-line-prog-you-don't-have-to-update-often.
Reply
#9
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate dedicated server UDP port
Reply
#10
Do you use any port or ip commands?

If so, post your startup script or command line Smile
Reply
#11
nvm i used +ip and -port and i removed ip it worked Wink
Reply
#12
./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..
Reply
#13
Using the script I suggested:
./<script> stop

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


Forum Jump:


Users browsing this thread: 1 Guest(s)