|
发表于 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. |
|