搜索
查看: 10625|回复: 12

HLSW的Log管理

 关闭 [复制链接]
发表于 2003-8-2 20:34:53 | 显示全部楼层 |阅读模式 来自 中国–福建–龙岩
hlsw是经典的CS服务器管理软件。功能强大。

我先介绍如何使用它的logs管理。

如图:

当你有rcon_password 密码后,你可以在rcon password处输入。

直接点击 Get Log(Internet)或则(LAN),如果成功的话,你在chat 项里可以看到对话,在console里看到对战结果(谁打死了谁)。

如果提示 (LogAddress: Time out),参考标准FAQ,如下:

Problems receiving Log-Files (LogAddress: Time out):  
If the "LogAdress: Time out!!!"-error message appears, HLSW tried to redirect the Server Log, but did not receive Server Logs in a specific period of time.
The problem is that many computers are wrong configured, so that network packets sent by the HL-Server cannot be received by HLSW. It is also possible that HLSW set a wrong IP/Port at the server and therefore you can´t receive the log.
HLSW uses port 7130 (UDP). With multiple startups the port number raises (7131, 7132, ...)! You can set the port using the parameter "-PORT:xxxx" on startup. You should use ports from 7130 to 7139 only.


ICS:

If Internet Connection Sharing (9x/ME) is activated or in use you won´t be able to receive Logs. No matter if you are ICS Server or Client. But you have a couble of possibilities:
- Deactivate ICS, if you are the ICS server.
- There is a tool avaible which you can use to configure the ICS to receive HLSW Log Files. The tool is avaible at http://www.csc-aachen.de.vu/icsconfig.htm. I don´t know exactly hot to configure the ICS to receive the logs but if you find a way, please post a detailed description to the forum.
- Donßt use the windows ICS. There are a lot of other tools that can handle internet connection sharing for your local Intranet. WinGate (www.wingate.com) for example. Using this tool allows you to receive HLSW Log Files without any additional configuration.


Router/Gateway Configuration:

You have to setup a port-redirection for port 7130 (UDP) from the Router/Gateway to the LAN-Ip-Adress where HLSW is running !

Example for a Win2k Gateway:
Properties of the dial-up Connection -> "Sharing" -> "Settings" -> Services
Add a news service. For name of the service enter "HLSW Service". The service port number, of course, is 7130, UDP. The name or address of server computer on private network is the IP-Adress where HLSW runs (eg 192.168.0.1).

Setting up port-redirection on a linux router:
/usr/sbin/ipmasqadm autofw -A -v -r tcp 7130 7130 -h $HLSW_IP
/usr/sbin/ipmasqadm autofw -A -v -r udp 7130 7130 -h $HLSW_IP
(for "HLSW_IP" you have to give the IP where HLSW is running)


Receive Logs with more than one PC:
You have to configure your Router/Gateway as shown above, but you give other port-numbers for every computer on LAN. That means port 7130 => PC1, 7131 => PC2, 7132 => PC3, etc. For PC2/PC3 you have to configure the correct Port (7131/7132) using the parameter "-PORT:xxxxx".


HLSW is using the wrong IP-Adress:
If you are connected to the internet using the Dial-Up Networking you can solve the problem with a click on the "Get Log (LAN)" Button.
If you are connected via a Router or Gateway you have to enter the Log-Adress into the console manually to redirect the log. To do so enter the following into the console: "logaddress [Internet IPAddress] [Port]" (for example: "logaddress 123.234.42.44 7130").  

HLSW crashes while exiting  
This is due to a bug in the old HLSW version where particularly defective serverlists without adresses where created. You'll have to delete all defective server entries from all lists. Simply delete all servers with the address ":27015" or similar. If you sort your list after the adress they appear at the bottom. To delete servers, expand the list, select the server and push "Del". After this everything should work just fine again...  

意思是你的IP设置有问题。如果你在内网通过路由或则代理访问Internet。你必须设置好PORT。在路由和代理中将7130-7139的端口指向你本地的IP。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
 楼主| 发表于 2003-8-2 20:48:11 | 显示全部楼层 来自 中国–福建–龙岩
然后在console处输入:

logaddress 你的路由或则代理的IP 7130
再输入:

log

就可以了。
回复

使用道具 举报

发表于 2003-8-9 04:55:06 | 显示全部楼层 来自 中国–辽宁–大连

十分感谢!!!

终于弄明白了一个长达1年没能解决的问题。谢谢!
终于可以用hlsw聊天了。哈哈
回复

使用道具 举报

 楼主| 发表于 2003-8-9 07:14:47 | 显示全部楼层 来自 中国–福建–龙岩

Re: 十分感谢!!!

最初由 djvic 发表
终于弄明白了一个长达1年没能解决的问题。谢谢!
终于可以用hlsw聊天了。哈哈


haha,长达一年?:)

请你也看看我的CSBOT文章。
回复

使用道具 举报

发表于 2003-8-9 19:21:25 | 显示全部楼层 来自 中国–河北–唐山
GOOD
回复

使用道具 举报

匿名  发表于 2004-12-31 06:05:55 来自 Invalid
在HLSW.EXE中不能显示IP和ping值,是怎么回事啊???????急啊!!!!!谢谢啦!
发表于 2006-3-19 07:42:47 | 显示全部楼层 来自 中国–吉林–长春

回复: hlsw的使用

请问楼主,我建立了3个CS1.6服务器,可是只有一个能用HLSW封IP和踢人 。其他两个只能踢人不能封IP。请问这是为什么?
回复

使用道具 举报

发表于 2006-3-19 18:30:31 | 显示全部楼层 来自 中国–福建–莆田

回复: hlsw的使用

Post by szleiniao
在HLSW.EXE中不能显示IP和ping值,是怎么回事啊???????急啊!!!!!谢谢啦!



你在下面控制台里输入status就可以看到了`
不过status只对当前玩家做了调查 . .过会儿新来的玩家PING值就不会显示
回复

使用道具 举报

发表于 2006-3-19 22:41:10 | 显示全部楼层 来自 中国–天津–天津–宝坻区

回复: hlsw的使用

我输入了logaddress 192.168.0.6 7130,然后读取怎么还是超时啊?
回复

使用道具 举报

发表于 2006-3-20 00:03:13 | 显示全部楼层 来自 中国–广西–玉林

回复: hlsw的使用

Post by kid
我输入了logaddress 192.168.0.6 7130,然后读取怎么还是超时啊?


是不是你的内网,没有映射7130端口?

随便说下搜索了以前的帖还是值得参考的!不错`
Post by HarryPotter
我发现通过logaddress启动的LOG是不能停止的,只有人工在HLSW里执行logaddress_add 127.0.0.1 7130启动HLSW的LOG才能用logaddress_del停止


地址是这里  http://forum.dt-club.net/showthread.php?t=7227
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

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