Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: src/arcemu-world/ItemHandler.cpp
- ===================================================================
- --- src/arcemu-world/ItemHandler.cpp (revision 3378)
- +++ src/arcemu-world/ItemHandler.cpp (working copy)
- -2196,6 +2196,11 @@
- return; //someone sending hacked packets to crash server
- gp = dbcGemProperty.LookupEntryForced(it->GetProto()->GemProperties);
- + if( TargetItem->GetGUID() == it->GetGUID() )
- + {
- + sLog.outError("Target and gem are the same, with LowGUID: %u and ItemID %u", it->GetLowGUID(), it->GetProto()->ItemId);
- + sLog.outError("packet: itemguid %llu , gem0 %llu , gem1 %llu , gem2 % llu", itemguid, gemguid[0], gemguid[1], gemguid[2]);
- + }
- it->DeleteMe();
- if(!gp)
- Index: src/arcemu-world/ObjectMgr.cpp
- ===================================================================
- --- src/arcemu-world/ObjectMgr.cpp (revision 3378)
- +++ src/arcemu-world/ObjectMgr.cpp (working copy)
- -1543,7 +1543,7 @@
- uint32 *played = owner->GetPlayedtime();
- pItem->SetCreationTime( played[1] );
- }
- -
- + sLog.outError("Item ID %u created with LowGUID %u", entry, pItem->GetLowGUID());
- return pItem;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement