anjasoleil0 0 Posted September 16, 2016 Okay. Here we go. I used this diff below so whenever I fakename, the guild/party will still be visible, but the problem is i can't invite the fakenamed player to a guild/party. Any solutions? Index: map\clif.c =================================================================== --- map\clif.c (revision 15686) +++ map\clif.c (working copy) @@ -8177,9 +8177,9 @@ WBUFW(buf, 0) = cmd = 0x195; memcpy(WBUFP(buf,6), ssd->fakename, NAME_LENGTH); WBUFB(buf,30) = WBUFB(buf,54) = WBUFB(buf,78) = 0; - break; + } else { + memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH); } - memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH); if( ssd->status.party_id ) { @@ -8297,14 +8297,16 @@ nullpo_retv(ssd); - if( ssd->fakename[0] ) - return; //No need to update as the party/guild was not displayed anyway. - WBUFW(buf,0) = cmd; WBUFL(buf,2) = ssd->bl.id; - memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH); - + 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); Quote Share this post Link to post Share on other sites
Okay. Here we go. I used this diff below so whenever I fakename, the guild/party will still be visible, but the problem is i can't invite the fakenamed player to a guild/party. Any solutions?
Share this post
Link to post
Share on other sites