
Results 1 to 1 of 1
Thread: [Share] Master loot Exploit Fix
Hybrid View
-
05-04-14, 10:50 PM #1
[Share] Master loot Exploit Fix
This is not made by me.
Although i'd like to share this to the ones who not yet have not implented the new TC update.
And for the trollers, the very most of the current active servers here has not fixed it yet.Code:@@ -419,6 +419,13 @@ void WorldSession::HandleLootMasterGiveOpcode(WorldPacket& recvData) if (_player->GetLootGUID() != lootguid) return; + if (!_player->IsInRaidWith(target) || !_player->IsInMap(target)) + { + TC_LOG_INFO("loot", "MasterLootItem: Player %s tried to give an item to ineligible player %s !", GetPlayer()->GetName().c_str(), target->GetName().c_str()); + return; + } + + Loot* loot = NULL; if (IS_CRE_OR_VEH_GUID(GetPlayer()->GetLootGUID()))
Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread
Visitors found this page by searching for:
Nobody landed on this page from a search engine, yet!
SEO Blog