Game won't connect to server....

Game development with Board Game Arena Studio
Post Reply
coolpapa
Posts: 27
Joined: 28 April 2012, 08:42

Game won't connect to server....

Post by coolpapa »

When starting a new game, I get the error message "Unable to connect to Server. Are you connected?". I know from looking at the database that it's successfully executing my setup SQL and at least some of the game setup code. (I'm doing Farkle as a tutorial for myself, and the game does successfully randomize the results on the dice for the first roll.) I've tried putting in some error message calls, but I haven't seen anything besides the unable to connect error. I'm presuming that there's a coding error somewhere that's causing this problem, but I don't know where it might be. Has anyone had this issue before or does anyone have any ideas on code problems that could cause this?
User avatar
sourisdudesert
Administrateur
Posts: 4630
Joined: 23 January 2010, 22:02

Re: Game won't connect to server....

Post by sourisdudesert »

Hi,

It looks like there is an infinite loop in your setup => the game server do not respond.

I analyze the logs and there is an infinite loop between game states:
_ playerJustRolled
_ endBad
_ playerJustRolled
_ endBad
_ ...

Cheers,
coolpapa
Posts: 27
Joined: 28 April 2012, 08:42

Re: Game won't connect to server....

Post by coolpapa »

Thank you for the help. I suspect I know where the bug is now. I'm guessing you diagnosed it from the back-end somewhere?
Post Reply

Return to “Developers”