Implementing the buddy list

Besides public chatting, players often want to communicate with their own friends. The friend list in virtual world is called buddy list.

Buddy list is like the friend list in an instant messenger application. Players can add other players as friends into their buddy list. The design of buddy list is to help them communicate easily. They can know which friends are online. They can know the latest status of their friends. They may know where their friends are now and they can send private messages to them easily.

There are two modes of buddy list provided by SmartFoxServer — the basic version and an advanced version. This setting can be set in the config.xml in server.

By default, the old depreciated buddy list setting ...

Get Flash Multiplayer Virtual Worlds now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.