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/fatboychummy Sep 02 '24

Can you explain how it doesn't work for you? I have used this code for multiple years now in Dog, I don't think the geoscanner has ever changed its lua-facing API.

In any case, the attempt to index nil value is likely because geoscanner.scan() is returning nil, which is exactly what my code fixes -- or at least, patches.