• Lua C++ Modules
    4 replies, posted
I wish to utilize cpp in lua and I can't for the life of me figure out the wiki's tutorial. Is there a source of information that anybody could please reference which is much more friendly towards someone without cpp experience(beyond the syntax)? TL;DR How did you learn to create lua c++ modules?
Reading other people's code is always a good way to learn anything. Here's some example C++ modules: glua.team GitHub (there's a number of modules hosted here) MySQLOO (check the MYSQLOO folder) gm_spew breakpointservers modules (some of these have sources but probably use the GM12 backwards compatibility headers)
Thank you! Also, is there anything specific that I should know about when compiling it in VS(configs and such), or can I just use the standard x86 compiler?
You can use standard VS settings; there's a little but of info here: Setting Visual Studio Up for Making Binary Modules
https://i.gyazo.com/f92836e0caa016e37ba19afd2a52b60d.png A simple function push I fetched from the facepunch github https://i.gyazo.com/9c8ae041afbf4b49dc879ee82040d518.png Thank you so much!
Sorry, you need to Log In to post a reply to this thread.