3 Consecutive errors!

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

Animebryan
Spike
Spike
Posts: 262
Joined: Fri Jun 03, 2016 5:40 pm
Flair: Need help!
Contact:

3 Consecutive errors!

Postby Animebryan » Mon Dec 20, 2021 7:33 pm

Why?

Image

I don't understand the 1st error, Beat Timer isn't enabled in any of the sections of my level nor are any Beat Blocks even used, and it's bitching about Dirtblocks but I don't understand why.

Hoeloe
Phanto
Phanto
Posts: 1465
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: 3 Consecutive errors!

Postby Hoeloe » Mon Dec 20, 2021 8:54 pm

Often, errors will cascade. If one thing fails, multiple things will start to fail which may not seem related. This isn't something we can control, it's just the nature of how programs work (keep in mind that retail software also errors like this, it's just that most of it closes down the moment it encounters a single error, giving no time for the others to be raised) - think of it like hitting glass with a hammer - the spot where the hammer falls is the source of the problem, but cracks spread throughout every part of it.

Usually when fixing errors, it's best to work on them one at a time, and the first one that appears is most likely to be the culprit. In this case, some code in bettereffects is trying to use an image that doesn't exist. Since bettereffects (as the name suggests) handles effects rendering, it's quite likely that there's an image missing somewhere for an effect file. I can't get more specific than that because there's not much more information to go on.

Animebryan
Spike
Spike
Posts: 262
Joined: Fri Jun 03, 2016 5:40 pm
Flair: Need help!
Contact:

Re: 3 Consecutive errors!

Postby Animebryan » Mon Dec 20, 2021 10:37 pm

Solved it. Found a effect txt file in my level folder but no graphic file associated with it. Apparently I forgot to copy over the image file to the level folder. Wish those errors would help pinpoint the problem better though (effect-x.txt file has no graphic/.png file associated with it/ is missing).

Not only that, but why was it bitching about the Beat Timer & YI Dirt Blocks? Neither of those had anything to do with the problem & just creates more confusion. Those error messages are flawed & need to be more accurate.

Waddle
Tellah
Tellah
Posts: 1583
Joined: Sun Sep 07, 2014 4:59 am
Flair: hi!!!
Pronouns: He/Him

Re: 3 Consecutive errors!

Postby Waddle » Tue Dec 21, 2021 10:51 am

The error messages aren't the problem here; the errors don't pinpoint the problem you were having because they specifically pinpoint what was going wrong in their respective scripts. They're perfectly accurate. As for WHY these particular errors cropped up, one would have to look at the code behind the beat blocks & YI dirt blocks. I have little experience with those, but if you wish to complain about these errors, that's where your complaint should go, not the error messages.

It's precisely as Hoeloe said; that first error pinpoints the issue perfectly (img is nil, i.e., no image was found), and from there, bettereffects breaking likely caused the other two scripts to fail.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari