Jump to content


g1eagle's Content

There have been 6 items by g1eagle (Search limited from 20-March 23)


By content type

See this member's

Sort by                Order  

#130422 Sensor turtles and inventory sensors OpenCCSensors.

Posted by g1eagle on 30 June 2013 - 02:04 PM in Ask a Pro

Thanks for the help.
I figured it out.. this can be marked as solved..



#130379 Sensor turtles and inventory sensors OpenCCSensors.

Posted by g1eagle on 30 June 2013 - 10:37 AM in Ask a Pro

os.loadAPI("ocs/apis/sensor")
mySensor = sensor.wrap("left")
targets = mySensor.getTargets()

for k, v in pairs(targets) do
print(mySensor.getTargetDetails(k))
end


Though I figured out that problem.. I had a capital letter where it didn't belong...

The other issue of how do we get the slot information?



#130312 Sensor turtles and inventory sensors OpenCCSensors.

Posted by g1eagle on 30 June 2013 - 02:38 AM in Ask a Pro

Yes the sensor card is in slot 16.
But it returns nil when I try and pull information from it.



#130169 Sensor turtles and inventory sensors OpenCCSensors.

Posted by g1eagle on 29 June 2013 - 12:45 PM in Ask a Pro

I hope I'm doing this correctly..
I'm trying to use a sensor turtle but I'm unable to get it to reconise a sensor card, and there seems to be almost no information on how one would go about getting the turtle to do such...


Also can you use a inventory sensor to tell the name of the item in an inventory? I can get it to pull up the name of the inventory but I can not figure out how to get the individual items in said inventory.



#55407 [1.4.7][SMP]File not found happens when loading a chunk with a turtle

Posted by g1eagle on 30 November 2012 - 04:46 AM in Bugs

GopherAtl Your a life saver, I went and looked and yep I was using the unzipped version for the same reason. Zipped it up and then checked the turtles and now all of them are booting properly.... which is great I know get to use more CC craft!



#55307 [1.4.7][SMP]File not found happens when loading a chunk with a turtle

Posted by g1eagle on 29 November 2012 - 03:56 PM in Bugs

Hello I'm running version 1.4.7 of computer craft and noticed an issue.. when either a chunkload with a turtle inside (Turtle has a label, and startup file) it'll say "File not Found." instead of running a program the startup file tells it too, they just sit there and do nothing. If you go over and click the turtle you'll see the error, then when you exit out it seems that the start up program loaded correctly.