搜索
查看: 3513|回复: 10

AMX中UDP要怎么设置才正常工作.

[复制链接]
发表于 2004-9-3 03:18:14 | 显示全部楼层 |阅读模式 来自 广东深圳
udp.inc要怎么设???


/* Rcon and Query
*
* (c) 2002-2003, OLO
* This file is provided as is (no warranties).
*/

#if defined _udp_included
  #endinput
#endif
#define _udp_included

/* Prepares internet address.
* Function returns id of set address. */
native set_iaddress(const address[],port);

/* Sends message to the given destination. */
native send_udp_msg(iaddress,const format[],{Float,_}:...);

/* Query destination server. */
native query_udp_msg(iaddress,output[],len,const format[],{Float,_}:...);

/* Crypt data with given salt. */
native crypt_data(const data[],const salt[],output[],len);

/* Returns true on UDP init. success. */
native get_udp_status();

/* Challenge the rcon access. */
native challenge_rcon(iaddress,const rconpass[]);

/* Send rcon command. Use after challenge only. */
native send_rcon_cmd(iaddress,const format[],{Float,_}:...);
发表于 2004-9-3 11:07:45 | 显示全部楼层 来自 陕西西安
udp.inc只是列出可用的函数接口
那个只对编写插件有用
使用udp模块需要在metamod的plugins.ini里和amx的modules.ini里声明udp模块
回复

使用道具 举报

发表于 2004-9-5 02:54:50 | 显示全部楼层 来自 广东深圳
已经声明!但是却没在正常运行用META LIST.我原以为是UDP。INC这个文件的问题。
回复

使用道具 举报

发表于 2004-9-5 03:43:59 | 显示全部楼层 来自 陕西西安
Post by shamu1999
已经声明!但是却没在正常运行用META LIST.我原以为是UDP。INC这个文件的问题。

仔细查看udp的设置路径是否正确
回复

使用道具 举报

发表于 2004-9-5 04:04:50 | 显示全部楼层 来自 广东深圳
软件全是官方网上下载的0.99。http://www.amxmod.net
我的安装方法是这样的
把UDP.dll放在addons\amx\modules\目录下!
把udp.inc放在addons\amx\examples\include目录下!
addons\metamod\plugins.ini加入win32 addons/amx/modules/udp.dll
addons\amx\config\modules.ini加入udp.dll


但是却没正常工作啊。我都闷啊!
到底那里出了问题!
麻烦大哥帮帮我!小弟感激不尽!
回复

使用道具 举报

发表于 2004-9-5 05:32:12 | 显示全部楼层 来自 陕西西安
Post by shamu1999
软件全是官方网上下载的0.99。http://www.amxmod.net
我的安装方法是这样的
把UDP.dll放在addons\amx\modules\目录下!
把udp.inc放在addons\amx\examples\include目录下!
addons\metamod\plugins.ini加入win32 addons/amx/modules/udp.dll
addons\amx\config\modules.ini加入udp.dll


但是却没正常工作啊。我都闷啊!
到底那里出了问题!
麻烦大哥帮帮我!小弟感激不尽!

在plugins.ini里这样写试试看
win32 addons\amx\modules\udp.dll
回复

使用道具 举报

发表于 2004-9-5 07:47:50 | 显示全部楼层 来自 广东深圳
这个不关事的。我试了,不行!
回复

使用道具 举报

发表于 2004-9-5 12:41:06 | 显示全部楼层 来自 陕西西安
我刚自己试了一下,也是这样,估计是官方的问题
回复

使用道具 举报

发表于 2004-9-5 15:28:00 | 显示全部楼层 来自 吉林长春
兄弟说的对,等待新版吧
amxx0.2让我看到了希望
回复

使用道具 举报

 楼主| 发表于 2004-9-6 06:37:53 | 显示全部楼层 来自 广东深圳
痛苦啊!!!
AMXX-UDP支持怎么样?
回复

使用道具 举报

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

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