This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Spenny's profile picture

Reactor Script

Started by Spenny, 21 July 2014 - 09:35 PM
Spenny #1
Posted 21 July 2014 - 11:35 PM
Hey Pros :D/>

So my problem is I get the "error" 30, I don't get what it means, either what it should tell me.
I hope you can help me.


Screenshot of the "error": http://puu.sh/alqMi/bfa0e0f9db.png
Pastebin of the script: http://pastebin.com/EF6httne



Greetings Spenny
hilburn #2
Posted 22 July 2014 - 01:02 AM
Ermmmmm… well there is nothing I can see that should print any number in any colour to the terminal, let alone a red 30. What does the monitor look like? is that printing correctly?
Edited on 21 July 2014 - 11:03 PM
Spenny #3
Posted 22 July 2014 - 01:32 AM
Thats all it prints to the screen:
http://puu.sh/alzrk/b22372aeea.png
I have no clue whats wrong :/
Bomb Bloke #4
Posted 22 July 2014 - 01:54 AM
The number is part of an error message, but most of it's being cut off.

I'd spread some print statements through the script, in order to better track the crash point. This may also have the benefit of revealing the full error.
Spenny #5
Posted 22 July 2014 - 02:01 AM
I found my fault, I replaced the line: reactor=peripheral.wrap('back') with reactor=peripheral.wrap('BigReactors-Reactor')
Thanks for the help. :3