Originally posted by [b]Epoque[/b]
This occurs when a stack overflows. Evidently something has been assigned as far too large, there's a stack array somewhere consuming too much memory. An example of this would be:
[code]unsigned int stupidstack[1000000000000];[/code]
I believe the cause of this is this:
[code]struct {
struct {
unsigned short chance;
int id;
} mob[MAX_SEARCH];
} temporaryMonsterDrop[MAX_ITEMDB];[/code]
That's (2 + 4) * 5 * MAX_ITEMDB, which is 30 * MAX_ITEMDB stack size, causing memory corruption. It depends entirely on the actual machine and what capacity it can store. That system needs replacing