http://paste2.org/p/850184
This is my Unit.cpp. I am now sure that PvP Token does crashes. When I deleted it everything was fine. I think it's at wrong place or maybe something is missing. Could u help me with fixing that, cuz i need that patch?
An this is PvP token in Unit.cpp which I am talking about:
// PvP Token
int8 leveldiff = player_tap->getLevel() - pVictim->getLevel();
if((pVictim->GetTypeId() == TYPEID_PLAYER) && leveldiff < 10)
player_tap->ReceiveToken();
WorldPacket data(SMSG_PARTYKILLLOG, (8+8)); //send event PARTY_KILL
data << uint64(player_tap->GetGUID()); //player with killing blow
data << uint64(pVictim->GetGUID()); //victim
if (Group *group = player_tap->GetGroup())
group->BroadcastPacket(&data, group->GetMemberGroup(player_tap->GetGUID
()));
else
player_tap->SendDirectMessage(&data);