Request Data Base Error Messages

noisound

Golden Oldie
Golden Oldie
Jul 23, 2004
1,332
7
145
Running out of ideas on how to fix the below errors, any help appreciated


[2/3/2017 6:37:38 PM]: [outer workloop error]System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Server.MirDatabase.MonsterInfo.<>c.<LoadDrops>b__37_0(DropInfo drop1, DropInfo drop2) in C:\Users\support_2\Desktop\mir2-master\Server\MirDatabase\MonsterInfo.cs:line 203
at System.Collections.Generic.ArraySortHelper`1.InsertionSort(T[] keys, Int32 lo, Int32 hi, IComparer`1 comparer)
at System.Collections.Generic.ArraySortHelper`1.IntroSort(T[] keys, Int32 lo, Int32 hi, Int32 depthLimit, IComparer`1 comparer)
at System.Collections.Generic.ArraySortHelper`1.IntrospectiveSort(T[] keys, Int32 left, Int32 length, IComparer`1 comparer)
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
--- End of inner exception stack trace ---
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
at System.Collections.Generic.List`1.Sort(Comparison`1 comparison)
at Server.MirDatabase.MonsterInfo.LoadDrops() in C:\Users\support_2\Desktop\mir2-master\Server\MirDatabase\MonsterInfo.cs:line 205
at Server.MirEnvir.Envir.StartEnvir() in C:\Users\support_2\Desktop\mir2-master\Server\MirEnvir\Envir.cs:line 1871
at Server.MirEnvir.Envir.WorkLoop() in C:\Users\support_2\Desktop\mir2-master\Server\MirEnvir\Envir.cs:line 501
 

Valhalla

Nexus Mir Developer
Veteran
Sep 7, 2012
1,948
3
447
150
127.0.0.1
Just looking at the error says a lot, check your drop files. I'm not an expert at all but you might be failing to load something in ur mob drops.
 
Upvote 0

noisound

Golden Oldie
Golden Oldie
Jul 23, 2004
1,332
7
145
Just looking at the error says a lot, check your drop files. I'm not an expert at all but you might be failing to load something in ur mob drops.

Yeah tried that looked at all the ones i changed today and fixed any errors but still getting the messages :/
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
def a drop file error. cant help much more as error doesnt say any more

Sent from my SM-G935F using Tapatalk
 
Upvote 0

noisound

Golden Oldie
Golden Oldie
Jul 23, 2004
1,332
7
145
[2/3/2017 7:21:48 PM]: [outer workloop error]System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Server.MirDatabase.MonsterInfo.<>c.<LoadDrops>b__37_0(DropInfo drop1, DropInfo drop2) in C:\Users\support_2\Desktop\mir2-master\Server\MirDatabase\MonsterInfo.cs:line 203
at System.Collections.Generic.ArraySortHelper`1.SwapIfGreater(T[] keys, IComparer`1 comparer, Int32 a, Int32 b)
at System.Collections.Generic.ArraySortHelper`1.IntrospectiveSort(T[] keys, Int32 left, Int32 length, IComparer`1 comparer)
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
--- End of inner exception stack trace ---
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
at System.Collections.Generic.List`1.Sort(Comparison`1 comparison)
at Server.MirDatabase.MonsterInfo.LoadDrops() in C:\Users\support_2\Desktop\mir2-master\Server\MirDatabase\MonsterInfo.cs:line 205
at Server.MirEnvir.Envir.StartEnvir() in C:\Users\support_2\Desktop\mir2-master\Server\MirEnvir\Envir.cs:line 1871
at Server.MirEnvir.Envir.WorkLoop() in C:\Users\support_2\Desktop\mir2-master\Server\MirEnvir\Envir.cs:line 501



Changed all the drops to match a Working mob before changes made today and still getting these errors. I changed mob stats today for ZT and PB do you think that's the issue here? i can't think of anything else it would be these are the main changes i made today

---------- Post Merged at 10:45 AM ---------- Previous Post was at 10:23 AM ----------

Sorted, was a few errors in drop files, frustrating, thanks for the reply Far
 
Upvote 0