[lobby] (isGame false)
[game hall] (isGame false)
[tables in game hall] (isGame true, max users 4)
The client is Flash. Players are always joined to both the game hall and their respective table rooms. (always the 2 rooms while playing) All of this is tested and verified via the admin tool.
We setup basic public message sending and receiving and realized it was only working for the players sitting at the tables, whereas we want it to work for everyone in the game hall. I read that the public message request call always sends to the last joined room, so I altered the chat sending to have a target room:
Code: Select all
smartFox.send(new PublicMessageRequest(txt, null, targetChatRoom));
I have done some debugging and know that the targetChatRoom is the appropriate game hall room. I also see the messages show up in the server logs so I know they are being sent. Unfortunately messages sent are not received by everyone in the game hall. Some users receive them, some do not, and we have been unable to establish a pattern. It seems as if I need to also specify a room to be listening for chat messages? What am I missing? Is there some hack I need to do like unjoin/rejoin the great hall room after table joins so that it is always the last joined room for message receiving?
Thanks!