Code: Select all
void SmallPacket0x017(map_session_data_t* session, CCharEntity* PChar, CBasicPacket data)
{
uint16 targid = RBUFW(data, (0x04));
uint32 npcid = RBUFL(data, (0x08));
uint8 type = RBUFB(data, (0x12));
ShowError(CL_RED"SmallPacket0x17: Incorrect NPC(%u,%u) type(%u)\n" CL_RESET, targid, npcid, type);
return;
}
I've asked about it before on IRC when I was curious about the reason for it triggering. But now I am wondering what the purpose even is. Since there doesn't seem to be a downside to ignoring it, maybe it should be a ShowWarning instead of ShowError? There's not much point to stuffing the console log full of that message every day if the server operator only wants serious error messages and nobody is fixing the error anytime soon.