Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I have encountered a reproducible crash.
On task 10 ACC(N) I am trying the following code:

VAL 0;
WHILE 1 {
  T IN;
  IF T {
    VAL T;
  }
  OUT VAL;
  DOWN 1;
}

When I step through the code I can see VAL being set to the appropriate last-non-zero input, but `OUT VAL` always outputs zero. This isn't a "troubleshoot my solution" post, although I'd welcome that. I am including this program to help describe the crash.

If I run this program at normal or fast forward speed, it simply outputs all zeros and then fails with "OUTPUTS ARE NOT CORRECT". However, if I hit some pattern of F1 F2 F3 ESC (sorry it's tedious for me to test and reproduce exact patterns, but I think F1 F2 F2 F2 F2 F2 F2 F3 ESC will do it) then the interface shows me a weird state. I'm not running the program and the in/out cursor isn't moving, but the variables column keeps updating for a while until before it stops. At that point if I hit F1 F2 F2 to try to step through my program from the beginning I get this crash message:

___________________________________________
############################################################################################
ERROR in
action number 1
of  Step Event0
for object oCodeRead:
Variable Index [64] out of range [64] - 4.100082(100082,64)############################################################################################
gml_Script_find_value (line 13)
gml_Object_oCodeRead_Step_0 (line 418)

PS: much smaller bug report: that second ### in the error output should probably have a newline before it.

Noted. I shall certainly look into this.

As for the ###'s, GameMaker generates those error messages automatically, so it's their problem. ¯\_(ツ)_/¯