MMO Room with Invitation with out Game turn on

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
Madhusmita
Posts: 37
Joined: 08 Jan 2014, 11:28

MMO Room with Invitation with out Game turn on

Post by Madhusmita »

Is it possible that Invitation feature from Game API will work without enabling the Game flag against a MMO room?

While creating MMO room I set the setGame flag to true. Its not showing any error but after creation of that MMORoom its isGame flag is showing false.

roomSettings.setGame(true);
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: MMO Room with Invitation with out Game turn on

Post by Lapo »

The SFSGame Room and the MMORoom are two different things. Only SFSGame rooms allow you to automatically send invitations and manage related responses upon creation.

You can anyways use the invitation API separately to create invitations for other Rooms such as MMORoom and you don't need to set the isGame flag for MMORoom. There is also a reason for this: the game flag is turned on only for Rooms that support players and spectators via automatic playerId attribution.

MMORoom don't support this feature, because Users only see a portion of the Room, based on their AOI.
Lapo
--
gotoAndPlay()
...addicted to flash games
Madhusmita
Posts: 37
Joined: 08 Jan 2014, 11:28

Re: MMO Room with Invitation with out Game turn on

Post by Madhusmita »

Thanks Lapo, for this clarification.
Post Reply