Page 4 of 47
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Thu Mar 19, 2015 12:40 pm
by Kevsoft
LunaLua v0.6.1 is out with following changes:
*
Resturctured Audio Module [Tutorial]
*
New Defines Module
* Added function spawnEffect (replaces runAnimation)
* Added new fields towards the Animation Class
* Added some new function signature overloads for spawnNPC
* Optimzed the VBStr fields, they can now be assigned directly to a string.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Fri Mar 20, 2015 11:05 am
by DaSpongeBobMan
I just put the new lua in the smbx folder and it requires all the audio files. I cannot download these at the same time and they contain viruses. What should I do? And what does boolean mean?
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Fri Mar 20, 2015 11:54 am
by Kevsoft
DaSpongeBobMan wrote:I just put the new lua in the smbx folder and it requires all the audio files.
That's why I put up the link "SMBX Audio Files"
DaSpongeBobMan wrote:I cannot download these at the same time and they contain viruses. What should I do?
They are just marked as a virus because they are using hack techniques.
DaSpongeBobMan wrote:And what does boolean mean?
Boolean is a variable type:
Code: Select all
local myBoolean = true
if(myBoolean)then
--do stuff
end
local myFalseBoolean = false
True and false are values for the type boolean.
Also:
A LunaLua Hotfix (v0.6.1.1) is out which fixes NPC.direction.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Sat Mar 21, 2015 10:42 am
by Mr Boboo
z0mg starmun
LunaDLL with Lua, eh? I've always been hoping for an SMBX modding software (or something of the sort) and it looks like my dream is finally coming true. It should be really interesting seeing what people make.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Sat Mar 21, 2015 1:45 pm
by Kevsoft
Mr Boboo wrote:
LunaDLL with Lua, eh? I've always been hoping for an SMBX modding software (or something of the sort) and it looks like my dream is finally coming true. It should be really interesting seeing what people make.
Same here. Before LunaLua was created, I was like: Where is my lua in Lunadll and well,
now it is here 
I hope you enjoy it.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Sat Mar 21, 2015 2:00 pm
by Wind
Is there a non-SDL version?
E: apparently not. f
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Sat Mar 21, 2015 2:45 pm
by Kevsoft
Wind wrote:Is there a non-SDL version?
E: apparently not. f
Do you dislike SDL?
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Sat Mar 21, 2015 3:24 pm
by Wind
No, but all I wanted was Lunadll + lunalua, not additional 16 DLLs.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Sun Mar 22, 2015 11:26 am
by Kevsoft
I updated the download link, it should be now easier to access LunaLua.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Sun Mar 22, 2015 3:25 pm
by Mr Boboo
I installed LunaLua properly and decided to run DarkShadeX's Hammer Starman code. I loaded the level and got a text box that said this:
I clicked OK and the level loaded correctly, along with the Lua functions, but the player HUD was invisible. I'm not sure why this happens but I don't know how to fix it.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Sun Mar 22, 2015 3:46 pm
by Kevsoft
As I understand the code right, the hammer (NPC ID: 171) is missing in your level. You have to add this to your level. If you have any additional problems then please forward this error to the orignal creator of the code (DarkShadeX).
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Mon Mar 23, 2015 4:29 pm
by StarBot
Do you need LunaDLL to download LunaLua? I'm sorry if this should like a dumb question, I don't understand none of this.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Mon Mar 23, 2015 5:03 pm
by Kevsoft
No, it is just a new version of Lunadll which contains the new lua module.
If you download the first time LunaLua I would recommend to download the whole package including all graphics and sounds.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Mon Mar 23, 2015 8:10 pm
by StarBot
Kevsoft wrote:No, it is just a new version of Lunadll which contains the new lua module.
Oh okay!
Kevsoft wrote:If you download the first time LunaLua I would recommend to download the whole package including all graphics and sounds.
oh... okay?

Do you mean,
If you download LunaLua for the first time
Anyway, it's says I have to download the music and sounds, which I don't want to...
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Tue Mar 24, 2015 1:17 am
by Kevsoft
The sounds are ogg files and the music are sampled to 44100 Hz. The original files are not compatible with LunaLua.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Wed Mar 25, 2015 1:25 pm
by StarBot
Kevsoft wrote:The sounds are ogg files and the music are sampled to 44100 Hz. The original files are not compatible with LunaLua.
I personally don't understand any of this, but I'm going to download it anyway.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Wed Mar 25, 2015 2:53 pm
by Kevsoft
ogg files are very small audio files. They often work better than mp3.
About the music: Every audio file has a "sample-rate" (or tick-rate) which is in Hz. If this rate is higher than 44100 Hz then the music plays too fast, if this rate is lower than 44100 Hz then the music plays too slow or dirty.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Wed Mar 25, 2015 4:03 pm
by StarBot
Kevsoft wrote:ogg files are very small audio files. They often work better than mp3.
About the music: Every audio file has a "sample-rate" (or tick-rate) which is in Hz. If this rate is higher than 44100 Hz then the music plays too fast, if this rate is lower than 44100 Hz then the music plays too slow or dirty.
Cool cool, err just one question....
Why do I need to download a
sound and music file?
Is LunaLua is contain in these soundfiles?

Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Wed Mar 25, 2015 5:04 pm
by Kevsoft
StarBot wrote:Why do I need to download a sound and music file?
What do you mean "file"?
The LunaLua "Full installation" contains all ogg sound file
s (the original sound files just converted to the ogg-format) and the 44100 Hz music file
s (the original music files just converted to 44100 Hz).
Read here about the new music engine.
Re: LunaLua - Lunadll with lua [Now with Overworld]
Posted: Wed Mar 25, 2015 7:41 pm
by StarBot
Kevsoft wrote:StarBot wrote:Why do I need to download a sound and music file?
What do you mean "file"?
The LunaLua "Full installation" contains all ogg sound file
s (the original sound files just converted to the ogg-format) and the 44100 Hz music file
s (the original music files just converted to 44100 Hz).
Read here about the new music engine.
Oh my mistake
