怎样在一台电脑上架设多台CS1.6 服务器

来源:百度知道 编辑:UC知道 时间:2024/06/30 09:30:52
急用 请教高手指点. 谢谢

CS架设转载

相信很多人对於架设一机多服、多服多配置的办法还是停留在拷贝多份服务器HLDS程序的阶段,现在教大家一个简便效率又高的方法,不需要拷贝多个服务器程序副本就能实现一机多服和多服多配置方法。其实很简单的使用Metamod插件就可以实现.

具体就是使用+localinfo mm_pluginsfile 这个参数启动服务器就行,这个参数可以加在KC服务器端的启动参数里面.例子:

前提是需要先安装Metamod插件,安装过程具体就不在这里叙说了.

服务器1配置:

E:\HLServer\hlds.exe -game cstrike +maxplayers 4 +map de_dust2 +servercfgfile server15.cfg +sv_lan 0 -console -noipx -nomaster +localinfo mm_pluginsfile servercfg1.ini

服务器2配置:

E:\HLServer\hlds.exe -game cstrike +maxplayers 4 +map de_dust2 +servercfgfile server15.cfg +sv_lan 0 -console -noipx -nomaster +localinfo mm_pluginsfile servercfg2.ini

servercfg1.ini和servercfg1.ini存放位置和server.cfg是同目录.这两个文件就好比plugins.ini 在这里只是我们重新定义了他的文件内容,这样的话两个服务器就可以使用不同的插件来加载到服务里面了,

servercfg1.ini 内容:

win32 addons/amxmodx/dlls/amxmodx_mm.dll
win32 addons/booster/booster_mm.dll
win32 addons/cdeath/cdmod.dll

servercfg2.ini 内容: