I write a small controller of the drone using the OpenComputers computer. I've already done part of the work, but found a strange bug.
If first use the computer to call setAction("inventoryImport"), and then call clearArea() , addArea(2 points, "Filled" ) , setAction("dig") - the drone does not fly to new coordinates. Remains and breaks only one block, which was the first action "inventoryImport".
If you call setAction("Teleport"\"goto"\ etc ) to other coordinates, it go. If you call again setAction("dig") - he flies back to the block, where it was setAction("inventoryImport") (And breaks it)
If you break drone , place back and call setAction("dig") - he flies and breaks ( without tool ).
MC Version - 1.7.10,
Forge: 1558,
Forge server version: 1614,
Mod version: 1.12.2-145
If need some screenschots\OC code\more info - please say.
p.s. sorry for my bad english.
I write a small controller of the drone using the OpenComputers computer. I've already done part of the work, but found a strange bug. If first use the computer to call setAction("inventoryImport"), and then call clearArea() , addArea(2 points, "Filled" ) , setAction("dig") - the drone does not fly to new coordinates. Remains and breaks only one block, which was the first action "inventoryImport". If you call setAction("Teleport"\"goto"\ etc ) to other coordinates, it go. If you call again setAction("dig") - he flies back to the block, where it was setAction("inventoryImport") (And breaks it) If you break drone , place back and call setAction("dig") - he flies and breaks ( without tool ).
MC Version - 1.7.10, Forge: 1558, Forge server version: 1614, Mod version: 1.12.2-145
If need some screenschots\OC code\more info - please say. p.s. sorry for my bad english.