Jump to content

Lua like framewerks without framewerks

Recommended Posts

Hey, i want to use the lugi thing for a server application wich is not using leadwerks at all.


I found this on blitzmax forums:




its from joshk smile.png


i tried it with the following:



Include "glue.bmx" 'the generated gluecode
Global lua:TLua = New tlua 'create the tlua type
Type test {expose}
Method foo()
	Print "say ausgefuehrt"
End Method
End Type


the content of the str string is this: (moved it out for better reading)


local dings = NewTest()


the result that i got is:


Lua error: [string "print("test:")..."]:3: attempt to index local 'dings' (a function value)


executing a lua script works fine, but i the object pushing ist not working sad.png


Dies someone knows what i made wrong?



it looks like i just made an . instead of an :

so nevermind this thread, and sorry for bugging.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...