edited June 2022 in ORK Support
Hey :)

I'm using a Change Status Effect node to remove a status effect from a selected combatant, and I'd like to apply a condition to that removal. However, the Conditions option doesn't appear to be working. Works fine if I want to "Add" a Status Effect, but on "Remove" and "Toggle" the Conditions don't appear. (The Conditions option is there, but nothing shows under that option).

Is this expected, or a bug?

Edit : Oh, this is interesting. So if I have a Status Effect Change in that node set to Add, everything seems fine. But on "Remove" and "Toggle", not only can I not select any conditions, I can`t add any more Status Effect Changes. Definitely looks like a bug!

Additional Edit : Testing more, I can't seem to get the Remove Status Effect Change to work at all. It just gives me a stack overflow error whenever I try to remove anything...
Post edited by StevieJay on
  • Are you already on the latest version ORK 3.3.1?
    That should have this issue fixed already :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • edited June 2022
    Aha, yes, that's fixed the missing options!

    I still have the issue, though, that any time I try to actually use Remove on a Status Effect Change it just gives me a bunch of stack overflow errors... :(
    Post edited by StevieJay on
  • Can you post the error you're getting?
    Did some tests and it's not happening on my end.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • edited June 2022
    Experimented some more - it seems to be when I use a nested Remove Status Effect. I remove one status effect, and that status effect then removes another status effect. Just using a single Remove is working fine.

    I can repro it quite easily in my project - I just set up two status effects that do nothing else, except one removes the other when it's removed (using a Status Effect Change on a schematic), and then I remove the first one (using another Status Effect Change on a schematic). Error log attached.

    (But not really a big deal for me, I've found a better way to do what I wanted to do anyway!).

    StackOverflowException: The requested operation caused a stack overflow.
    GamingIsLove.ORKFramework.StatusEffect.get_GUID () <0x1c461533ab0 + 0x00004> in <86fd4d59bede4b328bf03d5f82654fd8>:0
    GamingIsLove.ORKFramework.GUIDCollection`1[T].Remove (T content) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffect se, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.CheckEndEffectChanges () (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffect.RemoveEffect (System.Boolean force, System.Boolean showFlyingText, System.Boolean showConsole) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.DoRemove (GamingIsLove.ORKFramework.StatusEffect effect, System.Boolean force, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.Combatants.CombatantEffects.Remove (GamingIsLove.ORKFramework.StatusEffectSetting effect, System.Boolean force, System.Boolean single, System.Object source) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.Change (GamingIsLove.ORKFramework.StatusEffectSetting effect, GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, GamingIsLove.Makinom.VariableHandler castLocalVariables, GamingIsLove.Makinom.SelectedDataHandler castSelectedData) (at <86fd4d59bede4b328bf03d5f82654fd8>:0)
    GamingIsLove.ORKFramework.StatusEffectChange.ChangeEffect (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.Combatant target, System.Boolean isAutoEffect, System.Object source, G<message truncated>
    Post edited by StevieJay on
  • Yeah ... that potentially creates a loop, each remove removing the other ...
    I'll look into it, probably need to do some timing here to prevent this :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.