jackemoney 发表于 2009-7-23 10:38:57

RegSqlRank.amxx 排名读取有问题

L 07/23/2009 - 01:06:51: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:06:51: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:06:51: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:07:10: Start of error session.
L 07/23/2009 - 01:07:10: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20090723.log")
L 07/23/2009 - 01:07:10: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:07:10: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:07:10: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:24:48: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:24:48: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:24:48: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:28:31: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:28:31: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:28:31: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:29:52: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:29:52: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:29:52: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:29:52: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:29:52: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:29:52: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:30:11: Start of error session.
L 07/23/2009 - 01:30:11: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20090723.log")
L 07/23/2009 - 01:30:11: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:30:11: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:30:11: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:31:39: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:31:39: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:31:39: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:31:39: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:31:39: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:31:39: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:32:05: Start of error session.
L 07/23/2009 - 01:32:05: Info (map "de_nuke32") (file "addons/amxmodx/logs/error_20090723.log")
L 07/23/2009 - 01:32:05: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:32:05: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:32:05: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:59:07: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:59:07: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:07: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:59:07: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:59:07: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:07: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:59:16: Start of error session.
L 07/23/2009 - 01:59:16: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20090723.log")
L 07/23/2009 - 01:59:16: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:59:16: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:16: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:59:26: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:59:26: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:26: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 01:59:35: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:59:35: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:35: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/23/2009 - 10:16:27: Start of error session.
L 07/23/2009 - 10:16:27: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20090723.log")
L 07/23/2009 - 10:16:27: replace() buffer not big enough (21>=16)
L 07/23/2009 - 10:16:27: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 10:16:27: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).


使用的是 数据库 hlds IIS 分开的3台服务器,别的没问题就是读取排名有点问题,数据库链接论坛的ID使用正常 就是不能使用论坛的统计系统郁闷

谢谢阅读~

Cr@zyTreE 发表于 2009-7-25 22:46:24

开debug,改代码。。。

jackemoney 发表于 2009-7-27 09:44:58

调试模式开了啊~! 选择的是 1
代码怎么改 呢是改
RegSqlRank.amxx 原码吗?

Cr@zyTreE 发表于 2009-7-27 19:46:36

论坛上有GRIEF.QQ老大发布的代码,自己找下。

Cr@zyTreE 发表于 2009-7-27 19:46:58

RegSqlRank.amxxdebug

jackemoney 发表于 2009-7-29 10:07:16

http://www.dt-club.net/forum/viewthread.php?tid=37267&highlight=ASP%2BMySQL
是这个帖子吗??下崽地址无效了
邮箱里面也是空的
请问您有链接吗?

jackemoney 发表于 2009-7-29 11:43:14

其实玩家得名字在排行里面有 就是没有积分

jackemoney 发表于 2009-7-29 11:58:56

L 07/27/2009 - 11:36:43: Start of error session.
L 07/27/2009 - 11:36:43: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20090727.log")
L 07/27/2009 - 11:36:43: replace() buffer not big enough (21>=16)
L 07/27/2009 - 11:36:43: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/27/2009 - 11:36:43: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/27/2009 - 12:17:51: Start of error session.
L 07/27/2009 - 12:17:51: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20090727.log")
L 07/27/2009 - 12:17:51: replace() buffer not big enough (21>=16)
L 07/27/2009 - 12:17:51: Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/27/2009 - 12:17:51: To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/27/2009 - 12:17:51: Start of error session.
L 07/27/2009 - 12:17:51: Info (map "de_inferno_34king") (file "addons/amxmodx/logs/error_20090727.log")
L 07/27/2009 - 12:17:51: Plugin needs newer debug version info (plugin "slaylosers.amxx")
L 07/27/2009 - 12:30:29: replace() buffer not big enough (6>=3)
L 07/27/2009 - 12:30:29: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:30:29: Run time error 10: native error (native "replace")
L 07/27/2009 - 12:30:29:     string.inc::replace_all (line 239)
L 07/27/2009 - 12:30:29:     RegSqlRank.sma::check (line 117)
L 07/27/2009 - 12:35:51: replace() buffer not big enough (28>=25)
L 07/27/2009 - 12:35:51: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:35:51: Run time error 10: native error (native "replace")
L 07/27/2009 - 12:35:51:     string.inc::replace_all (line 239)
L 07/27/2009 - 12:35:51:     RegSqlRank.sma::check (line 117)
L 07/27/2009 - 12:36:40: replace() buffer not big enough (28>=25)
L 07/27/2009 - 12:36:40: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:36:40: Run time error 10: native error (native "replace")
L 07/27/2009 - 12:36:40:     string.inc::replace_all (line 239)
L 07/27/2009 - 12:36:40:     RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 12:36:40:     RegSqlRank.sma::client_disconnect (line 196)
L 07/27/2009 - 12:38:20: replace() buffer not big enough (28>=25)
L 07/27/2009 - 12:38:20: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:38:20: Run time error 10: native error (native "replace")
L 07/27/2009 - 12:38:20:     string.inc::replace_all (line 239)
L 07/27/2009 - 12:38:20:     RegSqlRank.sma::check (line 117)
L 07/27/2009 - 12:39:14: replace() buffer not big enough (28>=25)
L 07/27/2009 - 12:39:14: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:39:14: Run time error 10: native error (native "replace")
L 07/27/2009 - 12:39:14:     string.inc::replace_all (line 239)
L 07/27/2009 - 12:39:14:     RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 12:39:14:     RegSqlRank.sma::client_disconnect (line 196)
L 07/27/2009 - 12:39:31: replace() buffer not big enough (28>=25)
L 07/27/2009 - 12:39:31: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:39:31: Run time error 10: native error (native "replace")
L 07/27/2009 - 12:39:31:     string.inc::replace_all (line 239)
L 07/27/2009 - 12:39:31:     RegSqlRank.sma::check (line 117)
L 07/27/2009 - 12:46:26: replace() buffer not big enough (28>=25)
L 07/27/2009 - 12:46:26: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:46:26: Run time error 10: native error (native "replace")
L 07/27/2009 - 12:46:26:     string.inc::replace_all (line 239)
L 07/27/2009 - 12:46:26:     RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 12:46:26:     RegSqlRank.sma::client_disconnect (line 196)
L 07/27/2009 - 12:46:26: replace() buffer not big enough (28>=25)
L 07/27/2009 - 12:46:26: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:46:26: Run time error 10: native error (native "replace")
L 07/27/2009 - 12:46:26:     string.inc::replace_all (line 239)
L 07/27/2009 - 12:46:26:     RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 12:46:26:     RegSqlRank.sma::plugin_end (line 86)
L 07/27/2009 - 12:46:26: Start of error session.
L 07/27/2009 - 12:46:26: Info (map "de_cpl_strike_king24") (file "addons/amxmodx/logs/error_20090727.log")
L 07/27/2009 - 12:46:26: Plugin needs newer debug version info (plugin "slaylosers.amxx")
L 07/27/2009 - 12:46:45: replace() buffer not big enough (28>=25)
L 07/27/2009 - 12:46:45: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:46:45: Run time error 10: native error (native "replace")
L 07/27/2009 - 12:46:45:     string.inc::replace_all (line 239)
L 07/27/2009 - 12:46:45:     RegSqlRank.sma::check (line 117)
L 07/27/2009 - 13:12:26: replace() buffer not big enough (28>=25)
L 07/27/2009 - 13:12:26: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 13:12:26: Run time error 10: native error (native "replace")
L 07/27/2009 - 13:12:26:     string.inc::replace_all (line 239)
L 07/27/2009 - 13:12:26:     RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 13:12:26:     RegSqlRank.sma::client_disconnect (line 196)
L 07/27/2009 - 13:12:26: replace() buffer not big enough (28>=25)
L 07/27/2009 - 13:12:26: Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 13:12:26: Run time error 10: native error (native "replace")
L 07/27/2009 - 13:12:26:     string.inc::replace_all (line 239)
L 07/27/2009 - 13:12:26:     RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 13:12:26:     RegSqlRank.sma::plugin_end (line 86)

这是错误日志 好像是链接数据问题

Cr@zyTreE 发表于 2009-7-29 21:18:23

本帖最后由 Cr@zyTreE 于 2009-7-29 21:20 编辑

8# jackemoney

代码我应该是根据Grief.QQ的备注修正过代码的。已经上传,含源代码。

jackemoney 发表于 2009-8-10 09:04:40

3Q我试试^^
页: [1] 2
查看完整版本: RegSqlRank.amxx 排名读取有问题