I fixed it... Blame me to hell guys >.<
Updated the current version!
Search found 320 matches
- 9 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 261533
- 9 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 261533
Re: Presenting: Lunadll for Lua!
Sorry, I fixed it now!
- 9 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 261533
Re: Presenting: Lunadll for Lua!
v0.2.4 is out!
Changes:
Also a example has been added about the new variable bank in lua ;).
Changes:
- 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:
Btw, about font 4, I found a if statement in the print code:
So yea, there was a font 4 all the time here....
Btw, about font 4, I found a if statement in the print code:
Code: Select all
if ( *(_WORD *)a7 == 4 )
- 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:
Changes:
- 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 ;)
- 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:
Changes:
- 9 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 261533
Re: Presenting: Lunadll for Lua!
Or Notepad++ :D
- 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...
- 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:
add '[0]' to get the first npc match, because findnpcs returns an array
Also:
Code: Select all
local myNPC = findnpcs(npcid, -1)[0]
- 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)
- 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
* Added section class
* Added direct memory editing
- 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...
- 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
EDIT: Thanks, it worked :3 !
EDIT: Thanks, it worked :3 !
- 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.
- 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?
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?
- 9 years ago
- Forum: A2XT
- Topic: LunaDLL/LunaLUA help thread
- Replies: 1467
- Views: 285525
Re: LunaDLL help thread
Ah okay, now I understand
Anyhow, if there will be ever a A3XT in development, LunaDLL with lua support would be really great.
Anyhow, if there will be ever a A3XT in development, LunaDLL with lua support would be really great.
- 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...
- 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...
- 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...