-
Furniture params can only be float.
We should expand this to allow at least string as a valid param.
-
local aClass = {}
setmetatable(aClass, {__newindex = function() end, __index = function() end })
local p = {a = 1, b = 2}
for _, v in pairs(p) do
aClass[_] = v
end
This program break in Moonsharp
…
-
The title might be wrong (I'm very new to Lua), but I think that's the issue behind this. The code below comes from a [StackOverflow answer](http://stackoverflow.com/questions/11280124/sandboxing-in-l…
-
All this should be done till the 10th of december.
- [x] Bugs
- [x] Fix mouse centering (#10)
- [x] Log python scripting errors instead of throwing an exception
- [x] Fix mipmaps on 2D textures …
-
It's not uncommon to extend classes that you don't have source access to, and not being able to hide parent members could really become a problem.
I propose allowing MoonSharpVisible (or if you want …
-
``` lua
function Obj(...)
do
local args = { ... }
end
end
Obj(1)
```
Stack trace:
```
NullReferenceException: Object reference not set to an instance of an object
MoonSharp.Interpret…
-
The error message returned by loadfile (and similars) is unhelpful, not containing the correct source reference.
See https://groups.google.com/forum/#!topic/moonsharp/zkAzoq4jiGY
-
These steps happen in my code (using 0.9.8)...
- I have a C# **static** event, and in Lua code I **myEvent.add(lua_func)** to it. Event triggers lua code just fine. Hooray!
- I use **myEvent.remove(lu…
-
Running inside of Unity,
```
Script script = new Script(CoreModules.Preset_SoftSandbox);
script.Options.DebugPrint = Debug.Log;
script.DoString("top = {}");
script.Globals["top.lower"] = 1;
script.…
-
There seem to be compatibility issues with IronPython.
Running this code: http://pastie.org/private/2mdpllqawz8tgmgrb1xw5a
Getting this error: http://pastie.org/private/slhvzjwhc3jm7ccdvujh2a
Runni…