Jump to content

Multibox block


Recommended Posts

  • Premium

Moin,

I wrote a small system out of boredom which helps to block multiboxxing,

you can define in the clientcode how many clients can be open at the same time.

The whole thing works with windows mutexes and is completely "clientside" i.e. it's not an "ultimate" solution, but should stop every shit botter and similar.

Do note:

The code is not perfect.

 

 

just paste the code into UserInterface.cpp:

bool genMutex(int id)
{
    std::string mutex_name = "MultiBoxBlock";
    mutex_name.push_back(id);
    HANDLE Mutex = OpenMutexA(MUTEX_ALL_ACCESS, 1, mutex_name.c_str());
    
    if (!Mutex || WaitForSingleObject(Mutex,500) == WAIT_ABANDONED)
    {
        CreateMutexA(0, 1, mutex_name.c_str());
        Sleep(INFINITY);//locks mutex
        return true;
    }
    
    return false;
}
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
    bool ret = false;
    for (int i = 0;i<3;i++)
    {
        ret = genMutex(i);
        if (ret)
            break;
    }
    if (!ret)
    {
        MessageBoxA(NULL, "MultiBox detected", "", MB_OK);
        ExitProcess(0);
    }

You can define the number of allowed clients in the "for loop".

 

spacer.png

 

in my case 3.

 

Video:

 

https://metin2.download/video/8OmJ12r4tjK9NQ5H9NsX4n0UDD9aFas4/.mp4

 

 

Enjoy.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 7
  • Think 1
  • Good 4
  • Love 6

🍆 Sura-Head 💯

Link to comment
Share on other sites

2 hours ago, Mali61 said:

I wanna ask you, even the official game does not put an obstacle to this.  Why should we do this?

In official there is actually no one able to farm with 5 characters at the same time. one of the reasons to this is that the metin stone spawn is more rare (there are a lot more reasons)

 

So in basically every private server you start full equipped because everyone is lazy. You can just open 5 characters go to a place where a lot of metin stones are and farm with 5 characters at the same time. This is a big problem, its making metin a tryhard game.

Link to comment
Share on other sites

Announcements



×
×
  • 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.