davidlallen
Deity
jester fool said:m_aiBonusValue = 12
m_aiUnitClassWeights = 1699872782
m_aiUnitCombatWeights = 16
That cannot be right. m_aiBonusValue is an "int *". 12 is an int. I will try browsing through the code, but something in the initialization is putting an int here instead of allocating an array.
As a hack, you could try commenting out all references to m_aiBonusValue, so at least the invalid value wouldn't mess anything up. That would result in something that does not crash but also doesn't correctly use whatever this object is.