3 posts
Posted 01 September 2014 - 08:47 PM
Hello everyone this is my first post :)/> Anyways, I have been working on a ctf game using CC and MoarPeripherals. I've been using turtles to detect whether the wool is broken or not and I've noticed that they cant detect the modem on their side and I've tried every side imaginable with rednet.open() I am also using the latest stable of CC and MoarPeripherals. If you need any more info ask me in the comments ;)/>
3057 posts
Location
United States of America
Posted 01 September 2014 - 10:01 PM
What does this give you?
for k, v in pairs( rs.getSides() ) do
print( k .. " : " .. ( peripheral.isPresent( v ) and peripheral.getType( v ) or "no peripheral" ) )
end
3 posts
Posted 01 September 2014 - 11:43 PM
3 posts
Posted 03 September 2014 - 12:36 AM
NVM everyone I figured out what the problem was, for some reason the turtle had to be replaced in order for it to work.
29 posts
Location
spain
Posted 09 September 2014 - 09:19 PM
good at all, while I wrote a program that detect which side the modem was present for both turtles and computers, I hope you serve, if you see any error or can be improved, let me know :)/>
sorry for my poor english, i must use google traductor XD
http://pastebin.com/0k5RvWke
Edited on 09 September 2014 - 07:19 PM