Sync Modules to get LUA?

BlitzMax Forums/BlitzMax Beginners Area/Sync Modules to get LUA?

Hezkore(Posted 2008) [#1]
I'm trying to get the LUA module, I thought you just had to Sync the modules in the MaxIDE and have the AXE box checked to get LUA, but it's not working.
The only thing I get is "win32maxgui.mod", what am I doing wrong?


Gabriel(Posted 2008) [#2]
I'm not sure if the AXE module has been updated. Andreas Rozek put some fantastic work into getting the Lua module up to date, and lots of bugs fixed.

Grab it from this thread :

http://www.blitzbasic.com/Community/posts.php?topic=63067


Hezkore(Posted 2008) [#3]
The link is dead. :/
"ERROR:Internal error"


Yahfree(Posted 2008) [#4]
http://www.Andreas-Rozek.de/BlitzMax/lua.bmx
link works for me


Macguffin(Posted 2008) [#5]
Just in case it's a forums problem - link is also dead for me.


Gabriel(Posted 2008) [#6]
The link worked fine for me when I tried it last night, and it works fine now too.


GfK(Posted 2008) [#7]
Link works here too.


Macguffin(Posted 2008) [#8]
Yeah, its weird. I've run into several links in the past couple weeks to Blitz forum posts that gave me that same internal error. If someone working on it wants me to do anything helpful to test, happy to.


popcade(Posted 2008) [#9]
If you have licensed BlitzMax, you need to enter the BUID to gain access tho.

I'm not sure if it's very usable anyway...


Hezkore(Posted 2008) [#10]
But my game uses the old AXE LUA module and the new one isn't compatible with my old code.
The old LUA module worked fine for me, it did everything I expected it to.
Isn't there somewhere I can find the old version?


Dreamora(Posted 2008) [#11]
on the old sync server potentially

just replace the 128 with 122 or whatever you had. but be aware that you can not use the new BM with the old module depending on what it used so you better use the new one and fix your broken code.


Htbaa(Posted 2008) [#12]
Isn't this http://lua-users.org/wiki/BlitzMax the latest Lua module for BlitzMax?
It compiles fine for me on Windows XP and Ubuntu 8.04. But haven't been able to test it yet.


Hezkore(Posted 2008) [#13]
This new LUA module makes no sense to me.
I can't get it to run a script and the LUA documentation is just jibberish to me. :/
I also tried following
http://en.wikibooks.org/w/index.php?title=BlitzMax/Modules/Axe/Lua
But getting a script to run and use my registered function didn't work at all.

BlitzLUA (which I thought was the same thing) is apparently some other module that's able to run real BlitzMax code directly from a script, which seems really neat, but BlitzLUA doesn't seem to compile for me.
If I just build modules, I get:

Compile Error: Can't find interface for module 'axe.oggsaver'
[C:/Program Files (x86)/BlitzMax/mod/lua.mod/axe_oggsaver.mod/axe_oggsaver.bmx;40;1]

And if I try to build the environment module I get:

Compile Error: Can't find interface for module 'axe.jasper'

Any tutorials or code avalible for the LUA module that actually works?
What do I have to do to get BlitzLUA working?


Hezkore(Posted 2008) [#14]
Well after a lot of trying and experimenting I've figured out how to get BlitzLUA working and managed to understand how the LUA module works.
Thanks for all your help anyways!