Raised This Month: $32 Target: $400
 8% 

Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
koleos
Senior Member
Join Date: Jul 2008
Old 12-02-2008 , 07:06   Error
Reply With Quote #1

Hi. I always get this error
Code:
L 12/01/2008 - 07:05:57: Start of error session.
L 12/01/2008 - 07:05:57: Info (map "cs_assault") (file "addons/amxmodx/logs/error_20081201.log")
L 12/01/2008 - 07:05:57: [AMXX] Displaying debug trace (plugin "xredirect-beta.amxx")
L 12/01/2008 - 07:05:57: [AMXX] Run time error 4: index out of bounds 
L 12/01/2008 - 07:05:57: [AMXX]    [0] 33170.attach::welcome_message (line 2405)
koleos is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-02-2008 , 09:51   Re: Error
Reply With Quote #2

you are using the 1.0.3 version that is still declared as beta. my problem is that i only got 1.0.3 stable here and there the line numbers changed a bit.

here line 2405 is an empty line, so i'm afraid i can't do anything with that. could you either append the source file of your current version or try it again using 1.0.3 stable version?

while i do not know the exact line i can still do a good guess. this error is in most cases caused by an overflow of the serverlist index. e.g. server A knows 7 other servers, so loads 7 and accepts a server index up to 7. but now you have 8 servers and server B is number 8 in the list. when someone redirects himself from server B to server A he carries the information "i am coming from server 8". when he arrives at server 7 it tries to display the welcome message where it says "you came here from server 8". now it tries to get the name out of the server list for server 8...but...there is no server 8. so accessing an index number that is out of bounds for the server list.
although actually would be pretty weird. versions ago i added code that should intercept this kind of error. either that code does not work or we got a new error here.

you should still check whether your serverlist.ini files are all the same, containing the same number of servers in the same order.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:

Last edited by xOR; 12-02-2008 at 09:54.
xOR is offline
koleos
Senior Member
Join Date: Jul 2008
Old 12-06-2008 , 17:00   Re: Error
Reply With Quote #3

This is my serverlist.ini in all servers
Code:
[iGz.HnS #1 Hide N Seek]
address=igz.nuclearfallout.net
port=27015
cmdbackup=5
noauto=1
nomanual=1
nodisplay=0

[iGz.HnS #2 Hide N Seek (Building server)]
address=igzhns.nuclearfallout.net
port=27015

[iGz.HnS #3 Public server]
address=69.31.15.99:27015
port=27015
koleos is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-06-2008 , 17:19   Re: Error
Reply With Quote #4

not related to the problem, but is it wanted that you forbid people to redirect to the first server?
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
koleos
Senior Member
Join Date: Jul 2008
Old 12-06-2008 , 19:26   Re: Error
Reply With Quote #5

I want them to be able to redirect to 1st server
koleos is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-07-2008 , 23:00   Re: Error
Reply With Quote #6

well then remove the lines with nomanual and noauto from the server list.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR 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 15:50.


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