sendRoomList
sendRoomList
Is it possible on login not to send all the rooms to the user? I need to send him just the lobby to join it, he doesn't need to know all the rooms. As I have 9k+ rooms, I get very high traffic only in sending room lists on login...
I would recommend to follow BigFish advice.
You will need to filter the Rooms on the server side and provide the client your own custom Room List.
By forging the Room List exactly the same way the Server would send it you can "fake" a limited Room List and save a lot of bandwidth.
The easiest way to learn how to send the fake Room List is by looking at the protocol in the Flash IDE turning on the debug flag of the SmartFoxClient class.
You will need to filter the Rooms on the server side and provide the client your own custom Room List.
By forging the Room List exactly the same way the Server would send it you can "fake" a limited Room List and save a lot of bandwidth.
The easiest way to learn how to send the fake Room List is by looking at the protocol in the Flash IDE turning on the debug flag of the SmartFoxClient class.
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 21 guests