Jump to content


Rax's Content

There have been 11 items by Rax (Search limited from 29-March 23)


By content type

See this member's

Sort by                Order  

#129885 Ultimate Wood Chopper [0.9.5 Prerelease B][Session Persistent]

Posted by Rax on 28 June 2013 - 12:11 AM in Turtle Programs

0.9.4 is not working for me. I reboot the MINING turtle. But to no avail.



#127732 Please tell me what's wrong with this script

Posted by Rax on 20 June 2013 - 08:04 AM in Ask a Pro

 theoriginalbit, on 20 June 2013 - 08:01 AM, said:

 Rax, on 20 June 2013 - 07:55 AM, said:

It is still giving a error.
What is the error? we aren't mind readers.

For better, quicker, and more helpful, help, please post the exact error messages you get.
Error: bios:338: [string "startup"]:20: syntax error



#127729 Please tell me what's wrong with this script

Posted by Rax on 20 June 2013 - 07:55 AM in Ask a Pro

 Bomb Bloke, on 20 June 2013 - 07:48 AM, said:

Without an extra "end" statement at the very bottom (to close up that "while" loop), it probably doesn't do much.

"input" will never be compared to "depass". You may want to change the lower bit to something like:

  elseif input == depass then
	term.clear()
	term.setCursorPos(1, 1)
	break
  else
	print("Access denied.")
	sleep(2)
	os.reboot()
  end

If you want further assistance, forget about using phrases such as "it doesn't work". We know it doesn't work, that's why you're posting the thread, tell us what it does instead.
It is still giving a error.



#127726 Please tell me what's wrong with this script

Posted by Rax on 20 June 2013 - 07:49 AM in Ask a Pro

 Tjakka5, on 20 June 2013 - 07:48 AM, said:

Can we have a picture of your setup? Maybe the block breakers don't see the redstone from a turtle as /valid/ redstone?
Not using turtles.



#127723 Please tell me what's wrong with this script

Posted by Rax on 20 June 2013 - 07:47 AM in Ask a Pro

It doesnt work. It is supposed to first: Use 2 block breakers to break Obsidian. Then after 5 sec it will stop the block breakers being powered, then place the obsidian back with Deployers. The bottom part of the code: "if input == depass then" is the debug password part. That will stop the program.



#127718 Please tell me what's wrong with this script

Posted by Rax on 20 June 2013 - 07:39 AM in Ask a Pro

Code is here:
local pass1 = "TeslaCoil"
local depass = "FusionCoil"
local pullEvent = os.pullEvent
os.pullEvent = os.pullEventRaw

term.clear()
term.setCursorPos(1, 1)
while true do
  print("Insert Password: ")
  local input = read("*")
  if input == pass1 then
	term.clear()
	term.setCursorPos(1, 1)
	print("Access granted.")
	rs.setOutput("top", true)
	rs.setOutput("bottom", true)
	sleep(5)
	rs.setOutput("top", false)
	rs,setOutput("bottom", false)
	rs.setOutput("back", true)
	rs.setOutput("back", false)
 elseif input == depass then
    term.clear()
    term.setCursorPos(1, 1)
    break
  else
    print("Access denied.")
    sleep(2)
    os.reboot()
  end
end
Please help.
Saying thanks in advance!
Added picture of setup.
Posted Image



#111653 Lockout API

Posted by Rax on 19 April 2013 - 01:53 AM in APIs and Utilities

Username & Password File?



#103584 Program

Posted by Rax on 30 March 2013 - 07:48 AM in Ask a Pro

Thanks!



#103581 Program

Posted by Rax on 30 March 2013 - 07:39 AM in Ask a Pro

No, Something that, When redstone signal is recieved puts out 5 redstone pulses frm the back.



#103573 Program

Posted by Rax on 30 March 2013 - 07:21 AM in Ask a Pro

I meant like When redstone signal recieved pulse 5 times.



#103569 Program

Posted by Rax on 30 March 2013 - 07:14 AM in Ask a Pro

Could someone help me get a 5 times pulser?