搜索
查看: 7365|回复: 5

BF2服务端架设方法及相关说明

[复制链接]
发表于 2007-7-12 17:42:25 | 显示全部楼层 |阅读模式 来自 广东佛山










<IMG onclick=&quot;if(this.width>=700) window.open('http://www.pcfance.net/1184216540/23_5_25af9c359ebfb5b.jpg');&quot; src=&quot;http://www.pcfance.net/1184216540/23_5_25af9c359ebfb5b.jpg&quot; onload=&quot;if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';&quot; border=0> [删除] 图片:
<IMG onclick=&quot;if(this.width>=700) window.open('http://www.pcfance.net/1184216540/23_5_fadf7a44efab51d.jpg');&quot; src=&quot;http://www.pcfance.net/1184216540/23_5_fadf7a44efab51d.jpg&quot; onload=&quot;if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';&quot; border=0> [删除] 图片:
<IMG onclick=&quot;if(this.width>=700) window.open('http://www.pcfance.net/1184216540/23_5_2eb8ed41b3ae32e.jpg');&quot; src=&quot;http://www.pcfance.net/1184216540/23_5_2eb8ed41b3ae32e.jpg&quot; onload=&quot;if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';&quot; border=0> [删除] 图片:
<IMG onclick=&quot;if(this.width>=700) window.open('http://www.pcfance.net/1184216540/23_5_2a78842230e1fcb.jpg');&quot; src=&quot;http://www.pcfance.net/1184216540/23_5_2a78842230e1fcb.jpg&quot; onload=&quot;if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';&quot; border=0> [删除] 图片:
<IMG onclick=&quot;if(this.width>=700) window.open('http://www.pcfance.net/1184216540/23_5_3e1205d02b10168.jpg');&quot; src=&quot;http://www.pcfance.net/1184216540/23_5_3e1205d02b10168.jpg&quot; onload=&quot;if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';&quot; border=0> [删除] 图片:
<IMG onclick=&quot;if(this.width>=700) window.open('http://www.pcfance.net/1184216540/23_5_5db6bf5f6171fac.jpg');&quot; src=&quot;http://www.pcfance.net/1184216540/23_5_5db6bf5f6171fac.jpg&quot; onload=&quot;if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';&quot; border=0> [删除] 图片:
<IMG onclick=&quot;if(this.width>=700) window.open('http://www.pcfance.net/1184216540/23_5_f25278390e2b66e.jpg');&quot; src=&quot;http://www.pcfance.net/1184216540/23_5_f25278390e2b66e.jpg&quot; onload=&quot;if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';&quot; border=0> [删除] 图片:
<IMG onclick=&quot;if(this.width>=700) window.open('http://www.pcfance.net/1184216540/23_5_68d6f51737b19a6.jpg');&quot; src=&quot;http://www.pcfance.net/1184216540/23_5_68d6f51737b19a6.jpg&quot; onload=&quot;if(this.width>'700')this.width='700';if(this.height>'700')this.height='700';&quot; border=0> [删除] 手动编辑服务器设定档
(用TTC的服务器做说明)
--------------------------------------
ServerSettings.con 服务器设定档

sv.serverName &quot;TokyoTerrorism.com Mod NWfunny 004&quot;
服务器名称

sv.password &quot;&quot;
上锁时的密码
没密码等于不上锁

sv.internet 1
是否开在因特网上
0 = 开在区网
1 = 开在因特网

sv.bandwidthChoke 0
服务器端总频宽限制
0 = 不限制

sv.serverIP &quot;0.0.0.0&quot;
服务器的IP

sv.serverPort 16567
玩家联机使用的PORT

sv.welcomeMessage &quot;Welcome to TokyoTerrorism.com|We are runing NWFunny mod v004 &quot;
联机时左下角的讯息
用 | 换行

sv.punkBuster 1
是否开启内建的防作弊系统(PunkBuster)
0 = 不开启
1 = 开启

sv.allowFreeCam 1
是否开启自由视角
0 = 不开启
1 = 开启

sv.allowExternalViews 1
是否开启外部视角(按C可以切换视角的 功 能)
0 = 不开启
1 = 开启

sv.allowNoseCam 1
是否开启鼻头视角(移除仪表版的 功 能)
0 = 不开启
1 = 开起

sv.hitIndicator 1
是否显示命中准心
0 = 不显示
1 = 显示

sv.maxPlayers 64
最大玩家数

sv.numPlayersNeededToStart 2
最低玩家数

sv.notEnoughPlayersRestartDelay 15
未达最低玩家数时的地图重新启动时间

sv.startDelay 25
地图开始时的延迟时间

sv.endDelay 15
地图结束时的延迟时间

sv.spawnTime 7
玩家重生时间

sv.manDownTime 5
玩家等待被救援的时间

sv.endOfRoundDelay 15
回合结束前的延迟时间

sv.ticketRatio 300
兵力值

sv.roundsPerMap 2
每回合的地图执行次数

sv.timeLimit 2700
每张地图的时间限制(秒)

sv.scoreLimit 0
每张地图的最高分数限制

sv.soldierFriendlyFire 100
武器产生队友伤害值的比例(%)

sv.vehicleFriendlyFire 100
载具产生队友伤害值的比例(%)

sv.soldierSplashFriendlyFire 100
武器爆炸产生队友伤害值的比例(%)

sv.vehicleSplashFriendlyFire 100
载具爆炸产生队友伤害值的比例(%)

sv.tkPunishEnabled 1
是否惩罚TK玩家
0 = 不惩罚
1 = 惩罚

sv.tkNumPunishToKick 7
每张地图累积PD次数就会被踢

sv.tkPunishByDefault 0
是否自动惩罚TK玩家?
0 = 不惩罚
1 = 惩罚
被TK时不做出选择
在一定时间之后会执行此选项

sv.votingEnabled 1
是否开启投票 功 能
0 = 不开启
1 = 开启

sv.voteTime 90
投票时间(秒)

sv.minPlayersForVoting 4
能够启动投票机制的最低玩家数

sv.gameSpyPort 29900
GameSpy 搜寻的PORT

sv.allowNATNegotiation 1
允 许 穿越 NAT

sv.interfaceIP &quot;0.0.0.0&quot;
服务器中继接口
当你使用IP分享器等东西
却没开PORT的话
可以考虑使用上面这两个设定

sv.autoRecord 0
是否开启战役纪录 功 能
0 = 不开启
1 = 开启

sv.demoIndexURL
战役纪录文件的下载网页

sv.demoDownloadURL

sv.autoDemoHook &quot;&quot;

sv.demoQuality 1
战役纪录文件纪录质量

sv.adminScript &quot;modmanager&quot;
服务器端执行的指令文件

sv.timeBeforeRestartMap 15
重新开启地图前的延迟时间(秒)

sv.autoBalanceTeam 0
是否开启人数自动平衡
0 = 不开启
1 = 开启

sv.teamRatioPercent 100
两边人数比

sv.voipEnabled 1
是否开启语音服务器
0 = 不开启
1 = 开启

sv.voipQuality 3
语音质量

sv.voipServerRemote 0
是否使用远程语音服务器
0 = 游戏主机自己开语音服务器
1 = 使用远程语音服务器

sv.voipServerRemoteIP &quot;&quot;
远程语音服务器IP

sv.voipServerPort 55125
远程语音服务器连接PORT

sv.voipBFClientPort 55123
语音服务器玩家端连接PORT

sv.voipBFServerPort 55124
语音服务器服务器端连接PORT

sv.voipSharedPassword &quot;&quot;
语音分享密码(?)

sv.useGlobalRank 1
是否接收军阶纪录
0 = 不接收
1 = 接收

sv.useGlobalUnlocks 1
是否同意使用解锁武器
0 = 不同意
1 = 同意

sv.sponsorText &quot;http://www.tokyoterrorism.com&quot;
赞助者文字

sv.sponsorLogoURL &quot;<IMG onmousewheel=&quot;return imgzoom(this);&quot; onmouseover=&quot;if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}&quot; onclick=&quot;if(!this.resized) {return true;} else {window.open('http://downloads.tokyoterrorism.com/ttc.jpg');}&quot; alt=&quot;&quot; src=&quot;http://downloads.tokyoterrorism.com/ttc.jpg&quot; onload=&quot;if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}&quot; border=0>&quot;
赞助者广告图

sv.communityLogoURL &quot;<IMG onmousewheel=&quot;return imgzoom(this);&quot; onmouseover=&quot;if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}&quot; onclick=&quot;if(!this.resized) {return true;} else {window.open('http://downloads.tokyoterrorism.com/ttc.jpg');}&quot; alt=&quot;&quot; src=&quot;http://downloads.tokyoterrorism.com/ttc.jpg&quot; onload=&quot;if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}&quot; border=0>&quot;
社群图示网址

sv.radioSpam Interval 6
语音洗频时间(秒)
在一定时间内重复发送语音
会被认为是洗频

sv.radioMaxSpamFlagCount 6
语音洗频次数
次数累积满会被惩罚

sv.radioBlockedDurationTime 30
语音禁言时间(秒)



maplist.con 地图设定档

maplist.append 地图目录名称 游戏模式 地图人数
maplist.append songhua_stalemate gpm_cq 16
maplist.append zatar_wetlands gpm_cq 64


ScoreManagerSetup.con 分数设定文件

rem *** Use this file to tweak scores set from scoreManager ***

rem *** Points given ***
scoreManager.setDeath 0
死亡的得分

scoreManager.setKill 2
杀人的得分

scoreManager.setAssistKill 1
助杀的得分

scoreManager.setInDirectKill 1
直接杀害的得分

scoreManager.setTk -4
TK的得分

scoreManager.setHeal 1
医疗的得分

scoreManager.setSoldierRevive 2
苏醒的得分

scoreManager.setRepair 1
修复的得分

scoreManager.setVehicleRevive 2
载具修复的得分

scoreManager.setAmmo 1
补给的得分

scoreManager.setFlagCapture 5
抢下旗帜的得分

scoreManager.setFlagReturn 2
旗帜防御的得分

scoreManager.setControlPointCapture 4
抢下控制点的得分

scoreManager.setObjective 5
抢下目标物的得分

scoreManager.setDriverPassenger 1
载人的得分

scoreManager.setTeamDamage -2
伤害友军的得分

scoreManager.setTeamVehicleDamage -1
伤害友军载具的得分

rem *** Limits ***
scoreManager.setHealScoreLimit 100
医疗能够得分的上限

scoreManager.setRepairScoreLimit 100
修复能够得分的上限

scoreManager.setAmmoScoreLimit 100
补给能够得分的上限

rem The below ones are in percent
scoreManager.setTeamDamageLimit 50
伤害友军会得分的比例上限

scoreManager.setTeamVehicleDamageLimit 25
伤害友军载具会得分的比例上限




BF2CCD 安装法

1. 将BF2CCD 下载以后, 解压缩到 BF2安装目录\\BF2CCD 目录中(请自行建立该目录)

2. 将里面的 modmanager-v*.*-rc*.zip 解压缩到 BF2安装目录 下
 (请注意! 本步骤一定会覆到同名档案!)

3. 用笔记本开启 BF2安装目录\\mods\\bf2\\settings\\ServerSettings.con
 找 sv.adminScript &quot;default&quot; 把它改成 sv.adminScript &quot;modmanager&quot;
 然后存盘

4. 执行 BF2CCD 里的 bf2ccd.exe (请务必安装 .NET Framework 1.1)
 然后输入ADM的密码
 (Daemon IP 不建议用 0.0.0.0)
 接着就会开启 BF2CCD 的窗口

5. 接着执行 BF2CC Client 的 BF2CC.exe

6. 联机到你刚刚开启的服务器 , 账号 / 密码 分别为 admin / 你刚刚输入的密码
 联机类型选 BF2CC Daemon , PORT 改 4712

7. 开始利用 BF2CC 作服务器设定

8. 设定完成 , 就可以开启服务器








BF2CCD 支持模块的方式

1. 复制 BF2安装目录\\mods\\bf2\\settings\\modmanager.con
 到 BF2安装目录\\mods\\你的模块\\settings\\下

2. 用笔记本开启 BF2安装目录\\mods\\你的模块\\settings\\ServerSettings.con
 找 sv.adminScript &quot;default&quot; 把它改成 sv.adminScript &quot;modmanager&quot;
 然后存盘

3. 开启 BF2CCD 后, 只要将地图指定成模块的地图, 就可以了







服务器简单屏蔽cdk验证完美解决办法

再 开始 管理工具 本地安全策略

再左边的 ip策略 在本地计算机 上点右键 所有策略 里 选择导入策略 找到 附件里解压出来的文件确定


然后在右边的 EAGME 策略上 点右键 选择指派。

http://bbs.pcfance.net/read.php?tid-909.html
连接地址!看不懂的,可以参考此帖!



关于在内网架设服务器时需要做的端口映射的说明
UDP 16567(bf2server)
UDP 29900(gamespy list)
UDP 55123~55125(in-game voip 游戏内语音)
tcp 4712(bf2cc Demon模式)
tcp 4711(bf2cc R-con模式)



而是封掉 UDP29910端口,经常有人把这两个端口搞乱!呵呵!

<IMG onclick=&quot;if(this.width>=) window.open('http://202.105.18.60:27020/cd/2.jpg');&quot; src=&quot;http://202.105.18.60:27020/cd/2.jpg&quot; onload=&quot;if(this.height>'200')this.height='200';&quot; border=0>
 楼主| 发表于 2007-7-12 17:43:27 | 显示全部楼层 来自 广东佛山

回复: BF2服务端架设方法及相关说明

图片杂没了~~~~~~~~~~~~~~
回复

使用道具 举报

发表于 2010-4-23 20:01:26 | 显示全部楼层 来自 山东枣庄
感谢LZ分享 支持下 呵呵
回复

使用道具 举报

发表于 2010-4-24 13:18:26 | 显示全部楼层 来自 河南郑州
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2010-10-25 12:29:30 | 显示全部楼层 来自 湖北武汉
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2010-10-27 10:38:51 | 显示全部楼层 来自 湖南长沙
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表