SEARCH FOR: WarZ.sln
Code:
m_ReticleTargetScale = R3D_MIN(1.0f + spread, 12.0f);
// update reload anim
if(wpn->isReloading())
{
uberAnim_->StartReloadAnim();
}
else
{
uberAnim_->StopReloadAnim();
}
Add Bellow
Code:
//DouglasPRO :: JUST TESTING !!
if(PlayerState == PLAYER_IDLE){
if(plr_local_Velocity.Z >= 1.5){
if(PlayerState == PLAYER_IDLE){
r3dOutToLog("WARNING : ERROR 101-A");
extern bool gKillFlag;
if(!gUserProfile.ProfileData.isDevAccount){//AlphaMMO A.C AGAINST SPEED HACK
gKillFlag = true;
}
}
}
}
if(PlayerState == PLAYER_MOVE_RUN){
if(plr_local_Velocity.Z >= 3.5){
if(PlayerState == PLAYER_MOVE_RUN){
r3dOutToLog("WARNING : ERROR SPEED HACK FOUND-B");
if(!gUserProfile.ProfileData.isDevAccount){//AlphaMMO A.C AGAINST SPEED HACK
extern bool gKillFlag;
gKillFlag = true;
}
}
}
}
//ANTI JUMP
if(JumpVelocity){
if(JumpVelocity/*.Z*/ >= 22){
if(PlayerState == PLAYER_MOVE_RUN){
r3dOutToLog("WARNING : ERROR JUMP HACK FOUND -A");
if(!gUserProfile.ProfileData.isDevAccount){//AlphaMMO A.C AGAINST JUMP HACK DouglasPRO
extern bool gKillFlag;
gKillFlag = true;
}
}
}
}
//DouglasPRO :: JUST TESTING !!
//ANTI DEBUG
if(IsDebuggerPresent()){
r3dOutToLog("WARNING : DEBUG FOUND -C");
extern bool gKillFlag;
if(!gUserProfile.ProfileData.isDevAccount){//AlphaMMO A.C DEBUG CANCEL
gKillFlag = true;
}
}
if(bOnGround){
if(plr_local_Velocity.Z >= 4.5){
r3dOutToLog("WARNING : ERROR SPEED HACK FOUND-C");
extern bool gKillFlag;
if(!gUserProfile.ProfileData.isDevAccount){//AlphaMMO A.C AGAINST SPEED HACK
gKillFlag = true;
}
}
}
VMPROTECT_End();
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น