Compare commits
2 Commits
0b64538d65
...
1ba6352ef2
Author | SHA1 | Date |
---|---|---|
Diego Esaa | 1ba6352ef2 | |
Diego Esaa | dc24f21852 |
|
@ -0,0 +1 @@
|
|||
table.unpack = table.unpack or unpack
|
2
main.lua
2
main.lua
|
@ -51,7 +51,7 @@ while true do
|
|||
if i ~= clientCount .."" then
|
||||
print("Introducing client[" .. i .. "] and client[" .. clientCount.."]")
|
||||
-- to Existing client
|
||||
local payload = util.unit("poppyV001", clientCount, "player", "join", result.record)
|
||||
local payload = util.unit("poppyV001", clientCount, "player", "join", name)
|
||||
print("Payload1 : " ..payload)
|
||||
server:sendto(payload, client.ip, client.port)
|
||||
-- to New client
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
local constants = require("constants")
|
||||
local util = require("utils")
|
||||
local rpc = require("rpc")
|
||||
require("compat")
|
||||
|
||||
return function(commands)
|
||||
commands.move = {}
|
||||
|
|
Loading…
Reference in New Issue