Jump to content




Lua Code Debugging/Problems


  • You cannot reply to this topic
3 replies to this topic

#1 Doobliheim

  • Members
  • 6 posts
  • LocationPortland, OR

Posted 10 August 2013 - 06:54 PM

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

#2 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 10 August 2013 - 07:15 PM

Split into new topic.

#3 MR_nesquick

  • Members
  • 106 posts
  • LocationNorway

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

#4 Doobliheim

  • Members
  • 6 posts
  • LocationPortland, OR

Posted 11 August 2013 - 03:23 PM

Thanks a bunch!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users