Change Room Capacity Request
Posted: 21 Jan 2012, 23:59
Hi all!
I have a case. I have a game room with max user = 4.
Inside of the game room, there is a start button and the game can be started with only two or three players only.
Thing that I want is that when someone in the game room press the start button, the game room "closed" to be joined for other players, but in my case, other players can still join the game room.
I have tried to use changeroomcapacityrequest after the initiation of start button, but it seems like it didn't make any changes. Even the tracing of SFSEvent roomcapacitychange and roomcapacitychangeerror didn't occured.
My friend suggest me to use reserved room variable. Is it true?
Thanks.
My friend
I have a case. I have a game room with max user = 4.
Inside of the game room, there is a start button and the game can be started with only two or three players only.
Thing that I want is that when someone in the game room press the start button, the game room "closed" to be joined for other players, but in my case, other players can still join the game room.
I have tried to use changeroomcapacityrequest after the initiation of start button, but it seems like it didn't make any changes. Even the tracing of SFSEvent roomcapacitychange and roomcapacitychangeerror didn't occured.
My friend suggest me to use reserved room variable. Is it true?
Thanks.
My friend