25 posts
Location
NL
Posted 20 January 2013 - 10:48 AM
Hello everyone, after searching for a while I came back here to ask something about ccSensors combined with computercraft.
Is there a possibility to get readings from a sensor and use this reading for a purpose.
Example:
if ccSensors/getReading/world/playercount:1 == true then
rs.setBundledOutput("back", 1)
sleep(1)
rs.setBundledOutput("back", 0)
end
I'll wonder if there is a possiblity to get this to work so when im offline/online I know if someone and how many times ''someone'' came near my base. Or link some basic protections to it which will turn on if someone comes near.
(It would be fun to make some nuke traps with this "as in huge mines")
Thanks in advance!
7508 posts
Location
Australia
Posted 20 January 2013 - 10:56 AM
Myself and another person wrote this up last night….
How To Use ccSensors
25 posts
Location
NL
Posted 20 January 2013 - 11:04 AM
Myself and another person wrote this up last night….
How To Use ccSensors
Oh, thanks man :)/>
7508 posts
Location
Australia
Posted 20 January 2013 - 11:07 AM
Myself and another person wrote this up last night….
How To Use ccSensors
Oh, thanks man :)/>
No problems. We have had a huge increase in people asking for help with ccSensors even though its REALLY old and unsupported by the dev… And no one on these forums really seemed to know how to use it ( if they did they never helped ) … so remiX and I did the tutorial… :)/>
25 posts
Location
NL
Posted 20 January 2013 - 11:59 AM
Myself and another person wrote this up last night….
How To Use ccSensors
Oh, thanks man :)/>
No problems. We have had a huge increase in people asking for help with ccSensors even though its REALLY old and unsupported by the dev… And no one on these forums really seemed to know how to use it ( if they did they never helped ) … so remiX and I did the tutorial… :)/>
Where Im going to ask the same question XD Somehow those codes dont seem to work, but dont worry Ill write down what i've tried wich as i assume looks like a junkpile of words haha. Im kinda new to programming but already write some passwords programs, made my own elevator script (3 floors) got a reactor running on compucraft, 3 factory`s (all on the same comp) and… now got a dash_reactor screen and that all in 3 days (from scratch)
So suppose I'll learn fast :)/>
2088 posts
Location
South Africa
Posted 20 January 2013 - 12:03 PM
Somehow those codes dont seem to work…
Which codes did you test and did you set it up correctly…
25 posts
Location
NL
Posted 21 January 2013 - 03:37 AM
Somehow those codes dont seem to work…
Which codes did you test and did you set it up correctly…
Oh, this topic continious on
http://www.computercraft.info/forums2/index.php?/topic/9490-how-to-use-ccsensors/page__st__20The newest ccSensors uhm helpdesk XD? I've pastebin the codes TheOriginalBIT provided :P/>