Coronium Game Server V1

Hello,

Coronium Game Server V1 is now up on all instances and installers.  This replaces Alpha 2.

You can find a lo-fi Rock-Paper-Scissors type template in the demos folder of the dev bundle, which includes lobby with chat, in-game chat, and some simple network game mechanics.

There are lots of fixes so I recommend this release highly.  If you only want to update your modules you should remove your current modules folder and then run:

sudo hg clone https://bitbucket.org/develephant/coronium-gs-server modules

This will give you the most current build and allow you to update easier in the future.  For other bundle information and links visit http://coronium.gs

The Amazon instances will self-update the Server modules on the very first run, but not on any other boot.  If you want to update use:

sudo ./update-gs.sh

From the home directory at anytime for the latest Server modules.

Cheers.

Congratulations on your release! This is wonderful news!!!

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

Hi,

That was my fault.  You can either spin up a new instance, or you can log into your server and run:

sudo ./update-gs.sh

And it should solve the problem.  Everything should be good from here, was a new update.

Cheers.

Nice, it works now.

:smiley:

Congratulations on your release! This is wonderful news!!!

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

Hi,

That was my fault.  You can either spin up a new instance, or you can log into your server and run:

sudo ./update-gs.sh

And it should solve the problem.  Everything should be good from here, was a new update.

Cheers.

Nice, it works now.

:smiley: