Hi,
I am having an error when I launch main.lua from client folder.
The server console:
ubuntu@Gardens:~$ sudo tail -f ~/gs.log
[sudo] password for ubuntu:
“–== Welcome to the Coronium Game Server ==–”
“–== Game Queue Started ==–”
“–== Welcome to the Coronium Game Server ==–”
“–== Game Queue Started ==–”
(I launch the client)
/home/ubuntu/modules/CoroniumGS.lua:199: attempt to call method ‘_setPlayerData’ (a nil value)
stack traceback:
/home/ubuntu/modules/CoroniumGS.lua:199: in function ‘callback’
/usr/local/lib/luvit/core.lua:236: in function ‘emit’
/home/ubuntu/modules/Client.lua:197: in function ‘callback’
/usr/local/lib/luvit/core.lua:236: in function ‘emit’
/usr/local/lib/luvit/net.lua:169: in function ‘callback’
/usr/local/lib/luvit/core.lua:236: in function ‘emit’
/usr/local/lib/luvit/uv.lua:50: in function </usr/local/lib/luvit/uv.lua:49>
[C]: in function ‘xpcall’
/usr/local/lib/luvit/luvit.lua:269: in function </usr/local/lib/luvit/luvit.lua:267>
[C]: in function ‘run’
/usr/local/lib/luvit/luvit.lua:426: in main chunk
[C]: in function ‘require’
[string " local path = require(‘uv_native’).execpat…"]:1: in main chunk
WARNING: forgot to close luv_timer lhandle=0x418999c8 handle=0x1832cb0
WARNING: forgot to close luv_tcp lhandle=0x418983a0 handle=0x1856be0
WARNING: forgot to close luv_timer lhandle=0x418953b0 handle=0x1856d40
WARNING: forgot to close luv_tcp lhandle=0x41894918 handle=0x1856b00
WARNING: forgot to close luv_tty lhandle=0x4099cbd8 handle=0x1843480
And the Corona Sdk console:
2014-10-02 17:31:36.492 Corona Simulator[3605:507] Version: 3.0.0
2014-10-02 17:31:36.492 Corona Simulator[3605:507] Build: 2014.2450
2014-10-02 17:31:36.768 Corona Simulator[3605:507] connecting to 6.122.136.12
2014-10-02 17:32:00.111 Corona Simulator[3605:507] timestamp: 1412263901
2014-10-02 17:32:00.178 Corona Simulator[3605:507] client closed
I have rebuilt the server and I followed all the steps correctly (I think) 3 times. And the same error appears all times.
Can you guide me, to realize what I am doing wrong.
Thanks and have a nice day.
Adrian