r/ComputerCraft • • May 07 '23

(advanced peripherals) new and need help decoding table from geo scanner

16 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/aletekno Jan 08 '25

i tried the code for the diamond thing but it says "attempt to index global "geoscanner "(a nil value)" at the first line

1

u/fatboychummy Jan 09 '25

My code assumed you've also used peripheral.wrap (or peripheral.find) to wrap the geoscanner.

local geoscanner = peripheral.find("geoScanner")

-- ...