Results 1 to 2 of 2

Thread: C Bindings

  1. #1
    Basic Member
    Join Date
    Jan 2012

    C Bindings

    I had a look at the Lua environment, in particular I tried to load in a C/C++ library.

    The loading fails, after a bit of digging I found that the two functions usable for this (the 3rd loader for require() and package.loadlib() ) are not available as global variables as expected - I guess they were intentionally removed to prevent arbitrary code execution on the server?

    Could we get this restriction lifted in local development mode?

  2. #2
    The lua runtime is pretty castrated for security reasons, I guess. The first version of the reborn client actually still had loadlib enabled.

    I made a custom game mod that addresses the usage of other languages, and I'll try to write this into the new bot api. Here's the link:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts