Does room creater need to join/subscribe

0 votes
hello

Once a player create a room, does the player need to join and subscribe to the room? Or is he already joined/subscribed by default?

 

Thanks
asked Mar 9, 2014 in AppWarp by android4canada (20 points)
retagged Mar 11, 2014 by shepAdmin

1 Answer

0 votes
 
Best answer
Yes Player need to join and subscribed the room it is not already done.

 

Thanks
answered Mar 10, 2014 by michaelking (84 points)
selected Mar 11, 2014 by shepAdmin
Even if the player is the owner/creater of the room, right?
Actually , if you are the creater of the room and your try to join it then you will get Error code 4 . so I guess you can't join a room you created
That should not be the case. If you successfully created a room - you will get the onCreateRoomDone callback on your zone request listener. check the result code of the event and if success - it will contain valid room data (including the room id). You can then use that room id to join the room.
You guys are right! I was calling join room twice and thats why I was getting the exception code 4 (unless there is another reason.. I will ask later if I find one:))
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...