Getting an error that renders a level incompletable

This is the place for discussion and support for LunaLua and related modifications and libraries.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?
User avatar
HeroLinik
Cyan Yoshi Egg
Cyan Yoshi Egg
Posts: 3443
Joined: Fri Dec 20, 2013 1:28 pm
Current Project: TCGA Remake
Chat Username: Look below my avatar
Contact:

Getting an error that renders a level incompletable

Postby HeroLinik » Tue Jun 07, 2016 7:19 am

I just downloaded Camacho's level, "Waterfall Spring Melody" that makes use of Lua, and I tried to play through it, but I got stuck at one point because you need Lua in order to proceed with it. I'm pretty certain I've got the latest version of Lua because I updated it recently, and the Lua code is in the level folder. Whenever I start this level I got this error message, which I don't understand:

Image

And then none of the code works. I've tried looking for a solution but the problem is that a lot of them are written in "computer-speak" and therefore hard to understand. Can someone help this person out? In case you're wondering, here's Camacho's Lua code that's not working:

Code: Select all

local particles = loadAPI("particles");
 
local effect = particles.Emitter(0, 0, Misc.resolveFile("particles/p_fog.ini"));
effect:AttachToCamera(Camera.get()[1]);
 
function onCameraUpdate()
    effect:Draw();
end

pipeAPI = loadAPI("pipecannon")

pipeAPI.exitspeed = {0,0,0,25,0,25}

pipeAPI.angle = {}
pipeAPI.angle[5] = 0	-- 5 - Nomor warp ; 0 - sudut pipa
pipeAPI.angle[10] = 0

pipeAPI.SFX = 22 -- value biasa (bullet bill sfx), isi 0 untuk diam

pipeAPI.effect = 10 -- isi 0 untuk tdk ada 
I support: show
Lol, you got trolled. Move along, if you please.
YouTube channel

Moderator of the r/Pokemon Discord server since 2019.

S1eth
Spiny
Spiny
Posts: 54
Joined: Sat Apr 23, 2016 10:44 am

Re: Getting an error that renders a level incompletable

Postby S1eth » Tue Jun 07, 2016 8:42 am

I already asked you last time to provide the screenshots necessary to solve your SMBX problem (which would also solve your starman problem permanently)
Please provide the screenshots as instructed here: http://www.supermariobrosx.org/forums/v ... 40#p220442

In addition, please provide a screenshot of the SMBX2.0/LuaScriptsLib/particles folder.
I'm sure I know the answer to your problem, but I need those screenshots to confirm my suspicions.

User avatar
HeroLinik
Cyan Yoshi Egg
Cyan Yoshi Egg
Posts: 3443
Joined: Fri Dec 20, 2013 1:28 pm
Current Project: TCGA Remake
Chat Username: Look below my avatar
Contact:

Re: Getting an error that renders a level incompletable

Postby HeroLinik » Tue Jun 07, 2016 11:13 am

S1eth wrote:I already asked you last time to provide the screenshots necessary to solve your SMBX problem (which would also solve your starman problem permanently)
Please provide the screenshots as instructed here: http://www.supermariobrosx.org/forums/v ... 40#p220442

In addition, please provide a screenshot of the SMBX2.0/LuaScriptsLib/particles folder.
I'm sure I know the answer to your problem, but I need those screenshots to confirm my suspicions.
Main SMBX 2.0 directory:
Spoiler: show
Image
LuaScriptsLib folder:
Spoiler: show
Image
particles folder:
Spoiler: show
Image
Level folder (that causes the error):
Spoiler: show
Image
SMBX 2.0\graphics\new_characters\rosalina folder:
Spoiler: show
Image
Here you go.
I support: show
Lol, you got trolled. Move along, if you please.
YouTube channel

Moderator of the r/Pokemon Discord server since 2019.

TDK
Kamikaze Koopa
Kamikaze Koopa
Posts: 1384
Joined: Wed Nov 11, 2015 12:26 pm

Re: Getting an error that renders a level incompletable

Postby TDK » Tue Jun 07, 2016 11:26 am

Linik wrote: particles folder:
Spoiler: show
Image
There's some missing files in the particles folder, there should be some .png files (e.g. "part_default.png"). I think you should download the particles folder (http://wohlsoft.ru/pgewiki/Particles.lua).

User avatar
HeroLinik
Cyan Yoshi Egg
Cyan Yoshi Egg
Posts: 3443
Joined: Fri Dec 20, 2013 1:28 pm
Current Project: TCGA Remake
Chat Username: Look below my avatar
Contact:

Re: Getting an error that renders a level incompletable

Postby HeroLinik » Tue Jun 07, 2016 11:34 am

TheDinoKing432 wrote:
Linik wrote: particles folder:
Spoiler: show
Image
There's some missing files in the particles folder, there should be some .png files (e.g. "part_default.png"). I think you should download the particles folder (http://wohlsoft.ru/pgewiki/Particles.lua).
I did that, but the PNG files seemingly weren't included with it. What is it I'm missing?
I support: show
Lol, you got trolled. Move along, if you please.
YouTube channel

Moderator of the r/Pokemon Discord server since 2019.

User avatar
Hoeloe
Kamikaze Koopa
Kamikaze Koopa
Posts: 1205
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Current Project: A2XT Episode 2

Re: Getting an error that renders a level incompletable

Postby Hoeloe » Tue Jun 07, 2016 11:59 am

TheDinoKing432 wrote:
Linik wrote: particles folder:
Spoiler: show
Image
There's some missing files in the particles folder, there should be some .png files (e.g. "part_default.png"). I think you should download the particles folder (http://wohlsoft.ru/pgewiki/Particles.lua).
I think those are actually in the graphics folder in the SMBX 2.0 installation.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 4 guests