Question Thoughts on my first aimassist/aimbot?

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

GainOSaurusFIex

Full Member
Apr 6, 2020
37
193
1
Game Name
ARK: Survival Evolved
Anticheat
N/A
How long you been coding/hacking?
2 Years
Coding Language
C#
Hey everyone what do you think can be improved on my aimbot? My hack uses RPM to get the positions of the enemy and then converts it to W2S, then I use SendInput for the aimbot.
Aimlock:
                                        if (cnf.PlayerAimbot)
                                        {
                                            if (this_MemoryApi.RightMouseButtonDown)
                                            {
                                                if (gSettings.bigeffingArkblock[i].iisRendered > 0 && gSettings.notarget&& gSettings.bigeffingArkblock[i].iisDead <= 0)
                                                {
                                                    gSettings.currtarget = i;
                                                    gSettings.notarget= false;
                                                }
                                                if (gSettings.currtarget == i)
                                                {
                                                    Helper.this_MemoryApi.MoveMouse((int)gSettings.bigeffingArkblock[gSettings.currtarget].W2ScreenPos.X, (int)gSettings.bigeffingArkblock[gSettings.currtarget].W2ScreenPos.Y - 20);




                                                }
                                                if (gSettings.bigeffingArkblock[gSettings.currtarget].iisDead > 0 || gSettings.bigeffingArkblock[gSettings.currtarget].f_dist > 1000)
                                                    gSettings.notarget= true;

                                            }
                                            else
                                                gSettings.notarget= true;

                                        }
 
  • Like
Reactions: obdr

mambda

headass
Escobar Tier VIP
Trump Tier Donator
Jun 25, 2014
2,279
37,938
268
ARK the dinosaur game has fucking sniper rifles? LMFAOOO

best improvement is using actual world positions and not doing any W2S stuff
 

GainOSaurusFIex

Full Member
Apr 6, 2020
37
193
1
Ye the game has had snipers for a long time now lmao they are busted af. Are you saying that i should use WPM to the localplayer rotation to the enemies?
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
11,573
78,998
2,316
Nice job on your first aimbot. Your PC is a potato tho :p My game looks amazing

Ye the game has had snipers for a long time now lmao they are busted af. Are you saying that i should use WPM to the localplayer rotation to the enemies?
yeah that's how a normal external aimbot works, typically only use sendinput if writing to angles is too complicated or if anticheat stops you
 
  • Haha
Reactions: iMoD1998

GainOSaurusFIex

Full Member
Apr 6, 2020
37
193
1
Lol your pc is prob better indeed butI changed my settings for a better advantage in pvp. See the difference, it looks alot worse but trust me if you don't use it you lose alot of fights.
1595147965651.png

As for the WPM, I am gonna look into this now that I got all my RPM stuff working, Although i think it will be hard since I don't think i can use ingame functions since all the sdk's are in c++ wich is understandable since unreal engine is c++, I was lurking around on github to see if anyone had something similar and I found a good example on how to do it it's an external c# for the game pubg wich is also UE4 if i remember correctly. He does it like this:
aimbot:
 #region Aimbot
                if (CheatSettings.Aimbot)
                {
                    var myplayercontroller = G.OwningGameInstance.LocalPlayer.PlayerController;
                    var vecLocalEyeLocation = myplayercontroller.PlayerCameraManager.CameraCache.POV.Location;
                    var angLocalAngles = myplayercontroller.ControlRotation;

                    float flFov = 90f;
                    FRotator flBestAngDelta = new FRotator();

                    bool bFoundTarget = false;

                    foreach (var Player in G.Players.ToList())
                    {
                        var vecTargetCenterOfMass = Player.Location;

                        switch (Player.CharacterMovement.Stance)
                        {
                            case EStanceMode.STANCE_Stand:
                                vecTargetCenterOfMass.Z += 30;
                                break;

                            case EStanceMode.STANCE_Crouch:
                                vecTargetCenterOfMass.Z += 10;
                                break;

                            case EStanceMode.STANCE_Prone:
                                vecTargetCenterOfMass.Z -= 15;
                                break;
                        }


                        var delta = vecTargetCenterOfMass - vecLocalEyeLocation;
                        var angDelta = (delta.ToFRotator() - angLocalAngles).Clamp();

                        if (angDelta.Length <= flFov)
                        {
                            flFov = (float)angDelta.Length;
                            flBestAngDelta = angDelta;
                            bFoundTarget = true;
                        }
                    }

                    // TODO: Keyboard Hook
                    if (bFoundTarget && (Win32.GetAsyncKeyState(Keys.XButton1) & 0x8000) != 0) // ADD HOLD KEY OR WHATEVER
                        M.Write<FRotator>(angLocalAngles + flBestAngDelta, G.OwningGameInstance.LocalPlayer.pPlayerController + 0x03B8);
                }
                #endregion

                // Increase for speed, decrease for performance.
                Thread.Sleep(5);
            }
        }
But he also uses .Z + 15 etc so it isn't really that accurate either??? Shouldn't he just use the head pos wouldn't these be alot more accurate?
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods League of Legends Accounts