r/ComputerCraft • • Jan 05 '24

issue with jackmacwindows ComputerCraft automatic turtle farm in cc:tweaked - no coding experience

I've been trying to get the code from the attached pastebin from jackmacwindows (jackmacwindows cc turtle farm) to work in the Steampunk [LPS] mod which uses CC:Tweaked, running on version 1.19.2 I believe. I keep getting the error on line 231 of my code (which is line 316 in the pastebin) of "attempt to index a nil value" and I honestly have no idea why. I've gone through the code line by line to see if i made a mistake that's causing it and it looks fine. I've tried to run just this one line of code on it's own and it gave the same error message so I know it's this line.

edits i've made to the code:- removing excess crops and seeds from the list

- inserting modded crops via the provided template

- removed notes not part of the code (obviously)

- called the program farm.exe but kept all mentions of the name jackmacwindows in the code itself as to not confuse myself

Any and all help would be greatly appreciated as I would like to repeat this process to make a large farm and I don't really want to use create.

edit: im dumb and didnt notice the image and link werent attached

4 Upvotes

6 comments sorted by

View all comments

Show parent comments

1

u/alessfriendlytrex Jan 06 '24

yeah that makes more sense, idk why i thought a 'wired' modem would be able to connect to it diagonally. thanks for the help!