bha2 / passive-anticheat-for-tc

Automatically exported from code.google.com/p/passive-anticheat-for-tc
0 stars 0 forks source link

[Fix] No Notification of Anti-Cheat System Status When using command .anticheat handle #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is Fix :

====================================
 if (strCommand.compare("on") == 0)
    {
        sWorld.setBoolConfig(CONFIG_ANTICHEAT_ENABLE,true);
        ChatHandler(m_session->GetPlayer()).SendSysMessage("The Anti-Cheat System is now Online !");
    }
    else if (strCommand.compare("off") == 0)
    {
        sWorld.setBoolConfig(CONFIG_ANTICHEAT_ENABLE,false);
        ChatHandler(m_session->GetPlayer()).SendSysMessage("The Anti-Cheat System is now Offline !");
    }
====================================

Tested And working !

Original issue reported on code.google.com by abduhman on 18 Nov 2010 at 8:18

GoogleCodeExporter commented 8 years ago
I can't push it now, when i back home it will be pushed.

Original comment by manu...@live.com.ar on 18 Nov 2010 at 10:25

GoogleCodeExporter commented 8 years ago

Original comment by manu...@live.com.ar on 18 Nov 2010 at 10:12