Author Topic: Need help figuring out this bug. (YoYoYo Engine for Game Maker Studio) Resolved  (Read 1841 times)

aytoms29

  • Cherry Eater
  • Posts: 54
  • here come dat boi
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
    • My Steam Profile
  • Playstyle: Keyboard
Probably something really obvious but I can't figure it out. Need to stop asking questions or I'll never finish.

Please help me :BibleThump:

Here is the code that crashes my game:
(click to show/hide)

Thank you! (I should really do some research on this)
« Last Edit: May 19, 2016, 08:58:58 PM by aytoms29 »
beans are good son

Sudnep

  • Global Moderator
  • Spike Dodger
  • Posts: 124
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
  • Playstyle: Keyboard
Quote
Variable objWorld.rMiku(100007, -2147483648) not set before reading it.
 at gml_Script_scrGetMusic (line 14) -     case rMiku:

In the script scrGetMusic @ line 14 there is a variable that doesn't exist. That variable is rMiku.

I'm guessing you renamed a room from rMiku to something else or haven't created the room rMiku.

aytoms29

  • Cherry Eater
  • Posts: 54
  • here come dat boi
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
    • My Steam Profile
  • Playstyle: Keyboard
In the script scrGetMusic @ line 14 there is a variable that doesn't exist. That variable is rMiku.

I'm guessing you renamed a room from rMiku to something else or haven't created the room rMiku.

Thank you so much!

I think the problem was that I forgot to erase the code in the engine's sample game.
beans are good son