Room and extensions

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

eyal
Posts: 35
Joined: 29 Nov 2009, 11:18

Room and extensions

Postby eyal » 26 Jan 2010, 07:44

Hi,
I wonder how a room knows which extesion conducts the activities within it.
For example:
How the following code(mazeGame)

Code: Select all

      <Zone name="mazeGame">
         <Rooms>
            <Room name="The Entrance" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
         </Rooms>
      </Zone>

"Knows" to load the mazeGame.as as an extension that manage the activities with in the room.
Thanks,
Eyal.
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 26 Jan 2010, 08:10

It doesn't :D
Really. In the case of the specific example you have mentioned it is the client that specifies which extension should be attached to the Game Rooms.
Take a look at the client side code and you will notice that the extension details are passed to the create room request.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 19 guests