ERROR - Erkennt keine Variablen mehr

  • GM 8
  • ERROR - Erkennt keine Variablen mehr

    Hi,
    ich hab seit ein par Tagen ein sehr merkwürdiges Problem und schon einiges versucht um es zu lösen leider hat bis jetzt nix davon geholfen.

    Folgendes Problem:
    -Ich starte Game Maker.
    -Ich starte mein Spiel (über run the game) und es läuft soweit alles normal und ohne Problem.
    -Ich beende mein Spiel und gehe zu den rooms
    -Ich starte mein Spiel wieder und aufeinmal krieg ich diverse errors und er erkennt auf einmal diverse Variablen nichtmehr und das alles obwohl ich nix gemacht habe sondern mir nur meinen room0 angesehen habe.

    Passiert übrigends nur wenn ich mir room0 ansehe bei den anderen Rooms trifft das nicht zu.
    Hatte bis jetzt noch nie so ein Problem und es lief immer ganz Gut, ich hab keine Ahnung wie dieser Fehler aufgetretten ist.

    Jemand ne Ahnung woran das liegen kann, bzw. was das ist?

    Weiß nicht ob das was hilft aber hier mal ein Teil der errors:
    Spoiler anzeigen

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

    Error in code at line 1:
    global.MyMp = global.MP;
    ^
    at position 22: Unknown variable MP

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

    Error in code at line 1:
    global.MyHp = global.HP;
    ^
    at position 22: Unknown variable HP

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

    Error in code at line 1:
    global.MyExp = global.EXP_start;
    ^
    at position 23: Unknown variable EXP_start

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

    Error in code at line 25:
    if (global.DEF<=enemyACC)
    ^
    at position 13: Unknown variable DEF

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

    Error in code at line 25:
    if (global.DEF<=enemyACC)
    ^
    at position 13: Unknown variable DEF

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

    Error in code at line 25:
    if (global.DEF<=enemyACC)
    ^
    at position 13: Unknown variable DEF

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

    Error in code at line 25:
    if (global.DEF<=enemyACC)
    ^
    at position 13: Unknown variable DEF

    ___________________________________________
    ERROR in
    action number 1
    of Draw Event
    for object obj_MP:

    Error in code at line 2:
    Mp = global.MyMp/(global.MP/sprite_width);
    ^
    at position 14: Unknown variable MyMp

    ___________________________________________
    ERROR in
    action number 1
    of Draw Event
    for object obj_HP:

    Error in code at line 2:
    Hp = global.MyHp/(global.HP/sprite_width);
    ^
    at position 14: Unknown variable MyHp

    ___________________________________________
    ERROR in
    action number 1
    of Draw Event
    for object obj_EXP:

    Error in code at line 2:
    Exp = global.MyExp/(global.EXP/sprite_width);
    ^
    at position 15: Unknown variable MyExp

    ___________________________________________
    ERROR in
    action number 1
    of Draw Event
    for object obj_bar_text:

    Error in code at line 10:
    draw_text(xx,yy,string(global.MyHp)+"/"+string(global.HP));
    ^
    at position 32: Unknown variable MyHp

    ___________________________________________
    ERROR in
    action number 1
    of Step Event
    for object Alien1:

    Error in code at line 61:
    global.MEXP_count=global.EXP_count+global.EXP-global.MyExp;
    ^
    at position 55: Unknown variable MyExp

    ___________________________________________
    ERROR in
    action number 1
    of Draw Event
    for object obj_MP:

    Error in code at line 2:
    Mp = global.MyMp/(global.MP/sprite_width);
    ^
    at position 14: Unknown variable MyMp

    ___________________________________________
    ERROR in
    action number 1
    of Draw Event
    for object obj_HP:

    Error in code at line 2:
    Hp = global.MyHp/(global.HP/sprite_width);
    ^
    at position 14: Unknown variable MyHp

    ___________________________________________
    ERROR in
    action number 1
    of Draw Event
    for object obj_EXP:

    Error in code at line 2:
    Exp = global.MyExp/(global.EXP/sprite_width);
    ^
    at position 15: Unknown variable MyExp
    Imagine taking your usual two century long nap minding your own business when suddenly some cunt wakes you up.
    You tell him to f*ck off of course but just when you finally managed to fall asleep again the same asshole comes knocking again. I'd attack that dick too.
  • OMG ich hab das Problem jetzt endlich gelöst. Die Depth meines Players war -1.
    Ich hab die jetzt wieder auf 0 gemacht und siehe da es Funktioniert wieder alles einwandfrei.

    Hab zwar keine Ahnung warum das vorher nicht ging aber aufjedenfal läuft es jetzt wieder!
    Imagine taking your usual two century long nap minding your own business when suddenly some cunt wakes you up.
    You tell him to f*ck off of course but just when you finally managed to fall asleep again the same asshole comes knocking again. I'd attack that dick too.
  • Benutzer online 1

    1 Besucher