21
Mach4 General Discussion / Re: Debugging Lua code...
« on: March 13, 2018, 01:18:43 PM »from modules directory mcErrorCheck.lua
[ 0] = 'MERROR_NOERROR',
According to the API docs mc.mcGetInstance() does not return an error value, only a handle value. In this case it being zero is a problem and really does suggest that something was done out of order or not at all with how the code was run.