Issue information

Issue ID
#2094
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Aug 20, 2008 17:00
Last Post
Hercules Elf Bot
Mar 5, 2012 16:43
Confirmation
N/A

Hercules Elf Bot - Aug 20, 2008 17:00

Originally posted by [b]Splintter[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2094

Well, i dont know why, but call partner is showing random chars and not the partner name, i was thinking that was a client error, but i tried some clients, and some diff options and none change this.

Also, i found it commented on eAthena sources, thats is why i'm posting here:
CODE
void clif_callpartner(struct map_session_data *sd)
{
    unsigned char buf[26];
    char *p;

    nullpo_retv(sd);

    if(sd->status.partner_id){
        WBUFW(buf,0)=0x1e6;
        p = map_charid2nick(sd->status.partner_id);
        if(p){
            memcpy(WBUFP(buf,2),p,NAME_LENGTH);
        }else{
            map_reqchariddb(sd,sd->status.partner_id);
            chrif_searchcharid(sd->status.partner_id);
            WBUFB(buf,2) = 0;
        }
        clif_send(buf,packet_len(0x1e6),&sd->bl,AREA);
    }
    return;
}


So, i see that commented on sources, but none referent to it (so, references isn't commented, but removed), so i cant test this by my self...

Here is a screen how it works.
Attached thumbnail(s)
Attached Image