Server crashes when it changes map

Bug #890322 reported by Dokurider
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gang Garrison 2
Incomplete
Undecided
Unassigned

Bug Description

___________________________________________
ERROR in
action number 1
of Alarm Event for alarm 5
for object Player:

Error in code at line 9:
           numSpawnPoints = ds_list_size(global.spawnPointsRed[0,group]);
                                                                 ^
at position 64: Negative array index

Revision history for this message
MedO (smaxein) wrote :

Please provide more details. How often does this happen? Are you using vanilla GG2 or a mod? What is the gametype of the current map when it happens, and what is the gametype of the map the server is switching to?

Changed in gg2:
status: New → Incomplete
Revision history for this message
Dokurider (dokuriderdoke) wrote :

Every time my server changes maps, there is a very good chance of it happening. Very good. It is vanilla GG2, and both maps were CTF.

Revision history for this message
MedO (smaxein) wrote :

Wait a second.. do you get a message like "This map contains invalid spawn points" first?

Revision history for this message
Dokurider (dokuriderdoke) wrote :

Yeah

Revision history for this message
MedO (smaxein) wrote :

So, don't you think it would have been interesting to mention this? I spent an hour trying to figure out how you can get this error without getting that message first.

Please attach the .png file of the second map (the one that was being switched to).

Revision history for this message
MedO (smaxein) wrote :

Just to clarify, when you get several errors/messages in a row and you don't want to report all of them, always at least include the first one. That is usually the one which caused the problems. The later errors are often just caused by the first one.

Revision history for this message
Dokurider (dokuriderdoke) wrote :

It was just ctf_2dfort/ctf_conflict

Revision history for this message
MedO (smaxein) wrote :

The problem must be in a different part of the code than what I had originally thought, that's why I didn't continue there for the moment.

To better understand what exactly is happening, could you attach your gg2.ini and map rotation file (if you use one)? And just to make sure, this happened when switching FROM ctf_2dfort TO ctf_conflict - which map did you see in the game while the error messages were shown?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.