multiMiner + cloud catcher

This commit is contained in:
kepler155c@gmail.com
2019-01-13 13:26:19 -05:00
parent 91d434f93d
commit dee2b05cfb
7 changed files with 236 additions and 21 deletions

View File

@@ -121,7 +121,14 @@ local function connect()
assert(success, "Failed to subscribe to event")
end
jua.go(function()
print("Ready")
connect()
local s, m = pcall(function()
jua.go(function()
print("Ready")
connect()
end)
end)
rs.setOutput('top', false)
if not s then
error(m)
end

View File

@@ -32,8 +32,8 @@ end
local function findID(url)
local found = gfind(url, idPatt)
local id = tonumber(found[#found]:sub(found[#found]:find("%d+")))
_debug('id: ')
_debug(id)
--_debug('id: ')
--_debug(id)
return id
end