Raised This Month: $ Target: $400
 0% 

Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lapiuxxx
Junior Member
Join Date: Dec 2010
Old 07-07-2012 , 15:40   Problem
Reply With Quote #1

I've got 2 servers, and i got sms system which i'm using on both of them/ servers: public/jailbreak
So, on public system works perfect with no errors, and i made system for jailbreak from same .sma, just changed sql, and it have some errors on jailbreak:
22:30:27 [AMXX] Uzkrauti 26 adminai is duomenu bazes(It says that 26 admins been loaded)
22:30:27 L 07/07/2012 - 22:38:23: [AMXX] Displaying debug trace (plugin "sms.amxx")
22:30:27 L 07/07/2012 - 22:38:23: [AMXX] Run time error 4: index out of bounds
22:30:27 L 07/07/2012 - 22:38:23: [AMXX] [0] sms.sma::getAccess (line 329)
22:30:27 L 07/07/2012 - 22:38:23: [AMXX] [1] sms.sma::accessUser (line 450)
22:30:27 L 07/07/2012 - 22:38:23: [AMXX] [2] sms.sma::cmdReload (line 294)
LINES:
329:
if (AuthData[c - 1] == '.') /* check if this is not a xxx.xxx. format */
450:
new result = getAccess(id, username, userauthid, userip, password)
AND 294:
accessUser(pv, name)

So, can anyone help? Sorry 4 bad english

Last edited by lapiuxxx; 07-07-2012 at 15:40.
lapiuxxx is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-15-2012 , 19:01   Re: Problem
Reply With Quote #2

You need to show more of the code for us to help you. The only thing I can tell from what you have posted is that AuthData[c-1] is out of bounds, meaning that c is either less than or equal to 0 or more than the size of AuthData.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode