Posted 18 February 2013 - 08:03 PM
Title: Lua Error Debugging Needed
I am trying to create a new OS from different code ive written and or found online, and what I have so far has all been taken from different coded programs and pasted together. So without modification I get an error about line 137 saying "MOPT IS NIL"
I understand that nil means not possible, not a function, blah blah blah. My confusion is that mopt is used in a program ive used before perfectly fine, also in the program i took the code from it works perfectly fine. Plz help me find a solution!!! D:
A pastebin of the code is http://pastebin.com/upTVAHWU
EDIT: the full error is:
error: attempt to index global `mopt' (a nil value)
I am trying to create a new OS from different code ive written and or found online, and what I have so far has all been taken from different coded programs and pasted together. So without modification I get an error about line 137 saying "MOPT IS NIL"
I understand that nil means not possible, not a function, blah blah blah. My confusion is that mopt is used in a program ive used before perfectly fine, also in the program i took the code from it works perfectly fine. Plz help me find a solution!!! D:
A pastebin of the code is http://pastebin.com/upTVAHWU
EDIT: the full error is:
error: attempt to index global `mopt' (a nil value)