Share and discuss custom LunaLua code and content packs for SMBX2.
Moderator: Userbase Moderators
|
|
|
|
-
DrMekar
- Eerie

- Posts: 785
- Joined: Sat Apr 08, 2017 7:16 am
- Flair: CUSTOM CHARACTER CREATOR
-
Contact:
Postby DrMekar » Tue Feb 18, 2020 11:59 am
litchh wrote: ↑Tue Feb 18, 2020 9:53 am
Better to check how layer attaching is working. I noticed if NPC with Layer2 attached to NPC from Layer1, which attached to another one NPC, then attached NPC with Layer2 will not move.
Yeah, that's really annoying. Already reported it
|
|
|
|
|
|
|
|
|
-
AceTrainerJim
- Goomba

- Posts: 4
- Joined: Thu Jan 12, 2017 10:08 pm
Postby AceTrainerJim » Tue Feb 18, 2020 5:07 pm
I've been playing around with Beta 4, and I have a few bugs to report:
1. Events that end the game are still broken in the Mario Challenge (as in - they don't work at all) if they don't involve collecting a star. (Example: the final level of Invasion 2)
2. If a new colored switch platform is placed on a generator, the following error pops up:
After that window is closed out of, all lua-related functions stop completely; for example, lineguides disappear, and new NPCs don't move or act at all.
3: Long story short, through trial-and-error, I also found out that Beta 4 hates NPC text files with commas in the NPC's speed. Once a level with such a text file opens, this error happens:
Once I hit "OK", this error comes up:
Hitting "OK" does nothing here, and once I "x" out of that window, the following effects happen in the level:
-The HUD becomes completely invisible, but it still works; the reserve item box can still be used.
-Swoopers no longer play their "swooping" sound when the player is within range, and given the platform error, I wouldn't be surprised if this extended to all lua-based functions...
-Some background objects (noticed with 4x4 black squares and some SMW grass/bushes; probably more) disappear before being fully scrolled off-screen and don't appear at all if part of them is outside the level boundary.
-During a Mario Challenge, the pause menu only displays "Continue" and "Quit"; no reroll, and in the editor, trying to access the pause menu only resets the level.
-When the level is cleared during a Mario Challenge, the player is taken to a black void on a map; unable to do anything.
Also, this isn't a bug, but I have a question. As I've been playing Beta 4, the "logs" folder is being filled up with "warning" text files, usually about pnpc being depreciated. New text files are being created whenever I load up a Mario Challenge or a demo stage. I don't need to keep these files, do I?
|
|
|
|
|
|
|
|
|
-
Hoeloe
- Phanto

- Posts: 1465
- Joined: Sat Oct 03, 2015 6:18 pm
- Flair: The Codehaus Girl
- Pronouns: she/her
Postby Hoeloe » Tue Feb 18, 2020 5:12 pm
AceTrainerJim wrote: ↑Tue Feb 18, 2020 5:07 pm
I've been playing around with Beta 4, and I have a few bugs to report:
1. Events that end the game are still broken in the Mario Challenge (as in - they don't work at all) if they don't involve collecting a star. (Example: the final level of Invasion 2)
I'm not surprised at that - if they don't actually end the level, they won't work properly.
2. If a new colored switch platform is placed on a generator, the following error pops up:
After that window is closed out of, all lua-related functions stop completely; for example, lineguides disappear, and new NPCs don't move or act at all.
This may need investigating. Thanks for the report.
3: Long story short, through trial-and-error, I also found out that Beta 4 hates NPC text files with commas in the NPC's speed. Once a level with such a text file opens, this error happens:
You should use . instead of ,
, is not recognised as a decimal point character, so the game interprets that as text rather than a number.
Once I hit "OK", this error comes up:
Hitting "OK" does nothing here, and once I "x" out of that window, the following effects happen in the level:
This just means that whatever error just happened is fatal, and the game cannot continue while that error occurs. This is also why a bunch of things break.
Also, this isn't a bug, but I have a question. As I've been playing Beta 4, the "logs" folder is being filled up with "warning" text files, usually about pnpc being depreciated. New text files are being created whenever I load up a Mario Challenge or a demo stage. I don't need to keep these files, do I?
Correct, you do not need to keep those files. They are logs of warnings that occurred while you played, but you don't need to worry about them.
|
|
|
|
|
|
|
|
|
-
GAMERPRO91827
- Hoopster

- Posts: 49
- Joined: Sat Feb 01, 2020 4:40 pm
Postby GAMERPRO91827 » Tue Feb 18, 2020 5:33 pm
I FEEL ALONE!
Added in 3 minutes 35 seconds:
Hoeloe wrote: ↑Tue Feb 18, 2020 5:12 pm
Is it really that you are going to leave me alone with this error bothering me?
Last edited by aero on Wed Feb 19, 2020 3:40 pm, edited 2 times in total.
Reason: User was warned for this post.
|
|
|
|
|
|
|
|
|
-
AceTrainerJim
- Goomba

- Posts: 4
- Joined: Thu Jan 12, 2017 10:08 pm
Postby AceTrainerJim » Tue Feb 18, 2020 6:46 pm
Hoeloe wrote: ↑Tue Feb 18, 2020 5:12 pm
You should use . instead of ,
, is not recognised as a decimal point character, so the game interprets that as text rather than a number.
I actually did figure out that I needed to do that even before I posted. That's something I should have included in my original post. Funny thing is; the episode that I discovered this bug in is one that I thought about deleting, but never quite had the heart to. Good thing I didn't...
Also, another bug(?) that I remembered: new SMW Bowser Statues can still hurt the player if he/she is standing on their heads when they fire.
|
|
|
|
|
|
|
|
|
-
Hammerless Penguin
- Snifit

- Posts: 203
- Joined: Sat Sep 22, 2018 6:17 am
- Flair: Just kicking that kirby to the curb!
-
Contact:
Postby Hammerless Penguin » Tue Feb 18, 2020 9:15 pm
I ran into two new bugs.
Yoshi can eat snake blocks even with noyoshi added to the npc configuration its pretty funny though.
Another bug with yoshi or mounts in general is that you cant go down clear pipes with them. Intentional or not its pretty lame.

|
|
|
|
|
|
|
|
|
-
Cedur
- Link

- Posts: 7073
- Joined: Tue Jun 28, 2016 10:14 am
- Flair: I'm gone, for chess and minesweeper
- Pronouns: he/him
Postby Cedur » Wed Feb 19, 2020 4:16 am
GAMERPRO91287 wrote:Is it really that you are going to leave me alone with this error bothering me?
So do you actually whine about Hoeloe taking care of someone else's problems in a different thread?
Can I finally ask you for your age?
|
|
|
|
|
|
|
|
|
-
GAMERPRO91827
- Hoopster

- Posts: 49
- Joined: Sat Feb 01, 2020 4:40 pm
Postby GAMERPRO91827 » Wed Feb 19, 2020 11:31 am
Cedur wrote: ↑Wed Feb 19, 2020 4:16 am
GAMERPRO91287 wrote:Is it really that you are going to leave me alone with this error bothering me?
So do you actually whine about Hoeloe taking care of someone else's problems in a different thread?
Yes! Because I don't want to give up asking for help and chance from a member of the SMBX game development, without their help I will be left with this annoying error forever. This is going to be horrible if I keep this mistake forever. I liked your avatar.
|
|
|
|
|
|
|
|
|
-
FirestarPlays
- Chain Chomp

- Posts: 301
- Joined: Tue Feb 28, 2017 1:26 pm
- Pronouns: he/him
Postby FirestarPlays » Wed Feb 19, 2020 2:51 pm
If autostart.ini exists, loading test mode from the editor would sometimes fail (this bug still exists after Patch 1)
|
|
|
|
|
|
|
|
|
-
Superiorstar
- Birdo

- Posts: 2153
- Joined: Tue Jul 22, 2014 5:49 pm
Postby Superiorstar » Thu Feb 20, 2020 2:27 pm
oh damn, it's finally out huh? I might as well make a stupid large level to celebrate.
|
|
|
|
|
|
|
|
|
-
Quantumenace
- Chain Chomp

- Posts: 308
- Joined: Mon Dec 28, 2015 2:17 am
Postby Quantumenace » Thu Feb 20, 2020 10:17 pm
I use a PS4 controller and I can no longer use the touchpad button, which worked fine in previous versions (button 13). The presses won't register either in the controller settings menu or in the game. I generally use it for the drop item button.
|
|
|
|
|
|
|
|
|
-
Hammerless Penguin
- Snifit

- Posts: 203
- Joined: Sat Sep 22, 2018 6:17 am
- Flair: Just kicking that kirby to the curb!
-
Contact:
Postby Hammerless Penguin » Fri Feb 21, 2020 1:04 am
There is a rare chance that if you slide down a slope and kill a wiggler, an error to occur. I dont know why this happens because sometimes if you slide and kill a wiggler, Nothing happens. Other times an error appears out of nowhere.

|
|
|
|
|
|
|
|
|
-
Hoeloe
- Phanto

- Posts: 1465
- Joined: Sat Oct 03, 2015 6:18 pm
- Flair: The Codehaus Girl
- Pronouns: she/her
Postby Hoeloe » Fri Feb 21, 2020 9:33 am
Hammerless Penguin wrote: ↑Fri Feb 21, 2020 1:04 am
There is a rare chance that if you slide down a slope and kill a wiggler, an error to occur. I dont know why this happens because sometimes if you slide and kill a wiggler, Nothing happens. Other times an error appears out of nowhere.
Looks like you may be missing the patch. Wigglers got some fixes there.
|
|
|
|
|
|
|
|
|
-
FirestarPlays
- Chain Chomp

- Posts: 301
- Joined: Tue Feb 28, 2017 1:26 pm
- Pronouns: he/him
Postby FirestarPlays » Fri Feb 21, 2020 2:54 pm
When you hit an axe (Npc-178) in Mario Challenge, the game crashes with this error:
== Crash Summary ==
LunaLua Version: LUNALUA 915bbba
Exception Code: 0xc000008f (VB Error)
VB6 Error Code: 52
== Stack Trace ==
0: 660CE246 (MSVBVM60): rtcDoEvents
1: 660D548C (MSVBVM60): rtcDir
2: 00B20EB5 (smbx): loadNPCConfigurations
3: c:\github_new\lunalua\lunadll\filemanager\loadfile_level.cpp (102): LunaLua_loadLevelFile
4: c:\github_new\lunalua\lunadll\filemanager\smbxfilemanager.cpp (112): SMBXLevelFileBase::ReadFile
5: c:\github_new\lunalua\lunadll\misc\runtimehookcomponents\runtimehookhooks.cpp (1693): runtimeHookLoadLevel
6: 008C14E5 (smbx): Sub_Main
7: 6600A048 (MSVBVM60): EbLoadRunTime
8: 66007B3E (MSVBVM60): BASIC_CLASS_QueryInterface
9: 66003981 (MSVBVM60): ThunRTMain
10: 660036FA (MSVBVM60): ThunRTMain
11: 66003600 (MSVBVM60): ThunRTMain
12: 0040BDE2 (smbx): start
13: 77B07B74 (ntdll): RtlGetAppContainerNamedObjectPath
14: 77B07B44 (ntdll): RtlGetAppContainerNamedObjectPath
== Reporting ==
If you like to help us finding the error then please post this log at:
* http://wohlsoft.ru/forum/ or
* http://www.smbxgame.com/forums/v ... m.php?f=35 or
* http://talkhaus.raocow.com/viewforum.php?f=36
|
|
|
|
|
|
|
|
|
-
JustOneMGuy
- Spiny

- Posts: 29
- Joined: Sun Jan 26, 2020 1:33 pm
Postby JustOneMGuy » Sat Feb 22, 2020 12:39 am
VB6 Error Code 52 means "Bad file name or number".
Did you download the patch BTW?
|
|
|
|
|
|
|
|
|
-
litchh
- Eerie

- Posts: 719
- Joined: Sun Dec 29, 2013 6:10 am
Postby litchh » Sat Feb 22, 2020 1:48 pm
When I try to show score in text like this:
Code: Select all Text.printWP(mem(0x00B2C8E4, FIELD_DWORD), 536, 46, 3)
it shows zero everytime
|
|
|
|
|
|
|
|
|
-
Hoeloe
- Phanto

- Posts: 1465
- Joined: Sat Oct 03, 2015 6:18 pm
- Flair: The Codehaus Girl
- Pronouns: she/her
Postby Hoeloe » Sat Feb 22, 2020 2:00 pm
litchh wrote: ↑Sat Feb 22, 2020 1:48 pm
When I try to show score in text like this:
Code: Select all Text.printWP(mem(0x00B2C8E4, FIELD_DWORD), 536, 46, 3)
it shows zero everytime
That's because score isn't actually stored there any more. Instead of that mem call, use SaveData._basegame.hud.score.
|
|
|
|
|
|
|
|
|
-
GAMERPRO91827
- Hoopster

- Posts: 49
- Joined: Sat Feb 01, 2020 4:40 pm
Postby GAMERPRO91827 » Sat Feb 22, 2020 5:29 pm
The test window of the level editor has a problem in the loading screen, when it arrives at the loading screen that appears the "X2" in the level editor gives an error. In the start game it works without problems. Can someone help me resolve this error please.
Start Game:

Level Editor:

Expectation:

Reality:

|
|
|
|
|
|
|
|
|
-
Hammerless Penguin
- Snifit

- Posts: 203
- Joined: Sat Sep 22, 2018 6:17 am
- Flair: Just kicking that kirby to the curb!
-
Contact:
Postby Hammerless Penguin » Sat Feb 22, 2020 7:10 pm
Hoeloe wrote: ↑Fri Feb 21, 2020 9:33 am
Hammerless Penguin wrote: ↑Fri Feb 21, 2020 1:04 am
There is a rare chance that if you slide down a slope and kill a wiggler, an error to occur. I dont know why this happens because sometimes if you slide and kill a wiggler, Nothing happens. Other times an error appears out of nowhere.
Looks like you may be missing the patch. Wigglers got some fixes there.
I had the updated patch when this error appeared.
|
|
|
|
|
|
|
|
|
-
Superiorstar
- Birdo

- Posts: 2153
- Joined: Tue Jul 22, 2014 5:49 pm
Postby Superiorstar » Sun Feb 23, 2020 12:36 am
hey just wondering, is it possible to change the speed of the beatblocks without the use of lua?
|
|
|
|
|
Return to “LunaLua”
Users browsing this forum: No registered users and 1 guest
|