I've been lucky enough to have this working on a DoD server now through the last 3 stages of amxmodx. Now with 1.5 and the recommended mm1.18.0p24, I'm getting this error
Quote:
L 08/23/2005 - 16:40:44: -------- Mapchange --------
L 08/23/2005 - 16:40:45: [AMXX] Run time error 4 (index out of bounds)
L 08/23/2005 - 16:40:45: [AMXX] Displaying call trace (plugin "dod\addons\amxmodx\plugins\admin.amxx")
L 08/23/2005 - 16:40:45: [AMXX] [0] admin.sma::adminSql (line 200)
L 08/23/2005 - 16:40:45: [amxbans.amxx] AMXBans amxx_4.0 is online
L 08/23/2005 - 16:40:46: [amxbans_menu.amxx] AMXBans Menu is online (7 reasons loaded)
|
Line 2oo is
Code:
g_aNum = 0
while( dbi_nextrow(Res) > 0 ) {
dbi_result(Res, "username", g_aName[g_aNum], 31) //HERE
dbi_result(Res, "password", g_aPassword[g_aNum], 31)
dbi_result(Res, "access", szAccess, 31)
dbi_result(Res, "flags", szFlags, 31)
I'm using the the sma's that came with amxbans, but with the upgrade to 1.5, I've included Lantz fix's on lines 604 & 611 in the amxbans.sma. I've always had to use the mysql version of admin.sma. The mysql_admin included with all installs has never worked. All the functions work, the custom defined ban menu (times), all levels recognized, etc. But this error nags me.... Insight?