Lua codes not loading

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?
loop13
Ninji
Ninji
Posts: 980
Joined: Sun Apr 17, 2016 5:56 pm
Flair: professional moron

Lua codes not loading

Postby loop13 » Fri Jul 01, 2016 1:12 pm

How do you load lua codes ? Do you put a certain code after putting it in a folder, or what? I really appreciate help.

aero
Palom
Palom
Posts: 4781
Joined: Fri Mar 28, 2014 2:51 pm

Re: Lua codes not loading

Postby aero » Fri Jul 01, 2016 1:33 pm

Post the code you have in your lua file.

mariogeek2
Rocky Wrench
Rocky Wrench
Posts: 697
Joined: Tue Jan 28, 2014 5:46 pm

Re: Lua codes not loading

Postby mariogeek2 » Fri Jul 01, 2016 1:51 pm

Did you activate the vc_redist.x file for your version of windows?

loop13
Ninji
Ninji
Posts: 980
Joined: Sun Apr 17, 2016 5:56 pm
Flair: professional moron

Re: Lua codes not loading

Postby loop13 » Fri Jul 01, 2016 1:59 pm

My laptop doesn't have internet at the moment. That probably will be difficult, unless I wait until tonight, when I can turn the hotspot on. I should have been more specific. I just need to know if I need "loadapi" or "API.load". I am still new to this stuff.
vc_resist.x? I don't think I have that.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Lua codes not loading

Postby Enjl » Fri Jul 01, 2016 2:04 pm

vcredist_x86.exe

About loading codes, do you mean APIs or just having a standard lua file to be run in your level?

loop13
Ninji
Ninji
Posts: 980
Joined: Sun Apr 17, 2016 5:56 pm
Flair: professional moron

Re: Lua codes not loading

Postby loop13 » Thu Jul 14, 2016 4:29 pm

I am talking about both, Enjl. I might try to research other codes to find out.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Lua codes not loading

Postby Enjl » Thu Jul 14, 2016 4:35 pm

The basics:
https://www.youtube.com/watch?v=E69ti1QCdsk
http://wohlsoft.ru/pgewiki/How_To:_LunaLua_basics

Filenames which LunaLua accepts:
http://wohlsoft.ru/pgewiki/Lua_Files

And to load an API, type

Code: Select all

local api = API.load("api")
example:
local paralX = API.load("paralX")
List of APIs:
http://wohlsoft.ru/pgewiki/Category:Lun ... _libraries

loop13
Ninji
Ninji
Posts: 980
Joined: Sun Apr 17, 2016 5:56 pm
Flair: professional moron

Re: Lua codes not loading

Postby loop13 » Thu Jul 14, 2016 4:41 pm

Enjl wrote:The basics:
https://www.youtube.com/watch?v=E69ti1QCdsk
http://wohlsoft.ru/pgewiki/How_To:_LunaLua_basics

Filenames which LunaLua accepts:
http://wohlsoft.ru/pgewiki/Lua_Files

And to load an API, type

Code: Select all

local api = API.load("api")
example:
local paralX = API.load("paralX")
List of APIs:
http://wohlsoft.ru/pgewiki/Category:Lun ... _libraries
Thanks!

HVMetal
Snifit
Snifit
Posts: 234
Joined: Tue Dec 29, 2015 9:44 am

Re: Lua codes not loading

Postby HVMetal » Sun Jul 17, 2016 11:49 am

Well, pretty much the same thing is here.
I have activated the vc_redist.x86.exe
but codes and musics are not loading when Lua is supposed to support .ogg formats.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Lua codes not loading

Postby Enjl » Sun Jul 17, 2016 6:20 pm

HVMetal wrote:Well, pretty much the same thing is here.
I have activated the vc_redist.x86.exe
but codes and musics are not loading when Lua is supposed to support .ogg formats.
All the vanilla music in lua versions of smbx is in .ogg or .spc by default. Does absolutely no music and sound play for you?

HVMetal
Snifit
Snifit
Posts: 234
Joined: Tue Dec 29, 2015 9:44 am

Re: Lua codes not loading

Postby HVMetal » Sun Jul 17, 2016 6:43 pm

Enjl wrote:
HVMetal wrote:Well, pretty much the same thing is here.
I have activated the vc_redist.x86.exe
but codes and musics are not loading when Lua is supposed to support .ogg formats.
All the vanilla music in lua versions of smbx is in .ogg or .spc by default. Does absolutely no music and sound play for you?
No musics, no sounds only when they are in .mp3 format
The same thing happens in SMBX 2.0 and 1.4

loop13
Ninji
Ninji
Posts: 980
Joined: Sun Apr 17, 2016 5:56 pm
Flair: professional moron

Re: Lua codes not loading

Postby loop13 » Sun Jul 17, 2016 7:22 pm

No musics, no sounds only when they are in .mp3 format
The same thing happens in SMBX 2.0 and 1.4
Ouch, can't help you there Did you install LunaLUA correctly?

HVMetal
Snifit
Snifit
Posts: 234
Joined: Tue Dec 29, 2015 9:44 am

Re: Lua codes not loading

Postby HVMetal » Mon Jul 18, 2016 8:10 am

Jayce 777 wrote:
No musics, no sounds only when they are in .mp3 format
The same thing happens in SMBX 2.0 and 1.4
Ouch, can't help you there Did you install LunaLUA correctly?
Lets take it step by step:
Spoiler: show
-Opens this website: http://wohlsoft.ru/LunaLua/
-Selects LunaLua 0.7.3 BETA
-Full instalation -> Target Base game: SMBX 1.3.0.2 ( vanilla + launcher ) -> complete standalone base game
-Downloads, extract it, activate vc_redist.x86.exe
-Opens smbx.exe
-It says Super Mario Bros X - version 1.3.0.1 =>
Musics, sounds, codes not loading
end

loop13
Ninji
Ninji
Posts: 980
Joined: Sun Apr 17, 2016 5:56 pm
Flair: professional moron

Re: Lua codes not loading

Postby loop13 » Mon Jul 18, 2016 8:15 am

Lets take it step by step:
Spoiler: show
-Opens this website: http://wohlsoft.ru/LunaLua/
-Selects LunaLua 0.7.3 BETA
-Full instalation -> Target Base game: SMBX 1.3.0.2 ( vanilla + launcher ) -> complete standalone base game
-Downloads, extract it, activate vc_redist.x86.exe
-Opens smbx.exe
-It says Super Mario Bros X - version 1.3.0.1 =>
Musics, sounds, codes not loading
end
Can't help you there. Sorry.

Can somebody please lock this? My problem is solved.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest