Hi GiL,
I have a batttle with 8 members in group against one boss. Whenever they attack, I'll get this error message:
IndexOutOfRangeException: Array index is out of range.
ORKFramework.AttributeValues.GetValue (Int32 index)
ORKFramework.StatusValueAttributeChange.GetChange (System.Single& change, ORKFramework.Combatant user, ORKFramework.Combatant target)
ORKFramework.ValueChange.GetModifiedChange (Single change, ORKFramework.Combatant user, ORKFramework.Combatant target, Single damageFactor, Single damageMultiplier)
ORKFramework.ValueChange.GetChange (ORKFramework.Combatant user, ORKFramework.Combatant target, Single damageFactor, Single damageMultiplier, ORKFramework.VariableHandler localVariables, ORKFramework.SelectedDataHandler selectedData)
ORKFramework.ValueChange.ChangeValue (ORKFramework.Combatant user, ORKFramework.Combatant target, Single damageFactor, Single damageMultiplier, ORKFramework.ActionResults results, Boolean isCritical, ORKFramework.DamageType damageType, ORKFramework.VariableHandler localVariables, ORKFramework.SelectedDataHandler selectedData)
ORKFramework.StatusChange.Use (ORKFramework.Combatant user, ORKFramework.Combatant target, Single damageFactor, Single damageMultiplier, ORKFramework.ActionResults results, Boolean isCritical, ORKFramework.DamageType damageType, ORKFramework.VariableHandler localVariables, ORKFramework.SelectedDataHandler selectedData)
ORKFramework.ActiveAbility.Use (ORKFramework.Combatant user, System.Collections.Generic.List`1 target, ORKFramework.Ability ability, Boolean animate, ORKFramework.BaseAction action, AbilityActionType actionType, Boolean doCounter, Boolean doUseCosts, Single damageFactor, Single damageMultiplier, ORKFramework.VariableHandler localVariables, ORKFramework.SelectedDataHandler selectedData)
ORKFramework.Ability.Use (ORKFramework.Combatant user, System.Collections.Generic.List`1 target, Boolean animate, ORKFramework.BaseAction action, AbilityActionType actionType, Boolean doCounter, Boolean doUseCosts, Int32 lvl, Single damageFactor, Single damageMultiplier, ORKFramework.VariableHandler localVariables, ORKFramework.SelectedDataHandler selectedData)
ORKFramework.AbilityAction.Calculate (System.Collections.Generic.List`1 ts, Single damageFactor, Boolean animate)
ORKFramework.Events.Steps.CalculateStep.Execute (ORKFramework.Events.BaseEvent baseEvent)
ORKFramework.Events.BattleEvent.ExecuteNextStep ()
ORKFramework.Events.BaseEvent.StepFinished (Int32 next)
ORKFramework.Events.BaseEvent.Tick (Single delta)
ORKFramework.BaseAction.Tick ()
ORKFramework.BattleActionHandler.Tick ()
ORKFramework.Battle.Tick ()
ORKFramework.ORKCore.FireTick ()
ORKFramework.ORKHandler.Update ()
I get this error no matter what my party size is, or whom they are attacking. This level was added in ORK 2.16.0, and it works fine when I create new game in 2.16.
But the error pops to anyone that played our game before the new update with player prefs earlier than 2.16.
Basicaly, this means, that every player is forced to new game, losing all his previous progress, so our donators will be happy.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
What's causing the error is a damage calculation accessing an attack or defence attribute that isn't in the loaded game's stats. Did you do any changes to this in your game's setup?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
However, this shouldn't be causing a new game issues, it's a content update.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!