Page 1 of 1

How to get default room Name in Java Side

Posted: 05 Sep 2011, 06:30
by bambam
Hi,

In Admin tool , i have assign three default room name (default_0,default_1 and default_2). When client side(Flex) send the default room name default_0 using JoinRoomRequest class
var request:JoinRoomRequest = new JoinRoomRequest(default_0);
sfs.send(request);

then Java side how to find this default room name i.e default_0? In which class and method use Java side.

In client side(flex) how to implement RoomExtension class/jar file at the time of JoinRoomRequest.

Actually my requirement is single game platform contain three type of game(default_0,default_1 and default_2). When first player play default_0 type game then its go room name default_0, when second player play default_1 type game , then its go room name default_1 that means present time do not start the game. When third player enter same zone with default room name is default_0. Then create one game room inside default_0 game room. Then start the game between first player and third player and so on another player and room....... . In which side handle this sensory in good way Javaside/ Client side please suggest and how its possible?

Thanks & Regs
Bambam

Posted: 05 Sep 2011, 09:12
by rjgtav
Hi. In my opinion, what you need is Room Groups. This way you can group rooms of the same game in the same group.