Smbx 1.4.5: Mistakes 12

Description: Report bugs of SMBX-38A here.
Forum rules: https://wohlsoft.ru/forum/viewtopic.php?f=64&t=1069
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

NESTED ERNEST M
Topic author, Count
Count
Avatar
NESTED ERNEST M
Topic author, Count
Count
Reputation: 71
Posts: 268
Joined: 23 Sep 2017
Location: Perú, Lima
Youtube channel URL

Post #1by NESTED ERNEST » 2 Apr 2020, 19:14

1)
This list (of liquids) is missing indexes, that is when the itrcreate script is used:
call itrcreate(4, index, .x, .y, .width, .height)

mm.png
mm.png (9.51 KiB) Viewed 533 times


2)
I don't know if you defined this, but in this script(spoiler); there is a commented line of code, and when I remove the apostrophe: from this line the scripts are ignored.

Spoiler

Code: Select all

dim c as car
'c.windows=5

call c.run(4)

char(1).status=3
call showmsg("normal line")

struct car
   dim windows as double      
   
   script run(speed as double)
      call showmsg("running " & speed)
   end script

end struct

3)
This configuration the player falls.
Spoiler
CAE.gif
CAE.gif (94.95 KiB) Viewed 533 times

4)
I'm going to try to explain this again (This comes from another post):
"I made a script:
clowncar.rar
(27.22 KiB) Downloaded 125 times
, at this level I have changed the physical dimensions of the clown car (npc-56) now it is 64x64 and I deleted its image, and I do not use the npc-56 directly."

I have tested more and realized that all errors originate only when the player is a non-dwarf and enters the clown-car (he goes up to the npc and presses down) of that level. It is not taken into account if it enters dwarf and being inside the clown-car he grows (if it is understood).

Now when the player has entered he does not dwarf the npc:
* And "exits the npc" pressing A, fails and the player falls(spoiler)
* When it is on a block or "block-npc" (or char (1) .stand = 1) it is as if it were in a liquid quicksand.

Spoiler
CAECL.gif
CAECL.gif (50.66 KiB) Viewed 533 times
Programming NPCs in SMBX-38A is fun:
That is me
Image
Image
Image
Image

Special image
  • yt-image-banner: https://yt3.ggpht.com/M_O1AzQEOJogSq5OJESIaA5kFLdbwdDNMihDOJkJgPiH7cOx-LWK41TU9GWzExmkmpn3EWYbJg=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj
  • image-to-up: https://3.bp.blogspot.com/-Y-LrpIS2rqw/UCBTtk7k-pI/AAAAAAAABBs/qZuI0sCStkc/s1600/jean-baptiste+beaudelle+girafe++escargot.jpg
  • image-to-left: https://us.123rf.com/450wm/trassnick/trassnick2007/trassnick200700002/152919781-el-marl%C3%ADn-negro-grande-salta-del-mar-pesca-extrema-del-pez-espada-negro-en-alta-mar-vacaciones-en-lo.jpg
  • image-last-w: 1


ROCKMAN GIF IN SMBX 38A

Image

Lx Xzit M
Moderator
Moderator
Avatar
Lx Xzit M
Moderator
Moderator
Reputation: 402
Posts: 757
Joined: 9 Nov 2015
Website

Post #2by Lx Xzit » 13 Apr 2020, 22:16

NESTED ERNEST wrote:This list (of liquids) is missing indexes, that is when the itrcreate script is used
It would be a welcome addition. However, if you find it useful I already documented them here.

I don't know if you defined this, but in this script(spoiler); there is a commented line of code, and when I remove the apostrophe: from this line the scripts are ignored.
Because your script will produce an error since "windows" script is nowhere defined in your code. My guess is that the game doesn't drop any error messages but it still detects it as invalid, so your code is disabled.
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image


Return to “SMBX-38A Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest