[REP++] s0b detect
#1

Does anybody know how to make a s0b detector ?
I searched a little bit but i can't find one . I heard that you can make one by getting the player vector's camera but i can't understand how this works and how to reproduce one.
Thanks for help!
Reply
#2

this friend

OnPlayerSpawn

PHP Code:
    SetCameraBehindPlayer(playerid);
    
SetTimerEx("Check"10000"i"playerid);
    
TogglePlayerControllable(playerid0); 
public

PHP Code:
forward Check(playerid);
public 
Check(playerid)
{
    new 
Float:xFloat:yFloat:z;
    
GetPlayerCameraFrontVector(playeridxyz);
    
#pragma unused x
    #pragma unused y
    
if(< -0.8)
    {
        
TogglePlayerControllable(playerid1);
        
SendClientMessage(playerid, -1"{FF0000}You were automatically kicked on suspicion of hask" );
        
Kick(playerid);
    }
    else
    {
        
TogglePlayerControllable(playerid1);
        
SendClientMessage(playerid, -1"Without hask, good game" );
    }
    return 
1;

Reply
#3

Quote:
Originally Posted by IgorLuiz
View Post
this friend

OnPlayerSpawn

PHP Code:
    SetCameraBehindPlayer(playerid);
    
SetTimerEx("Check"10000"i"playerid);
    
TogglePlayerControllable(playerid0); 
public

PHP Code:
forward Check(playerid);
public 
Check(playerid)
{
    new 
Float:xFloat:yFloat:z;
    
GetPlayerCameraFrontVector(playeridxyz);
    
#pragma unused x
    #pragma unused y
    
if(< -0.8)
    {
        
TogglePlayerControllable(playerid1);
        
SendClientMessage(playerid, -1"{FF0000}You were automatically kicked on suspicion of hask" );
        
Kick(playerid);
    }
    else
    {
        
TogglePlayerControllable(playerid1);
        
SendClientMessage(playerid, -1"Without hask, good game" );
    }
    return 
1;

It is necessary to make a timer for checking ? I was thinking to just use Check(playerid); under SetCameraBehindPlayer.
Reply
#4

Quote:
Originally Posted by buburuzu19
View Post
It is necessary to make a timer for checking ? I was thinking to just use Check(playerid); under SetCameraBehindPlayer.
can use as well, but with timer and safer against bugs.
Reply
#5

Quote:
Originally Posted by IgorLuiz
View Post
this friend

OnPlayerSpawn

PHP Code:
    SetCameraBehindPlayer(playerid);
    
SetTimerEx("Check"10000"i"playerid);
    
TogglePlayerControllable(playerid0); 
public

PHP Code:
forward Check(playerid);
public 
Check(playerid)
{
    new 
Float:xFloat:yFloat:z;
    
GetPlayerCameraFrontVector(playeridxyz);
    
#pragma unused x
    #pragma unused y
    
if(< -0.8)
    {
        
TogglePlayerControllable(playerid1);
        
SendClientMessage(playerid, -1"{FF0000}You were automatically kicked on suspicion of hask" );
        
Kick(playerid);
    }
    else
    {
        
TogglePlayerControllable(playerid1);
        
SendClientMessage(playerid, -1"Without hask, good game" );
    }
    return 
1;

Not effective anymore, pretty much all versions of the modification that works with 0.3.7 have been patched so that checking camera vectors doesn't detect it.
Reply
#6

Don`t work for any s0b. Best detector s0b is detect press f12 and CJ run
Reply
#7

Igor doesn't know what he's talking about that will produce false positives out your asshole. That check is also prehistoric and useless these days.
Reply
#8

Last known method is:
- ResetPlayerWeapons
- Create caddy and put player inside as driver
- After few X ms destroy caddy
- Check if player have WEAPON_GOLFCLUB
- If yes - ban or send info for admins
- If not give him back weapons

and remember they can use NOPs
Reply
#9

Wow this works...but Cleo Mods or any other mods...it doesn't detect..so at least u should use an anti-cheat system
Reply
#10

upppppppppppppp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)