GithubHelp home page GithubHelp logo

eluant's People

Contributors

cdhowie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eluant's Issues

Has this been tested with Mono and the Unity engine?

I'm considering using Lua for mod support in a game being written in Unity. There are several available options for communication between C# and Lua, and some appear to not work on many/all Mono platforms. I was wondering before I start installing this (And all the other options I'm trying out) if anyone else has tried it in Unity themselves, and on which platforms.

Special strings in Lua

Hi,

after two years of testing, I had to say, that Eluant works very, very stable. Good job and thank you for sharing it with the community ๐Ÿ‘

Now I have the problem, that strings in Lua and strings in C# are different and so there could be problems while converting them from Lua to C#. It would be helpfull, if we could retrive strings as byte arrays.

I encountered the problem, that strings, which are a byte array in Lua could not transfered to C#, saved, loaded again and transfered to Lua. The transfer to Lua doesn't work. The string is created in Lua:

kk = { 252, 255 }  -- 0xFC, 0xFF
k = ""
for i = 1, 2 do
  local x = ""
  x = string.char(kk[i])
  k = k .. x
end

This is a valid string in Lua, which I want to transfer to C# (to save/load it later). But if I now try to bring this string back to Lua, I get problems. The string isn't the same in Lua as before. Perhaps it has something to do with the problem in this thread: http://lists.ximian.com/pipermail/mono-devel-list/2006-March/017493.html.

So it would be nice to get/set a string in Lua by a byte array (ToArray, FromArray) instead of a string, so that no conversions take place.

Best regards,
Dirk

Events

Is it possible to handle .NET events in Lua script?

Is it possible/"easy" to sandbox the Lua machine?

I'm considering using Lua as a modding tool for a game I'm developing. However I don't want to allow mods access to the hard drive, network, etc....

Basically I want to allow everything in Lua, save things that worry me such as file/network access. Access control would be even better, where mods could request network access from the user on installation/configuration, but not required.

Additionally I want to only allow Lua access to C# functions that I manually add.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.