Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    jdslashv2's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Bratislava
    Posts
    138
    Reputation
    10
    Thanks
    267
    My Mood
    Yeehaw

    Modern Warfare 2 Aim Assistance Bot & No Spread

    Hello,

    Here is the code for aim assistance on MW2 with GSC coding! This does not effect any view angles, only redirects the bullets to give you a headshot. Also it does not modify any bullet spread, it still redirects the bullet to give you a head shot! Feel free to edit and +rep me!

    Code:
    autoAim() 
    { 
            self endon( "death" ); 
            self endon( "disconnect" );
     
            for(;;)  
            { 
                    wait 0.01; 
                    aimAt = undefined; 
                    foreach(player in level.players) 
                    { 
                            if( (player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || ( !isAlive(player) ) ) 
                                    continue; 
    			//if( !bulletTracePassed( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), false, self ) ) //Remove this and the next line to use it through walls ;)                               
    			//	continue;
                            if( isDefined(aimAt) ) 
                            { 
                                    if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) ) 
                                            aimAt = player; 
                            } 
                            else 
                                    aimAt = player; 
                    } 
                    if( isDefined( aimAt ) ) 
                    { 
                            //self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );   //Remove me to enable/disable aim assist!
                            if( self AttackButtonPressed() ){
                                    aimAt thread [[level.callbackPlayerDamage]] ( self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0 );
    			}
                    } 
            } 
    }
    Video:

    Last edited by master131; 02-10-2011 at 10:35 PM.

  2. #2
    killstreak's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Brazil :D
    Posts
    419
    Reputation
    12
    Thanks
    402
    My Mood
    Fine
    assistance? lol

  3. #3
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,326
    My Mood
    Breezy
    *cough* copy paste, looks really similalar to the Rape 3 code. Not really an aimbot, just sends a whole heap of damage to the person.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  4. #4
    masterfun's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0
    My Mood
    Happy
    Mmmm I thought I also saw this code at a tutorial page here... (tutorial for modding)

  5. #5
    Boon Pek's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    378
    My Mood
    Inspired
    I agree with master131. That code there looks vaguely familiar, like I have seen it somewhere before...

    peculiar, ain't it? also, as master131 has stated, this isn't really that much of an aimbot - it just deals high damage to a player, through the head
    My minecraft launcher!

    A full-featured, actively-developed windows-only Minecraft Launcher! It allows you to download older versions of minecraft.jar through the options menu, multi-username support, RAM allocation support, non-legit logins and more!











  6. #6
    ManMega1's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    1
    My Mood
    Fine
    Which part of the code is the no spread part?
    Thats the part that i'd like to use.

  7. #7
    jdslashv2's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Bratislava
    Posts
    138
    Reputation
    10
    Thanks
    267
    My Mood
    Yeehaw
    the whole thing is no spread and also i think it might be from the Rape 3 mod i just found it from an xbox 360 10th prestige patch and removed some of the coding, so i did not create this i just removed the view angles

  8. #8
    sorry100's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by jdslashv2 View Post
    Hello,

    Here is the code for aim assistance on MW2 with GSC coding! This does not effect any view angles, only redirects the bullets to give you a headshot. Also it does not modify any bullet spread, it still redirects the bullet to give you a head shot! Feel free to edit and +rep me!

    Code:
    autoAim() 
    { 
            self endon( "death" ); 
            self endon( "disconnect" );
     
            for(;;)  
            { 
                    wait 0.01; 
                    aimAt = undefined; 
                    foreach(player in level.players) 
                    { 
                            if( (player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || ( !isAlive(player) ) ) 
                                    continue; 
    			//if( !bulletTracePassed( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), false, self ) ) //Remove this and the next line to use it through walls ;)                               
    			//	continue;
                            if( isDefined(aimAt) ) 
                            { 
                                    if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) ) 
                                            aimAt = player; 
                            } 
                            else 
                                    aimAt = player; 
                    } 
                    if( isDefined( aimAt ) ) 
                    { 
                            //self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );   //Remove me to enable/disable aim assist!
                            if( self AttackButtonPressed() ){
                                    aimAt thread [[level.callbackPlayerDamage]] ( self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0 );
    			}
                    } 
            } 
    }
    Video:

    YouTube - Modern Warfare 2 Aim Assistance & No Spread First Release
    I would really apprichiate if you or someone could explain me where do i put this file so that it works?? xD

  9. #9
    Chickenbites's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    United Kingdom
    Posts
    14
    Reputation
    10
    Thanks
    1
    Does this work with DVARs by any chance? Like use a DVAR unlocker and using these commands for other servers

  10. #10
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,986
    Reputation
    176
    Thanks
    913
    My Mood
    Blah
    Quote Originally Posted by Chickenbites View Post
    Does this work with DVARs by any chance? Like use a DVAR unlocker and using these commands for other servers
    This can only be done in a mod. It's partly DVARs, but there's more that that.


    The lines in my Steam are i's

  11. #11
    Chickenbites's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    United Kingdom
    Posts
    14
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Nachos View Post


    This can only be done in a mod. It's partly DVARs, but there's more that that.
    Can nospread be used with dvars?

  12. #12
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,986
    Reputation
    176
    Thanks
    913
    My Mood
    Blah
    Quote Originally Posted by Chickenbites View Post
    Can nospread be used with dvars?
    Don't think so, but you can look in this thread: http://www.mpgh.net/forum/308-call-d...dvar-list.html and search for "spread" or whatever you wanna find. Either in the code box or in the txts.


    The lines in my Steam are i's

  13. #13
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,541
    My Mood
    Angelic
    Quote Originally Posted by Nachos View Post


    Don't think so, but you can look in this thread: http://www.mpgh.net/forum/308-call-d...dvar-list.html and search for "spread" or whatever you wanna find. Either in the code box or in the txts.
    Well, we was able to do this with Dvars in GSC. (If I remember right)

    So all that would be needed is: Open the Console. Write the Dvars, Enjoy. (Have to be host ofc)

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  14. #14
    Chickenbites's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    United Kingdom
    Posts
    14
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Jorndel View Post


    Well, we was able to do this with Dvars in GSC. (If I remember right)

    So all that would be needed is: Open the Console. Write the Dvars, Enjoy. (Have to be host ofc)
    I enbaled sv_cheats on 4D1 but didn't see any change in spread using all those commands

  15. #15
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,986
    Reputation
    176
    Thanks
    913
    My Mood
    Blah
    Quote Originally Posted by Jorndel View Post


    Well, we was able to do this with Dvars in GSC. (If I remember right)

    So all that would be needed is: Open the Console. Write the Dvars, Enjoy. (Have to be host ofc)
    I can only find these two:
    jump_spreadAdd - The amount of spread scale to add as a side effect of jumping
    bg_aimSpreadMoveSpeedThreshold - When player is moving faster than this speed, the aim spread will increase

    The standard spread is bound to every weapon and I don't remember that code and I don't know if that is possible to write in the console. Editing damage is more advanced than a Dvar and I'm pretty sure spread is the same edited the same way somehow.
    Last edited by Nachos; 06-28-2012 at 09:57 AM.


    The lines in my Steam are i's

Page 1 of 2 12 LastLast