I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: RandomFangamer on December 30, 2014, 07:37:54 PM

Title: FATAL ERROR in Gamemaker 8.1 Yuuutu Engine
Post by: RandomFangamer on December 30, 2014, 07:37:54 PM
I was using the Yuuutu engine and editing the SetGlobalOption (to make my room show up instead of the engine's) and I broke the engine. I'm not sure what I did, but the engine brings up this whenever I try to start the game:

(click to show/hide)

Looking at the text there is a slim red bar, which I think means the code is broken, although it could just be there for effect.
If anyone knows how to fix this, that would be great.
Here is the file:
(click to show/hide)
I'm such a noob with GameMaker 8.1 :paraPalm:
Title: Re: FATAL ERROR in Gamemaker 8.1 Yuuutu Engine
Post by: Sudnep on December 30, 2014, 09:03:05 PM
Can you upload the .gmk?

The unexisting room number means you're somewhere in the code you're entering a room that doesn't actually exists, resulting in a forced abort since you obviously can't enter something that isn't there.

If the only thing you were messing with was the SetGlobalOption script I suggest getting the original script and seeing what's changed and change back what you were doing one by one and figure out where the problem originated.

I never saw that script when working with yuutu. I probably just have an older version.

Edit: My guess is there is a room being referenced in the init object's step event which you had renamed or deleted.

Edit2: The slim red bar (extremely faint) is the section your cursor is located, not an error.
Errors in code occur at the bottom like this:
(click to show/hide)
Title: Re: FATAL ERROR in Gamemaker 8.1 Yuuutu Engine
Post by: RandomFangamer on December 31, 2014, 11:28:30 AM
How do I upload a .gmk file?

I checked all of the scripts and have pasted the original script back in, but no luck :(]

Edit: I checked the scripts with the "Check Recourse Names" "and Check All Scripts" options and it says that no errors or name conflicts were found
Title: Re: FATAL ERROR in Gamemaker 8.1 Yuuutu Engine
Post by: Sudnep on December 31, 2014, 02:02:18 PM
How do I upload a .gmk file?

I checked all of the scripts and have pasted the original script back in, but no luck :(]

Edit: I checked the scripts with the "Check Recourse Names" "and Check All Scripts" options and it says that no errors or name conflicts were found
If you want just add me on Skype. evanmrettman is my username

Put the .gmk file and any associated files into an archive file (.rar extension). If you have winrar you can right-click the folder and in the drop down menu there should be a 'Add to "<folderName>.rar"' and with that new file created, upload it to https://www.mediafire.com/ or send it to me over Skype and I'll look at it.
Title: Re: FATAL ERROR in Gamemaker 8.1 Yuuutu Engine
Post by: RandomFangamer on December 31, 2014, 03:32:45 PM
Alright, here it is:   :atkHappy:
httpss://www.mediafire.com/?b29k5k6xjteumnf
Title: Re: FATAL ERROR in Gamemaker 8.1 Yuuutu Engine
Post by: RandomFangamer on December 31, 2014, 03:36:18 PM
Wow, nevermind
I fixed it somehow
I was turning off the "find and remove old temp files" and I hit run in secure mode
I ran it and it fixed the problem  :IceFairy:
Thanks for helping me with the problem  :)

Title: Re: FATAL ERROR in Gamemaker 8.1 Yuuutu Engine
Post by: infern0man1 on December 31, 2014, 06:07:03 PM
Ya gotta make sure dem pesky temp files dont lay around around anything. They could end up breaking something.
Title: Re: FATAL ERROR in Gamemaker 8.1 Yuuutu Engine
Post by: RandomFangamer on January 02, 2015, 08:39:14 AM
Alright, here is what I think happened.
Every time I experienced a crash, I was not using WinRAR, which is why after I uploaded it to MediaFire, it worked.
After I uploaded it, I checked to make sure it worked, and it ran.
I don't know why, but for anyone experiencing this problem, open Gamemaker 8.1 in WinRAR.
Title: Re: FATAL ERROR in Gamemaker 8.1 Yuuutu Engine
Post by: klazen108 on January 02, 2015, 11:58:37 AM
If you're running games/GMKs from inside a RAR/ZIP archive, you're really not supposed to do that. What happens is Windows will create a hidden temp folder where the files inside the archive get sent to, you won't see it and who knows what will end up in there (in your case, you probably had a temp file referencing the old room which no longer existed). Always make sure to extract the files to a folder on your desktop, documents folder, wherever, and that will avoid all the problems.