Smbx 1.4.5: Mistakes 15(2)

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 » 20 Sep 2020, 7:41

1)

In the Level - Start event I put this script:

Code: Select all

char(1).hitpoint=3

dim s as integer
do
   if char(1).hitpoint<s then v(c0)+=1
   
   s=char(1).hitpoint
call sleep(1)   
loop


It works in all cases(when the player is hurt), except:
*When the player is char(x).id=0 or char(x).id=1; and/or
*When the player is in a clown car(char(x).itemslot=-4)
ss.gif
ss.gif (55.31 KiB) Viewed 593 times


2) Lag(fixed)
NPCs that use variable declarations in their scripts are ignored, and cause lag when the debugger window is active.

dim s as integer
with npc(sysval(param1))

end with
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

Return to “SMBX-38A Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest