红毛小子 发表于 2008-2-18 10:38:58

imessage_in_die.amxx问题!!!

救命!!!
imessage_in_die
总是出现这个问题!!!

baili1258 发表于 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: Displaying debug trace (plugin "imessage_in_die.amxx")
L 02/19/2008 - 12:36:24: Run time error 4: index out of bounds
L 02/19/2008 - 12:36:24:     imessage_in_die.sma::infoMessage (line 73)

红毛小子 发表于 2008-2-19 15:51:31

回复: imessage_in_die.amxx问题!!!

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

ceoguang 发表于 2008-2-21 04:35:13

回复: imessage_in_die.amxx问题!!!

改改这个地方试试

new lastinfo
get_localinfo("lastinfomsg", lastinfo, 7)
g_Current = str_to_num(lastinfo)
set_localinfo("lastinfomsg", "")

改为

new lastinfo
get_localinfo("lastinfomsg", lastinfo, 63)
g_Current = str_to_num(lastinfo)
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: Run time error 4 (plugin "imessage_in_die.amxx") - debug not enabled!
L 02/21/2008 - 11:50:09: 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: Run time error 4 (plugin "imessage_in_die.amxx") - debug not enabled!
L 02/21/2008 - 12:09:24: 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: Run time error 4 (plugin "imessage_in_die.amxx") - debug not enabled!
L 02/21/2008 - 12:31:00: 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: Displaying debug trace (plugin "imessage_in_die.amxx")
L 02/21/2008 - 13:06:54: Run time error 4: index out of bounds
L 02/21/2008 - 13:06:54:     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: Displaying debug trace (plugin "imessage_in_die.amxx")
L 02/21/2008 - 13:19:04: Run time error 4: index out of bounds
L 02/21/2008 - 13:19:04:     imessage_in_die.sma::infoMessage (line 73)




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

KYO 发表于 2008-2-21 19:57:23

回复: imessage_in_die.amxx问题!!!

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

ceoguang 发表于 2008-2-22 01:57:38

回复: imessage_in_die.amxx问题!!!

注释掉

#define RANDOM_COL

已测试过没有问题

红毛小子 发表于 2008-2-22 09:42:33

回复: imessage_in_die.amxx问题!!!

3Q我去测试一下,!!!!!!!!!!!!!!!!!!!
页: [1] 2
查看完整版本: imessage_in_die.amxx问题!!!