Page 2 of 2

Posted: 23 Jan 2008, 10:26
by trapdoor
mnieto wrote:
Looking at defines.h, I guess that status notification is done through this packets:

Code: Select all

    CPMSG_USERJOINED                  = 0x0425, // W channel, S name
    CPMSG_USERLEFT                    = 0x0426, // W channel, S name
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.
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.

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.

--
trapdoor

Posted: 24 Jan 2008, 17:14
by mnieto
For multiple guilds, what about having tab buttons in a scrollarea?.

Image

Scrollarea controls layout is modified but the same graphics are still used. So, it looks ugly.
This would be useful for the chat window, too.

EDIT: looks better when arrows are centered :P

Image

patch: guilds | trunk