Hi.
I am working on a multiplayer game where both player and opponent is using a request AJAX command to get data from the database, can for example be that it gets info if both players are ready to start a new game and so on... So what happens is after a few games some of the requests (never all of them at the same time) seems to stop and the game stops because its waiting to receive the data before continuing. Sometimes after waiting a while 30 sec - 1 min the request resumes and the game continues, while other times it is stuck forever.
I am using the request command on every X amount of sec and tried to have it on its own and inside a every tick command, and both are producing the same results.
Sometimes I am able to play a game for a couple of min without anything happening, but sooner or later it always happens..
I know it is the request command as I have used "On Error" and whenever there is an error with the request I have added a custom text that shows up always when the game stops.
I wonder if anyone of you are familiar with AJAX request and have had this issue before, and maybe knows some suggestions I could try to fix it.
Thanks a lot.
Regards,
Edgar