Linux下架设CS1.6服务器 cs1.6+web+podbot+amxx 带附件

所需软件:1. Linux HLDS 3651.tar.gz2. HLDS for Linux 破解文件3. metamod-1.19-linux.tar.gz4. addons.tar.gz (web-manage)5. all_in_one 2_10(amx+podbot2.8)以上软件的下载列表:1.[url]http://www.freecs.cn/search.asp[/url] 此处下载linux服务器端和反作弊插件及破解文件2.[url]http://djeyl.net/[/url] 此处下载metamod-1.19-linux.tar.gz和addons.tar.gz (web-manage)3.[url]http://forums.bots-united.com/[/url] 此处下载all_in_one 2_10(amx+podbot2.8)这里2和3为英文网站,呵呵,大家顺便学习学习英语吧。安装步骤:1. 解压缩安装 Linux HLDS 3651.tar.gz cd /opt/ mkdir cs1.6 cd cs1.6 tar zxvf Linux HLDS 3651.tar.gz2. 将破解文件覆盖安装到解压缩后cs的主目录,我这里是/opt/cs1.6/steam cd /opt/cs1.6/steam tar zxvf HLDS for Linux.tar.gz这里一定要注意,所覆盖的三个文件分别是engine_amd.so,engine_i486.so,engine_i686.so如果不进行破解,当从客户端进入服务器时会提示:Invalid CD KEY!3. 在/opt/cs1.6/steam/cstrike/addons目录下安装metamod-1.19-linux.tar.gz cd /opt/cs1.6/steam/cstrike/addons/ tar zxvf metamod-1.19-linux.tar.gz 这个插件是必须的,否则服务器无法开启web管理功能。4. 安装web管理addons (web-manage) cd /opt/cs1.6/steam/cstrike/addons tar zxvf addons.tar.gz cd metamod vi plugins.ini添加下面两行内容: win32 addons/w/dlls/w_mm.dll linux addons/w/dlls/w_mm_i386.so保存退出即可。5. 安装amx插件和podbot插件,这个已经集成在all_in_one 2_10 cd /opt/cs1.6/steam/cstrike tar zxvf all_in_one 2_10 vi liblist.gam添加如下代码: gamedll “addons\metamod\dlls\metamod.dll” gamedll_linux “addons/metamod/dlls/metamod_i386.so”保存退出!经过以上五个步骤,我们就架设好了一个可以进行WEB管理的CS1.6服务器。下面我们编制一个shell脚本来启动服务器: cd //opt/cs1.6/steam vi 27018.sh #! /bin/bash echo CS1.6 Server of OUC BY Singler ./hlds_run -pingboost 3 -game cstrike -insecure +servercfgfile server_27018.cfg +localinfo mm_pluginsfile plugins_27018.ini -port 27018 +maxplayers 12 +map de_dust2 +sv_lan 0 -noipx :wq!然后我们就可以直接启动了 ./27018.sh下面打开浏览器,输入[url]http://192.168.1.5:27015[/url] 即可打开服务器的web界面(这里的192.168.1.5是我本机的IP地址)这是服务器的基本信息650) this.width=650;” onclick=’window.open(“http://blog.51cto.com/viewpic.php?refimg=” + this.src)’ class=blogimg src=”http://cdn.verydemo.com/upload/2013_05_01/13673834341660.jpg” border=”0″ small=”0″ />这是登陆信息650) this.width=650;” onclick=’window.open(“http://blog.51cto.com/viewpic.php?refimg=” + this.src)’ class=blogimg src=”http://cdn.verydemo.com/upload/2013_05_01/13673834345951.jpg” border=”0″ small=”0″ />操作系统平台+web版本,这里我关闭了wwcl,否则也会显示其版本信息还有玩家信息,T与CT的胜利局数。650) this.width=650;” onclick=’window.open(“http://blog.51cto.com/viewpic.php?refimg=” + this.src)’ class=blogimg src=”http://cdn.verydemo.com/upload/2013_05_01/13673834350382.jpg” border=”0″ small=”0″ />服务器的主要参数650) this.width=650;” onclick=’window.open(“http://blog.51cto.com/viewpic.php?refimg=” + this.src)’ class=blogimg src=”http://cdn.verydemo.com/upload/2013_05_01/13673834358903.jpg” border=”0″ small=”0″ />服务器从启动到现在的运行时间650) this.width=650;” onclick=’window.open(“http://blog.51cto.com/viewpic.php?refimg=” + this.src)’ class=blogimg src=”http://cdn.verydemo.com/upload/2013_05_01/13673834383774.jpg” border=”0″ small=”0″ />OP登陆界面650) this.width=650;” onclick=’window.open(“http://blog.51cto.com/viewpic.php?refimg=” + this.src)’ class=blogimg src=”http://cdn.verydemo.com/upload/2013_05_01/13673834395735.jpg” border=”0″ small=”0″ />OP管理界面,可以更换地图,kick or ban 玩家650) this.width=650;” onclick=’window.open(“http://blog.51cto.com/viewpic.php?refimg=” + this.src)’ class=blogimg src=”http://cdn.verydemo.com/upload/2013_05_01/13673834400026.jpg” border=”0″ small=”0″ />其他管理信息,甚至直接可以编辑.cfg文件,功能相当强大! 一直觉得人应该去旅行,在年轻的时候,趁着有脾气装潇洒,

Linux下架设CS1.6服务器 cs1.6+web+podbot+amxx 带附件

相关文章:

你感兴趣的文章:

标签云: