Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

No problem! It happens in GMS2 2.3.0 (0.529 IDE version) and right when I try to run the projects with no modifications. The projects do undergo a conversion when importing or loading up for the first time, but no error is generated. 

___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object obj_init:

DoAdd :1: illegal array use
 at gml_Object_obj_init_Create_0 (line 238) - global.spells[e_spell_types.heal, e_spell_stats.min_value] = 8 + global.pl_stats[e_pl_stats.level];
############################################################################################
gml_Object_obj_init_Create_0 (line 238)

On the face of it I would say that it's because 2.3 changes the way arrays are references.

It should be :

global.spells[e_spell_types.heal][e_spell_stats.min_value] instead of global.spells[e_spell_types.heal, e_spell_stats.min_value]


When I loaded up the December 2019 download I was able to play the game but I noticed some bugs and I've decided I'm just going to re-write most/all of it so that there are no more bugs (that I know of) and that it works properly with 2.3. It will have the benefit of another years worth of coding experience + be created in 2.3.
This does mean that it will take some time for me to update the files so if you'd like to refund in the meantime that's no problem.

Not a problem! I'll keep an eye out for updates and follow through with your videos (which are great by the way)!

thank you :)