Posted 27 June 2014 - 05:01 AM
Hello,
There I was, playing Galacticraft and ComputerCraft in Minecraft 1.6.4.
I decided to build a system, on the Moon, that indicated from the outside whether the Oxygen Seal was active on the inside of the Moon Base I built.
"Server" code, the computer connected to the Oxygen Detector.
"Client" code, the computer on the outside of the building connected to a big monitor showing the results
No errors were returned when these two scripts were ran, but instead of the "Client" computer showing "Oxygen Inside" or "No Oxygen!", it shows:
function: 122d1e6a
This being my first rednet project, I'm proud that it transmitted something, but unfortunately not the desired string.
Thanks for your time,
Lightbikemaster
There I was, playing Galacticraft and ComputerCraft in Minecraft 1.6.4.
I decided to build a system, on the Moon, that indicated from the outside whether the Oxygen Seal was active on the inside of the Moon Base I built.
"Server" code, the computer connected to the Oxygen Detector.
rednet.open("right")
os.pullEvent(redstone.getInput("left))
if redstone.getInput("left")
then rednet.broadcast("Oxygen Inside")
print("Program Working")
else
rednet.broadcast("No Oxygen!")
print("Program Working, but no Oxygen")
end
"Client" code, the computer on the outside of the building connected to a big monitor showing the results
rednet.open("left")
while true do
print(rednet.receive)
sleep(400)
end
No errors were returned when these two scripts were ran, but instead of the "Client" computer showing "Oxygen Inside" or "No Oxygen!", it shows:
function: 122d1e6a
This being my first rednet project, I'm proud that it transmitted something, but unfortunately not the desired string.
Thanks for your time,
Lightbikemaster