xpservers Posted April 23, 2008 Share Posted April 23, 2008 Hey guys, were having a weird issue with some of our COD4 servers. Some customers are complaining of glitchiness and player drops on map changes. For the life of me I cant figure it out, the server is running at 15% cpu at peak times. Its the only COD4 server on this machine. running 3 other cs1.6 and css without issues. I also run a 40 slot server on my other Toronto machine which is full all the time with no glitches and same server.cfg. Here is my server.cfg. Please let me know if there is some kind of anti lag or some setting I have incorrect. Much appriceiated. Do you think the allowdownload may be messing something up with disconnects ? They are not using it but its enabled. //************************************************** **************************** // Call of Duty 4 //************************************************** **************************** // author : Astoroth and the eXtreme+ Support Crew // email : astoroth@gom.me.uk // website : http://www.mycallofduty.com // // mod : eXtreme+ // version : 1.0 // update : October 2007 //************************************************** **************************** //************************************************** **************************** // Color Codes //************************************************** **************************** // Colors for text. Do not clear the comment in front of the color codes. // Useful for your server name, motd msg's - Information and ref use only // // ^1 = Red // ^2 = Green // ^3 = Yellow // ^4 = Blue // ^5 = Cyan // ^6 = pink/Magenta // ^7 = White // ^0 = Black //************************************************** **************************** // Public Information //************************************************** **************************** sets sv_hostname "EviL_ Clan Inc Toronto Server Recruiting" sets _Admin "admin" sets _Email "admin AT yoursite DOT com" sets _Website "" sets _Location "US" sets _Irc "" sets _Mod "" sets _ModVer "" sets _ModUpdate "" sets _Maps "" set scr_motd "http://www.xpservers.net" //************************************************** **************************** // Common Server Settings //************************************************** **************************** // Log Settings set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append set logfile "0" // 0 = NO log, 1 = log file enabled set g_log "games_mp.log" // Name of log file, default is games_mp.log set sv_log_damage "1" // Network options //set net_ip "1.2.3.4" // Set your servers IP address //set net_port "28960" // Set your port number set com_hunkMegs "512" set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications // Server Network Mode set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet // Master servers set sv_master1 "cod2master.activision.com" set sv_master2 "cod2authorize.activision.com" set sv_master3 "cod2master.infinityward.com" set sv_master3 "cod2update.activision.com" set sv_master4 "master.gamespy.com:28960" set sv_master5 "master0.gamespy.com" set sv_master6 "master1.gamespy.com" set sv_master7 "clanservers.net" set sv_gamespy "1" // Password Settings set rcon_password "****" // RCON must supply pw to use set sv_privatePassword "" // Private slots, non-public slots // The following can be used to lock out the server so that only those // players that have been provide the password can connect. Good for // matches, practices, etc. set g_password "" // Player slots setup set sv_maxclients "20" // MAX server player slots, this is TOTAL player slots set sv_privateclients "" // Number of private player slots, maxclients - privateclients = public slots // Ping set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect set sv_maxping "350" // MAX player ping on CONNECT, any higher and player isnt allowed to connect // Client Download Settings. (0=off/1=on) Used for MODs and custom maps // See included Quick Setup Guide for instructions. set sv_allowdownload "1" seta sv_wwwDownload "1" seta sv_wwwBaseURL "http://rcod4.xpservers.net" //seta sv_wwwBaseURL "ftp://client:client@ftpfiles.myftp.org" seta sv_wwwDlDisconnected "1" // Rate set sv_maxRate "15000" // FPS //set sv_fps "20" // Drop inactive players set sv_timeout "300" set sv_zombietime "1" set g_inactivity "0" set g_inactivityspectator "0" // AntiFlooding Settings set sv_floodProtect "1" set sv_reconnectlimit "3" // Anti Cheat Settings set sv_disableClientConsole "0" set cl_autocmd "0" set sv_cheats "0" set sv_pure "1" set g_banIPs "" set g_no_script_spam "1" set sv_punkbuster "1" // Temporary Ban duration, in seconds set sv_kickBanTime "3600" // In-game voice communication system set sv_voice "1" set sv_voiceQuality "1" set voice_deadChat "0" set voice_global "0" set voice_localEcho "0" set winvoice_mic_mute "1" //Auto Balance set scr_teambalance "1" set g_teamswitchdelay "25" //************************************************** **************************** // Misc //************************************************** **************************** set sv_allowAnonymous "0" set g_antilag "0" set g_compassShowEnemies "0" //ui_maxclients 32 //************************************************** **************************** // Init and Exec CFG Files //************************************************** **************************** wait exec playercontrol.cfg wait exec weaponcontrol.cfg wait exec gametypes.cfg wait exec maprotation.cfg wait 5 exec pbsv.cfg Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted April 23, 2008 Share Posted April 23, 2008 First off that is a modified config from a Extreme Mod server. Most of the player controls in the playercontrol.cfg will not work nor will the weapon controls in weaponcontrol.cfg since it is runnning ranked? Unless of course you have a MOD installed then of course my guess would be a mod issue and you might want to head over to Jokers site or the maker of the Mod. I also see it execing a pbsv.cfg which is not needed. If the pbsv.cfg is inside the pb folder it will call it. The other thing is PB will lag the hell out of the server if it is auto screenshotting people at very low intervals. First thing I would try is removing the pbsv.cfg completely from the server as it is not needed to run pb. If you want a clean untouched pbsv.cfg just delete the old one and type in console pb_sv_writecfg it willl create a new default file. Link to comment Share on other sites More sharing options...
xpservers Posted April 23, 2008 Author Share Posted April 23, 2008 HIS thank you very much. There are no mods running and it is a ranked server. pbsv.cfg is used only for displaying in game messages, i was unaware this would lag the server. I will delete the pbsv.cfg and see how it runs. I will also research for a new server.cfg. Link to comment Share on other sites More sharing options...
JasonF Posted April 23, 2008 Share Posted April 23, 2008 In my experience, messing with pbucons and the following 2 variables will cause a poor performing server sv_maxRate sv_fps I noticed you modified your maxrate from the stock 5000, not sure if this is your issue. Link to comment Share on other sites More sharing options...
xpservers Posted April 23, 2008 Author Share Posted April 23, 2008 what is the default maxrate ? fps_max is default 20. It is also commented out in my config Also im wondering how you have the pb setup. I included the following files in every setup. I then use tcadmin to update the pbsvnew.dll in case of updates. Are your file structure the same of do you only need the one file in the pb folder ? Link to comment Share on other sites More sharing options...
JasonF Posted April 23, 2008 Share Posted April 23, 2008 sv_maxrate default is "5000" Link to comment Share on other sites More sharing options...
xpservers Posted April 23, 2008 Author Share Posted April 23, 2008 do you use pbsv.cfg also ? I think its a good source for displaying in game advertisements and such. I adjusted max rate for now. Ill see if this is the source of the issue. Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted April 23, 2008 Share Posted April 23, 2008 //************************************************** **************************** // Call of Duty 4 //************************************************** // Color Codes //************************************************** **************************** // Colors for text. Do not clear the comment in front of the color codes. // Useful for your server name, motd msg's - Information and ref use only // // ^1 = Red // ^2 = Green // ^3 = Yellow // ^4 = Blue // ^5 = Cyan // ^6 = pink/Magenta // ^7 = White // ^0 = Black //************************************************** **************************** // Public Information //************************************************** **************************** sets sv_hostname "EviL_ Clan Inc Toronto Server Recruiting" sets _Admin "admin" sets _Email "admin AT yoursite DOT com" sets _Website "" sets _Location "US" sets _Irc "" sets _Mod "" sets _ModVer "" sets _ModUpdate "" sets _Maps "" set scr_motd "http://www.xpservers.net" //************************************************** **************************** // Common Server Settings //************************************************** **************************** // Log Settings set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append set logfile "0" // 0 = NO log, 1 = log file enabled set g_log "games_mp.log" // Name of log file, default is games_mp.log set sv_log_damage "0" //Only used for Stats // Network options //set net_ip "1.2.3.4" // Set your servers IP address //set net_port "28960" // Set your port number set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications // Server Network Mode set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet // Password Settings set rcon_password "****" // RCON must supply pw to use set sv_privatePassword "" // Private slots, non-public slots // The following can be used to lock out the server so that only those // players that have been provide the password can connect. Good for // matches, practices, etc. set g_password "" // Player slots setup set sv_maxclients "20" // MAX server player slots, this is TOTAL player slots set sv_privateclients "" // Number of private player slots, maxclients - privateclients = public slots // Ping set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect set sv_maxping "350" // MAX player ping on CONNECT, any higher and player isnt allowed to connect // Client Download Settings. (0=off/1=on) Used for MODs and custom maps // See included Quick Setup Guide for instructions. set sv_allowdownload "1" seta sv_wwwDownload "1" seta sv_wwwBaseURL "http://rcod4.xpservers.net" //seta sv_wwwBaseURL "ftp://client:client@ftpfiles.myftp.org" seta sv_wwwDlDisconnected "1" // Rate You'll have to play with hese to get it just right//www.fpsadmin.com has a good tutorial set sv_maxRate "15000"//Maxrate is valid 5000-15000 (10slots=5000 20 slots and up 15000) // FPS set sv_fps "20" //Do not uncomment this leave it default // Drop inactive players set sv_timeout "300" set sv_zombietime "1" set g_inactivity "0" set g_inactivityspectator "0" // AntiFlooding Settings set sv_floodProtect "1" set sv_reconnectlimit "3" // Anti Cheat Settings set sv_disableClientConsole "0" set cl_autocmd "0" set sv_cheats "0" set sv_pure "1" set g_banIPs "" set g_no_script_spam "1" set sv_punkbuster "1" // Temporary Ban duration, in seconds set sv_kickBanTime "3600" // In-game voice communication system set sv_voice "1" set sv_voiceQuality "1" set voice_deadChat "0" set voice_global "0" set voice_localEcho "0" set winvoice_mic_mute "1" //Auto Balance set scr_teambalance "1" set g_teamswitchdelay "25" //************************************************** **************************** // Misc //************************************************** **************************** set sv_allowAnonymous "0" set g_antilag "0" set g_compassShowEnemies "0" //ui_maxclients 32 I Stripped out alot of the useless stuff. and bold typed some of my edits. Also spamming the console with PB is ok but don't call the pbsv.cfg as I said just have cod4 create a default one and edit it. Leave it inside the pb folder and it will call it automatically. Try the one attached its more comprehensive. server.cfg Link to comment Share on other sites More sharing options...
JasonF Posted April 23, 2008 Share Posted April 23, 2008 do you use pbsv.cfg also ? I think its a good source for displaying in game advertisements and such. I adjusted max rate for now. Ill see if this is the source of the issue. I do you pbsv.cfg to configure the web admin tool and SS. I also do console messages and never had a problem. I did have a client started messing with his pbucon stuff and his server lagged like hell. After removing it his server ran fine. Link to comment Share on other sites More sharing options...
xpservers Posted April 23, 2008 Author Share Posted April 23, 2008 I just deleted the pbsv.cfg file and ran: pb_sv_writecfg I produced the following output. Currently the only thing I put in the pbsv.cfg file are commands for in game banners. is this what yours looks like or do you have only text for in game display in this file ? ;Auto Generated by PunkBuster Server ; Some of the following settings may not apply, ; consult manuals at evenbalance.com for full documentation pb_sv_MsgPrefix "^3PunkBuster Server" //[PB Message Prefix (default=^3PunkBuster Client)] pb_sv_MaxDlRate 4 //[KB/sec requested per file (default=4)] pb_sv_MaxConDls 1 //[Concurrent downloads (default=1)] pb_sv_KickLen 2 //[Minutes (default=2)] pb_sv_CvarFreq 6 //[# of range checks per minute] pb_sv_CvarLogging 1 //[1=Reg. Log, 2=Var Log, 3=Both, 0=Neither] pb_sv_CvarWalk 1 //[0=disabled, 1-4=Walk through obtained Cvar lists] pb_sv_CvarUserPulse 99 //[Frequency to auto-send CvarUser (minutes)] pb_sv_CvarChangedPulse 99 //[Frequency to auto-send CvarChanged (minutes)] pb_sv_CQC 1 //[0=No, 1=Yes (default=1)] pb_sv_LogSync 0 //[0=No, 1=Yes (default=0)] pb_sv_SsFloor 1 //[Low screenshot filename serial #] pb_sv_SsCeiling 100 //[High screenshot filename serial #] pb_sv_SsCmd "" //[Filename of system command to run after screenshots] pb_sv_SsWidth 320 //[Requested pixel width of remote screenshots] pb_sv_SsHeight 240 //[Requested pixel height of remote screenshots] pb_sv_SsXpct 50 //[Percentage across screen for remote screenshots] pb_sv_SsYpct 50 //[Percentage down screen for remote screenshots] pb_sv_SsSrate 1 //[sample Rate for remote screenshots] pb_sv_SsDelay 0 //[Maximum delay client waits before capturing screenshot] pb_sv_SsPath "" //[Path where remote screenshots are saved] pb_sv_AutoSsFrom 60 //[Min # of seconds to wait before requesting next ss] pb_sv_AutoSsTo 1200 //[Max # of seconds to wait before requesting next ss] pb_sv_AutoSs 0 //[0=No, 1=Yes (default=0)] pb_sv_ssLogging 0 //[1=Reg. Log, 2=SS Log, 3=Both, 0=Neither] pb_sv_ssTimeout 0 //[seconds] pb_sv_Sleep 60 //[# of Milliseconds (default=60)] pb_sv_PowerMin 10 //[Power Points] pb_sv_PowerDef 1 //[Power Points] pb_sv_PowerKickLen 5 //[Minutes (default=5)] pb_sv_HttpPort 0 //[Port #] pb_sv_HttpAddr "" //[External IP Address] pb_sv_HttpRefresh 30 //[seconds] pb_sv_HttpKey "" //[Key] pb_sv_HttpMaps "" //[Map list (separate by spaces)] pb_sv_ScoreKick 0 //[Min score (negative)] pb_sv_ChangePeriod 999 //[seconds] pb_sv_ChangeMax 1 //[Max name changes allowed] pb_sv_DupNameGrace 0 //[seconds] pb_sv_AutoUpdBan 0 //[0=No, 1=Yes (default=0)] pb_sv_ExtChar 0 //[0=No, 1=Yes (default=0)] pb_sv_GuidRelax 0 //[1=UNKN, 2=WRONGIP, 4=DUP (add desired values)] pb_sv_RconReload 0 //[0=No, 1=Yes (default=0)] pb_sv_HttpMapsPath "" //[Path where maps are loaded from in WebTool] pb_sv_HttpColText1 "FFFFFF" //[Text Color #1 in WebTool (default=FFFFFF)] pb_sv_HttpColText2 "0000FF" //[Text Color #2 in WebTool (default=0000FF)] pb_sv_HttpColBack1 "000000" // pb_sv_HttpColBack2 "808080" // pb_sv_HttpColLine1 "FF0000" //[Line Color #1 in WebTool (default=FF0000)] pb_sv_HttpColLine2 "0000FF" //[Line Color #2 in WebTool (default=0000FF)] pb_sv_HttpColMsg "FF0000" //[Message Color in WebTool (default=FF0000)] pb_sv_HttpShowGuid 0 //[0=No, 1=Yes (default=0)] pb_sv_Restrictions 1 //[0=No, 1=Yes (default=1)] pb_sv_FileWhitelist "" //[Folder Filename Filename ... Filename] pb_sv_EmptyName 0 //[0=No, 1=Yes (default=0)] pb_sv_LogFloor 1 //[Low log filename serial #] pb_sv_MinName 0 //[Min Characters in Player name (default=0)] pb_sv_MaxName 0 //[Max Characters in Player name (default=0)] pb_sv_LanMask "" //[iP Address Mask for LAN Players (default=)] pb_sv_Lan 0 //[0=No, 1=Yes (default=0)] pb_sv_UpdateGrace 600 //[seconds to wait before Update Failure kick] pb_sv_NoGuidGrace 1 //[seconds to wait before No GUID kick] pb_sv_AliasFn "" //[Filename (default="pbalias.dat")] pb_sv_AliasAutoLoad 0 //[0=No, 1=Yes (default=0)] pb_sv_AliasMax 0 //[Max # of Aliases to track for each PB GUID] pb_sv_AliasMaxEnforce 0 //[0=No, 1=Yes (default=0)] pb_sv_load pbsvlog.cfg //load remote logging settings (if pbsvlog.cfg exists) ;Badname List - pb_sv_badname [grace_period_secs] [disallowed text] ;Cvar Range List - pb_sv_cvar [cvar_name] [type] [value(s)] pb_sv_cvarempty ;PB UCON Settings / Lists pb_sv_usessionlimit 0 pb_sv_ucontimeout 300 pb_sv_uconempty pb_sv_uconignoreempty Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted April 23, 2008 Share Posted April 23, 2008 That looks fine just keep a Eye on these lines if the server starts having bouts of lag. pb_sv_AutoSsFrom 60 //[Min # of seconds to wait before requesting next ss] pb_sv_AutoSsTo 1200 //[Max # of seconds to wait before requesting next ss] pb_sv_AutoSs 0 //[0=No, 1=Yes (default=0)] My guess is the bouts will coincide with the SS intervals if they engage it. As you can see Default is Off. Also Cevo and TWL have a custom pbsv.cfg that is supposed to address some of the lag issues cause by PB but you'll have to remove there console spam messages from it. It is also a little stricter on Cl devars and might kick some people. Link to comment Share on other sites More sharing options...
xpservers Posted April 23, 2008 Author Share Posted April 23, 2008 kewl.. thx man ! Link to comment Share on other sites More sharing options...
Monk Posted April 24, 2008 Share Posted April 24, 2008 Adjust pb_sleep() to 500. It doesn't need to process stuff that often. Leave sv_fps at 20. Adjusting it will break physics and timers, since most of cod4 needs 50ms snapshot latency to do timing. Link to comment Share on other sites More sharing options...
xpservers Posted April 24, 2008 Author Share Posted April 24, 2008 Thanks Monk. Well looks like the spiking is fixed. But this was #1 or 2 issues. They are still complaining that they keep getting kicked from the server with no explanation randomly. I set ping max to 999 just to eliminate that. any thoughts or experiences similar ? Link to comment Share on other sites More sharing options...
JasonF Posted April 24, 2008 Share Posted April 24, 2008 Try and disable pb for a few rounds and see if the issue stops. Link to comment Share on other sites More sharing options...
xpservers Posted April 24, 2008 Author Share Posted April 24, 2008 yep trying that now, im pretty sure thats the issue. Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted April 24, 2008 Share Posted April 24, 2008 Check the PB logs. Link to comment Share on other sites More sharing options...
xpservers Posted April 24, 2008 Author Share Posted April 24, 2008 PB logs look normal. Comapred it to my main cod4 server and those drops i beleive are when players exit the game. Not really any error messages 04.23.2008 21:19:54] Lost Connection (slot #4) 99.242.145.126:60959 0db231591f37acb0478a52628dd47dd9(VALID) EviL_DR.SATAN [04.23.2008 21:20:20] Lost Connection (slot #2) 99.248.82.12:63122 b49ec8dc6b6d344be6c5758d911b29e1(VALID) EviL_Demo [04.23.2008 21:20:28] Running PB Scheduled Task (slot #4) say ^1We are now recruiting, visit ^5www.evilclangamers.com" [04.23.2008 21:21:18] Running PB Scheduled Task (slot #5) say^3Looking for some good players for scrims and matches" [04.23.2008 21:21:27] Lost Connection (slot #1) 99.253.19.222:28960 dc5ef70cab3cff37775cb8d22fdc0e6d(VALID) EviL_E [04.23.2008 21:22:18] Running PB Scheduled Task (slot #1) say ^1Welcome to the EviL^Clan server" [04.23.2008 21:23:48] Running PB Scheduled Task (slot #2) say ^1Visit www.evilclangamers.com" [04.23.2008 21:24:27] Lost Connection (slot #9) 99.235.255.125:60958 c7003fda7531fb1346f720fd54f13ccf(VALID) EviL_Henry. J Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted April 24, 2008 Share Posted April 24, 2008 Looks normal to me Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.