http://pastebin.com/Q10ETfpv
I am thinking this program is broken. That is because it starts at line 312, and calls 313 nil form some reason, but it is supposed to start at line 235. If you guys can figure out what the problem is, that would be great.
Also: if you see some mistakes or pieces of code that require less lines than they use. Please put suggestions for these.
2
4 replies to this topic
#1
Posted 14 January 2013 - 01:30 AM
#2
Posted 14 January 2013 - 07:17 AM
clear() is not a Lua or CC function.
term.clear(), however, is.
You seem to use clear() a lot. Replace it with term.clear().
term.clear(), however, is.
You seem to use clear() a lot. Replace it with term.clear().
#3
Posted 14 January 2013 - 08:19 AM
Or at the top of the code do this:
then it'll work
clear = term.clear
then it'll work
#4
Posted 14 January 2013 - 09:43 AM
I have a function called clear, sorry forgot that part.
The problem is that it works in the rest of the program, not in that specific line 313 ..
function clear() term.clear() term.setCursorPos(1, 1) end
The problem is that it works in the rest of the program, not in that specific line 313 ..
#5
Posted 14 January 2013 - 11:35 AM
looks like you don't have an end to your refuel function.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users