如何架设cs服务器????

由 Snoopy 在 04-19-2003 20:46 发表:

如何架设cs服务器????

我们班很多人都经常玩cs,我想弄个cs服务器看看

具体怎样弄呢?大家可以讲讲吗??


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 dsj 在 04-19-2003 22:04 发表:


linux下cs1.5免cdkey以及hltv完全指南!

需要3个文件

半条命

hlds_l_3110_full.bin

http://www.mudtx.com/download/hlds_l_3110_full.bin

cs1.5

cs_15_full.tar.gz

http://www.mudtx.com/download/cs_15_full.tar.gz

免cdkey补丁

engine_i386.so

http://down.cs-cn.net/download.asp?id=676&downid=1

建cs目录

cd /

mkdir cs

解压缩

chmod +x hlds_l_3110_full.bin

./hlds_l_3110_full.bin

tar zxvf hlds_l_3110_full.tar.gz

tar zxvf cs_15_full.tar.gz

mv hlds_l /cs

mv cstrike /cs/hlds_l/

用补丁覆盖原来的

cp engine_i386.so /cs/hlds_l/

建一个启动脚本叫做cs.sh

vi /cs/hlds_l/cs.sh

#/bin/bash/

export LD_LIBRARY_PATH=/cs/hlds_l:$LD_LIBRARY_PATH

./hlds_run -game cstrike +ip 211.152.9.115 +port 27015 +maxplayers 36 +map de_dust2 -nomaster +sv_lan 1 +servercfgfile server15.cfg

+mapcyclefile mapcycle16.txt -noipx &

注意如果你需要开多个端口用不同的配置文件和不同的地图循环文件,要拷贝原来的配置文件server.cfg和地图循环文件mapcycle.txt到一个新的文件比如server15.cfg,mapcycle15.txt,在启动脚本里指定相应的配置文件即可。

server.cfg

只要改这几个参数就可以了

服务器名字,会出现在游戏的服务器列表的

hostname "www.chinalinuxpub.com CS 1.5"

op密码

rcon_password aaa

进入游戏密码

sv_password aaa

公告文件,可以写几句宣传什么的

motd.txt

启动服务

chmod +x cs.sh

./cs.sh

关于hltv的制作

常见的问题是hltv无法在后台运行,加上&也不行。这就需要你用screen,一般的linux系统里有的。

建一个启动脚本叫做hltv.sh

vi /cs/hlds_l/hltv.sh

#/bin/bash/

export LD_LIBRARY_PATH=/cs/hlds_l:$LD_LIBRARY_PATH

screen -A -m -d -S hltv /cs/hlds_l/hltv +connect 211.152.9.115:27019 -port 27020

chmod +x hltv.sh

运行hltv代理

./hltv.sh

转载此文请注明作者linux中坚站:sickcat


闲聊空间:

http://www.wonyen.net/bbs/mboard.asp


由 笑的沉默 在 04-19-2003 22:09 发表:


哈哈。今天在单位给大家弄了一个。很不错。。。


由 Snoopy 在 04-22-2003 11:59 发表:


这几个文件去哪里找啊??????

不需要整个游戏吗????如何启动服务呢?

它打开的端口又是多少呢??


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 Snoopy 在 04-22-2003 20:53 发表:


这几个文件到底哪里有得下载啊,我找了半天也找不到

给个地址我好吗 ??


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 netboyfjy 在 04-24-2003 14:55 发表:


server.cfg这配置文件怎么找不到啊


由 Snoopy 在 04-24-2003 18:03 发表:


免cdkey补丁

engine_i386.so

http://down.cs-cn.net/download.asp?id=676&downid=1

下载不了啊!!


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 bobo 在 06-14-2003 17:06 发表:


http://ahriman.bucharest.roedu.net/...ife/auth-crack/


由 saiy828 在 07-29-2003 13:46 发表:

这里有在linux下建立cs服务器所须的文件 快来下

[url]http://ahriman.bucharest.roedu.net/pub/linux/games/HalfLife/ [/url]


书山有路勤为径,

学海无涯苦作舟。

宝剑锋从磨砺出,

梅花香自苦寒来。

路漫漫其修远兮,

吾将上下而求索。


由 xuhy 在 07-29-2003 17:32 发表:

我有下面的问题...

#./cs.sh回车后,出现:

Auto-restarting the server on crash

Add "-debug" to the ./hlds_run command line to generate a d

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus