Jump to content

Recommended Posts

Posted

Is it also possible for the LE Standard users to add the raknet code inside the main.cpp or app.cpp and debug to use within a lua game ?

 

of course - but you will still need to export "handles" for lua to pull at

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Posted

So what would Rick charge to flattened the RakNet classes and make it more procedural, and have Functions like: Connect(), Host(), CreateBitStream(), WriteBitStream(), ReadBitStream(), Send(), NetworkLoop(), BindEvent() ?

 

What would a new user need to do ?

 

Would a simple chat program be good example?

 

What limitations might there be?

Posted

I have too much going on at this time. I just don't have the time right now.

 

What I did in the past was to make a C++ DLL where you include the Lua and RakNet source into. Then make some global vars for the RakPeerInterface and such and make C functions that you expose to Lua. Then in lua you load the DLL and start using the functions you made.

 

Sure, but the lack of a textbox in LE means you'd have to make that GUI element first.

 

Can't run in Lua Sandbox mode which I believe is what the Leadwerks game player users.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...