Check if you have this, if not, add this system
[Hidden Content]
this system is generally available in martysama files.
Open: imput_main.cpp
#Add
#include "../../common/PulseManager.h" //pulse manager sayesinde anticheat
#In imput_main.cpp search
int CInputMain::Analyze(LPDESC d, BYTE bHeader, const char * c_pData)
{
LPCHARACTER ch;
if (!(ch = d->GetCharacter()))
{
sys_err("no character on desc");
d->SetPhase(PHASE_CLOSE);
return (0);
}
int iExtraLen = 0;
#Add under
if (bHeader == HEADER_CG_CHARACTER_MOVE)
{
if (ch && !PulseManager::Instance().IncreaseCount(ch->GetPlayerID(), ePulse::GuildComment, std::chrono::milliseconds(500), !POINT_MOV_SPEED))
{
// ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please stop anti-hack thank.1111111111111"));
// ch->Move(pinfo->lX, pinfo->lY);
ch->UpdatePacket();//anlik guncelleme
// ch->UpdateSectree();
// ch->Update();
// ch->ComputePoints();
// ch->GetDesc()->DelayedDisconnect (7);
return (iExtraLen);
}
}
if (bHeader == HEADER_CG_ATTACK)
{
if (ch && !PulseManager::Instance().IncreaseCount(ch->GetPlayerID(), ePulse::CommandRequest, std::chrono::milliseconds(500), !POINT_ATT_SPEED))
{
// ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please stop anti-hack thank.1111111111111"));
// ch->Move(pinfo->lX, pinfo->lY);
ch->UpdatePacket();//anlik guncelleme
// ch->UpdateSectree();
// ch->Update();
// ch->ComputePoints();
// ch->GetDesc()->DelayedDisconnect (7);
return (iExtraLen);
}
}
#In this documents
packet.h packet_info.cpp input_main.cpp input_login.cpp
#Change
HEADER_CG_MOVE
#With
HEADER_CG_CHARACTER_MOVE
if you get an error, change it like this while building
char.cpp input_main.cpp packet.h
HEADER_GC_MOVE
Change with
HEADER_GC_CHARACTER_MOVE