Posted 18 April 2013 - 01:30 AM
Hello, my first post, my first real application for turtle. For XP turtle! I am using ultimate pack.
So i wrote my program to enchant stuff when turtle has enough XP.
http://pastebin.com/jHgxjdqT
Here is the code.
Got infinite loop running and checking if xp is enough, if items are in inventory. I see strange behavior - my application terminates in
Could someone check my program and maybe point some mistakes?
So i wrote my program to enchant stuff when turtle has enough XP.
http://pastebin.com/jHgxjdqT
Here is the code.
Got infinite loop running and checking if xp is enough, if items are in inventory. I see strange behavior - my application terminates in
if isSlotStack(1) then
block. My concerns are - there are function in which i use break. To stop looping for loop. I feel like it is breaking not only for loop, but entire while true loop.Could someone check my program and maybe point some mistakes?