//Used to update when a char leaves a party/guild. [skotlex]
//Needed because when you send a 0x95 packet, the client will not remove the cached party/guild info that is not sent.
void clif_charnameupdate (struct map_session_data *ssd)
{
unsigned char buf[103];
int cmd = 0x195, ps = -1, i;
struct party_data *p = NULL;
struct guild *g = NULL;
nullpo_retv(ssd);
WBUFW(buf,0) = cmd;
WBUFL(buf,2) = ssd->bl.id;
if( ssd->fakename[0] )
{
memcpy(WBUFP(buf,6), ssd->fakename, NAME_LENGTH);
} else {
memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);
}
if (!battle_config.display_party_name) {
if (ssd->status.party_id > 0 && ssd->status.guild_id > 0 && (g = guild_search(ssd->status.guild_id)) != NULL)
p = party_search(ssd->status.party_id);
}else{
if (ssd->status.party_id > 0)
p = party_search(ssd->status.party_id);
}
I'm using rAthena revision 15924.
The only thing messed up is the party name and I couldn't find a fix for it.
Question
Legato
Hello, everyone. After applying the diff from this link.
Party name isn't gonna show if I don't have a guild. See screenshots below.
This is me without a guild.
and this is me with guild.
Here's what I have on clif.c
and
I'm using rAthena revision 15924.
The only thing messed up is the party name and I couldn't find a fix for it.
Any help would be greatly appreciated.
Tia.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.