Thylacine Studios - Forum

Crash on spell cast or enemy ondeath  (Read 576 times)

Offline Zack

  • Administrator
  • *****
  • Posts: 3401
    • View Profile
Re: Crash on spell cast or enemy ondeath
Reply #4 November 21, 2016, 01:57:14 PM
A fix should be up for this now. Thanks!
Designer and Programmer of Siralim and The Negative. Follow us on: Facebook | Twitter | YouTube

Offline bluequakeralex

  • *****
  • Posts: 603
    • View Profile
Re: Crash on spell cast or enemy ondeath
Reply #3 November 21, 2016, 01:30:02 PM
I updated the description to be more clear that it was not every battle.

Offline Zack

  • Administrator
  • *****
  • Posts: 3401
    • View Profile
Re: Crash on spell cast or enemy ondeath
Reply #2 November 21, 2016, 01:29:24 PM
Easy fix, thanks! This crash happens if a creature has the "Sacrifice to the Light" gem equipped.
Designer and Programmer of Siralim and The Negative. Follow us on: Facebook | Twitter | YouTube

Offline bluequakeralex

  • *****
  • Posts: 603
    • View Profile
Crash on spell cast or enemy ondeath
Reply #1 November 21, 2016, 01:28:13 PM
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of  Step Event0
for object obj_battlecontroller:

Variable obj_battlecontroller.caster(100366, -2147483648) not set before reading it.
at gml_Script_bc_OnDeath
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_bc_OnDeath (line 0)
gml_Script_bc_ExecuteEvents
gml_Object_obj_battlecontroller_Step_0


The game crashed when I cast a AoE spell killing a pack of enemies that possibly had an ondeath effect.