|
楼主 |
发表于 2003-5-15 12:51:31
|
显示全部楼层
来自 中国–广西–柳州
Re: faint
最初由 playerkiller 发表
我说呢
我是安装到两个目录下,各占一个端口和IP,但实际上是一台机器两个IP。
都是27015,只是IP不同,根本没有问题。
而且你用的27015、27016、27017有没有在HLDS的启动参数里注明?
下面是英文的readme,你先看看吧。
WebMod is a multi-threaded HTTP Web server embedded into a MetaMod plugin (Linux and Win32 compatible). It allows you not to use specific tools like HLSW or AgentOrange, or additional software such as a web server, PHPRCon or a Perl capable shell account to run PsychoQuery.
Once installed, you can access it on http://server_ip:server_port/ ; for example if you connect to 123.45.67.89:27016 to play, you just have to add « http:// » at the beginning and give this to your web browser : http://123.45.67.89:27016/.
This addon provides a public live status page, and a private admin area (password-protected, currently using RCon password).
But this plugin is not only what's contained in the zip file : WebMod includes a script preprocessor that lets you customize its web pages totally, and to create yours at your own convenience. W scripting language reference document is provided in the archive. You'll learn how to use { } blocks, game server and HTTP related variables, etc.
一个启动跟一个webmod,推荐最好不要在一个目录,否则如果你的那个psy什么排行榜的话,日志都可能会有问题。
我这里一个服务器上有两个,完全测试通过。
一台服务器装双网卡,两个IP地址,端口都是27015,肯定是没有问题的,问题在于,如何在同一个IP地址、不同的端口号、同一个CS目录下使用三个端口分别看WEBMOD的情况,目前有谁知道呢>谢谢大家了. |
|