(shouting)

Search found 320 matches

by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

I fixed it... Blame me to hell guys >.<

Updated the current version!
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

Sorry, I fixed it now!
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

v0.2.4 is out!

Changes:
* Added playSFX with soundfile
* Added variable bank access. (Have a look at the reference/example page)
Also a example has been added about the new variable bank in lua ;).
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

Small update to 0.2.3.1:
*Only font 3 will be affected on the auto-caps.

Btw, about font 4, I found a if statement in the print code:

Code: Select all

if ( *(_WORD *)a7 == 4 )
So yea, there was a font 4 all the time here....
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

Version 0.2.3 is out!

Changes:
* Added event support for player 2.
* printText now auto-uppercase the text.
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

Just on the notice about the third line, it is because only Uppercase is allowed, I will implement a auto-uppercase soon. Keep up with the videos ;)
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

Version 0.2.2 is out!

Changes:
*Added playSFX
*Added triggerEvent
*Added access to player 2
*Added new events onJump, onJumpEnd, onKeyDown, onKeyUp
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

Or Notepad++ :D
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

Lua unfortunaly doesn't support one-line if, for, function and while-loops. You always have to close them with the 'end' keyword. processDialogue() to processDialog() EDIT: Here the fixed code: dialogSpeaker = 0 dialogTextTime = 0 dialogSpeakerTime = 0 dialogName = "" dialogText = "&q...
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

There are some syntax errors. Lua is case sensitiv with functions and variables.

Also:

Code: Select all

local myNPC = findnpcs(npcid, -1)[0]
add '[0]' to get the first npc match, because findnpcs returns an array :P
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

Technical yes, but I am not sure how SMBX handels modified physics. Anyway, I added a "onJump" event and a "onJumpEnd" event in the next version (will release soon)
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

Re: Presenting: Lunadll for Lua!

Update 0.2.1:

* Added section class
* Added direct memory editing
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 261533

LunaLua Offical Thread

I recently had the idea if I should stream some LunaLua live development. Just say if you would be interested or not. Heya all, I'm here to present Lunadll with Lua (Alpha-Version)! I used most of the last week to work on this, and I think it's turning out pretty well. The problem with Autocode (the...
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 285525

Re: LunaDLL help thread

Ah just found it, thank you, will check this out :P

EDIT: Thanks, it worked :3 !
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 285525

Re: LunaDLL help thread

Where can I set the speed of a NPC? Do I need a specifc memory address? Because I didn't find a speed-field in the NPCMOB struct.
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 285525

Re: LunaDLL help thread

Small question:

I am currently using the LunaDLL source code to change the direction of a NPC. But when I try this, the NPC is changing its direction. Is it not possible to change the direction of a NPC at game runtime?
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 285525

Re: LunaDLL help thread

Ah okay, now I understand :P

Anyhow, if there will be ever a A3XT in development, LunaDLL with lua support would be really great.
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 285525

Re: LunaDLL help thread

The obvious bad thing is that you have to recompile a new lunadll every time you want to change something. Like Wohlstand already mentioned, lua is running at runtime so you don't have to compile it. Besides one question: I saw the command "MemAssign", so it should be possible to read out...
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 285525

Re: LunaDLL help thread

The ideal would be to have a Turing complete scripting language such as Lua or C able to run arbitrary code between frames of the engine. This is, as it currently stands, not quite possible when compiling to LunaDLL. Although you cannot implement any complex, there is still the lack of variables, f...
by Kevsoft
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 285525

Re: LunaDLL help thread

I keep finding myself wanting to write a language called LunaScript with more readable C-style syntax that compiles down to LunaDLL code. It's a pity I don't have time, though. I'm thinking about it too. Maybe I'll try it after I re-read a book or two on compilers and parsing. Instead of making a o...