Still looking for a method to recover the instance. It seems lately that the service is exiting for now good reason, perhaps idling too much? Where can I check the relevant log for that? How can I automatically restart the service?
Hi,
Yes, GS was specifically retired because I was no longer confident with the engine it runs on (luvit.io). It’s very finicky and I found that trying to trap for random errors was futile. Things like leaving connections open in the terminal overnight, will most likely end in an error condition at some point in time, taking down the whole thing. Not cool.
I do know that there have been improvements to the luvit/luvi engine, but I have not been compelled to rewrite that project at this time.
The actual server and client source is available to hack on or study here: https://github.com/develephant/coronium-game-server
You can view archived documentation here: http://coronium.io/gs/
Cheers.
I think most of the dependency is on luvit net class, but you’ve already implemented the equivalent of it on the client side. Do you think it would be easy for me to switch the server to the alternative and implement it over the coronium.io package? Would it improve robustness in your opinion?
Hi,
There is actually more going on in the server side than may be obvious (event handling especially). Luvit is an event driven loop similar to NodeJS (using libuv), a very different architecture than Coronium Cloud, which follows a more standard web server model (though it does run on an event loop as well via Nginx) and has a completely different architecture.
Coronium GS is a real time socket connection, Coronium Cloud is not. This fact alone will cause you nothing but headaches.
If you would like to see a more robust socket server solution, please leave a note in the feedback section here: http://feedback.coronalabs.com/
Cheers.
Hello everybody,
I am going to give Conronium GS a try.
The game will be a 2 player game where players have to find words on a 4x4 letters board.
The challenge is that it will be real-time game where both players play with the same board. When a player finds a word, the opponent will not score any points if he plays that word.
The game will be for iOS and Android (French and English).
I am looking for beta-testers. If you are interested, let me know.