This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
jakylorhide's profile picture

[Lua][OpenCCSensors]I have no Idea what's going on.

Started by jakylorhide, 21 April 2013 - 09:59 AM
jakylorhide #1
Posted 21 April 2013 - 11:59 AM
Hi All,
Running CC 1.5 with OpenCCSensors 0.1.4b as part of the TekkitLite pack.
I've been trying to find out how to use OCS but I can find any good documentation of how to doing things or even a full api list. Looking at http://www.computercraft.info/wiki/index.php?title=OpenCCSensors isn't really helping since it doesn't really tell me much about it.

Does anyone know where I can find a full api list with simple explanations of how to use them in scripting programs?

Main Concerns : the Graph api, where do I get it, how do I use it?
the main creator shows several things that can be done, but I don't even know where to start to do them (hunter/killer drones, visual map with mobs, etc..)

any help would be apreciated
Lyqyd #2
Posted 21 April 2013 - 09:29 PM
The graph API is located at ocs/apis/graph. The basic documentation is in the first post of the OCS topic: http://www.computercraft.info/forums2/index.php?/topic/5996-151-cc-152-openccsensors/ Scroll down that post a bit and open the spoiler labeled "Graph API documentation".

Scrolling through the rest of the topic should give you quite a few code snippets to try out, though some of the earlier ones will be outdated. If you find one you can't get working, just paste it here and I'll help correct it.
jakylorhide #3
Posted 22 April 2013 - 01:43 PM
great, thank you for the help. completely skipped that spoiler (oops), mostly, I was hoping for a list similar to what we see in the wikki for the "official" apis and such.
Maybe one day :3