Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: chase is my name on March 14, 2007, 02:37:24 am

Title: List Index Out of Bounds after a while
Post by: chase is my name on March 14, 2007, 02:37:24 am
I've written several scripts for my server keeping track of player stats, hi scores, aliveness, subadmin commands, etc, etc.

However anytime after about an hour of uptime, I start getting a whole bunch of cool error messages such as:


7-03-13 19:55:18 
7-03-13 19:55:32 

And various List Index out of Bounds (4331) errors within any of my EVENTS procedures.

Is it me, or is the scripting engine bad with memory management or is it about time to retire my expensive server?

btw. I don't even know what that POINTMATCH constant assignment is. I never wrote that in any of my scripts.
Title: Re: List Index Out of Bounds after a while
Post by: Avarax on March 14, 2007, 05:50:04 am
i get this bug in my RPG script aswell. but it doesnt do any harm to the stablenesss of the server
Title: Re: List Index Out of Bounds after a while
Post by: EnEsCe on March 14, 2007, 05:57:25 am
Sounds to me like a badly managed script
Title: Re: List Index Out of Bounds after a while
Post by: Avarax on March 14, 2007, 05:58:51 am
yeah but what could cause this?
Title: Re: List Index Out of Bounds after a while
Post by: chase is my name on March 14, 2007, 10:39:55 am
i think it might be related to my new thread about the game server still thinking people who disconnected are still in the game. Thread is: Disconnects are still there.