Raised This Month: $51 Target: $400
 12% 

Error: index out of bounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 01-17-2009 , 15:35   Error: index out of bounds
Reply With Quote #1

Got this:

Quote:
L 01/17/2009 - 211:27: Info (map "de_dust2_remake2k") (file "addons/amxmodx/logs/error_20090117.log")
L 01/17/2009 - 211:27: [AMXX] Displaying debug trace (plugin "xredirect.amxx")
L 01/17/2009 - 211:27: [AMXX] Run time error 4: index out of bounds
L 01/17/2009 - 211:27: [AMXX] [0] xredirect.sma::welcome_message (line 2402)
Using 1.0.3. Do you need more Info?
Guenhwyvar is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 01-17-2009 , 23:59   Re: Error: index out of bounds
Reply With Quote #2

we had that error in the past but actually i put some if around it that pretty much makes sure it can't happen again. there is only one indexing variable left that is not checked and could get out of bounds: g_nOwnServer, the variable holding the own server. so does your log, by any chance, also show a message that the own server was not detected?
and is the error reproducable? if your own server is detected and the error is reproducable i would send you a modified version that shows me the info i need to track the error down.

also if the player id would be -1 we would see the same situation. but first answer my other questions. the debug version will then tell me, if it's the player id or something else.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 01-18-2009 , 04:54   Re: Error: index out of bounds
Reply With Quote #3

Shame on me: My serverlist.ini was outdated (grr) and the own IP was incorrect.
In the normal logs (expected this in the error logfiles), the "Own server has not been detected" error appeared.

Fixed the serverlist.ini and will report here if everything is fine again .

Sorry for inconvenience!
Guenhwyvar is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 01-18-2009 , 10:06   Re: Error: index out of bounds
Reply With Quote #4

well, shit happens. glad to hear you seem to have found the cause for the problem.
and you're right, this would belong into the error log, i might change that later i guess.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 01-18-2009 , 12:50   Re: Error: index out of bounds
Reply With Quote #5

Everything works fine now .
Guenhwyvar is offline
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 08:43.


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