Page 1 of 1

Level Crash! Help me!

Posted: Thu Mar 13, 2014 6:27 pm
by Kingbowser112
Hello everyone! I've a problem. I made a level two days ago. When I want test this level, SMBX crashes, and I can't testing it. Well, will probably because my pc is a raee, it's has 3 GB of Ram. I send it also to Spark (the creator of NEW SUPER MARIO GALAXY X) and SMBX crashes also him. Well, how I do now?
He said me that if I post this level/problem here, you can correct the "lvl. code" and the level works after. Well, if is so, this is the D-link: https://www.dropbox.com/sh/lpy6br2oc0s71s2/QdMHq-E-tS

Well, I hope you everyone help me and thanks is advance!

Re: Level Crash! Help me!

Posted: Thu Mar 13, 2014 8:22 pm
by Julia Pseudo
Yeah, levels and world maps (especially world maps) can get corrupted sometimes. Is it actually possible for this to be fixed/do we know how to fix it? I hadn't heard that before, but that would be fantastic if someone could.

Re: Level Crash! Help me!

Posted: Fri Mar 14, 2014 3:57 pm
by Kingbowser112
Therefore is impossible fix the level ?

Re: Level Crash! Help me!

Posted: Fri Mar 14, 2014 4:28 pm
by zlaker
Well it could be that there something wrong with the text documentes in the level. Either that it I've no idea..

Re: Level Crash! Help me!

Posted: Fri Mar 14, 2014 4:29 pm
by FanofSMBX
What's the specific error message?

Re: Level Crash! Help me!

Posted: Fri Mar 14, 2014 6:23 pm
by Kingbowser112
Thsi is the written that appear when I try to test the level.

" Run-time error '13':
type mismatch"

And under this, there's an "Ok" and when I click it, SMBX closes automatically.

Re: Level Crash! Help me!

Posted: Fri Mar 14, 2014 6:36 pm
by FanofSMBX
Type mismatch, eh? That usually happens if a computer is set to a language, that cannot read decimal (1.5, 0.5, etc) in .txt files. Although SMBX can read decimals fine in event systems, your computer might not be able to read them in .txt (maybe it's Italian?).
I'm looking at it right now.
Hmm... in npc-2, try deleting the blank space above npcblocktop=1.
Oh, I tested it (without doing ^). It crashes for me also, and I can use NPC decimals. I'm afraid you might have to re-do the level.

Re: Level Crash! Help me!

Posted: Fri Mar 14, 2014 10:30 pm
by bossedit8
No No No. Redone and so on is not the correct case to have right there. Type Mismatch is often referred to a code that does not fit or has decimal codes/numbers into it. Inside the Level's Folder, are there any NPC Codes that are correct to match the Level? Check to every NPC Codes that does not fit or has decimal codes/numbers into it and fix/delete them.

Re: Level Crash! Help me!

Posted: Sat Mar 15, 2014 2:23 am
by Chad
I solved the problem by playing around with it in Notepad a bit.

Apparently the problem was that you had a layer called ""magic"". The Notepad version puts names in quotations whether you use them or not, so the extra ones must have confused it. I went through and deleted all the extra quotes and that allowed it to open up properly. Here ya go:

http://www.sendspace.com/file/6lbmh5

Re: Level Crash! Help me!

Posted: Sat Mar 15, 2014 6:59 pm
by Kingbowser112
Well, the level works now!
Thanks to Chad that solved the problem.

Anyway thanks to FanofSMBX and bossedit8, everyone!