Posted 18 May 2013 - 12:22 PM
Title [LUA][API] [Error] Number bundledcable
Hello guys was using computer craft and came over a small odd error. I did look it over allot and did not find the problem. Might bin looking at it to mutch i dont know.
Problem [LUA][API] [Error] Number
The problem accours in the first colors.yellow (line 32)
Its tested in
its strange gona be fun to se if you guys have the same problem.
Edit : Problem found. Sleep (nr) need to be betwene each line of bundledOutput to work.
Hello guys was using computer craft and came over a small odd error. I did look it over allot and did not find the problem. Might bin looking at it to mutch i dont know.
Problem [LUA][API] [Error] Number
The problem accours in the first colors.yellow (line 32)
Its tested in
Decimals and text+color
local oldPull = os.pullEvent;
os.pullEvent = os.pullEventRaw;
term.clear()
term.setCursorPos(1, 1)
redstone.setOutput("right", true)
rs.setBundledOutput("bottom", colors.white)
redstone.setOutput("top", true)
print "Welcome to Umbrella Corporation"
sleep (3)
print "Please insert password"
pass = read()
if pass == "838791358+35+81358+135891359" then
sleep (5)
print "Is a smelly place"
print "Access granted"
sleep (1)
print "Stepp back and wait please"
sleep (1)
redstone.setOutput("top", false)
sleep (2)
rs.setBundledOutput("bottom", 0)
sleep (1)
redstone.setOutput("right", false)
sleep (1)
rs.setBundledOutput("bottom", colors,yellow)
rs.setBundledOutput("bottom", 0)
sleep (1)
rs.setBundledOutput("bottom", colors,yellow)
rs.setBundledOutput("bottom", 0)
sleep (1)
rs.setBundledOutput("bottom", colors,yellow)
rs.setBundledOutput("bottom", 0)
sleep (1)
rs.setBundledOutput("bottom", colors,yellow)
rs.setBundledOutput("bottom", 0)
sleep (1)
rs.setBundledOutput("bottom", colors,yellow)
rs.setBundledOutput("bottom", 0)
sleep (1)
rs.setBundledOutput("bottom", colors.yellow)
rs.setBundledOutput("bottom", 0)
else
print "Access denied"
sleep (5)
shell.run("startup")
end
its strange gona be fun to se if you guys have the same problem.
Edit : Problem found. Sleep (nr) need to be betwene each line of bundledOutput to work.