15 posts
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?
2217 posts
Location
3232235883
Posted 23 February 2013 - 02:02 AM
my eyes
use functions and / or loops please
it hurts my eyes
15 posts
Posted 23 February 2013 - 02:27 AM
Sorry, Iam a noob at it still learning it all :P/>
818 posts
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.
15 posts
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/kdw4nhntSouth -
http://pastebin.com/dqzzu1uuThey work perfectly fine alone, but once in that main code (
http://pastebin.com/h2ul26kx) they do that weird parallel 22 ayp thing.
7508 posts
Location
Australia
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/kdw4nhntEasier than this?
http://pastebin.com/hX3kKJLFEDIT #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
15 posts
Posted 23 February 2013 - 03:50 AM
I only find it easier as iam new to Computercraft code and still learning it all
7508 posts
Location
Australia
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/>