Closed renatosilvatimebel closed 8 months ago
Getting a crash while trying to save a game
############################################################################################ ERROR in action number 1 of Alarm Event for alarm 0 for object obj_saveload: Push :: Execution Error - Variable Index [1] out of range [1] - -9.bio(101554,1) at gml_Script_scr_save (line 848) - ini_write_real("Mar","bio"+string(coh)+"."+string(mah),obj_ini.bio[coh,mah]); ############################################################################################ gml_Script_scr_save (line 848) gml_Object_obj_saveload_Alarm_0 (line 4) - if (save_part=5){txt="Astartes Registry";with(obj_controller){scr_save(4,obj_saveload.save_number);}trickle=40;save_part=6;}
somehow my
obj_ini.bio
only have one array in it, so whenever it tries to save acoh
that its different than0
it crashes:commenting out this line actually saves the game fine.
is that
obj_ini.bio
currently being used?
saving is bust in dev until @GalacticChimp finishes the new save version. this can be closed
Getting a crash while trying to save a game
https://github.com/ZAB909/ChapterMaster/blob/7904551b6573c0af832fc26f75a24dd2224214c5/scripts/scr_save/scr_save.gml#L848
somehow my
obj_ini.bio
only have one array in it, so whenever it tries to save acoh
that its different than0
it crashes:commenting out this line actually saves the game fine.
is that
obj_ini.bio
currently being used?