Posted 01 August 2016 - 11:18 PM
Hi, I've got a problem with my code, can you check it for me ?
The error is on my server computer, it's : "rednet:39:Expected number"
All the codes used :
- sde.server : http://pastebin.com/cXY1zAX6
- test (sde.client) : http://pastebin.com/0g2evxNT
The error is on my server computer, it's : "rednet:39:Expected number"
senderId, message = rednet.receive()
print("A message have been send by" .. senderId)
print("message : "..message)
if message == "checkInfos" then
print("command exist .. return statement")
rednet.send(senderID, "ready") -- Error here
print("launch checkInfos")
shell.run("/SDE/serverFunctions/checkInfos")
elseif...
All the codes used :
- sde.server : http://pastebin.com/cXY1zAX6
- test (sde.client) : http://pastebin.com/0g2evxNT