DLL Calling in Lua for NS@

Superhunter117Superhunter117 Join Date: 2015-08-02 Member: 206645Members
Hello,

I have been looking on forums and that. I was wondering if you can call DLL functions from NS2 in lua code?
What it looks like by the forums is that it has been removed.

IF it hasn't how do I load the function / call it. I've tried original lua call for loading a DLL but NS2 doesn't seem to have that included in their engine.

Comments

  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    edited August 2015
    Some lua function have been disabled due to user security concerns including loadlib or most of the ffi methods. Therefor it is not possible to load a dll library or include C code in any way into NS2 lua code.
  • Superhunter117Superhunter117 Join Date: 2015-08-02 Member: 206645Members
    Thank You for the quick reply
Sign In or Register to comment.