Jump to content

Anti Mobber Hack


Recommended Posts

 

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.

  • Love 1
Link to comment
Share on other sites

  • Active Member

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

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.