Bubbylist - across zones
Posted: 07 Aug 2012, 14:56
Hi,
I'm in the process of developing a buddylist to our SFS virtual world.
In the application implementation I used Zones as a way to distribute users when selecting a "Server".
All the zones are similar and users may logout and relogin to another one.
I would like to implement the buddylist where users may see user online but not only on their current zone.
By what I could figure out from your code the status variable is updated only if the user is in the same zone as its buddy.
Is there a way to manipulate BuddyListManager.loadBuddyList(String username) in order to perform Zone.checkBuddy over all zones,
or should I manually go over the list and update it with calling for each zone with Zone.validateUserName or Zone.checkBuddy which is synchronized?
Is there a way to query the SmartFoxServer to validate a username?
Thanks
I'm in the process of developing a buddylist to our SFS virtual world.
In the application implementation I used Zones as a way to distribute users when selecting a "Server".
All the zones are similar and users may logout and relogin to another one.
I would like to implement the buddylist where users may see user online but not only on their current zone.
By what I could figure out from your code the status variable is updated only if the user is in the same zone as its buddy.
Is there a way to manipulate BuddyListManager.loadBuddyList(String username) in order to perform Zone.checkBuddy over all zones,
or should I manually go over the list and update it with calling for each zone with Zone.validateUserName or Zone.checkBuddy which is synchronized?
Is there a way to query the SmartFoxServer to validate a username?
Thanks