Edit: noticed you typed
paintutils.drawImage(handGood, 1 1)
instead of
paintutils.drawImage(handGood, 1, 1)
That missing comma might be the error..
There have been 21 items by RoD (Search limited from 29-March 23)
Posted by RoD on 30 July 2016 - 09:33 PM in Ask a Pro
paintutils.drawImage(handGood, 1 1)
paintutils.drawImage(handGood, 1, 1)
Posted by RoD on 30 July 2016 - 09:28 PM in Ask a Pro
The Crazy Phoenix, on 23 July 2016 - 10:01 PM, said:
rednet.open("back") rednet.send(5, "ok") -- 5 is the id, as i am sure you already know
rednet.open("back") while true do -- this will run over everytime you get a new message senderId, mess = rednet.receive() print(mess) end
Posted by RoD on 01 December 2015 - 06:20 PM in Ask a Pro
Posted by RoD on 01 December 2015 - 12:42 AM in Ask a Pro
Bomb Bloke, on 01 December 2015 - 12:21 AM, said:
if code_hash ~= decrypt(signature) then error("Signature mis-match.") end
Posted by RoD on 30 November 2015 - 08:57 PM in Ask a Pro
Anavrins, on 30 November 2015 - 08:15 PM, said:
local file = fs.open("add-on", "r") local signature = file.readLine() local code = file.readAll() #-- Won't contain the first line local code_hash = sha.digest(code)
Posted by RoD on 30 November 2015 - 07:29 PM in Ask a Pro
if fs.exists("filename") then --Do stuff end
file = fs.open("file", "r") content = file.readAll() --#read all the file line = file.readLine() --#you can also read only one line at a time file.close() --dont forget to close
Posted by RoD on 30 November 2015 - 04:20 PM in Forum Games
function beCool() --Rodsn end
Posted by RoD on 26 November 2015 - 11:20 PM in Ask a Pro
Posted by RoD on 24 November 2015 - 02:46 AM in Programs
dex = dex + 1 if dex <= len then write(string.sub(code,dex,dex)) end dex = dex + 1 if dex <= len then write(string.sub(code,dex,dex)) end dex = dex + 1 if dex <= len then write(string.sub(code,dex,dex)) end dex = dex + 1 if dex <= len then write(string.sub(code,dex,dex)) end
speed = 4 for i = 1, speed do dex = dex + 1 if dex <= len then write(string.sub(code,dex,dex)) end end
Posted by RoD on 03 August 2015 - 02:09 PM in Wiki Discussion