Using this code:
local function get(url)
local x = http.get(url)
x = x.readAll()
return x
end
local nickURL = "http://oc.tc/nix610"
local simonURL = "http://oc.tc/simon6689"
local carterURL = "http://oc.tc/ManHog2"
term.clear()
term.setCursorPos(1,1)
textutils.slowPrint("Loading Rankings...")
local simon = get(simonURL)
local carter = get(carterURL)
local nick = get(nickURL)
it will always return:rank:3: attempt to index ? (a nil value)which means that x would be nil because http.get didn't work.
please before you ask:
HTTP IS ENABLED .
Upon further investigation, the http api cannot retrieve any url that does not end in .com
please help
If this is a bug, please move this to the bugs section.












