Results 1 to 13 of 13
  1. #1
    Froomz's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    1
    My Mood
    Confused

    SilentAim Working With tapping not with spraying

    Basically the title the silent aim works if i tap but not when i spray

    Aka there is something wrong with going to the next target i guess? Anyone had this problem before?



    Video:



    Thanks in advance



    (note : I did not create this)
    Last edited by Hunter; 07-28-2016 at 03:23 PM. Reason: Fixed the link.

  2. #2
    WasserEsser's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    735
    Reputation
    174
    Thanks
    677
    My Mood
    Busy
    Your code is broken.

  3. #3
    Froomz's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    1
    My Mood
    Confused
    Quote Originally Posted by WasserEsser View Post
    Your code is broken.

    Taking a look in it i really dont see anything

    Ideas on what exactly would be broken? It should be the switch to the next target right

  4. #4
    WasserEsser's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    735
    Reputation
    174
    Thanks
    677
    My Mood
    Busy
    Quote Originally Posted by Froomz View Post
    Taking a look in it i really dont see anything

    Ideas on what exactly would be broken? It should be the switch to the next target right
    Post your code. I'm not a magician.

  5. The Following 3 Users Say Thank You to WasserEsser For This Useful Post:

    derkrasseboy (07-29-2016),HexMurder (07-28-2016),prolife200 (08-12-2016)

  6. #5
    Froomz's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    1
    My Mood
    Confused
    Quote Originally Posted by WasserEsser View Post
    Post your code. I'm not a magician.


    Code:
    if(bSilent && !bAimStep)    
        {
            auto pWeapon = G::LocalPlayer->GetWeapon( );
            float flServerTime = G::LocalPlayer->GetTickBase( ) * I::Globals->interval_per_tick;
            if(pWeapon && pWeapon->GetNextPrimaryAttack( ) > flServerTime) return;
        }
    
        static Angle angAimAngles;
        static int iClosestIndex;
    
        iClosestIndex = Aim::ClosestAngle( angAimAngles );
    
        if(iClosestIndex != -1)
        {
            G::Aimbotting = true;
    
            angAimAngles.x -= (G::LocalPlayer->GetPunch( ).x * 2.f);
            angAimAngles.y -= (G::LocalPlayer->GetPunch( ).y * 2.f);
    
            bool bShouldAutoShoot = false;;
    
            if(bSilent) FixMove->Start( );
    
            if(bSmooth)
                G::UserCmd->viewangles = (Aim::Smooth( G::UserCmd->viewangles, angAimAngles, flSmoothness ));
            else
            {
                if(true)//bAimStep)
                {
                    Angle angNextAngle;
                    bool bFinished = Aim::AimStep( G::LastAngle, angAimAngles, angNextAngle );
                    G::UserCmd->viewangles = angNextAngle;
                    G::LastAngle = angNextAngle;
                    if(bFinished) bShouldAutoShoot = true;
                }
                else
                {
                    G::UserCmd->viewangles = angAimAngles;
                    bShouldAutoShoot = true;
                }
            }
    
            if(bSilent) FixMove->End( );
    
            if(bShouldAutoShoot && bAutoShoot && (!bHitChance || (pWeapon && (1.0f - pWeapon->GetAccuracyPenalty( )) * 100.f >= flHitChanceAmt)))
            {
                G::UserCmd->buttons |= IN_ATTACK;
            }
    
            if(bAutoStop)
            {
                G::UserCmd->forwardmove = 0;
                G::UserCmd->sidemove = 0;
                G::UserCmd->upmove = 0;
            }
    
            if(bAutoCrouch)
            {
                G::UserCmd->buttons |= IN_DUCK;
            }
        }
    }
    Last edited by Hunter; 07-28-2016 at 03:20 PM. Reason: Use the [.Code] tags next time.

  7. #6
    ActualCheats's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Location
    Yorkshire > All
    Posts
    348
    Reputation
    15
    Thanks
    132
    My Mood
    Inspired
    Use the code tags. Please.
    "The only wrong questions are the ones you don't ask" - My Father.

  8. #7
    Herp Derpinstine's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Location
    Drug Induced Rainbow
    Posts
    134
    Reputation
    10
    Thanks
    87
    My Mood
    Psychedelic
    Quote Originally Posted by Froomz View Post
    if(bSilent && !bAimStep)
    {
    auto pWeapon = G::LocalPlayer->GetWeapon( );
    float flServerTime = G::LocalPlayer->GetTickBase( ) * I::Globals->interval_per_tick;
    if(pWeapon && pWeapon->GetNextPrimaryAttack( ) > flServerTime) return;
    }

    static Angle angAimAngles;
    static int iClosestIndex;

    iClosestIndex = Aim::ClosestAngle( angAimAngles );

    if(iClosestIndex != -1)
    {
    G::Aimbotting = true;

    angAimAngles.x -= (G::LocalPlayer->GetPunch( ).x * 2.f);
    angAimAngles.y -= (G::LocalPlayer->GetPunch( ).y * 2.f);

    bool bShouldAutoShoot = false;;

    if(bSilent) FixMove->Start( );

    if(bSmooth)
    G::UserCmd->viewangles = (Aim::Smooth( G::UserCmd->viewangles, angAimAngles, flSmoothness ));
    else
    {
    if(true)//bAimStep)
    {
    Angle angNextAngle;
    bool bFinished = Aim::AimStep( G::LastAngle, angAimAngles, angNextAngle );
    G::UserCmd->viewangles = angNextAngle;
    G::LastAngle = angNextAngle;
    if(bFinished) bShouldAutoShoot = true;
    }
    else
    {
    G::UserCmd->viewangles = angAimAngles;
    bShouldAutoShoot = true;
    }
    }

    if(bSilent) FixMove->End( );

    if(bShouldAutoShoot && bAutoShoot && (!bHitChance || (pWeapon && (1.0f - pWeapon->GetAccuracyPenalty( )) * 100.f >= flHitChanceAmt)))
    {
    G::UserCmd->buttons |= IN_ATTACK;
    }

    if(bAutoStop)
    {
    G::UserCmd->forwardmove = 0;
    G::UserCmd->sidemove = 0;
    G::UserCmd->upmove = 0;
    }

    if(bAutoCrouch)
    {
    G::UserCmd->buttons |= IN_DUCK;
    }
    }
    }
    You shouldn't code with your CTRL, C, and P keys. Bad skid. Much disappointment.

    This is copy-pasta taken from A5's ****** for his Gamerfood_CSGO hack.
    Don't believe me? Look at the code from him in bold below:

    Code:
    if(bSilent) FixMove->Start( );
    Code:
    auto pWeapon = G::LocalPlayer->GetWeapon( );
    float flServerTime = G::LocalPlayer->GetTickBase( ) * I::Globals->interval_per_tick;
    Code:
    if(true)//bAimStep)
    {
    Angle angNextAngle;
    bool bFinished = Aim::AimStep( G::LastAngle, angAimAngles, angNextAngle );
    G::UserCmd->viewangles = angNextAngle;
    G::LastAngle = angNextAngle;
    if(bFinished) bShouldAutoShoot = true;
    }
    Code:
    if(bSilent) FixMove->End( );
    
    if(bShouldAutoShoot && bAutoShoot && (!bHitChance || (pWeapon && (1.0f - pWeapon->GetAccuracyPenalty( )) * 100.f >= flHitChanceAmt)))
    {
    G::UserCmd->buttons |= IN_ATTACK;
    }
    
    if(bAutoStop)
    {
    G::UserCmd->forwardmove = 0;
    G::UserCmd->sidemove = 0;
    G::UserCmd->upmove = 0;
    }
    
    if(bAutoCrouch)
    {
    G::UserCmd->buttons |= IN_DUCK;
    }
    Here is the snippet taken directly from A5's ****** in RageBot.cpp. Relevant part is in bold.
    Code:
    void CRageBot::GoToTarget()
    {
        bool auto_shoot = false;
        bool can_shoot = true;
        bool reloading = false;
    
        auto weapon = G::LocalPlayer->GetWeapon();
        float server_time = G::LocalPlayer->GetTickBase() * I::Globals->interval_per_tick;
    
        float next_shot = weapon->GetNextPrimaryAttack() - server_time;
        if( next_shot > 0 )
            can_shoot = false;
    
        // just simple velocity prediction, not engine prediction
        m_besthitbox = m_bestent->GetPredicted( m_besthitbox );
    
        QAngle aim_angle = M::CalcAngle( G::LocalPlayer->GetEyePosition(), m_besthitbox );
    
        aim_angle -= G::LocalPlayer->GetPunch() * 2.f;
    
        // fixmove for silentaim
        CFixMove fixMove;
        if( Vars.Ragebot.Silent )
            fixMove.Start();
    
        if( Vars.Ragebot.Aimstep && can_shoot )
        {
            G::Aimbotting = true;
    
            QAngle angNextAngle;
            bool bFinished = Aimstep( G::LastAngle, aim_angle, angNextAngle, Vars.Ragebot.AimstepAmount );
            G::UserCmd->viewangles = angNextAngle;
            G::LastAngle = angNextAngle;
            if( bFinished ) auto_shoot = true;
        }
        else if( can_shoot )
        {
            G::Aimbotting = true;
    
            G::UserCmd->viewangles = aim_angle;
            auto_shoot = true;
        }
    
        if( Vars.Ragebot.Silent )
            fixMove.End();
    
        if( Vars.Ragebot.AutoStop )
        {
            G::UserCmd->forwardmove = 0;
            G::UserCmd->sidemove = 0;
            G::UserCmd->upmove = 0;
            G::UserCmd->buttons = 0;
        }
    
        if( Vars.Ragebot.AutoCrouch )
            G::UserCmd->buttons |= IN_DUCK;
    
        float hitchance = 75.f + ( Vars.Ragebot.HitChanceAmt / 4 );
    
        if( auto_shoot && can_shoot && Vars.Ragebot.AutoFire && ( !Vars.Ragebot.HitChance || ( 1.0f - G::LocalPlayer->GetWeapon()->GetAccuracyPenalty() ) * 100.f >= hitchance ) )
            G::UserCmd->buttons |= IN_ATTACK;
    }
    Taking code and switching up the order of which some things are ran doesn't make it any less copy-pasta.
    You didn't even take time to rename some of the variables. You just left them exactly as they were when you pasted them in.

    Terrible. The lack of effort is cringeworthy.
    Last edited by Hunter; 07-28-2016 at 03:21 PM. Reason: Stop with the copy+pasta-related comments.

  9. #8
    Hunter's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Depths Of My Mind.
    Posts
    17,468
    Reputation
    3771
    Thanks
    6,159
    My Mood
    Cheerful
    Stop with the copy+pasta-related comments. The OP already stated that the source code/hack in question wasn't made by him. Won't ask again. Thanks.
    Last edited by Hunter; 07-28-2016 at 04:30 PM.

  10. #9
    Herp Derpinstine's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Location
    Drug Induced Rainbow
    Posts
    134
    Reputation
    10
    Thanks
    87
    My Mood
    Psychedelic
    Quote Originally Posted by Hunter View Post
    Stop with the copy+pasta-related comments. The OP that already stated the source code/hack in question wasn't made by him. Won't ask again. Thanks.
    That note wasn't there when I commented but whatever.

    Doesn't make my point any less valid.
    If it is copy-pasta then there is no use to really help fix it because he won't understand what your saying.
    9/10 times they just want you to do the work for them and have it ready for them to paste in.

    Not saying the OP isn't serious about wanting help I am just stating a fact.
    Last edited by Herp Derpinstine; 07-28-2016 at 04:29 PM.

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

    Hunter (07-29-2016)

  12. #10
    Froomz's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    1
    My Mood
    Confused
    Quote Originally Posted by Herp Derpinstine View Post
    That note wasn't there when I commented but whatever.

    Doesn't make my point any less valid.
    If it is copy-pasta then there is no use to really help fix it because he won't understand what your saying.
    9/10 times they just want you to do the work for them and have it ready for them to paste in.

    Not saying the OP isn't serious about wanting help I am just stating a fact.

    I started the post saying i did not code this.
    And I am trying to learn from this as i just seriously have no idea why it would not work while spraying why would i copy paste a public cheat's source without changing anything.

  13. #11
    Herp Derpinstine's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Location
    Drug Induced Rainbow
    Posts
    134
    Reputation
    10
    Thanks
    87
    My Mood
    Psychedelic
    Quote Originally Posted by Froomz View Post
    I started the post saying i did not code this.
    And I am trying to learn from this as i just seriously have no idea why it would not work while spraying why would i copy paste a public cheat's source without changing anything.
    Because you have no idea what your doing perhaps?
    There are many reasons copy-pasters do what they do but I have no idea which reason comes into play.

    Anyways, the code you posted won't help figure out what is wrong though.

    You keep saying it has trouble with getting the next target which to me looks like it could be true.

    However, the code you posted shows how it is setting the angle AFTER finding the Target. Making it useless to actually help you.

    Code:
    iClosestIndex = Aim::ClosestAngle( angAimAngles );
    Start by looking into this ClosestAngle function. To me this looks to be your problem.

    For whatever reason that function isn't returning a new index because it is still thinking the last one is valid.

    Seems like an issue with Sticky-Aim but I could be wrong.

    Just check to make sure that function is properly checking if the Target is still valid.

    If the Target isn't valid to be shot at then find a new Target.

    Examples of a Target not being valid would be if they are Dead or have Spawn Protection.
    Last edited by Herp Derpinstine; 07-29-2016 at 09:13 AM.

  14. #12
    trevo123's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Froomz View Post
    I started the post saying i did not code this.
    And I am trying to learn from this as i just seriously have no idea why it would not work while spraying why would i copy paste a public cheat's source without changing anything.
    please don't tell me you're learning to code by trying to make hacks, bad, bad practice. People who make hacks are experienced and will often use methods that are not the most correct because they know what they are doing and why they are doing it. If you're not experienced you'll just get bad coding habits, especially the copy paste part. Not saying it's wrong but it's terrible when you're trying to learn something

  15. #13
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    11,899
    Reputation
    2661
    Thanks
    4,610
    My Mood
    Amazed
    Has been over a week since last update/bump after answers, assuming solved.

    /Closed.


    CLICK TO BUY NOW!!


    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.

Similar Threads

  1. Replies: 9
    Last Post: 09-19-2014, 01:25 PM
  2. [Help Request] Command line arguments with spaces not working
    By ||Excision|| in forum Visual Basic Programming
    Replies: 0
    Last Post: 07-13-2014, 03:38 PM
  3. [Help] OpenGL hook with detours not working.
    By MazzMan in forum C++/C Programming
    Replies: 0
    Last Post: 02-14-2014, 03:13 PM
  4. [Help] How To tap maps with free join working
    By deanryan in forum Soldier Front General
    Replies: 1
    Last Post: 07-10-2011, 07:53 PM