搜索
查看: 6102|回复: 15

imessage_in_die.amxx问题!!!

[复制链接]
发表于 2008-2-18 10:38:58 | 显示全部楼层 |阅读模式 来自 中国–广东–揭阳
救命!!!
imessage_in_die
总是出现这个问题!!!

本帖子中包含更多资源

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

×
发表于 2008-2-18 15:54:28 | 显示全部楼层 来自 中国–广东–深圳–福田区

回复: imessage_in_die.amxx问题!!!

在插件后面添加 debug ,来获得那个地方出错,并截图上来。。
回复

使用道具 举报

 楼主| 发表于 2008-2-19 12:38:48 | 显示全部楼层 来自 中国–广东–揭阳

回复: imessage_in_die.amxx问题!!!

L 02/19/2008 - 12:36:24: Start of error session.
L 02/19/2008 - 12:36:24: Info (map "de_dust2") (logfile "error_021908.log")
L 02/19/2008 - 12:36:24: [AMXX] Displaying debug trace (plugin "imessage_in_die.amxx")
L 02/19/2008 - 12:36:24: [AMXX] Run time error 4: index out of bounds
L 02/19/2008 - 12:36:24: [AMXX]    [0] imessage_in_die.sma::infoMessage (line 73)
回复

使用道具 举报

 楼主| 发表于 2008-2-19 15:51:31 | 显示全部楼层 来自 中国–广东–揭阳

回复: imessage_in_die.amxx问题!!!

哇,没有人帮忙吗?!!!!!!!!!!!
回复

使用道具 举报

发表于 2008-2-21 04:35:13 | 显示全部楼层 来自 中国–广东–佛山–禅城区

回复: imessage_in_die.amxx问题!!!

改改这个地方试试
  1. new lastinfo[8]
  2. get_localinfo("lastinfomsg", lastinfo, 7)
  3. g_Current = str_to_num(lastinfo)
  4. set_localinfo("lastinfomsg", "")
复制代码
改为
  1. new lastinfo[64]
  2. get_localinfo("lastinfomsg", lastinfo, 63)
  3. g_Current = str_to_num(lastinfo)
  4. set_localinfo("lastinfomsg", "")
复制代码
回复

使用道具 举报

 楼主| 发表于 2008-2-21 10:40:25 | 显示全部楼层 来自 中国–广东–揭阳

回复: imessage_in_die.amxx问题!!!

谢谢,我试试看!!!!!!!!!!!!!!!!
回复

使用道具 举报

 楼主| 发表于 2008-2-21 15:34:04 | 显示全部楼层 来自 中国–广东–揭阳

回复: imessage_in_die.amxx问题!!!

L 02/21/2008 - 11:50:09: Start of error session.
L 02/21/2008 - 11:50:09: Info (map "awp_map_32b") (logfile "error_022108.log")
L 02/21/2008 - 11:50:09: [AMXX] Run time error 4 (plugin "imessage_in_die.amxx") - debug not enabled!
L 02/21/2008 - 11:50:09: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/21/2008 - 12:09:24: Start of error session.
L 02/21/2008 - 12:09:24: Info (map "de_nuke") (logfile "error_022108.log")
L 02/21/2008 - 12:09:24: [AMXX] Run time error 4 (plugin "imessage_in_die.amxx") - debug not enabled!
L 02/21/2008 - 12:09:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/21/2008 - 12:31:00: Start of error session.
L 02/21/2008 - 12:31:00: Info (map "de_dust2") (logfile "error_022108.log")
L 02/21/2008 - 12:31:00: [AMXX] Run time error 4 (plugin "imessage_in_die.amxx") - debug not enabled!
L 02/21/2008 - 12:31:00: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/21/2008 - 13:06:54: Start of error session.
L 02/21/2008 - 13:06:54: Info (map "828_pk_13") (logfile "error_022108.log")
L 02/21/2008 - 13:06:54: [AMXX] Displaying debug trace (plugin "imessage_in_die.amxx")
L 02/21/2008 - 13:06:54: [AMXX] Run time error 4: index out of bounds
L 02/21/2008 - 13:06:54: [AMXX]    [0] imessage_in_die.sma::infoMessage (line 73)
L 02/21/2008 - 13:19:04: Start of error session.
L 02/21/2008 - 13:19:04: Info (map "de_inferno") (logfile "error_022108.log")
L 02/21/2008 - 13:19:04: [AMXX] Displaying debug trace (plugin "imessage_in_die.amxx")
L 02/21/2008 - 13:19:04: [AMXX] Run time error 4: index out of bounds
L 02/21/2008 - 13:19:04: [AMXX]    [0] imessage_in_die.sma::infoMessage (line 73)




还是不行,还是老样子!!晕了!!
回复

使用道具 举报

发表于 2008-2-21 19:57:23 | 显示全部楼层 来自 中国–重庆–重庆–荣昌区

回复: imessage_in_die.amxx问题!!!

是索引越界问题............
回复

使用道具 举报

发表于 2008-2-22 01:57:38 | 显示全部楼层 来自 中国–广东–佛山–禅城区

回复: imessage_in_die.amxx问题!!!

注释掉
  1. #define RANDOM_COL
复制代码
已测试过没有问题

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-2-22 09:42:33 | 显示全部楼层 来自 中国–广东–揭阳

回复: imessage_in_die.amxx问题!!!

3Q我去测试一下,!!!!!!!!!!!!!!!!!!!
回复

使用道具 举报

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

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