Forum Multiplayer Room to Room to Lobby communication?

Discussion and help relating to the PlayerIO Multiplayer API.

Room to Room to Lobby communication?

Postby tibtob » April 28th, 2010, 6:56 am

I dont know if im blind?

but how do i pass vars from one room to another, or back to lobby, or vice versa?
and can i have like constants in Lobby?

greetz, tib
tibtob
 
Posts: 4
Joined: April 20th, 2010, 1:05 am

Re: Room to Room to Lobby communication?

Postby fox1980 » April 28th, 2010, 5:57 pm

From what i understand such a thing can't be done. Check this post:

http://playerio.com/forum/csharp/are-const-fields-fair-game-t148
fox1980
 
Posts: 206
Joined: April 1st, 2010, 10:39 pm

Re: Room to Room to Lobby communication?

Postby Oliver » May 7th, 2010, 3:02 pm

but how do i pass vars from one room to another, or back to lobby, or vice versa?
and can i have like constants in Lobby?


There is no serverside cross-room communication -- you'll have to pass data through the clients.

What do you mean by constants in Lobby? You can use RoomData to set data that is returned as part of listRooms results...

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am


Return to Multiplayer