Title: Lua Code Debugging/Problems
I have been working on a branch mining program for a bit now but problems keep arising. I've got it so when you start the program, it checks it's fuel levels against the number 200, and if it's lower, it refuels and continues with the script. It then is supposed to dig a 3x1x48 tunnel, turn right, tunnel 3 more blocks, turn right again, and dig another 48 block tunnel. My problem is that it will absorb the needed fuel and it digs the blocks under and in front of it, but it won't go forward. Can someone give me a bit of troubleshooting? Any help/suggestions is much appreciated! [Click]
~Schneiderism
Lua Code Debugging/Problems
Started by Doobliheim, Aug 10 2013 06:54 PM
3 replies to this topic
#1
Posted 10 August 2013 - 06:54 PM
#2
Posted 10 August 2013 - 07:15 PM
Split into new topic.
#3
Posted 10 August 2013 - 08:03 PM
you are missing an 'end' on line 34 and if you move one 'end' from line 29 to line 35 it should work. 
http://pastebin.com/wAhTH2se
http://pastebin.com/wAhTH2se
#4
Posted 11 August 2013 - 03:23 PM
Thanks a bunch!
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











