SRCDS Steam group


New box, newbe needs tips on what i need and what i dont need
#1
System Specs
Quote:Intel Dual Xeon 2x3.06Ghz, 4096MB, 74GB SCSI 15k RPM, NVIDIA QUADRO FX 2000 128MB, 10/100/1000Mbit

Im planning to buy this box later this month, im planning to install ubuntu or debian om that box. What software does i need? Firewall, Scrds x 2, Ftp Server, Ssh.

Im planning to run two servers on this box, both 100Tic. One public 32slot and one pcw/war server.

My questions besides 1000fps mod of kernel what other does i need to do to get smooth gameplay?
Reply
#2
the right net settings...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#3
You need SSH running on the box. Use Putty to connect to it.

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

Then install plugins like:
- Mani admin plugin
- Steambans
- Metamod
- zBlock
- Eventscripts

Write start/ stop/ update scripts to start the server.

You can copy one instance to another. Don't forget to start each server using different ports (like 27015 other using 27025).

Use apt-get for other server-software (but I don't think you need any).

I use SSH for SFTP. SFTP is enabled by default; you can comment out the following line to disable it:
Subsystem sftp /usr/libexec/openssh/sftp-server.
Filezilla is a great (free) ftp-client for SFTP.

Maybe you should use one core for one instance of the game:
taskset -c 1 -p <process ID server>
use man taskset for further info

Good luck
Reply
#4
BehaartesEtwas Wrote:the right net settings...


You are talking about rates?
Reply
#5
Server netsettings:

sv_maxrate 25000 //Netspeed - Max
sv_minrate 15000 //Netspeed - Min
sv_mincmdrate 66
sv_maxcmdrate 101
sv_maxupdaterate 101 //Tickrate - Max
sv_minupdaterate 66 //Tickrate - Min
sv_unlag 1 // Enables player lag compensation
sv_maxunlag 0.750 // Maximum lag compensation in seconds

And the startup parameters:
-fpsmax and -tickrate

You might want to take a look at this:
http://forums.steampowered.com/forums/showthread.php?t=554497
Reply
#6
sv_unlag 1 // Enables player lag compensation
sv_maxunlag 0.750 // Maximum lag compensation in seconds

^ Is not nessesary those cvars does not exist


Here does you have a cvarlist:
http://www.fragdods.com/index.php?pageid=cvar
Reply
#7
Lol I was talking about a CS:S server....
Reply
#8
Almost ready to launch my server. a couple of questions.

1. How does i setup a cronjob that stops the server 06:00, runs a update and again starts the server. Perhaps not nessesary.

2. A script that lets me easily restart, stop and start the server.

"Perhaps through putty or rcon"

3. A script that checks every x minute if the server is on. And if it is offline brings it up again.

5. Setting your servers to run with realtime scheduling

http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization

Can any of you explain that noob friendly. Note i have two installations of srcds/hlds installed. And two cpu´s on my box.
Reply
#9
I duno about that realtime stuff. I've tried it on 3 different boxes, and my in-game performance always suffered compared to the default kernel, weird hiccups, sometimes map changes would take twice as long, and srcds lockups. This is on 3 servers. I swear some people are blinded to the issues a realtime kernel causes jut by the fps number.

*whisper: if your default kernel gets 300+fps, changing it to 1000 isn't going to do anything for the people in-game anyway, and if you have fps drops under load, this won't fix em either.

I think the only reason to make a 1000fps kernel for source servers is if you're going to be selling. You need it for hl1 servers, but not source. People who think that there's a difference in-game between a server getting 300fps, and one getting 1000 are loco en la cabeza. That's not to say all that stuff is useless though, like that cron job that runs every 5 minutes setting your servers to chrt -f
Reply
#10
1. Cronjob:

crontab -e

add

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
00 6 * * * /<path>/<script>


2. Start/ top/ restart/ update-script added. You can use it in Putty or add it to the crontab.
First time do:
chmod 777 css.txt to be able to execute the script.

Usage:

./css.txt start -> update and start server
./css.txt fast -> only serverstart


3. Add script to crontab. When the server is running, the script won't do anything. If not, the script brings the server up.
00 8 * * * /<path>/css.txt fast


Attached Files
.txt   css.txt (Size: 2.18 KB / Downloads: 25)
Reply
#11
lhffan Wrote:System Specs
Quote:Intel Dual Xeon 2x3.06Ghz, 4096MB, 74GB SCSI 15k RPM, NVIDIA QUADRO FX 2000 128MB, 10/100/1000Mbit

Im planning to buy this box later this month, im planning to install ubuntu or debian om that box. What software does i need? Firewall, Scrds x 2, Ftp Server, Ssh.

Im planning to run two servers on this box, both 100Tic. One public 32slot and one pcw/war server.

My questions besides 1000fps mod of kernel what other does i need to do to get smooth gameplay?
Just to add, Ubuntu (possible debian too) doesn't need a firewall (though you can add one if you makes you feel safe). It uses a set of IP tables and firewalls for ubuntu are just GUI ip tables modifiers.
Read here.
[Image: b_560x95.png]
My site - http://codyt07.com
Reply
#12
Arjen Wrote:1. Cronjob:

crontab -e

add

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
00 6 * * * /<path>/<script>


2. Start/ top/ restart/ update-script added. You can use it in Putty or add it to the crontab.
First time do:
chmod 777 css.txt to be able to execute the script.

Usage:

./css.txt start -> update and start server
./css.txt fast -> only serverstart


3. Add script to crontab. When the server is running, the script won't do anything. If not, the script brings the server up.
00 8 * * * /<path>/css.txt fast


Sorry but i have tried and realy i dont understand
I have my srcds instaled this way:

/home/srcds_public/ <--- to many plugins, 66tic, loose rate settings
/home/srcds_match/ <---- fewer plugins, 100tic, strict rate settings

So i need the possibillity to autorestart the server if it dies, and also the possibility to Start/ top/ restart/ update them one by one.
Reply
#13
Just paste the content in a file using the vi-iditor:
vi <whatever name you like>.scr

change the paths:
/home/sccds_public/<srcds_l?>/

Copy the file for other instances (other name) and change ports/ servername in the script. Don't forget to change the port-variable to shut it down.
Reply
#14
Hi!

Why don't you just run the servers through a program called screen. If u use the autoupdate command in the startup line and you are using screen, then the server will autorestart if it crashes
Reply
#15
Arjen Wrote:Just paste the content in a file using the vi-iditor:
vi <whatever name you like>.scr

change the paths:
/home/sccds_public/<srcds_l?>/

Copy the file for other instances (other name) and change ports/ servername in the script. Don't forget to change the port-variable to shut it down.

we can take the servers one by one.

my installation looks like this

/home/srcds_match/orangebox

Inside that one i can find srcds_run <--- that one i can use to start the server


As i have understood so far is that i should create a *.scr file with a name that suits me. In that should i put what. And the css.txt you atatched where should i put that.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)