搜索
查看: 5703|回复: 10

RegSqlRank.amxx 排名读取有问题

[复制链接]
发表于 2009-7-23 10:38:57 | 显示全部楼层 |阅读模式 来自 中国–湖北–武汉
L 07/23/2009 - 01:06:51: replace() buffer not big enough (15>=13)
L 07/23/2009 - 01:06:51: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:06:51: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:07:10: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:24:48: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:28:31: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:29:52: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:29:52: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:30:11: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:31:39: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:31:39: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:32:05: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:07: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:07: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:16: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:26: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 01:59:35: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/23/2009 - 10:16:27: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).


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

谢谢阅读~
发表于 2009-7-25 22:46:24 | 显示全部楼层 来自 中国–广东–深圳
开debug,改代码。。。
回复

使用道具 举报

 楼主| 发表于 2009-7-27 09:44:58 | 显示全部楼层 来自 中国–湖北–武汉
调试模式开了啊~! 选择的是 1
代码怎么改 呢是改
RegSqlRank.amxx 原码吗?
回复

使用道具 举报

发表于 2009-7-27 19:46:36 | 显示全部楼层 来自 中国–广东–深圳–宝安区
论坛上有GRIEF.QQ老大发布的代码,自己找下。
回复

使用道具 举报

发表于 2009-7-27 19:46:58 | 显示全部楼层 来自 中国–广东–深圳–宝安区
RegSqlRank.amxx  debug
回复

使用道具 举报

 楼主| 发表于 2009-7-29 10:07:16 | 显示全部楼层 来自 中国–湖北–武汉
http://www.dt-club.net/forum/vie ... ghlight=ASP%2BMySQL
是这个帖子吗??下崽地址无效了
邮箱里面也是空的
请问您有链接吗?
回复

使用道具 举报

 楼主| 发表于 2009-7-29 11:43:14 | 显示全部楼层 来自 中国–湖北–武汉
其实玩家得名字在排行里面有 就是没有积分
回复

使用道具 举报

 楼主| 发表于 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/27/2009 - 11:36:43: [AMXX] 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: [AMXX] Run time error 10 (plugin "RegSqlRank.amxx") (native "replace") - debug not enabled!
L 07/27/2009 - 12:17:51: [AMXX] 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: [AMXX] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:30:29: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 12:30:29: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 12:30:29: [AMXX]    [1] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:35:51: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 12:35:51: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 12:35:51: [AMXX]    [1] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:36:40: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 12:36:40: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 12:36:40: [AMXX]    [1] RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 12:36:40: [AMXX]    [2] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:38:20: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 12:38:20: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 12:38:20: [AMXX]    [1] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:39:14: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 12:39:14: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 12:39:14: [AMXX]    [1] RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 12:39:14: [AMXX]    [2] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:39:31: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 12:39:31: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 12:39:31: [AMXX]    [1] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:46:26: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 12:46:26: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 12:46:26: [AMXX]    [1] RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 12:46:26: [AMXX]    [2] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:46:26: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 12:46:26: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 12:46:26: [AMXX]    [1] RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 12:46:26: [AMXX]    [2] 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: [AMXX] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 12:46:45: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 12:46:45: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 12:46:45: [AMXX]    [1] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 13:12:26: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 13:12:26: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 13:12:26: [AMXX]    [1] RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 13:12:26: [AMXX]    [2] 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: [AMXX] Displaying debug trace (plugin "RegSqlRank.amxx")
L 07/27/2009 - 13:12:26: [AMXX] Run time error 10: native error (native "replace")
L 07/27/2009 - 13:12:26: [AMXX]    [0] string.inc::replace_all (line 239)
L 07/27/2009 - 13:12:26: [AMXX]    [1] RegSqlRank.sma::gets_user_stats (line 235)
L 07/27/2009 - 13:12:26: [AMXX]    [2] RegSqlRank.sma::plugin_end (line 86)

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

使用道具 举报

发表于 2009-7-29 21:18:23 | 显示全部楼层 来自 中国–广东–深圳–宝安区
本帖最后由 Cr@zyTreE 于 2009-7-29 21:20 编辑

8# jackemoney

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

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2009-8-10 09:04:40 | 显示全部楼层 来自 中国–湖北–武汉
3Q我试试^^
回复

使用道具 举报

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

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