Results 1 to 13 of 13
  1. #1
    GEHhgerhgerhgerhrhr's Avatar
    Join Date
    Jan 2013
    Gender
    female
    Location
    <------> ◕‿◕ <------>
    Posts
    675
    Reputation
    107
    Thanks
    11,410
    My Mood
    Angelic

    Post Misc: all source code

     
    void AimAtPlayer(UCanvas* Canvas, APawn* TargetPawn)
    {
    if (TargetPawn != NULL && mAPBPawn != NULL){
    FName NameHeadBone = TargetPawn->Mesh->GetBoneName(6);
    FVector VectorHead = TargetPawn->Mesh->GetBoneLocation(NameHeadBone,0);
    FVector2D vHead = CalculateScreenCoordinate(pCanvas,TargetPawn->Mesh->GetBoneLocation(NameHeadBone,0));
    pCanvas->Draw2DLine(pCanvas->ClipX/2,pCanvas->ClipY/2,vHead.X,vHead.Y,Red);
    VectorHead = VectorHead -MyCameraLocation ;
    AimAtRot = VectorHead****tation();
    NormalizeRotation(AimAtRot);
    FRotator* pAimAtRot = &AimAtRot;
    if(GetAsyncKeyState(VK_RBUTTON))
    {
    mAPBPawn->SetCameraAimRotPawn(pAimAtRot);
    }

    }
    }


     
    float CurrentAngle = GetViewAngle( Target->Location, ViewLocation );
    if ( CheckAngle( CurrentAngle, pPC->PlayerCamera->GetFOVAngle() ) )
    {
    if ( ( !TargetPawn
    || RadianToDegree(CurrentAngle) > BestAngle ) && APBPawn->PlayerCanSeeMe() )
    {
    BestAngle = RadianToDegree(CurrentAngle);
    TargetPawn = Target;
    }
    }


    --------------------------------------------------------------------------------------------

    PHP Code:
     
    //================================================== ===========================
    // Function: No Recoil
    void NoRecoil(AcItem* pItem = NULL)
    {
    if (!pItem)
    return;

    AcRaycastWeapon* pRaycastWeapon = NULL;

    if (pItem->IsA(AcRaycastWeapon::StaticClass()))
    pRaycastWeapon = reinterpret_cast<AcRaycastWeapon*>(pItem);
    else
    return;

    pRaycastWeapon->m_WeaponRecoilSettings.m_fEndYawMin = 0.0f;
    pRaycastWeapon->m_WeaponRecoilSettings.m_fEndYawMax = 0.0f;
    pRaycastWeapon->m_RangedWeaponTypeSettings.m_fMaxRange = 0.0f;
    pRaycastWeapon->m_RangedWeaponTypeSettings.m_fRampDistance = 0.0f;

    /* Return old values... */
    }

    ...
    NoRecoil(pPlayerController->m_HoldableItemManager->m_CurrentItem)


    -----------------------------------------------------------------------------------------

     
    void tweakWeapon(UCanvas* Canvas, AcItem* pItem)
    {
    if (!pItem) return;

    AcWeapon* pAcWeapon = NULL;
    AcProjectileWeapon* pPjWeapon = NULL;
    AcRaycastWeapon* pRayWeapon = NULL;
    AWeapon* pAWeapon = NULL;


    if (pItem->IsA(AcWeapon::StaticClass()))
    {
    pAcWeapon = (AcWeapon *)pItem;

    if(pAcWeapon->IsA(AcRaycastWeapon::StaticClass()))
    {
    pRayWeapon = (AcRaycastWeapon *)pAcWeapon;


    pRayWeapon->m_WeaponRecoilSettings.m_fEndPitchMax = 0.0f;
    pRayWeapon->m_WeaponRecoilSettings.m_fEndPitchMin = 0.0f;
    pRayWeapon->m_WeaponRecoilSettings.m_fEndYawMax = 0.0f;
    pRayWeapon->m_WeaponRecoilSettings.m_fEndYawMin = 0.0f;
    pRayWeapon->m_WeaponRecoilSettings.m_eWeaponRecoil = 0;

    pRayWeapon->m_TanSpreadAngle = 0.0f;
    pRayWeapon->m_TanPelletSpread = 0.0f;

    pRayWeapon->m_RangedWeaponTypeSettings.m_fRunModifier = 0.0f;
    pRayWeapon->m_RangedWeaponTypeSettings.m_fWalkModifier = 0.0f;
    pRayWeapon->m_RangedWeaponTypeSettings.m_fCrouchModifier = 0.0f;
    pRayWeapon->m_RangedWeaponTypeSettings.m_fRampDistance = 0.0f;
    pRayWeapon->m_RangedWeaponTypeSettings.m_eRecoil = 0;
    pRayWeapon->m_RangedWeaponTypeSettings.m_fRaySpreadAtTenMetre s = 0.0f;
    pRayWeapon->m_RangedWeaponTypeSettings.m_fMaxRange = 0.0f;
    }
    }
    if(pAcWeapon->IsA(AWeapon::StaticClass()))
    {
    pAWeapon = (AWeapon *)pAWeapon;

    for(int k = 0; k < pAWeapon->Spread.Num(); k++) pAWeapon->Spread(k) = 0.0f;

    }

    return;
    }


     
    if(pAcWeapon->IsA(AWeapon::StaticClass()))
    {
    pAWeapon = (AWeapon *)pAWeapon;

    for(int k = 0; k < pAWeapon->Spread.Num(); k++) pAWeapon->Spread(k) = 0.0f;
    }


    --------------------------------------------------------------------------------------

    No Recoil addy
     
    10ACAF24 66 DB 66 ; CHAR 'f'
    10ACAF25 0F DB 0F
    10ACAF26 . D6 SALC
    10ACAF27 . 54 PUSH ESP
    10ACAF28 . 24 10 AND AL,10
    10ACAF2A . F3:0F1015 E013>MOVSS XMM2,DWORD PTR DS:[11BD13E0] <-- <--
    10ACAF32 . 0F28DA MOVAPS XMM3,XMM2
    10ACAF35 . F3:0F59D0 MULSS XMM2,XMM0
    10ACAF39 . F3:0F2A4424 10 CVTSI2SS XMM0,DWORD PTR SS:[ESP+10]
    10ACAF3F . F3:0F59D9 MULSS XMM3,XMM1
    10ACAF43 . F3:0F2A4C24 14 CVTSI2SS XMM1,DWORD PTR SS:[ESP+14]
    10ACAF49 . F3:0F58D0 ADDSS XMM2,XMM0
    10ACAF4D . F3:0F2CC2 CVTTSS2SI EAX,XMM2
    10ACAF51 . 894C24 18 MOV DWORD PTR SS:[ESP+18],ECX
    10ACAF55 . F3:0F2C8E E403>CVTTSS2SI ECX,DWORD PTR DS:[ESI+3E4]
    10ACAF5D . F3:0F58D9 ADDSS XMM3,XMM1


    Constant. Change the value to 0.0

    *( float* )0x11BD13E0 = 0.0f; or edit the exe in olly.

    Can't remember where I got this address from. Someone gave it to me a long time ago.
    I opened it up in olly and found the updated address. Tested yesterday and it still works 100% and it's undetected
    Pretty sure the person that gave it to me is banned now so meh.... use and abuse

    You can update this yourself using olly. Make a sig or do a byte search instead of spamming the thread with "meh needs deh updated address".

     
    Quote from prokiller099
    Ollydbg instructions

    just open olly
    open apb.exe in olly
    press the start button( its the blue)
    when it's finished right click/go to/expression and put 10ACAF24
    when you see this line 10ACAF2A . F3:0F1015 E013>MOVSS XMM2,DWORD PTR DS:[11BD13E0]
    click on it and click on binary/edit.
    look at last numbers and you will see 11
    just change it to 0F
    don't forget to apply modifications


    ---------------------------------------------------------------------

    Menu Class
     
    int bESP = Menu.AddItem<bool>(L"ESP", false); //Bool value with an inital value of 0
    int bAimbot = Menu.AddItem<bool>(L"Aimbot", false); //Same as above
    int iFOV = Menu.AddItem<int>(L"AimFOV", 0, 0, 360, 1); //Integer with an inital value of 0, minimum of 0, maximum of 360 and an increment of 1

    Menu.Render(pCanvas, LightGrey, DarkGrey, White, 10, 10) //Call this in your render thread. Passing pCanvas, outer box color, inner box color, text color, X and Y

    if(Menu.GetValue<bool>(bAimbot))
    {
    DoAimbot();
    }


    Here's a pic of what it currently looks like:


    Credits:
    Lewt
    bwarrior
    BydloCoder
    lowHertz
    Kryonix
    Last edited by GEHhgerhgerhgerhrhr; 02-25-2013 at 07:56 PM.

  2. The Following User Says Thank You to GEHhgerhgerhgerhrhr For This Useful Post:

    BombaLouca (03-03-2013)

  3. #2
    sargon2001's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    4
    how can i use this codes
    tnx

  4. #3
    GEHhgerhgerhgerhrhr's Avatar
    Join Date
    Jan 2013
    Gender
    female
    Location
    <------> ◕‿◕ <------>
    Posts
    675
    Reputation
    107
    Thanks
    11,410
    My Mood
    Angelic
    Quote Originally Posted by sargon2001 View Post
    how can i use this codes
    tnx
    1. Download the tools
    2. learn the c++
    3. Enjoy ur life..

  5. #4
    sargon2001's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    4
    learn the c++
    Attached Thumbnails Attached Thumbnails
    laughing-lol-crazy-l.png  


  6. #5
    sargon2001's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    4
    can u build the script and upload it ?

  7. #6
    GEHhgerhgerhgerhrhr's Avatar
    Join Date
    Jan 2013
    Gender
    female
    Location
    <------> ◕‿◕ <------>
    Posts
    675
    Reputation
    107
    Thanks
    11,410
    My Mood
    Angelic
    Quote Originally Posted by sargon2001 View Post
    can u build the script and upload it ?
    busy

  8. #7
    malt1328's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    5
    My Mood
    Lonely
    I have a question, i just started learn C++.. and do you have a code for ESP only?

  9. #8
    TheSilend's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    1
    sounds epic good but i want comments people

  10. #9
    dannyl070's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    loolooolollollollolllooll

  11. #10
    ZXCOBON's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    I honestly don't know why people post stuff without helping others.

    The purpose of a forum is to be apart of the hacking community or community in general.
    Yet, every forum i go into its the same ole bull. Those top noche coders who release codes to people who don't even know the language. No type of help nothing, your post is useless if you wanna help then explain it to those who don't understand. EVEN after learning c++ this might be difficult for some.

    Good day to you.
    Last edited by ZXCOBON; 03-12-2013 at 03:55 AM.

  12. #11
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Quote Originally Posted by ZXCOBON View Post
    I honestly don't know why people post stuff without helping others.

    The purpose of a forum is to be apart of the hacking community or community in general.
    Yet, every forum i go into its the same ole bull. Those top noche coders who release codes to people who don't even know the language. No type of help nothing, your post is useless if you wanna help then explain it to those who don't understand. EVEN after learning c++ this might be difficult for some.

    Good day to you.
    ^ Mad because you can't copy-paste the ez codez for yaz?

    gtfo.
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  13. #12
    ollering3's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Question Stgarting to hack in C++

    Quote Originally Posted by Farah[Aisyah] View Post
    1. Download the tools
    2. learn the c++
    3. Enjoy ur life..
    Im new and i want to start hacking :s
    And what do i need to learn and where ?
    Last edited by ollering3; 03-12-2013 at 12:12 PM.

  14. #13
    RAWR(:'s Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    South Texas
    Posts
    430
    Reputation
    14
    Thanks
    236
    My Mood
    In Love
    Quote Originally Posted by ollering3 View Post
    Im new and i want to start hacking :s
    And what do i need to learn and where ?
    Head over to the programming sub forum on MPGH. That'll help you get started.

Similar Threads

  1. [Release] Weapon Hack Damage source code (All Weapon)
    By DOOP in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 54
    Last Post: 01-13-2013, 07:45 AM
  2. Can I have all your source code? # Free Bases
    By NoJustice in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 9
    Last Post: 11-27-2011, 02:28 AM
  3. My source code for all my great hacks!!!
    By ilo66 in forum CrossFire Hacks & Cheats
    Replies: 32
    Last Post: 02-26-2010, 02:02 PM
  4. hey all you noobs free hack source codes here!!
    By cnttuchme in forum C++/C Programming
    Replies: 6
    Last Post: 10-22-2009, 05:52 PM
  5. ALL OF MY VISUAL BASIC SOURCE CODES!!
    By Pixie in forum Visual Basic Programming
    Replies: 5
    Last Post: 08-08-2009, 10:36 AM