LunaLua not working with tutorial / lunalua.dll file not detected.

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

Greensbr
Shy Guy
Shy Guy
Posts: 9
Joined: Tue Feb 02, 2016 5:18 am

LunaLua not working with tutorial / lunalua.dll file not detected.

Postby Greensbr » Fri Feb 26, 2016 11:13 pm

So I got LunaLua working and everything, and I am following this learning tutorial:

https://www.youtube.com/watch?v=E69ti1QCdsk

But now I am having trouble at the 6:00 mark where she is putting in this code:

local myCounter =0;

function onLoop()
myCounter = myCounter + 1;

Text.print(myCounter,0,0)
end


When I follow the tutorial, and run the game, I cant see the counter in the upper left corner. I am wondering if this has something to do with the lunalua.dll file not being detected?

I am running Windows Vista x64 Bit, Visual C++ 2015 x86, and Notepad ++.

What could I be doing wrong?

h2643
Reznor
Reznor
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: LunaLua not working with tutorial / lunalua.dll file not detected.

Postby h2643 » Sat Feb 27, 2016 5:38 am

As I already said at PGE forums, rename lunadll.txt to lunadll.lua and try again.

Greensbr
Shy Guy
Shy Guy
Posts: 9
Joined: Tue Feb 02, 2016 5:18 am

Re: LunaLua not working with tutorial / lunalua.dll file not detected.

Postby Greensbr » Sat Feb 27, 2016 6:00 am

h2643 wrote:As I already said at PGE forums, rename lunadll.txt to lunadll.lua and try again.
Gotcha but check the other forum, its more complicated ;)

http://wohlsoft.ru/forum/viewtopic.php? ... 4936#p4936

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9890
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: LunaLua not working with tutorial / lunalua.dll file not detected.

Postby Emral » Sat Feb 27, 2016 8:52 am

Make a folder with the name of your level and put the lunadll.lua file in there. Alternatively, rename lunadll.lua to lunaworld.lua, though this will make it affect every level in that folder.

Greensbr
Shy Guy
Shy Guy
Posts: 9
Joined: Tue Feb 02, 2016 5:18 am

Re: LunaLua not working with tutorial / lunalua.dll file not detected.

Postby Greensbr » Sat Feb 27, 2016 11:38 am

Enjl wrote:Make a folder with the name of your level and put the lunadll.lua file in there. Alternatively, rename lunadll.lua to lunaworld.lua, though this will make it affect every level in that folder.
I've already done that. The folder, as well as my SMBX/LunaLua installation, is also saved to my desktop to prevent any administrator blocks on Windows Vista.

Image[/quote]

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9890
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: LunaLua not working with tutorial / lunalua.dll file not detected.

Postby Emral » Sat Feb 27, 2016 11:44 am

the lvl file needs to be 1 folder upwards from the lua file, you completely missed the point of my previous message.

Greensbr
Shy Guy
Shy Guy
Posts: 9
Joined: Tue Feb 02, 2016 5:18 am

Re: LunaLua not working with tutorial / lunalua.dll file not detected.

Postby Greensbr » Sun Feb 28, 2016 12:59 am

Enjl wrote:the lvl file needs to be 1 folder upwards from the lua file, you completely missed the point of my previous message.
SOLVED IT

1) I had to put the lunalua.lua file into a folder ONE LEVEL down from the .lvl file, which has the SAME NAME as the lvl file.

2) I also wasn't using LunaLoader.exe, I was using SMBX.exe.... It doesn't work with SMBX.exe, but it works with LunaLoader.exe. Hopefully this means it should work with SMBX games? O.o


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari