搜索
楼主: yam

关于局域网 使用 VAC 的完美解决方案![2005-10-2更新]

[复制链接]
发表于 2003-1-5 06:08:40 | 显示全部楼层 来自 中国–重庆–重庆

这是一老外写的,好像和斑竹的方法差不多

Allows to start a server for Counter-Strike v1.5 in secure mode without connecting to external net (internet usually). The players also do not need to be connected to internet.

The program was written on the java language. That's why the file's extension is JAR - it's an archive with compiled classes. The program needs java-machine (JRE) to work. JRE can be downloaded from java.sun.com and has size of several megabytes.

Program is freeware and there're no garanties for it. Tested under linux and Windows XP. Both server and the program worked in different combinations on different OS.

download

How to run secure server emulator
Install java-machine.
Place the program file to some folder. If you choose to install it to computer with HLDS-server, create separate folder, not in tree of Half-Life.
Get secure modules and put them to this folder. Keep directory structure! Modules can be downloaded from speakeasy.net using the utility.
Change "secure" section of file Half-Life\valve\woncomm.lst on server and client's computers like this:

Secure
{
        emulator.machine.ip:27012
}

Make sure you do not have a file called "woncomm.lst" in your Half-Life\cstrike folder. If you do, delete it. This file should only reside in your Half-Life\valve folder.
Start emulator:

cd emulator folder
java -jar vac.jar

Note: It is not good to run like this:
java -jar \vacemufolder\vac.jar

Emulator will attempt to load secure modules from current_directory\cstrike\*.dll and fails if the current_directory don't contains "cstrike" folder with modules.
Start HLDS in secure mode.
How to download modules from speakeasy.net
Find computer directly connected to internet, not behind http-proxy. UPD protocol support required.
Install java-machine, sorry, but java-programs don't work without it.
Place the utility to some folder
Run utility in download mode:

java -jar vac.jar load  [server_ip:port]

For CS module_name is
cstrike/ModuleC.dll for client side
cstrike/ModuleS.dll for windows server
cstrike/ModuleS_i386.so for linux server.
For DoD server:
dod/ModuleC.dll
dod/ModuleS.dll
dod/ModuleS_i386.so
server_ip and port is optional parameters.

Example for linux CS-server:

java -jar vac.jar load cstrike/ModuleS_i386.so
java -jar vac.jar load cstrike/ModuleC.dll

For first time you can download modules from my archive.
回复

使用道具 举报

发表于 2003-1-5 06:28:18 | 显示全部楼层 来自 中国–重庆–重庆
TNND!好像找到原因了,是不是虚拟服务器必须要建在一个和外网连通的机器上才行?
回复

使用道具 举报

发表于 2003-1-5 07:06:03 | 显示全部楼层 来自 中国–重庆–重庆
等了N久,终于建起来了,不用与外网连通也行,就是建主机的时候非常慢,我去别的服务器打了几局,退出来一看,建好了,TNND!

终于不枉费我牺牲了一晚上的睡眠啊!!
回复

使用道具 举报

发表于 2003-1-6 11:10:00 | 显示全部楼层 来自 中国–山东–日照–东港区
哈哈哈
回复

使用道具 举报

发表于 2003-1-6 11:20:56 | 显示全部楼层 来自 中国–山东–潍坊–奎文区
why
回复

使用道具 举报

发表于 2003-1-6 11:25:04 | 显示全部楼层 来自 中国–重庆–重庆

good

我顶
回复

使用道具 举报

发表于 2003-1-6 17:47:48 | 显示全部楼层 来自 中国–河北–保定–徐水区

hahah

没有钱
回复

使用道具 举报

发表于 2003-1-6 17:49:31 | 显示全部楼层 来自 中国–河北–保定–徐水区

dajiahao

hao
回复

使用道具 举报

发表于 2003-1-6 17:54:13 | 显示全部楼层 来自 中国–河北–保定–徐水区

谢谢大家的帮助

谢谢大家的帮助
回复

使用道具 举报

匿名  发表于 2003-1-6 19:51:37 来自 Invalid
哥们,能不能告诉老外的网址,好让我去访问
偶没钱下载这附件。谢谢
游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

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