Systeman 9 Posted December 23, 2015 Share Posted December 23, 2015 Hi, i wroted some function to block mober put hack. Search case UNIQUE_ITEM_CAPE_OF_COURAGE: in file char_item.cpp and comment this line item->SetCount(item->GetCount()-1); result case UNIQUE_ITEM_CAPE_OF_COURAGE: //¶ó¸¶´Ü ş¸»óżë żë±âŔÇ ¸ÁĹä case 70057: case REWARD_BOX_UNIQUE_ITEM_CAPE_OF_COURAGE: AggregateMonster(); //item->SetCount(item->GetCount()-1); break; Next search function CHARACTER::AggregateMonster() in file char_battle.cpp and replace with this Spoiler void CHARACTER::AggregateMonster() { LPSECTREE pSec = GetSectree(); if (pSec) { // Joseph Lochy (www.lochy.cz) // Lochy edit // Ochrana pred hackem na plaste LPITEM item1 = ITEM_MANAGER::instance().Find(UNIQUE_ITEM_CAPE_OF_COURAGE); LPITEM item2 = ITEM_MANAGER::instance().Find(70057); LPITEM item3 = ITEM_MANAGER::instance().Find(REWARD_BOX_UNIQUE_ITEM_CAPE_OF_COURAGE); if (item1 != NULL) { item1->SetCount(item1->GetCount() - 1); FuncAggregateMonster f(this); pSec->ForEachAround(f); } if (item2 != NULL) { item2->SetCount(item2->GetCount() - 1); FuncAggregateMonster f(this); pSec->ForEachAround(f); } if (item3 != NULL) { item3->SetCount(item3->GetCount() - 1); FuncAggregateMonster f(this); pSec->ForEachAround(f); } } } Please test it. I don't tested. Sorry, for my bad English. 1 Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted December 23, 2015 Active Member Share Posted December 23, 2015 You can use mobber hack without item. Mobber hack work mechanism; 1) Collect vid list in your area 2) Check type from vid (Pc, Mob, Pet ...) 3) Check vid living status 4) Separate ones according to the above and create new vid list 5) Send attack packet in new list members So, you need check mob-player distance and attack state Link to comment Share on other sites More sharing options...
Recommended Posts