|
发表于 2004-7-27 09:50:16
|
显示全部楼层
来自 中国–山东–东营
Post by xjflyttp
我在server.cfg里面和autoexec.bat添加了log on logaddress 127.0.0.1 27000了 排行榜要怎么样才能接受服务器的数据?
Loading registered servers...
- Nocopy (202.105.42.144:27015)
Found 1 server(s).
Creating UDP socket...
Binding socket to 202.105.42.144 on port 27000...
Socket open and ready to receive.
Added a new job with job ID = 1
EXEC 0
Added a new job with job ID = 1
EXEC 0
Added a new job with job ID = 2
EXEC 0
Added a new job with job ID = 1
EXEC 0
Added a new job with job ID = 2
EXEC 0
Added a new job with job ID = 1
EXEC 0
Added a new job with job ID = 1
EXEC 0
这样正常吗?
这个是正常的,另外UDP是在AMX的modules.ini中加载的,
; AMX Modules
; You can specify both linux & win32 modules here
;AMX模块加载脚本,请将要加载的amx模块的路径按照下面的格式写入就可以正常加载了。
; CS Stats
; must be declarated in MetaMod and AMX
addons/amx/dlls/csstats_ms.dll
; More functions for modifications in HL
; must be declarated in MetaMod and AMX
addons/amx/dlls/fun_ms.dll
; MySQL access
;addons/amx/dlls/mysql_ms.dll
;Rcon and Query
addons/amx/dlls/udp_ms.dll
你的第一问的错误要在PHP.INI中找到;extension=php_sockets.dll,去掉前面的;然后找到php_sockets.dll复制到
extension_dir = 后面设定的目录.
下面是正确的启动信息
Loading registered servers...
- 192.168.0.3 (192.168.0.3:27015)
- 192.168.0.3 (192.168.0.3:27016)
Found 2 server(s).
Creating UDP socket...
Binding socket to 192.168.0.3 on por
Socket open and ready to receive. |
|