Actually that is for joining and leaving chat channels. There currently isnt anything added to check if a player is online, but it would be as simple as just asking the chat server is a player is connected.mnieto wrote:
Looking at defines.h, I guess that status notification is done through this packets:is that right? As they need a channel it may be difficult to reuse that for a buddy list. But I have to finish looking at the branch just in case something is reusable. After all, functionality is quite similar.
Code: Select all
CPMSG_USERJOINED = 0x0425, // W channel, S name CPMSG_USERLEFT = 0x0426, // W channel, S name
Right now the online status for guild members is done by asking for the list of players in the channel that all online guild members automatically join. All players that are in the channel are therefore online.
I have a couple of hours today, and I hope to get the guild system ready to commit, the client side needs a lot of work, so if anyone wants to help with that side, so it can support multiple guilds, buddy lists and a party list, then that would be very welcome.