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

Error - Parallel 22?

Started by MrFrostmaul, 23 February 2013 - 12:51 AM
MrFrostmaul #1
Posted 23 February 2013 - 01:51 AM
Hello, I have written this code "http://pastebin.com/h2ul26kx" and it uses the simple code to run another program, I am using this for my Frame Quarry.

It does the quarry command fine, then moves along south 5 blocks, but then comes up with a "Parallel 22 ayp error" - It says press any button to continue…

Can anyone help me with why this is causing it?
PixelToast #2
Posted 23 February 2013 - 02:02 AM
my eyes
use functions and / or loops please
it hurts my eyes
MrFrostmaul #3
Posted 23 February 2013 - 02:27 AM
Sorry, Iam a noob at it still learning it all :P/>
Doyle3694 #4
Posted 23 February 2013 - 02:50 AM
Maybe actually showing us your code would be good, instead of showing the useless shell running all of it.
MrFrostmaul #5
Posted 23 February 2013 - 03:06 AM
Sorry again for it not being looped etc. I find it easier like this :P/>

Quarry - http://pastebin.com/kdw4nhnt
South - http://pastebin.com/dqzzu1uu

They work perfectly fine alone, but once in that main code (http://pastebin.com/h2ul26kx) they do that weird parallel 22 ayp thing.
theoriginalbit #6
Posted 23 February 2013 - 03:13 AM
Well without seeing the other scripts, your still missing showing us heaps. I think this problem may just be the huge amount of shell.run's that you're using!


EDIT: Also can I just ask….

I find it easier like this :P/>

So you're telling me that you find this:
http://pastebin.com/kdw4nhnt

Easier than this?
http://pastebin.com/hX3kKJLF

EDIT #2: Or alternatively. To replace all the scripts: http://pastebin.com/s0qBjeMy where you need to replace the ? in up, down, west and dig functions to what their frequency is.
Edited on 23 February 2013 - 12:49 PM
MrFrostmaul #7
Posted 23 February 2013 - 03:50 AM
I only find it easier as iam new to Computercraft code and still learning it all
theoriginalbit #8
Posted 23 February 2013 - 03:55 AM
I only find it easier as iam new to Computercraft code and still learning it all
Thats ok. hopefully the code I supplied will help. Have a look at EDIT #2 again as I fixed the code. made a mistake, forgot west :P/>