17 posts
Location
Como (Italy)
Posted 11 June 2012 - 01:12 AM
Hi
I pass an entire day searching around for a good CCSensor API guide but i don't found it.
I can write the code myself but i need an help on CCSensor API can anyone explain me how they works?
What I have to do to read a value from a sensor? (for example the heat of a nuclear central or the content)
thanks
PS On computercraft wiki an article about this is missing, CCSensors is a very good addon but without a guide is wasted.
30 posts
Posted 11 June 2012 - 07:07 AM
The reason it is not on the computercraft wiki, or site, is that it is not a part of the computercraft mod. It is a standalone mod to go along with computercraft. If you wanted a wiki for it, I would suggest asking the author of that mod to make one, or even start one yourself.
As for the api's that it creates, they are stored in:
"all of ccSensors lua programs are located in /ccSensors in any Computercraft computer"this was taken from the link http://www.minecraftforum.net/topic/1121555-125-cc133-ccsensors-adding-sensors-to-minecraft-now-with-smp/ which is the main thread on the topic.
So, I would navigate to that folder and start examining the programs to see what all you can do.
Another option, would be to watch videos on the web in using it, if your still confused after looking at the api programs in the above directory. There is a few referenced as well in the post located above.
17 posts
Location
Como (Italy)
Posted 11 June 2012 - 09:40 AM
The reason it is not on the computercraft wiki, or site, is that it is not a part of the computercraft mod. It is a standalone mod to go along with computercraft. If you wanted a wiki for it, I would suggest asking the author of that mod to make one, or even start one yourself.
As for the api's that it creates, they are stored in:
"all of ccSensors lua programs are located in /ccSensors in any Computercraft computer"this was taken from the link http://www.minecraft...t-now-with-smp/ which is the main thread on the topic.
So, I would navigate to that folder and start examining the programs to see what all you can do.
Another option, would be to watch videos on the web in using it, if your still confused after looking at the api programs in the above directory. There is a few referenced as well in the post located above.
I know the reason isn't in the mod and that it is a standalone mod, I'm only surprised that a mod like this is missing about an help.
I know also where apis and examples are stored, but it's difficult to learn how to use an api from the source code, also the problem is that the example program for printing datas use another external api tha isn't compatible with the simple monitor api that i use.
thanks to you for the answer
30 posts
Posted 11 June 2012 - 04:12 PM
Yeah no worries :(/>/>
Tried to find a nice source for it, but doesn't seem any made that yet is mainstream for google or bing.
Never used it myself yet, so have no personal bookmarks to offer either, hope you get it all straightened out.