Issue information

Issue ID
#539
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Dec 2, 2007 23:00
Last Post
Hercules Elf Bot
Dec 2, 2007 23:00
Confirmation
N/A

Hercules Elf Bot - Dec 2, 2007 23:00

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

I am seeing these errors on my server console every time a guild is created:
CODE
[Info]: Saved guild (21 - 123spm): guild_create positions skills
[Info]: Created Guild 21 - 123spm (Guild Master: TaiKun)
[Info]: int_guild: Guild created (21 - 123spm)
[Error]: intif: guild info : data size error Gid: 21 recv size: 12500 Expected size: 12980


Code that triggers this message is located in intif.c:
CODE
int intif_parse_GuildInfo(int fd)
{
    if(RFIFOW(fd,2) == 8) {
        ShowWarning("intif: guild noinfo %d\n",RFIFOL(fd,4));
        guild_recv_noinfo(RFIFOL(fd,4));
        return 0;
    }

    if( RFIFOW(fd,2)!=sizeof(struct guild)+4 )
        ShowError("intif: guild info : data size error Gid: %d recv size: %d Expected size: %d\n",RFIFOL(fd,4),RFIFOW(fd,2),sizeof(struct guild)+4);
    guild_recv_info((struct guild *)RFIFOP(fd,4));
    return 0;
}


It seems that the packet length specified in the packet doesn't match the length of guild structure. Guilds seem to work though, but I am worried of the side effects of those events...

Have been introduced any recent changes to guild structure?


Sle

This post has been edited by Slennox: Dec 2 2007, 03:10 PM