The following list describes a few different possible scenarios. User joins the Zone without subscribing to any Room Group : in this case the user will receive an empty room list and won't be updated by the server about any Room event.
This is a good setup when you want to let the user interact with your server-side application logic without having to receive unwanted Room updates. A typical use case is the user registration form, consulting a user-search functionality or other user-profile related activities where the interaction with other clients is not required.
User joins the Zone and subscribes an initial Room Group : this is probably the most common use case. The Room list received by the client will contain only the Rooms in the selected Group and will filter out all the others.
The client will be updated about newly created or removed rooms by default. The developer will also be able to configure other events such as the user count update, Room Variables update, etc.
User joins the Zone and subscribes multiple Room Groups : subscribing multiple Groups allow for a more sophisticated Room filtering. The player will be able to obtain a custom Room list composed by the Rooms in the selected Groups.
Typically the client will join a Lobby group, maybe a Chat group with a specific theme and a Game group where he can look for games to play. SystemController Filters.
Troubleshooting live server. Creating a simple chat. Creating a basic Extension. Runtime monitoring. Buddy Messenger. Object Movement. First Person Shooter.
MMO Demo. Post by Lapo » Wed Sep 19, pm. Post by tinnt » Thu Sep 20, am. Post by rjgtav » Sun Sep 23, pm. Quick links.
Logout Register. Post here your questions about SFS2X. Here we discuss all server-side matters. For sending an extension request to the shop room you have to specify the Shop room as the third parameter of the ExtensionRequest's constructor.
Hope this helps. Some examples may be bugged. Actually I am changing the variables of Home room So the thing in brief is from Shop room I am trying to change variables of Home room and then joining the Home room But on the ExtensionRequest, you're sending it to the Home room, not to the Shop room which is the one that has the extension attached.
Sorry, I will correct it But I am really very poor in java So please help me out So if I send the Shop room as 3rd parameter How do it update the variables of Home room????
Re: Room variables update issue Post by rjgtav » Mon Mar 25, pm Hi, On your server-side extension you're already updating the RoomVariables of the room which name is the one sent from the client, the roomName property, so you simply need to send the room's name and the extension will do the job.
Re: Room variables update issue Post by Madhav » Tue Mar 26, am Thanks a lot rjgtav, Now the room variables are updated fine But still not getting the updated map loaded!!! Getting this error on server-side logs!!? If you need to add a null use the putNull method.
Re: Room variables update issue Post by Bax » Tue Mar 26, am The error you get is due to a small bug when the server is trying to communicate to the client that an error occurred while running a pathfinding routine on the map. In other words, when you load the new map an error related to the pathfinding occurs. Then the extension tries to let the client know about this error, and that's where the bug kicks in. But the problem is not the bug, it's the pathfinding error. Can you report it?
I have the feeling that you are not loading the new map in the proper way. In fact when a map is loaded, the OpenSpace extension also creates the required data structures to perform the pathfinding.
0コメント