Is the Buddy System the way to go ?

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

genar
Posts: 137
Joined: 13 Jul 2017, 11:49

Is the Buddy System the way to go ?

Postby genar » 07 Aug 2019, 10:01

Hey everyone !

Working on a small mobile mmorpg, players should be able to send friend requests to other users, those can accept them if they want. Once accepted, both players are in the friends list of each other, players should also be able to set a "online state/message" which shows automaticly to other users and later they should be able to pick a profile picture.

Futhermore, players should be able to declare war on an other player, so we also need a enemy list for each player, the opposite of a buddy list.
What are the pros and cons of the buddy system and would you rather go with the buddy system or with a own implementation in my case ?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Is the Buddy System the way to go ?

Postby Lapo » 07 Aug 2019, 10:19

Hi,
I would say the BuddyList system is what you need for the "friends" part of the game. All of the features you have listed are possible with our Buddy API. As regards the "enemies" part you should probably keep a separate list, which could be loaded from a database when a user logs in the game and stored back in the DB when the user leaves.

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 127 guests