AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   jump loopings (https://forums.alliedmods.net/showthread.php?t=127804)

kielor 05-25-2010 02:52

jump loopings
 
Ok, I'm making antibhophack plugin.
Currently I've made correctly only one type of detections out of two possible.

Second is looping aka _special aka (whatever or kzh by default)_loopx.
At the moment I'm using this code to detect it:
PHP Code:

public fwdCmdStart(iduc_handleseed)
{
    if(
is_user_alive(id) && is_user_connected(id))
    {
        static 
iButtonss_iOldButtons[33], s_iFrameCounter[33], s_iScrollCounter[33];
        
iButtons get_uc(uc_handleUC_Buttons);
        
        if(
s_iOldButtons[id] & IN_JUMP && !(iButtons IN_JUMP))
            
s_iFrameCounter[id] = 0;
        else if(
iButtons IN_JUMP && !(s_iOldButtons[id] & IN_JUMP) && <= s_iFrameCounter[id] && s_iFrameCounter[id] <= 5)
            
s_iScrollCounter[id]++;
        
        if(
s_iScrollCounter[id] >= 10)
        {
            
s_iScrollCounter[id] = 0;
            new 
szName[32];
            
get_user_name(idszName31);
            
client_print(0print_chat"** Bhop hack detected on %s! Reason: jump loopings(poss _special or kzh_loopx)."szName);
            
//kick_user(id, "Bhop hack detected!");
        
}
        
        if(
s_iFrameCounter[id] >= 40s_iScrollCounter[id] = 0;
        
        
s_iOldButtons[id] = iButtons;
        
s_iFrameCounter[id]++;
    }


But this detects it if I jump with scroll.. What is wrong with that?

Brreaker 05-25-2010 13:42

Re: jump loopings
 
Aren't alias_special blocked by steam since like 2 updates?

ConnorMcLeod 05-25-2010 15:55

Re: jump loopings
 
You dickass are trying to make an anti bhop hack ?
But you sir, are trying to get help to make a bhop cheat there : http://www.cheat-project.com

kielor 05-26-2010 03:45

Re: jump loopings
 
Quote:

Originally Posted by Brreaker (Post 1190847)
Aren't alias_special blocked by steam since like 2 updates?

Yes, but there are some cheats that do same thing. KzHack for instance.

Quote:

Originally Posted by ConnorMcLeod (Post 1190995)
You dickass are trying to make an anti bhop hack ?
But you sir, are trying to get help to make a bhop cheat there : http://www.cheat-project.com

Made my day :mrgreen: Yes, sir, I'm trying to make BhopHack Detector, as good as yours, sir. But this can't prevent me from making cheats.
P.S. And you dickass have deleted me from Steam and don't want to accept again!

kielor 05-26-2010 06:00

Re: jump loopings
 
solved, changed 10 with 20 and 40 with 6


All times are GMT -4. The time now is 05:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.