Joining more than one MMORoom

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

Moderators: Lapo, Bax

Posts: 5
Joined: 12 Jul 2018, 08:38

Joining more than one MMORoom

Postby JohnHacker » 12 Jul 2018, 08:59

Hi! I was trying to make the game I'm working on with the following design:

- The world is divided in different regions, each of one have a MMORoom.
- A player can be in 1, 2 or 3 MMORooms at the sime time. When a player is going to cross from one room to another, there's a time he is in the two rooms at the sime time, so a still player in one of the rooms will have this player on sight all the time, even when changing the room. With this I'm searching to enforce all the rooms will have the same player density.

I implemented this and I am getting a null reference exception when a player is trying to join the second room. I've searched a lot and I couldn't find anyone with this same problem. It is also not documented if an user cannot join two different MMORooms at the same time, but I suspect this is the problem.

Lapo, I need you!

Thanks for your help.
User avatar
Site Admin
Posts: 20542
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Joining more than one MMORoom

Postby Lapo » 12 Jul 2018, 13:32

MMORooms can't be multi-joined, sorry. You can join multiple chat/game Rooms while joined in one MMORoom, but not join multiple MMORooms.

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 3 guests