Guppy Posted October 20, 2014 Share Posted October 20, 2014 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 Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
wayneg Posted October 22, 2014 Share Posted October 22, 2014 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? Quote Link to comment Share on other sites More sharing options...
Rick Posted October 22, 2014 Share Posted October 22, 2014 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.