SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
server.cfg resource thread
#46
@cole
Ok lemme rephrase this then. Most people cant see their own server, but a select few can. More often then not you will not be able to. I also never said you couldnt see it in the LAN tab. So yeah. Do some research before you go calling me wrong. I wasn't 100 percent accurate on what I said. But i did rephrase it for you to where it is accurate.

@element
What ip are you giving your friends?
#47
192.168.1.100:27015

but why cant my friends see it even though other people have joined it. also, why cant they see it in the "friends" server list when im in it?
#48
Thats your problem. Go to whatsmyip.org or portforward.com. The ip address they give you is your external ip. Thats what you give your friends to connect because the connect externally to your network. IE outside your LAN. Anyone who is on your lan you would give them your internal ip address. IE 192.168.1.100. Hope that clears it up for you. Oh yea if people are connecting that u didnt give the ip too, then your server is posted and your friends just are havin troubles findin it. But ya just give em the external ip and that should clear alot of the confusion up. Any more questions PM me or just ask on the forums. Were all here to help Smile. Delete your double post too. Mods dont appreciate stuff like that.
#49
lol sorry the first time it said refused to add post so i did it again and there was two. haha kk thanks i'll try it out
#50
my friend still couldnt find it even with the ip 218.212.107.28

i'll restart the server and get back to you on any problems
#51
did you add the :27015 on the end. Also look under the lan tab to double check its running on port 27015. If its not then substitute 27015 with whatever it says. I am quite tired right now but will be on tomorrow and will help you get this squared away.
#52
hey thanks a lot you've been really cool i think ive got this. i even played with someone who came in while i was screwing around and suiciding. haha anyways thanks a lot.
#53
We are renting a gameserver from a company that uses Dual Xeon 3.2 1GB ram running Windows Server2003. This server is running a 32-man CS:S at 66tick and 510+ fps. We also are renting a dedicated box with the same specifications (but running CentOS 4.3) using the exact same server.cfg file but the most fps we have been able to get with only one game running is 334fps. Anyone have an idea what the single game server operator might be doing to boost the fps?

Here is the server.cfg for all our cs:s games:
[code]// server name
hostname "xxxx"

// rcon passsword
rcon_password "xxxx"

// Server password
sv_password ""

// server cvars
mp_friendlyfire 0
mp_footsteps 1
mp_autoteambalance 1
mp_autokick 0
mp_flashlight 0
mp_tkpunish 1
mp_forcecamera 0
sv_alltalk 0
sv_pausable 0
sv_cheats 0
sv_consistency 1
sv_allowupload 1
sv_allowdownload 1
sv_maxspeed 320
mp_limitteams 2
mp_hostagepenalty 5
sv_voiceenable 1
mp_allowspectators 1
mp_chattime 10
sv_timeout 65
mp_buytime 3

// round specific cvars
mp_freezetime 3
mp_roundtime 3
mp_startmoney 1000
mp_c4timer 35
mp_fraglimit 0
mp_timelimet 60
mp_maxrounds 0
mp_winlimit 10
mp_playerid 0
mp_spawnprotectiontime 3

// 66Tick settings do NOT TOUCH
sv_maxrate 20000
sv_maxupdaterate 66
fps_max 600


// operation
sv_lan 0
sv_region 255

// execute ban files
exec banned_user.cfg
exec banned_ip.cfg

// execute mani_admin
exec mani_server.cfg

// test for add bots at start of map script
exec botscript.cfg
#54
yes, you need to recompile the kernel and choose the 1000hz timer instead of the stock 250hz.

i am also running centos 4.3 and followed the instructions here:
http://www.webhostingtalk.com/showthread.php?t=489019 (it is about the 6th post down) the process takes maybe 30min or so, most of the time waiting in the 3 make commands following the options.

Code:
cd /usr/src/
http://www.kernel.org/pub/linux/kern....6.16.1.tar.gz
tar -zxf linux-2.6.16.1.tar.gz
cd linux-2.6.16.1

cp /boot/config-2.6.9-22.0.2.EL .config
make clean (only necessary if you compile more than once)
make oldconfig

****somewhere in the following section is the kernel timer selection, make sure you choose the 1000hz option instead of the default 250hz****
keep hitting enter and take the defaults until you get to the CPU type. Select your CPU. Also in the SMP section select SMP if you have multiple CPUs. Oh, and select "(No Forced Preemption (server))" under that section. Everything else, just hit enter to take the defaults.

(this is the "quick and dirty" method. You can also run "make menuconfig" instead, go to the bottom of the menu, load your old config file, and then select everything in a menu individually if you wish. For most systems, the "make oldconfig" method works fine.)


Then to compile and install:

make bzImage
make modules
make modules_install
make install


Then to configure your boot loader in case of disaster:

nano /boot/grub/grub.conf

Code:

default=1 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.16.1) root (hd0,0) kernel /vmlinuz-2.6.16.1 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.16.1.img title CentOS (2.6.9-22.0.2.EL) root (hd0,0) kernel /vmlinuz-2.6.9-22.0.2.EL ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.9-22.0.2.EL.img title CentOS_ServerCD (2.6.9-22.EL) root (hd0,0) kernel /vmlinuz-2.6.9-22.EL ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.9-22.EL.img


..make sure it looks something like this with default=1 and the new kernel (2.6.16.1) on top. (Grub starts at 0, so "default=1" is still your old kernel. You change this later if it works out ok)




..then configure grub to boot to the new kernel one time. This way if it panicks or you can't get to the machine because the network service blows up, you can have the data center do a reboot and it will default back to the last kernel. If it does boot ok and everything looks good, edit grub.conf again and change it to "default=0" and it will boot the new kernel by default after that.

grub
savedefault --default=0 --once
quit

Reboot and see what happens. If it hangs, reboot again and you'll be back to your previous kernel.
Good luck.

it's not as hard as it sounds, of course this guide is a bit older now so when you go to http://www.kernel.org there will be newer ones, i believe 2.6.17.8 is the newest stable one.

naturally, if you jack up your server don't blame me but i've done quite a few using the above instructions without any issues.
#55
BigTex Wrote:I just got my first Day of Defense Source server up and running today and I was wondering if anyone out there might be so kind as to share a basic, but solid, server.cfg file for DoD:S please.

Thanks,
Billy Kendall
Heres a Tutorial i made for DOD:S. It includes a basic CFG file
http://forums.srcds.com/showthread.php?tid=1799
#56
Here's mine:

Code:
// Set the Host Name
hostname "@ Black Flame's CS:S Server!"

// Set the rcon password
rcon_password "rconpassword"

// Activate Mani Admin Plugin
exec mani_server.cfg

// Activate Gore Mod
// exec goremod/goremod.cfg

// Activate CSS:RPG
exec cssrpg103.cfg

// Exec files on startup
// exec banned.cfg
// exec listip.cfg

//Downloadurl CVARS
sv_downloadurl "http://urlsite/cstrike/"
sv_allowupload 1
sv_allowdownload 1

// FUN
// phys_timescale 0.1  //Slows objects down
// phys_pushscale 1000  //Blowback pretty hard away from you

//MATRIX MODE
alias matrixmode_on "phys_pushscale 1000; phys_timescale .4; say Matrix Mode Enabled; alias mms matrixmode_off"
alias matrixmode_off "phys_pushscale 1; phys_timescale 1; say Matrix Mode Disabled; alias mms matrixmode_on"
alias matrixmoderev_on "phys_pushscale -200; phys_timescale .4; say Afterdeath Mode Enabled; alias mmsad matrixmoderev_off"
alias matrixmoderev_off "phys_pushscale 1; phys_timescale 1; say Reverse Matrix Disabled; alias mmsad matrixmoderev_on"
matrixmode_off // initializes Matrix Mode switch
matrixmoderev_off // initializes Matrix AfterDeath mode switch

// No changing of grav
// alias "sv_gravity" "say Gravity change disabled."

// Server Variables
mp_timelimit 15
mp_limitteams 0
mp_autokick 0
mp_autoteambalance 0
mp_c4timer 45
mp_flashlight 1
mp_footsteps 1
// mp_forcechasecam 1
mp_freezetime 5
mp_friendlyfire 0
mp_hostagepenalty 0
mp_limitteams 2
mp_roundtime 5
mp_tkpunish 1
// sv_restartround 0
sv_maxspeed 320
// sv_proxies 0
// allow_spectators 1
mp_startmoney 16000
mp_chattime 15
sv_allowupload 1
sv_voiceenable 0
sv_alltalk 1
// pausable 0
decalfrequency 60
mp_falldamage 1
sv_gravity 650
net_maxfilesize 28
sv_noclipaccelerate 5
sv_noclipspeed 5
sv_specaccelerate 3
sv_specnoclip 1
ip 203.122.235.23:27015

// Heaps of Ammo
ammo_buckshot_max 750
ammo_762mm_max 750
ammo_556mm_max 750
ammo_556mm_box_max 750
ammo_9mm_max 750
ammo_338mag_max 750
ammo_45acp_max 750
ammo_357sig_max 750
ammo_50AE_max 750
ammo_57mm_max 750

// Raise this for surf
sv_airaccelerate 400

// cheat and fun modes
// sv_aim 0
sv_cheats 0

// Set Rates
sv_maxrate 8000
sv_minrate 4000

// Enable/Disable LAN mode
sv_lan 0

// Contact & Geo
sv_contact email
sv_region 5

// Enable player lag compensation (Enable= 1     Disable= 0)
sv_unlag 1

// Number of minutes to ban users who fail Rcon authentication
sv_rcon_banpenalty 0

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 20

// Number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures 20

// Number of seconds to track failed rcon authentications.
sv_rcon_minfailuretime 20
#57
please don't double post! it's useless and messy, you're not getting more help when you do it.. I replied to your other thread....
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
#58
right, it's just I noticed here is where server.cfg stuff should be posted. Thanks again for your time and help.
#59
http://support.steampowered.com/downloads/faq/108/cs_server_cfg_file.cfg

Thats should be of use, remember to change to it server.cfg
#60
some1 plz help how can i fix laggy on my created server i dont now how when poeple come to play on my created server they laagy me 2


Forum Jump:


Users browsing this thread: 2 Guest(s)