slashv Posted 2008年1月25日 11:01 分享 Posted 2008年1月25日 11:01 (edited) 我开的是32人的,但是我自己一个人在服务器里就觉得有点卡(我在别人的40人服里都不卡),是不是我什么地方配的不对? set sv_maxRate 25000 // 每客户端分配带宽(小于等于 25000,越大越消耗带宽) 这个参数怎么配?配多少才比较合适?25000是什么?字节?还是比特位? set sv_fps 20 // 主机帧率响应(越大越消耗处理器资源和带宽) 这个配多少才合适????? 客户端里/cg drawfps 1显示 (23-111,9) 40-90 FPS (14-46) 13-25 CG MS / FRAME 是不是哪里 配的有问题???? 另外PB还有点问题,我直接把PB都关了。 Edited 2008年1月26日 09:55 by slashv 引用 Link to comment Share on other sites More sharing options...
slashv Posted 2008年1月25日 11:05 Author 分享 Posted 2008年1月25日 11:05 欢迎大家到我F里来玩。 218.10.232.8:28960 哈尔滨网通 招OP一名。 引用 Link to comment Share on other sites More sharing options...
xreal Posted 2008年1月25日 11:09 分享 Posted 2008年1月25日 11:09 盗版服务器还是不开pb好些。 引用 Link to comment Share on other sites More sharing options...
HaiErbo Posted 2008年1月25日 11:37 分享 Posted 2008年1月25日 11:37 盗版服务器还是不开pb好些。 正版盗版和开PB有啥关系? 引用 Link to comment Share on other sites More sharing options...
Pro Posted 2008年1月25日 11:52 分享 Posted 2008年1月25日 11:52 服务器什么配置? 引用 Link to comment Share on other sites More sharing options...
slashv Posted 2008年1月25日 14:47 Author 分享 Posted 2008年1月25日 14:47 IBM ESERVER XSERIES 235:单核 至强 2.8G,512M内存,73G SCSI 320。 引用 Link to comment Share on other sites More sharing options...
S-22 Posted 2008年1月26日 00:24 分享 Posted 2008年1月26日 00:24 内存少了些。可以在任务管理器里面查看 CPU 和内存资源占用。 sv_maxrate 的计算公式是 sv_maxrate = 服务器可用上传带宽 /(玩家总人数 * 8),服务器可用上传带宽是分配给 COD4 主机的带宽,单位是字节。1 MB 带宽就是 1024KB = 1024 x 1024 字节 。 引用 Link to comment Share on other sites More sharing options...
slashv Posted 2008年1月26日 05:54 Author 分享 Posted 2008年1月26日 05:54 S-22 大哥,还是没算出来,我服务器最快HTTP下载速度可以达到3MB/S 我把 set sv_maxRate 100000 应该没问题了吧? 另外这个 set sv_fps 99 我再试试. 引用 Link to comment Share on other sites More sharing options...
slashv Posted 2008年1月26日 05:56 Author 分享 Posted 2008年1月26日 05:56 还有,我的游戏模式设置成了搜索与摧毁,但是不知道为什么,居然不能埋包???? 配置文件哪里有问题么???? // Edited by S-22 // http://www.fpschina.com // 主机情况备注 sets _Admin "slashv" // 管理员名称 sets _Email "slash_win@163.com" // 联系信箱 sets _Website "http://www.changjiangdod.cn" // 网站地址 sets _Location "China" // 主机位置 // 主机名称设置 set sv_hostname "HarbinCjDOD.cn COD4 #1" // 主机常规设置 set sv_maxclients 32 // 最大玩家数量 set sv_privateclients 1 // 预留席位数量 set scr_teambalance 1 // 是否人数平衡 set scr_game_graceperiod 25 // 地图切换时可供玩家更改武器类别的时间 // 主机性能设置 set sv_maxRate 100000 // 每客户端分配带宽(小于等于 25000,越大越消耗带宽) set sv_minPing 0 // 最低 Ping 值限制 set sv_maxping 150 // 最高 Ping 值限制 set sv_fps 99 // 主机帧率响应(越大越消耗处理器资源和带宽) // 主机密码设置 set g_password "" // 玩家联机密码 set sv_privatePassword "*" // 预留席位密码 set rcon_password "*" // 主机管理密码 // 主机运行日志 set logfile 0 // 是否生成主机日志 set g_logsync 0 // 主机日志同步方式 0-禁用 1-缓存 2-持续 3-增补 set g_log "" // 游戏日志名称 set sv_log_damage 0 // 游戏日志是否记录伤害数据 // 查询主机地址 // set sv_master1 "cod4master.activision.com" // set sv_master2 "master.gamespy.com:28960" // set sv_master3 "master0.gamespy.com" // set sv_master4 "master1.gamespy.com" // set sv_master5 "clanservers.net" // set sv_gamespy "1" // 其他设置 set scr_game_allowkillcam 1 // 死后回放 set scr_game_onlyheadshots 0 // 只能爆头 set scr_game_deathpointloss 0 // 阵亡减分 set scr_game_suicidepointloss 10 // 自杀减分 set scr_team_teamkillpointloss 100 // 误伤减分 set scr_game_spectatetype 2 // 观察者视角 1-固定视角 2-队内视角 3-自由视角 set scr_game_forceuav 0 // 强制地图侦查 set scr_game_hardpoints 1 // 启用战斗支援 set sv_allowAnonymous "0" // 允许匿名玩家接入 set g_antilag "0" // 中和延迟 // 玩家投票设置 set g_allowvote 1 // 允许投票 // 战斗支援 set scr_hardpoint_allowartillery 1 // 喷气战斗机支援 set scr_hardpoint_allowuav 1 // 无人侦查机支援 set scr_hardpoint_allowhelicopter 1 // 武装直升机支援 // 误伤设置 set scr_team_fftype 1 // 误伤判定类型 set scr_team_teamkillspawndelay 0 // 误伤复生延迟 set scr_team_kickteamkillers 15 // 被踢前允许的误伤次数 // 玩家设置 set scr_player_maxhealth 100 // 玩家生命值 set scr_player_suicidespawndelay 0 // 玩家自杀复生时间 set scr_player_healthregentime 5 // 玩家生命值恢复时间 set scr_player_forcerespawn 1 // 强制复生 set scr_player_sprinttime 5 // 玩家奔跑耐力时间 // 显示设置 set ui_hud_obituaries 0 // 显示死亡图标 set ui_hud_showobjicons 1 // 显示任务图标 set g_compassShowEnemies 0 // 指北针显示敌人 // 特殊设置 set scr_hardcore 1 // 虐待模式(无雷达/无虚拟准星/无弹药显示/武器威力加大/十秒重生) set scr_oldschool_mw 0 // 老派模式(可捡武器/生命值更多/跳得更高) // 客户端下载设置 set sv_allowdownload "1" // 允许客户端下载模组 seta sv_wwwDownload "0" // 支持 HTTP 下载 seta sv_wwwBaseURL "" // HTTP 模组下载地址 seta sv_wwwDlDisconnected "1" // 下载后关闭 HTTP 链接 // 非活动玩家踢出设置 set sv_timeout 300 // 玩家接入超时设置 set sv_zombietime 1 // 玩家被踢出后模型保留时间 set g_inactivity 300 // 无反应玩家踢出时间 set g_inactivityspectator 500 // 无反应观察者踢出时间 // 流量保护设置 set sv_floodProtect "1" set sv_reconnectlimit "3" // 防作弊设置 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 "0" // 反作弊插件开关 // 惩罚屏蔽时间 set sv_kickBanTime "3600" // 游戏内置语音通讯 set sv_voice "0" set sv_voiceQuality "0" set voice_deadChat "0" set voice_global "0" set voice_localEcho "0" set winvoice_mic_mute "0" // 各类武器组可选数量 set class_assault_limit 32 set class_specops_limit 32 set class_heavygunner_limit 32 set class_demolitions_limit 32 set class_sniper_limit 32 // 战斗技能 set perk_allow_specialty_parabolic 1 set perk_allow_specialty_gpsjammer 1 set perk_allow_specialty_holdbreath 1 set perk_allow_specialty_quieter 1 set perk_allow_specialty_longersprint 1 set perk_allow_specialty_detectexplosive 1 set perk_allow_specialty_explosivedamage 1 set perk_allow_specialty_pistoldeath 1 set perk_allow_specialty_grenadepulldeath 1 set perk_allow_specialty_bulletdamage 1 set perk_allow_specialty_bulletpenetration 1 set perk_allow_specialty_bulletaccuracy 1 set perk_allow_specialty_rof 1 set perk_allow_specialty_fastreload 1 set perk_allow_specialty_extraammo 1 set perk_allow_specialty_armorvest 1 set perk_allow_specialty_fraggrenade 1 set perk_allow_specialty_specialgrenade 1 set perk_allow_c4_mp 1 set perk_allow_claymore_mp 1 set perk_allow_rpg_mp 1 // 步枪组装备 set class_assault_primary m16 set class_assault_primary_attachment gl set class_assault_secondary beretta set class_assault_secondary_attachment none set class_assault_perk1 specialty_null set class_assault_perk2 specialty_bulletdamage set class_assault_perk3 specialty_longersprint set class_assault_grenade concussion_grenade set class_assault_camo camo_none set class_assault_frags 1 set class_assault_special 1 // 冲锋组装备 set class_specops_primary mp5 set class_specops_primary_attachment none set class_specops_secondary usp set class_specops_secondary_attachment silencer set class_specops_perk1 c4_mp set class_specops_perk2 specialty_explosivedamage set class_specops_perk3 specialty_bulletaccuracy set class_specops_grenade flash_grenade set class_specops_camo camo_none set class_specops_frags 1 set class_specops_special 1 // 机枪组装备 set class_heavygunner_primary saw set class_heavygunner_primary_attachment none set class_heavygunner_secondary usp set class_heavygunner_secondary_attachment none set class_heavygunner_perk1 specialty_specialgrenade set class_heavygunner_perk2 specialty_armorvest set class_heavygunner_perk3 specialty_bulletpenetration set class_heavygunner_grenade concussion_grenade set class_heavygunner_camo camo_none set class_heavygunner_frags 1 set class_heavygunner_special 1 // 霰弹组装备 set class_demolitions_primary winchester1200 set class_demolitions_primary_attachment none set class_demolitions_secondary beretta set class_demolitions_secondary_attachment none set class_demolitions_perk1 rpg_mp set class_demolitions_perk2 specialty_explosivedamage set class_demolitions_perk3 specialty_longersprint set class_demolitions_grenade smoke_grenade set class_demolitions_camo camo_none set class_demolitions_frags 1 set class_demolitions_special 1 // 狙击组装备 set class_sniper_primary m40a3 set class_sniper_primary_attachment none set class_sniper_secondary beretta set class_sniper_secondary_attachment silencer set class_sniper_perk1 specialty_specialgrenade set class_sniper_perk2 specialty_bulletdamage set class_sniper_perk3 specialty_bulletpenetration set class_sniper_grenade flash_grenade set class_sniper_camo camo_none set class_sniper_frags 1 set class_sniper_special 1 set class_assault_movespeed 0.95 // 步枪组移动速度 set class_specops_movespeed 1.00 // 冲锋组移动速度 set class_heavygunner_movespeed 0.875 // 机枪组移动速度 set class_demolitions_movespeed 1.00 // 霰弹组移动速度 set class_sniper_movespeed 1.00 // 狙击组移动速度 set scr_enable_nightvision 1 // 夜视镜 set scr_enable_music 1 // 背景音乐 set scr_enable_hiticon 1 // 击中提示 // 各类武器组武器掉落设置 set class_assault_allowdrop 1 // 步枪组 set class_specops_allowdrop 1 // 冲锋组 set class_heavygunner_allowdrop 1 // 机枪组 set class_demolitions_allowdrop 1 // 霰弹组 set class_sniper_allowdrop 1 // 狙击组 // 步枪 set weap_allow_m16 1 set weap_allow_ak47 1 set weap_allow_m4 1 set weap_allow_g3 1 set weap_allow_g36c 1 set weap_allow_m14 1 set weap_allow_mp44 1 // 步枪附件 set attach_allow_assault_none 1 set attach_allow_assault_gl 1 set attach_allow_assault_reflex 1 set attach_allow_assault_silencer 1 set attach_allow_assault_acog 1 // 冲锋枪 set weap_allow_mp5 1 set weap_allow_skorpion 1 set weap_allow_uzi 1 set weap_allow_ak74u 1 set weap_allow_p90 1 // 冲锋枪附件 set attach_allow_smg_none 1 set attach_allow_smg_reflex 1 set attach_allow_smg_silencer 1 set attach_allow_smg_acog 1 // 霰弹枪 set weap_allow_m1014 1 set weap_allow_winchester1200 1 // 霰弹枪附件 set attach_allow_shotgun_none 1 set attach_allow_shotgun_reflex 1 set attach_allow_shotgun_grip 1 // 轻机枪 set weap_allow_saw 1 set weap_allow_rpd 1 set weap_allow_m60e4 1 // 轻机枪附件 set attach_allow_lmg_none 1 set attach_allow_lmg_reflex 1 set attach_allow_lmg_grip 1 set attach_allow_lmg_acog 1 // 狙击步枪 set weap_allow_dragunov 1 set weap_allow_m40a3 1 set weap_allow_barrett 1 set weap_allow_remington700 1 set weap_allow_m21 1 // 狙击步枪附件 set attach_allow_sniper_none 1 set attach_allow_sniper_acog 1 // 手枪 set weap_allow_beretta 1 set weap_allow_colt45 1 set weap_allow_usp 1 set weap_allow_deserteagle 1 set weap_allow_deserteaglegold 1 // 手枪附件 set attach_allow_pistol_none 1 set attach_allow_pistol_silencer 1 // 手榴弹 set weap_allow_frag_grenade 1 // 破片手榴弹 set weap_allow_concussion_grenade 1 // 击波手榴弹 set weap_allow_flash_grenade 1 // 闪光手榴弹 set weap_allow_smoke_grenade 1 // 烟雾手榴弹 // 首张地图载入模式 // 死亡模式 "dm" // 争夺旗帜 "dom" // 争夺据点 "koth" // 拆装炸弹 "sab" // 搜寻破坏 "sd" // 团队对抗 "war" // 游戏模式设置 set g_gametype "sd" // 死亡模式设置 set scr_dm_scorelimit 2500 set scr_dm_timelimit 20 set scr_dm_roundlimit 1 set scr_dm_numlives 0 set scr_dm_playerrespawndelay 0 set scr_dm_waverespawndelay 0 // 争夺旗帜设置 set scr_dom_scorelimit 250 set scr_dom_timelimit 20 set scr_dom_roundlimit 1 set scr_dom_numlives 0 set scr_dom_playerrespawndelay 0 set scr_dom_waverespawndelay 0 // 争夺据点设置 set scr_koth_scorelimit 5000 set scr_koth_timelimit 20 set scr_koth_roundlimit 10 set scr_koth_roundswitch 1 set scr_koth_numlives 0 set scr_koth_playerrespawndelay 0 set scr_koth_waverespawndelay 0 set koth_autodestroytime 60 set koth_spawntime 0 set koth_kothmode 0 set koth_capturetime 20 set koth_destroytime 10 set koth_delayPlayer 0 set koth_spawnDelay 60 // 拆装炸弹设置 set scr_sab_scorelimit 5 set scr_sab_timelimit 20 set scr_sab_roundlimit 1 set scr_sab_roundswitch 1 set scr_sab_numlives 0 set scr_sab_bombtimer 30 set scr_sab_planttime 2.5 set scr_sab_defusetime 5 set scr_sab_hotpotato 0 set scr_sab_playerrespawndelay 0 set scr_sab_waverespawndelay 0 // 搜寻破坏设置 set scr_sd_scorelimit 50 set scr_sd_timelimit 2.5 set scr_sd_roundlimit 12 set scr_sd_roundswitch 3 set scr_sd_numlives 1 set scr_sd_bombtimer 35 set scr_sd_planttime 5 set scr_sd_defusetime 5 set scr_sd_multibomb 0 set scr_sd_playerrespawndelay 0 set scr_sd_waverespawndelay 0 // 团队对抗设置 set scr_war_scorelimit 2000 set scr_war_timelimit 20 set scr_war_roundlimit 1 set scr_war_numlives 0 set scr_war_playerrespawndelay 0 set scr_war_waverespawndelay 0 // 地图循环列表(gametype 后面跟游戏模式, map 后面跟地图名称) set sv_mapRotation "gametype sd map mp_backlot gametype sd map mp_bloc gametype sd map mp_bog gametype sd map mp_cargoship gametype sd map mp_citystreets gametype sd map mp_convoy gametype sd map mp_countdown gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_farm gametype sd map mp_overgrown gametype sd map mp_pipeline gametype sd map mp_shipment gametype sd map mp_showdown gametype sd map mp_strike gametype sd map mp_vacant" 引用 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.