Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Block the "silent aim" cheat

  1. #1
    Private
    Join Date
    Feb 2014
    Posts
    27
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Angry Block the "silent aim" cheat

    It would be possible to prevent this cheat, where shots do not hit the enemy, go far and still results in death?
    This is not serverside cheat, is something that is infesting the game, punkbuster does not detect. I believe the only solution to this would be some mod to annul this effect.



  2. #2
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    yh its possible to detect serverside via mod:
    PHP Code:
    //call in Callback_PlayerDamage(): (self == victim)
    if( checkSilentAimsMeansOfDeath self attacker ) )
        
    iDamage 0;

    checkSilentAimsMeansOfDeath victim attacker )
    {
        
    // check only bullet weapons
        
    if( sMeansOfDeath != "MOD_HEAD_SHOT" && !isSubStrsMeansOfDeath "BULLET" ) )
            return 
    false;

        
    attackerViewDir anglesToForwardattacker getPlayerAngles() );
        
    attackerToVictimDir vectorToAnglesvictim.origin attacker.origin ); // maybe change the origins here
        
    angleBetweenDirs vectorDotattackerViewDir attackerToVictimDir ); // returns acos of angle
        
    maxAngle aCos); // 5 degrees

        
    if( angleBetweenDirs <= maxAngle )
            return 
    false;

        return 
    true;
    }

    vectorDotv1 v2 )
    {
        return 
    v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2];

    I'm not sure if this works on the first try, but this is one (easy) way to go

    btw, how sad is this hack!? aimbot without aim lmao..

  3. The Following 2 Users Say Thank You to serthy For This Useful Post:

    kung foo man (18th March 2014),qwrtyp (18th March 2014)

  4. #3
    Private
    Join Date
    Feb 2014
    Posts
    27
    Thanks
    11
    Thanked 0 Times in 0 Posts
    hi ,
    I do not have much knowledge about modding and scripting, so I will trying until something works.

    I had put this part within the Callback_PlayerDamage,
    PHP Code:
    //call in Callback_PlayerDamage(): (self == victim)
    if( checkSilentAimsMeansOfDeath self attacker ) )
        
    iDamage 0
    and this just below the end of Callback_PlayerDamage ( )
    PHP Code:
    checkSilentAimsMeansOfDeath victim attacker )
    {
        
    // check only bullet weapons
        
    if( sMeansOfDeath != "MOD_HEAD_SHOT" && !isSubStrsMeansOfDeath "BULLET" ) )
            return 
    false;

        
    attackerViewDir anglesToForwardattacker getPlayerAngles() );
        
    attackerToVictimDir vectorToAnglesvictim.origin attacker.origin ); // maybe change the origins here
        
    angleBetweenDirs vectorDotattackerViewDir attackerToVictimDir ); // returns acos of angle
        
    maxAngle aCos); // 5 degrees

        
    if( angleBetweenDirs <= maxAngle )
            return 
    false;

        return 
    true;
    }

    vectorDotv1 v2 )
    {
        return 
    v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2];

    thus resulted in this error:
    PHP Code:
    ******* Script compile error *******
    uninitialised variable ' attacker ' : ( file ' maps / mp / gametypes / sd.gsc ' line 433 )
    *if ( 
    checkSilentAim sMeansOfDeath self Attacker ) ) 
    *****************************************
    I changed the first "atracker" by "eAttacker" , and server runs. I have no idea if it has any difference.
    I did right?
    thank you very much for your help, sorry that I can not verify if it worked in practice, because I have no hacks to test.
    I think everyone should use it on their servers, it has much of this "silent aim" in cod2 and cod4.

  5. #4
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by qwrtyp View Post
    sorry that I can not verify if it worked in practice
    You could comment out the first if-condition and test with a grenade on yourself:

    PHP Code:
    checkSilentAimsMeansOfDeath victim attacker )
    {
        
    // check only bullet weapons
        //if( sMeansOfDeath != "MOD_HEAD_SHOT" && !isSubStr( sMeansOfDeath , "BULLET" ) )
       //     return false;

        
    attackerViewDir anglesToForwardattacker getPlayerAngles() );
        
    attackerToVictimDir vectorToAnglesvictim.origin attacker.origin ); // maybe change the origins here
        
    angleBetweenDirs vectorDotattackerViewDir attackerToVictimDir ); // returns acos of angle
        
    maxAngle aCos); // 5 degrees

        
    if( angleBetweenDirs <= maxAngle )
            return 
    false;

        
    iPrintLnBold"TEST: angle = " cosangleBetweenDirs ) );

        return 
    true;


  6. #5
    Private MeGaBooM's Avatar
    Join Date
    Sep 2013
    Location
    germany
    Posts
    42
    Thanks
    22
    Thanked 20 Times in 9 Posts
    never saw this before, 1.0 bug?

  7. #6
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by MeGaBooM View Post
    never saw this before, 1.0 bug?
    Same for me, but simply google'ing "silent aim" and you'll find a shitload of youtube vids and hacks

  8. #7
    Private
    Join Date
    Feb 2014
    Posts
    27
    Thanks
    11
    Thanked 0 Times in 0 Posts
    I'm still trying and could not make it work, i must be doing something wrong. (I'm trying to learn)
    I tried to change "attacker" with "eattacker",
    threw the grenade and not appeared iPrintLnBold

    should insert into
    maps/pam/(sd, dm, hq, ctf...)
    maps/mp/gametypes/(sd, dm, hq, ctf...)


    this is a ridiculous hack, i do not understand how can this happen..
    have you ever been killed and thought, "this shot did not hit me", could be true.
    its not 1.0 bug

  9. #8
    Private First Class
    Join Date
    Jul 2013
    Posts
    170
    Thanks
    44
    Thanked 16 Times in 11 Posts
    haha this is hack,look at youtube.

    Look this: https://www.youtube.com/watch?v=g79N8SmptII

    0:13 s.

  10. #9
    Private
    Join Date
    Feb 2014
    Posts
    10
    Thanks
    2
    Thanked 2 Times in 2 Posts
    I came to this post through Google, i'm admin of some servers and I noticed players are using this hack.
    I do not know anything about mods, but if someone makes a fix and provide for the people put on their servers would be great. (one ".iwd" or a step by step for noobs like me)
    thanks

  11. The Following User Says Thank You to deivis33 For This Useful Post:

    qwrtyp (20th March 2014)

  12. #10
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    I've chosen another approach, angles arent this save for greater distances + noaim:
    Attachment 673
    Download here: Attachment 675

    Code:
    Silent Aim Cheat Fix
    
    -> Help
    
    Contact me:
    
    serthy@ymail.com
    
    See: http://killtube.org/showthread.php?1874-Block-the-quot-silent-aim-quot-cheat
    
    -> Install
    
    Drag'n'Drop the containing maps folder into your fs_game folder.
    This will replace the default maps\mp\gametypes\_callback.gsc with
    the modified one.
    It also adds maps\mp\gametypes\_fix_silent_aim.gsc.
    
    If you're already running a mod, refer to 
    	maps\mp\gametypes\_callback.gsc -> Callback_StartGametype()
    and add
    	level thread maps\mp\gametypes\_fix_silent_aim::init();
    to the function.
    
    -> server config
    
    Add
    	set fix_silent_aim 1
    to your server config.
    
    Values:
    	= 0 - disabled
    	< 0 - debug prints and testBots enabled
    	> 0 - enabled
    
    -> Testserver: fs_game
    
    Unzip this file into your CoD2 directory (next to the main-folder).
    Doubleclick silent_aim.cmd. This starts your own dedicated homeserver.
    Start CoD2 Multiplayer as normal. Goto Join Server > Locale Server.
    Join your testserver.
    Last edited by serthy; 20th March 2014 at 18:05. Reason: Das Bild sollte eigentlich kleiner... :/

  13. The Following 5 Users Say Thank You to serthy For This Useful Post:

    deivis33 (21st March 2014),kung foo man (21st March 2014),Ni3ls (21st March 2014),qwrtyp (3rd April 2014),YuriJurek (21st March 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •