General discussion about Super Mario Bros. X.
Moderator: Userbase Moderators
|
|
|
|
-
bossedit8
- Banned
- Posts: 6838
- Joined: Fri Dec 20, 2013 12:35 pm
-
Contact:
Postby bossedit8 » Sun Mar 16, 2014 8:40 am
So my little discussion I have right there is that on different World Location (example Europe, Africa, USA, Canada, Chinese, ...), the SMBX NPC Codes that you can put in to change functions to the NPC itself behaves a bit different located to the World's Location.
What I found out by that is by specific NPC Coding, it can be very fast, makes the game crash or does not appear at all if it is used on a different world location (my location: Germany).
Both of these NPC Windows are working perfectly fine on SMBX. ...but on a specific number and decimals can be leading to errors and different behavours if you use it on something like this:
By that, the NPC can be very fast or sometimes (but that is very rare and can be on specific NPC's too) crashes the SMBX with the error message.
With that, the NPC does not appear inside the Level Editor during Testing and on the "Game Start" itself. You can add that but while inside the game, it disappears just for everything that has a code number size to 1, 3, 5, 7, 9, 11, 13, 15, 17, ... (and so on).
|
|
|
|
|
|
|
|
|
-
Emral
- Cute Yoshi Egg

- Posts: 9865
- Joined: Mon Jan 20, 2014 12:58 pm
- Flair: Phoenix
Postby Emral » Sun Mar 16, 2014 8:45 am
Isn't it stupid to have odd numbers for height and width anyways? They should out to you that somewhere there is 1x1 and it shoud be fixed.
|
|
|
|
|
|
|
|
|
-
bossedit8
- Banned
- Posts: 6838
- Joined: Fri Dec 20, 2013 12:35 pm
-
Contact:
Postby bossedit8 » Sun Mar 16, 2014 8:51 am
Emral wrote:Isn't it stupid to have odd numbers for height and width anyways? They should out to you that somewhere there is 1x1 and it shoud be fixed.
Uhm, that is by adjusting the Hitbox of the NPC but odd numbers are on the general size anyway.
|
|
|
|
|
|
|
|
|
-
Emral
- Cute Yoshi Egg

- Posts: 9865
- Joined: Mon Jan 20, 2014 12:58 pm
- Flair: Phoenix
Postby Emral » Sun Mar 16, 2014 8:53 am
Sorry, I always get confused which height/width commando does what. However, 1 pixel difference in hitbox size doesn't really make a different except for making people like Bossedit and me be able to see the graphic.
|
|
|
|
|
|
|
|
|
-
Reign
- Chain Chomp

- Posts: 327
- Joined: Tue Jan 21, 2014 4:22 am
Postby Reign » Wed Mar 19, 2014 8:07 am
This is one of the annoying things in SMBX. Some nations use commas, some nations use dots, and then the game very often crashes if you try to play it. The simplest and only solution is to stop making levels with speed=1.4 or speed=1,4. You'll just have to redesign the level and use speed=2/3/4 etc. or have it move at normal or zero speed. Otherwise you are excluding audience from your levels and episodes.
|
|
|
|
|
|
|
|
|
-
icemario12
- Blooper

- Posts: 157
- Joined: Thu Dec 26, 2013 5:49 pm
- Pronouns: He/Him
-
Contact:
Postby icemario12 » Wed Mar 19, 2014 8:57 am
Reign wrote:This is one of the annoying things in SMBX. Some nations use commas, some nations use dots, and then the game very often crashes if you try to play it. The simplest and only solution is to stop making levels with speed=1.4 or speed=1,4. You'll just have to redesign the level and use speed=2/3/4 etc. or have it move at normal or zero speed. Otherwise you are excluding audience from your levels and episodes.
Righto, mate. Thanks to that I couldn't play 3 episodes. But until now, it never crashed for me with this problem.
|
|
|
|
|
|
|
|
|
-
bossedit8
- Banned
- Posts: 6838
- Joined: Fri Dec 20, 2013 12:35 pm
-
Contact:
Postby bossedit8 » Wed Mar 19, 2014 1:09 pm
Yeah, it is better to not use decimal codes and those wrong coding numbers what so ever in order to work on everyone's location properly.
|
|
|
|
|
|
|
|
|
-
Kley
- Edge

- Posts: 694
- Joined: Mon Feb 24, 2014 11:00 am
- Flair: Robot
Postby Kley » Fri May 02, 2014 9:36 pm
That explains a lot. Strange that your computer would react differently to a decimal or odd numbers with an American-made program.
|
|
|
|
|
|
|
|
|
-
bossedit8
- Banned
- Posts: 6838
- Joined: Fri Dec 20, 2013 12:35 pm
-
Contact:
Postby bossedit8 » Thu Aug 21, 2014 6:45 am
Kley wrote:Strange that your computer would react differently to a decimal or odd numbers with an American-made program.
Yeah, it is a strange thing to have but sadly it is true and all.
Also, I still encounter a few SMBX Episodes that has this issue so I still want to let this discussed because the whole changing other peoples SMBX Episodes just for fixing a few codings inside them is not always fun in my opinion.
|
|
|
|
|
|
|
|
|
-
lighthouse64
- Charged Spiny

- Posts: 1804
- Joined: Sat Apr 26, 2014 6:28 am
Postby lighthouse64 » Thu Aug 21, 2014 7:03 am
bossedit8 wrote:Kley wrote:Strange that your computer would react differently to a decimal or odd numbers with an American-made program.
Yeah, it is a strange thing to have but sadly it is true and all.
Also, I still encounter a few SMBX Episodes that has this issue so I still want to let this discussed because the whole changing other peoples SMBX Episodes just for fixing a few codings inside them is not always fun in my opinion.
Hmm... maybe because your computer is german???
|
|
|
|
|
|
|
|
|
-
bossedit8
- Banned
- Posts: 6838
- Joined: Fri Dec 20, 2013 12:35 pm
-
Contact:
Postby bossedit8 » Thu Aug 21, 2014 7:07 am
lighthouse64 wrote:Hmm... maybe because your computer is german???
Well, it depends more to the Location like "Europe" for the whole "different coding behavour". Maybe it can be the case where the PC was builded up, who has been created or something... I am not entirely sure but yeah.
|
|
|
|
|
|
|
|
|
-
lighthouse64
- Charged Spiny

- Posts: 1804
- Joined: Sat Apr 26, 2014 6:28 am
Postby lighthouse64 » Thu Aug 21, 2014 7:33 am
bossedit8 wrote:lighthouse64 wrote:Hmm... maybe because your computer is german???
Well, it depends more to the Location like "Europe" for the whole "different coding behavour". Maybe it can be the case where the PC was builded up, who has been created or something... I am not entirely sure but yeah.
No, because I'm in EU and it seems ok.
|
|
|
|
|
|
|
|
|
-
Julia Pseudo
- Luigi

- Posts: 5609
- Joined: Wed Jan 08, 2014 12:04 am
- Flair: gay gaymer girl
- Pronouns: She/her
Postby Julia Pseudo » Thu Aug 21, 2014 11:55 am
Mm, so I guess this explains why decimal NPC codes don't work for some people, huh? Well, this is interesting. Nice find bossedit!
|
|
|
|
|
|
|
|
|
-
Axiom
- Phanto

- Posts: 1471
- Joined: Tue Dec 24, 2013 2:23 pm
Postby Axiom » Thu Aug 21, 2014 3:39 pm
Just came across this thread.
It's due to regional issues with decimals, in certain countries they use the ',' to represent a decimal place. As for odd numbers in NPC's, I'm pretty sure SMBX uses some sort of math equation to come up with hit boxes and such and using odd numbers could potentially result in a decimal or remainder or whatever.
I know in .NET, there's ways to translate the decimal to the region specific code for it. There's no universal solution except to make the program recognise it and translate it.
Speaking of this, I want to test implementing saving the correct decimal form based on region, bossedit, would you be willing to help me test this out?
|
|
|
|
|
|
|
|
|
-
lighthouse64
- Charged Spiny

- Posts: 1804
- Joined: Sat Apr 26, 2014 6:28 am
Postby lighthouse64 » Thu Aug 21, 2014 11:30 pm
Luigifan2010 wrote:Just came across this thread.
It's due to regional issues with decimals, in certain countries they use the ',' to represent a decimal place. As for odd numbers in NPC's, I'm pretty sure SMBX uses some sort of math equation to come up with hit boxes and such and using odd numbers could potentially result in a decimal or remainder or whatever.
I know in .NET, there's ways to translate the decimal to the region specific code for it. There's no universal solution except to make the program recognise it and translate it.
Speaking of this, I want to test implementing saving the correct decimal form based on region, bossedit, would you be willing to help me test this out?
Hey I noticed that they do use commas as decimals on certain websites too.
|
|
|
|
|
Return to “General”
Users browsing this forum: Petal [Bot] and 3 guests
|