Page 1 of 1

Type Mismatch (PLEASE HELP)

Posted: Wed Jul 23, 2014 10:19 pm
by SMBXxer
I'm opening one of my levels and it says: "Type Mismatch".
Please help.

Re: Type Mismatch

Posted: Thu Jul 24, 2014 2:58 am
by bossedit8
This specificaly happens if a NPC text file has a Code in it that does not match to the whole coding system.

For example, if I have a Code that looks like this:

Code: Select all

speed=,5
It crashes SMBX with the Error Message "Type Mismatch". There are like unlimited possibilities that let it happen so make sure that everything you have typed in your NPC Text Files are correct.

Code: Select all

speed=5
Oh and I surely do not recommended to use Decimals in your code like this:

Code: Select all

speed=0.5
Or else it goes either incredible fast or it crashes with a error message. Check this Forum Topic Link for further Information on Decimals: http://www.smbxgame.com/forums/v ... =69&t=1659

Make sure that you have checked every NPC Text Files to prevent "misleaded" codes that doesn't match with SMBX. This is why the Error is called "Type Mismatch".

Re: Type Mismatch

Posted: Fri Jul 25, 2014 4:21 am
by SMBXxer
bossedit8 wrote:This specificaly happens if a NPC text file has a Code in it that does not match to the whole coding system.

For example, if I have a Code that looks like this:

Code: Select all

speed=,5
It crashes SMBX with the Error Message "Type Mismatch". There are like unlimited possibilities that let it happen so make sure that everything you have typed in your NPC Text Files are correct.

Code: Select all

speed=5
Oh and I surely do not recommended to use Decimals in your code like this:

Code: Select all

speed=0.5
Or else it goes either incredible fast or it crashes with a error message. Check this Forum Topic Link for further Information on Decimals: http://www.smbxgame.com/forums/v ... =69&t=1659

Make sure that you have checked every NPC Text Files to prevent "misleaded" codes that doesn't match with SMBX. This is why the Error is called "Type Mismatch".
Nope, doesn't work.