if (packetId == 0x5a) // Player relation. { char buffer[128]; char KillerName[16]; char VictimName[16]; for (short n=0;n<16;n++) { KillerName[n] = bytes[n+24]; VictimName[n] = bytes[n+8]; } for (short n=0;n<128;n++){buffer[n]='\0';} unsigned int KillerID = ((int)bytes[3])+(((int)bytes[4])*256)+(((int)bytes[5])*65536)+(((int)bytes[6])*16777216); if ((bytes[1] == 0x06) && (bytes[2] == 0x04) && (bytes[7] == 0x00)) // someone was slain by someone { const char* path = BuildSettingsPath("OnKill_Messaging.ini"); //char buffer[16]; GetPrivateProfileString("Messages", "Kill_lines", "0", buffer, sizeof(buffer), path); short Death_Lines; short Kill_Lines; Kill_Lines = atoi(buffer); GetPrivateProfileString("Messages", "Death_Lines", "0", buffer, sizeof(buffer), path); Death_Lines = atoi(buffer); char SendMSGReaded[256]; if (_stricmp(KillerName,My_Character.Name_) == 0) { for (short n=0;n