Advertisement
Guest User

Untitled

a guest
May 28th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. Index: src/arcemu-world/ItemHandler.cpp
  2. ===================================================================
  3. --- src/arcemu-world/ItemHandler.cpp (revision 3378)
  4. +++ src/arcemu-world/ItemHandler.cpp (working copy)
  5. -2196,6 +2196,11 @@
  6. return; //someone sending hacked packets to crash server
  7.  
  8. gp = dbcGemProperty.LookupEntryForced(it->GetProto()->GemProperties);
  9. + if( TargetItem->GetGUID() == it->GetGUID() )
  10. + {
  11. + sLog.outError("Target and gem are the same, with LowGUID: %u and ItemID %u", it->GetLowGUID(), it->GetProto()->ItemId);
  12. + sLog.outError("packet: itemguid %llu , gem0 %llu , gem1 %llu , gem2 % llu", itemguid, gemguid[0], gemguid[1], gemguid[2]);
  13. + }
  14. it->DeleteMe();
  15.  
  16. if(!gp)
  17. Index: src/arcemu-world/ObjectMgr.cpp
  18. ===================================================================
  19. --- src/arcemu-world/ObjectMgr.cpp (revision 3378)
  20. +++ src/arcemu-world/ObjectMgr.cpp (working copy)
  21. -1543,7 +1543,7 @@
  22. uint32 *played = owner->GetPlayedtime();
  23. pItem->SetCreationTime( played[1] );
  24. }
  25. -
  26. + sLog.outError("Item ID %u created with LowGUID %u", entry, pItem->GetLowGUID());
  27. return pItem;
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement