Thread: NoRecoil help

Results 1 to 14 of 14
  1. #1
    maximus8011's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    7

    Unhappy NoRecoil help

    #include "stdafx.h"

    #include "Hacks.h"
    cHacks* Hacks;

    cHacks::cHacks()
    {
    DWORD CShell = (DWORD) GetModuleHandleA("CShell.dll");
    if(!CShell) return;

    dwWeaponMgr = *(DWORD*)GetAddressFromOffset(CShell, WeaponMgrOffset);
    dwWallMgr = *(DWORD*)GetAddressFromOffset(CShell, WallMgrOffset);
    dwPlayerMgr = *(DWORD*)GetAddressFromOffset(CShell, PlayerMgrOffset);
    dwPlayerInfo= *(DWORD*)GetAddressFromOffset(CShell, PlayerInfoOffset);

    if(dwWeaponMgr && dwWallMgr && dwPlayerMgr && dwPlayerInfo)
    {
    for(int i = 0; i < 560; i++)
    {
    DWORD Weapon = *(DWORD*)GetAddressFromOffset(dwWeaponMgr, (4*i));
    if(Weapon)
    {
    *(float*)GetAddressFromOffset(Weapon, WeaponMgr->BulletPosOffset1) = 0.0f;
    *(float*)GetAddressFromOffset(Weapon, WeaponMgr->BulletPosOffset2) = 0.0f;
    *(float*)GetAddressFromOffset(Weapon, WeaponMgr->BulletPosOffset3) = 0.0f;
    *(float*)GetAddressFromOffset(Weapon, WeaponMgr->BulletPosOffset4) = 0.0f;
    *(float*)GetAddressFromOffset(Weapon, WeaponMgr->BulletPosOffset5) = 0.0f;
    *(float*)GetAddressFromOffset(Weapon, WeaponMgr->BulletPosOffset6) = 0.0f;
    *(float*)GetAddressFromOffset(Weapon, WeaponMgr->BulletPosOffset7) = 0.0f;
    }
    }
    }
    else
    return;
    }

    bool cHacks::ReadyForHacks()
    {
    if(GetModuleHandleA("CShell.dll") != NULL && GetModuleHandleA("ClientFX.fxd") != NULL && GetModuleHandleA("crossfire.exe") != NULL)
    return true;
    return false;
    }

    DWORD cHacks::GetAddressFromOffset(DWORD Base, DWORD Offset)
    {
    if(Base)
    return (Base + Offset);
    else
    return NULL;
    }


    What's wrong with my code?

    i use Jeff base.
    Last edited by maximus8011; 11-30-2011 at 06:56 AM.

  2. #2
    moathebest's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    308
    Reputation
    17
    Thanks
    249
    My Mood
    Paranoid
    lol u cant copy and paste some ones base and ask for help+.... if u rly know coding..u could fix some of OBVIOUS AS SUN errors
    V4 The best Release..No joke... 4 More Features!! Here is the link

    https://www.mpgh.net/forum/175-crossf...ures-best.html


  3. #3
    maximus8011's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    7
    Quote Originally Posted by moathebest View Post
    lol u cant copy and paste some ones base and ask for help+.... if u rly know coding..u could fix some of OBVIOUS AS SUN errors
    you do not use your own base (because you do not know how to make a base), you use Swiftdude´s base .So...yes i use Jeff's base,it's easy and very nice.(thanks again Jeff and credits for base)

    1. I posted for help not for critique.
    2. i make hack for me.
    Last edited by maximus8011; 11-30-2011 at 08:03 AM.

  4. #4
    badboy3's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Seattle , Washington, USA
    Posts
    839
    Reputation
    40
    Thanks
    88
    My Mood
    Tired
    bro you need to learn c++...and the way it is set right know you can make it into a hack ....just put the pointer offsets ....and your done...simple....

  5. #5
    maximus8011's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    7
    look in Jeff's base to see the pointers are in WeaponMgr class.

    i dont have any error when i debug but in game nothing happened.
    Last edited by maximus8011; 11-30-2011 at 07:54 AM.

  6. #6
    Hexicidal's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    What?
    Posts
    3,619
    Reputation
    -405
    Thanks
    6,106
    My Mood
    Busy
    Can you type the error ?

  7. #7
    maximus8011's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    7
    I dont have any error when i debug but, in game nothing happened.

  8. #8
    Zacherl's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    150
    Reputation
    10
    Thanks
    42
    My Mood
    Aggressive
    Quote Originally Posted by moathebest View Post
    lol u cant copy and paste some ones base and ask for help+.... if u rly know coding..u could fix some of OBVIOUS AS SUN errors
    Master leecher and leader of copy & paste noobs has spoken

  9. The Following User Says Thank You to Zacherl For This Useful Post:

    maximus8011 (11-30-2011)

  10. #9
    Hexicidal's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    What?
    Posts
    3,619
    Reputation
    -405
    Thanks
    6,106
    My Mood
    Busy
    Quote Originally Posted by maximus8011 View Post
    I dont have any error when i debug but, in game nothing happened.
    Make sure the addy is updated

  11. #10
    GunBoy120's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    In my house lol
    Posts
    102
    Reputation
    10
    Thanks
    5
    My Mood
    Cheerful
    L E E C H E R

  12. #11
    maximus8011's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    7
    the addy are updated,i dont have any error when i debug,but in game not working.
    I have the same recoil.
    i try to make a hack for my own use, don't try to make a hack to upload and say it's mine.



    1> Creating "Debug\sxs.unsuccessfulbuild" because "AlwaysCreate" was specified.
    1>ClCompile:
    1> All outputs are up-to-date.
    1> All outputs are up-to-date.
    1> sxs.cpp
    1>ManifestResourceCompile:
    1> All outputs are up-to-date.
    1>Manifest:
    1> All outputs are up-to-date.
    1>LinkEmbedManifest:
    1> All outputs are up-to-date.
    1> sxs.vcxproj -> C:\Documents and Settings\ \My Documents\Visual Studio 2010\Projects\sxs\Debug\sxs.dll
    1>FinalizeBuildStatus:
    1> Deleting file "Debug\sxs.unsuccessfulbuild".
    1> Touching "Debug\sxs.lastbuildstate".
    1>
    1>Build succeeded.
    1>
    1>Time Elapsed 00:00:08.60
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
    Last edited by maximus8011; 11-30-2011 at 12:02 PM.

  13. #12
    |Skrillex|'s Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    118
    Reputation
    22
    Thanks
    155
    My Mood
    Bored
    1.offsets not addys xDDDD
    2.i think ur offsets are outdated

    if(dwWeaponMgr && dwWallMgr && dwPlayerMgr && dwGhostMgr && dwFallMgr)
    {
    for(int i = 0; i < 560; i++)
    { for(int y = 0; y<9; y++)
    {
    DWORD Weapon = *(DWORD*)GetAddressFromOffset(dwWeaponMgr, (4*i));
    if(Weapon)
    {

    //NoRecoil
    *(float*)( Weapon + (0x0xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x0xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x1xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x1xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x1xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x2xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x2xxx + (4*y))) = (float)0;
    give me credits or i kill you ^^
    Last edited by |Skrillex|; 11-30-2011 at 02:01 PM.

  14. The Following 2 Users Say Thank You to |Skrillex| For This Useful Post:

    matheusgtx (11-30-2011),maximus8011 (11-30-2011)

  15. #13
    maximus8011's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    7
    Quote Originally Posted by |Skrillex| View Post
    1.offsets not addys xDDDD
    2.i think ur offsets are outdated

    if(dwWeaponMgr && dwWallMgr && dwPlayerMgr && dwGhostMgr && dwFallMgr)
    {
    for(int i = 0; i < 560; i++)
    { for(int y = 0; y<9; y++)
    {
    DWORD Weapon = *(DWORD*)GetAddressFromOffset(dwWeaponMgr, (4*i));
    if(Weapon)
    {

    //NoRecoil
    *(float*)( Weapon + (0x0xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x0xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x1xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x1xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x1xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x2xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x2xxx + (4*y))) = (float)0;
    give me credits or i kill you ^^

    i make a mistake with offsets and addy.
    i now what it's addy and what it's a offsets.

    and you are the best.Thanks again

    problem solved.
    Last edited by maximus8011; 11-30-2011 at 03:16 PM.

  16. #14
    Royku's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    G-Force.dll
    Posts
    3,015
    Reputation
    381
    Thanks
    3,308
    My Mood
    Devilish
    Quote Originally Posted by |Skrillex| View Post
    1.offsets not addys xDDDD
    2.i think ur offsets are outdated

    if(dwWeaponMgr && dwWallMgr && dwPlayerMgr && dwGhostMgr && dwFallMgr)
    {
    for(int i = 0; i < 560; i++)
    { for(int y = 0; y<9; y++)
    {
    DWORD Weapon = *(DWORD*)GetAddressFromOffset(dwWeaponMgr, (4*i));
    if(Weapon)
    {

    //NoRecoil
    *(float*)( Weapon + (0x0xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x0xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x1xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x1xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x1xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x2xxx + (4*y))) = (float)0;
    *(float*)( Weapon + (0x2xxx + (4*y))) = (float)0;
    give me credits or i kill you ^^

    Man.. Dont tell them
    Anyway Solved

    Just add a Loop
    Code:
     
    For(Int y = 0; y < 9; y++)
    and add this to your Code
    Code:
    +(4*y)
    ~Closed
    Last edited by Royku; 11-30-2011 at 03:19 PM.

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 05:06 PM
  2. Help| Norecoil
    By Fistuk in forum All Points Bulletin Reloaded Hacks
    Replies: 1
    Last Post: 11-14-2011, 07:15 PM
  3. [Help Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 03:17 AM
  4. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 07:15 PM
  5. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 01:41 PM