Share and discuss custom LunaLua code and content packs for SMBX2.
Moderator: Userbase Moderators
|
|
|
|
-
Emral
- Cute Yoshi Egg

- Posts: 9860
- Joined: Mon Jan 20, 2014 12:58 pm
- Flair: Phoenix
Postby Emral » Fri Feb 12, 2021 12:29 am
EeveeEuphoria wrote: ↑Thu Feb 11, 2021 5:12 pm
Hey there, there's a bug in the script that was causing me a few issues; invisible blocks didn't properly register as being invisible, and kept allowing me to wallslide on them.
Looking into the code, at line 132, I replaced "o:mem(0x5A, FIELD_WORD) > 0" with "o:mem(0x5A, FIELD_WORD) < 0" and that seemed to fix it, but I'm not sure if that'll cause further problems.
That shouldn't cause further issues. I'll update that oversight soon. Thank you!
|
|
|
|
|
|
|
|
|
-
DB12
- Bob-Omb

- Posts: 20
- Joined: Sat Feb 27, 2021 10:19 am
Postby DB12 » Wed Mar 03, 2021 4:27 pm
Im not able to see the tail-swipe animation when use the script.
|
|
|
|
|
|
|
|
|
-
georgespezi12
- Dolphin

- Posts: 99
- Joined: Mon Jun 01, 2020 3:45 am
Postby georgespezi12 » Sun May 02, 2021 4:01 am
It breaks the tail swipe animation. The tail-swipe works fine though.

|
|
|
|
|
|
|
|
|
-
KBM-Quine
- 2025 Egg Hunter

- Posts: 137
- Joined: Wed Jan 15, 2014 11:10 am
- Flair: Crazy with a K
Postby KBM-Quine » Thu May 20, 2021 5:27 am
decided to give the tail swipe bug a look the other week. taking out a few lines that set the tail swipe timer to 0 (p:mem(0x164, FIELD_WORD, 0)) remedied it. testing seemed to show it didn't affect the library as a whole, but i can't say that 100% on that though as i only tested the 1.3 characters. so take this with a grain of salt.
the lines i commented out were 158, 209 and 214 to be exact. for those looking for a fix, comment out or delete those lines from your copy. hopefully that helps.
|
|
|
|
|
|
|
|
|
-
MrCool422
- Rex

- Posts: 35
- Joined: Sun Jan 24, 2021 12:26 am
- Flair: Autistic
- Pronouns: He/Him
-
Contact:
Postby MrCool422 » Tue Aug 31, 2021 7:52 pm

tail swipe not swiping
|
|
|
|
|
|
|
|
|
-
Lunar Chris
- Monty Mole

- Posts: 134
- Joined: Mon Jan 06, 2014 9:51 pm
- Flair: Moon Lord's Servant
-
Contact:
Postby Lunar Chris » Sat Dec 25, 2021 2:48 pm
So I encountered the same issue everyone has where the tail swipe doesn't work unless you either spin jump or jump off from the wall. I even took KBM's suggestion to delete the corresponding lines of the lua file he mentioned and, somehow, the tail swipe doesn't function. The same also goes for ducking as well. I have two gifs to show this.

|
|
|
|
|
|
|
|
|
-
Chilly14
- Snifit

- Posts: 236
- Joined: Thu Jul 18, 2019 10:28 pm
- Flair: wash your hands and stay at home
- Pronouns: he/him
Postby Chilly14 » Sun Jan 16, 2022 6:14 pm
PikaChris wrote: ↑Sat Dec 25, 2021 2:48 pm
So I encountered the same issue everyone has where the tail swipe doesn't work unless you either spin jump or jump off from the wall. I even took KBM's suggestion to delete the corresponding lines of the lua file he mentioned and, somehow, the tail swipe doesn't function. The same also goes for ducking as well. I have two gifs to show this.
With Quine's fix, it seems that tail swiping, crouching, and looking up with certain costumes only stop functioning once you stop sliding down the wall without jumping (some costume animations also look odd when this happens); you can spin jump or transform into a statue to fix the problem until you slide down another wall, provided you are not in front of it while you do so.
|
|
|
|
|
|
|
|
|
-
Cuzwhywhynot
- Goomba

- Posts: 2
- Joined: Sun Feb 06, 2022 9:45 pm
- Pronouns: he/him
Postby Cuzwhywhynot » Wed Feb 23, 2022 5:05 pm
The walljump script is great! However, the walljumping slide affect activates when I slide down a wall, not moving aganist the wall.
Is there any fix to it?
|
|
|
|
|
|
|
|
|
-
Jaicraft
- Goomba

- Posts: 1
- Joined: Wed Mar 02, 2022 8:46 am
- Pronouns: he/him
Postby Jaicraft » Wed Mar 02, 2022 8:48 am
So, I was using this lua and for some reason every time I slide on a wall this appears:

Is there any way to fix this?
|
|
|
|
|
|
|
|
|
-
AppleTheTomato
- Dolphin

- Posts: 85
- Joined: Wed Jun 02, 2021 8:44 pm
- Flair: I am a Tomato named Apple.
- Pronouns: He/Him
Postby AppleTheTomato » Tue Jul 26, 2022 1:54 pm
I doubt you still watch this topic, Enjl, but I recently found a strange bug where if you set the global 'canHoldItem' to false, Link can't walljump. I found that going into his default registration and putting 'canHoldItem = true' fixes the problem, but I'd figure you may want to know.
|
|
|
|
|
|
|
|
|
-
MMMRRREEEOOOWWW
- Goomba

- Posts: 4
- Joined: Tue Dec 07, 2021 11:37 pm
- Pronouns: he/him
Postby MMMRRREEEOOOWWW » Sun Sep 18, 2022 4:16 pm
If you don't know why people like them, then just ask lol.
|
|
|
|
|
|
|
|
|
-
Chilly14
- Snifit

- Posts: 236
- Joined: Thu Jul 18, 2019 10:28 pm
- Flair: wash your hands and stay at home
- Pronouns: he/him
Postby Chilly14 » Sun Sep 18, 2022 5:12 pm
MMMRRREEEOOOWWW wrote: ↑Sun Sep 18, 2022 4:16 pm
If you don't know why people like them, then just ask lol.
Clarify what you are talking about, please?
|
|
|
|
|
|
|
|
|
-
MMMRRREEEOOOWWW
- Goomba

- Posts: 4
- Joined: Tue Dec 07, 2021 11:37 pm
- Pronouns: he/him
Postby MMMRRREEEOOOWWW » Sun Sep 18, 2022 8:26 pm
Chilly14 wrote: ↑Sun Sep 18, 2022 5:12 pm
MMMRRREEEOOOWWW wrote: ↑Sun Sep 18, 2022 4:16 pm
If you don't know why people like them, then just ask lol.
Clarify what you are talking about, please?
The OP doesn't know why people like wall jumping in Mario games
|
|
|
|
|
|
|
|
|
-
Chilly14
- Snifit

- Posts: 236
- Joined: Thu Jul 18, 2019 10:28 pm
- Flair: wash your hands and stay at home
- Pronouns: he/him
Postby Chilly14 » Mon Sep 19, 2022 12:03 pm
MMMRRREEEOOOWWW wrote: ↑Sun Sep 18, 2022 8:26 pm
Chilly14 wrote: ↑Sun Sep 18, 2022 5:12 pm
MMMRRREEEOOOWWW wrote: ↑Sun Sep 18, 2022 4:16 pm
If you don't know why people like them, then just ask lol.
Clarify what you are talking about, please?
The OP doesn't know why people like wall jumping in Mario games
Oh, I see.
|
|
|
|
|
|
|
|
|
-
MarioXHK
- Shy Guy

- Posts: 9
- Joined: Sat Jul 20, 2024 10:04 am
- Flair: A mario
- Pronouns: he/him
-
Contact:
Postby MarioXHK » Fri Feb 21, 2025 4:31 pm
I found a fix for the little tail conundrum
I just had to replace every instance of p:mem(0x164, FIELD_WORD, 0) with the following
Code: Select all if p:mem(0x164, FIELD_WORD) == -1 then
p:mem(0x164, FIELD_WORD, 0)
end
with the exception being the one on line 210. Now my tails are working and my walls are still jumping.
Hopefully this helps everyone and doesn't catastrophically destroy any episodes
|
|
|
|
|
|
|
|
|
-
Marioman2007
- 2025 Egg Hunter

- Posts: 528
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
Postby Marioman2007 » Sat Feb 22, 2025 11:29 pm
MarioXHK wrote: ↑Fri Feb 21, 2025 4:31 pm
I found a fix for the little tail conundrum :mrgreen:
I just had to replace every instance of p:mem(0x164, FIELD_WORD, 0) with the following
Code: Select all if p:mem(0x164, FIELD_WORD) == -1 then
p:mem(0x164, FIELD_WORD, 0)
end
with the exception being the one on line 210. Now my tails are working and my walls are still jumping.
Hopefully this helps everyone and doesn't catastrophically destroy any episodes
This was already fixed in v1.3

|
|
|
|
|
|
|
|
|
-
mariobrigade2018
- Rocky Wrench

- Posts: 607
- Joined: Wed May 24, 2023 7:00 pm
- Flair: OK in coding who dreams of making a Mario game
- Pronouns: he/him
Postby mariobrigade2018 » Sat Feb 22, 2025 11:36 pm
Marioman2007 wrote: ↑Sat Feb 22, 2025 11:29 pm
MarioXHK wrote: ↑Fri Feb 21, 2025 4:31 pm
I found a fix for the little tail conundrum
I just had to replace every instance of p:mem(0x164, FIELD_WORD, 0) with the following
Code: Select all if p:mem(0x164, FIELD_WORD) == -1 then
p:mem(0x164, FIELD_WORD, 0)
end
with the exception being the one on line 210. Now my tails are working and my walls are still jumping.
Hopefully this helps everyone and doesn't catastrophically destroy any episodes
This was already fixed in v1.3
Huh, what version of AWJ was packaged in the powerup pack? Because the tail smack wasn't working when using the AWJ packaged with the pack
|
|
|
|
|
|
|
|
|
-
MarioXHK
- Shy Guy

- Posts: 9
- Joined: Sat Jul 20, 2024 10:04 am
- Flair: A mario
- Pronouns: he/him
-
Contact:
Postby MarioXHK » Tue Feb 25, 2025 10:44 pm
Marioman2007 wrote: ↑Sat Feb 22, 2025 11:29 pm
MarioXHK wrote: ↑Fri Feb 21, 2025 4:31 pm
I found a fix for the little tail conundrum
I just had to replace every instance of p:mem(0x164, FIELD_WORD, 0) with the following
Code: Select all if p:mem(0x164, FIELD_WORD) == -1 then
p:mem(0x164, FIELD_WORD, 0)
end
with the exception being the one on line 210. Now my tails are working and my walls are still jumping.
Hopefully this helps everyone and doesn't catastrophically destroy any episodes
This was already fixed in v1.3
So this is how I find out that the powerup pack uses an outdated version of this?
Well, thanks for letting me know anyway.
|
|
|
|
|
|
|
|
|
-
MegaDood
- Torpedo Ted

- Posts: 1798
- Joined: Wed Nov 01, 2017 2:43 am
Postby MegaDood » Sat Mar 01, 2025 11:34 pm
MarioXHK wrote: ↑Tue Feb 25, 2025 10:44 pm
Marioman2007 wrote: ↑Sat Feb 22, 2025 11:29 pm
MarioXHK wrote: ↑Fri Feb 21, 2025 4:31 pm
I found a fix for the little tail conundrum
I just had to replace every instance of p:mem(0x164, FIELD_WORD, 0) with the following
Code: Select all if p:mem(0x164, FIELD_WORD) == -1 then
p:mem(0x164, FIELD_WORD, 0)
end
with the exception being the one on line 210. Now my tails are working and my walls are still jumping.
Hopefully this helps everyone and doesn't catastrophically destroy any episodes
This was already fixed in v1.3
So this is how I find out that the powerup pack uses an outdated version of this?
Well, thanks for letting me know anyway.
No worries, the issue in the powerup pack has been fixed and updated so the next version should work properly
|
|
|
|
|
|
|
|
|
-
MarioXHK
- Shy Guy

- Posts: 9
- Joined: Sat Jul 20, 2024 10:04 am
- Flair: A mario
- Pronouns: he/him
-
Contact:
Postby MarioXHK » Tue Mar 04, 2025 1:29 pm
co ol
|
|
|
|
|
Return to “LunaLua”
|