#Crushing client

5 messages · Page 1 of 1 (latest)

keen hornet
#

Upload your client crash log file
`Command & Conquer Red Alert II\Client\ClientCrashLogs

keen hornet
#

KABOOOOOOM!!! Info:
Type: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.

you see this when it crash

topaz sierra
#

For your second and third crash,

            for (int pId = 0; pId < Players.Count; pId++)
            {
                PlayerInfo pInfo = Players[pId];

                pInfo.ColorId = ddPlayerColors[pId].SelectedIndex; // here
                pInfo.SideId = ddPlayerSides[pId].SelectedIndex;

seems like a race condition issue which is not easy to fix. Is it frequent to happen? And do you have a way to reliably reproduce this crash? Let the room be 7 players and let 2 players join the room simultaneously, right?

#

For your first crash, 2025_11_01_13_58.txt, it should be fixed in the incoming client version

topaz sierra
#

I just looked the client's code and the code says there are already an mechanism to lock the game room up to 8 (by enforcing the capacity of IRC channel). It is weird that this policy is not applied and honestly I don't know why...