r/ComputerCraft • • Oct 03 '25

Trying to use https://pastebin.com/Vtnz4267 on all the mods 9 but it says "attempt to index global 'scanner' (a nil value)

Hi so i am trying ot run that code in the title in order to find sus sand/gravel on atm 9 and it wont work i changed the config thing in files i have 2 worlds i did it on both world and still no luck #Controls the HTTP API

[http]

\#Enable the "http" API on Computers. Disabling this also disables the "pastebin" and

\#"wget" programs, that many users rely on. It's recommended to leave this on and use

\#the "rules" config option to impose more fine-grained control.

enabled = true (i tried to use false and true on this one and still no luck)

\#Enable use of http websockets. This requires the "http_enable" option to also be true.

websocket_enabled = true

\#The number of http requests a computer can make at one time. Additional requests

\#will be queued, and sent when the running requests have finished. Set to 0 for

\#unlimited.

\#Range: > 0

max_requests = 16

\#The number of websockets a computer can have open at one time.

\#Range: > 1

max_websockets = 4



\#Limits bandwidth used by computers.

\[http.bandwidth\]
4 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/X1_Soxm Oct 03 '25

Ah ok thank you I'll try that once I log back on