Author Topic: List Index Out of Bounds after a while  (Read 1246 times)

0 Members and 1 Guest are viewing this topic.

Offline chase is my name

  • Major(1)
  • Posts: 19
List Index Out of Bounds after a while
« 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:

  • Run-time error (AppOnIdle "POINTMATCH = 1;"): Null Pointer Exception

7-03-13 19:55:18 
  • Run-time error (OnJoinTeam "POINTMATCH = 1;"): Null Pointer Exception

7-03-13 19:55:32 
  • Run-time error (OnPlayerKill "POINTMATCH = 1;"): Null Pointer Exception


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.

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: List Index Out of Bounds after a while
« Reply #1 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
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host


Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: List Index Out of Bounds after a while
« Reply #3 on: March 14, 2007, 05:58:51 am »
yeah but what could cause this?
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline chase is my name

  • Major(1)
  • Posts: 19
Re: List Index Out of Bounds after a while
« Reply #4 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.