Shutdown Command Fix the Vulnerability

Open your cmd_general.cpp and search this

ACMD(do_shutdown)
change with this ;
ACMD(do_shutdown)
{
    if (!ch->IsGM())
        return;
     if (NULL == ch)
    {
        sys_err("Accept shutdown command from %s.", ch->GetName());
    }
    TPacketGGShutdown p;
    p.bHeader = HEADER_GG_SHUTDOWN;
    P2P_MANAGER::instance().Send(&p, sizeof(TPacketGGShutdown));
     Shutdown(10);
}
Best Regards

Örnek Resim

Örnek Resim  GMs in the game receive close to 1 billion and more money monthly. But there is no discourse that they seem to make money.