![]() |
|
#1
|
|||
|
|||
![]()
I am getting a lot of "index was out of range" errors.
It does not seem to affect the running of the server. I would like to neaten up the server though. See attached picture. |
#2
|
|||
|
|||
![]()
A "index was out of range" Error happens if you try to access an element in a array which not exist. In C# the first element has the index 0 and the last element has n-1. So the error mostly happens if the code acces the n element as last.
You should check the numbers of elements in a list or array with count or lenght. The last element is then count-1 or lenght-1. |
#3
|
|||
|
|||
![]()
Kodiak;
Thank you for your reply. I do not use any scripts.(except one I d/l from this forum to clean up the AI between missions) I do use the time spawn triggers as well as the group destroyed triggers. I am possibly trying to spawn something that does not exist? I was hoping there was something later in the error message that would help pinpoint where the error was occurring. |
#4
|
|||
|
|||
![]()
Can i get the complete mission? It's difficult to find the error without it.
![]() |
#5
|
|||
|
|||
![]()
I have 3 maps in rotation.As soon as I figure out which one I will PM you.
|
![]() |
|
|