Thread: help

Results 1 to 3 of 3
  1. #1
    zerooww's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    Somewhere in Philippines
    Posts
    25
    Reputation
    10
    Thanks
    1
    My Mood
    Blah

    help

    Code:
    #include <windows.h>
    #include <stdio.h>
    
    #define ADR_Playerpointer 0x00A903E
    #define ADR_Serverpointer 0x00A8F39
    #define ADR_WeaponGlobal1 0x00AAE498
    #define ADR_WeaponGlobal2 0x00B024E0
    
    DWORD *ingame = (DWORD*)ADR_Playerpointer;
    DWORD *outgame = (DWORD*)ADR_Serverpointer;
    
    class CWeaponInformations
    {
    public:
         char padd1[132];            <-------------------- how to get that?
         DWORD dwDamage; // 0x84  
         DWORD dwDefence; //0x88
         DWORD dwRange; // 0x8C   
         DWORD dwAmmoNum; //0x90   
         DWORD dwMagazineNum; //0x94 
         DWORD dwEffectRange; //0x98  
         DWORD dwParabola; // 0x9C
    	 char padd2[12];
         DWORD dwShotSpeed; //0xAC 
         DWORD dwWeight; //0xB0
    };
    
    
    CWeaponInformations* getWeaponInfo(int index, DWORD ptr)
    {
        DWORD dwPtrToWeapons = *(DWORD *)(ptr + 0x40);
        if(!dwPtrToWeapons)   
            return 0;       
    
        DWORD dwPtrToDesiredWeapon = *(DWORD *)(dwPtrToWeapons + index);
        
        if(!dwPtrToDesiredWeapon)
            return 0;    
        
        return (CWeaponInformations*)(dwPtrToDesiredWeapon);
    }
    
    
    // Initialize Class
    CWeaponInformations* weaponInformations = getWeaponInfo(66, ADR_WeaponGlobal1);
    CWeaponInformations* weaponInformations2 = getWeaponInfo(66, ADR_WeaponGlobal2);
    
    // How To Use
    
    void AMMO()
    {
    	weaponInformations->dwAmmoNum = 9;
            weaponInformations->dwRange = 9000000;
            weaponInformations->dwEffectRange = 90000;
    }
    
    
    void HackThread()
    {
    for(;; )
    {
    if(*ingame)
    {
    AMMO();
    }
    if(*outgame)
    {
    }
    Sleep(200);
    }
    }
    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
    {
    if(dwReason == DLL_PROCESS_ATTACH)
    {
    MessageBoxA(NULL, "Testing Lang xD", "Made by: ME", MB_OK);
    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
    }
    return TRUE;
    }
    Last edited by Mayion; 02-17-2015 at 07:33 PM.

  2. #2
    Mayion's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Bed
    Posts
    13,504
    Reputation
    4018
    Thanks
    8,373
    My Mood
    Twisted
    @ @zerooww What do you need help with?
    I do not use any type of messenger outside of MPGH.
    Inactive but you can reach me through VM/PM.










     

    Donator - 30 August 2013
    Battlefield Minion - 26 October 2013

    Blackshot Minion - 14 January 2014/16 September 2014
    Minecraft Minion - 7 February 2014/16 September 2014
    WarRock Minion - 23 February 2014
    League of Legends Minion - 21 March 2014

    Minion+ - 15 May 2014
    Other Semi-Popular First Person Shooter Minion - 8 August 2014
    CrossFire Minion - 23 October 2014
    Programming Section Minion - 13 November 2014
    Marketplace Minion - 7 December 2014

    Official Middleman - 7 December 2014 - 27 June 2015
    Moderator - 29 December 2014
    Project Blackout Minion - 10 January 2015
    News Force Interviewer - January 2015
    Steam Games Minion - 21 March 2015
    Dragon Nest Minion - 31 March 2015
    Publicist - April 2015 - 21 September 2015
    Global Moderator - 25 August 2015
    Super User - 13 August 2016



  3. #3
    People aren't against you;
    They are for themselves

    Former Staff
    Premium Member
    Kevin's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Home
    Posts
    12,471
    Reputation
    2145
    Thanks
    1,894
    My Mood
    Tired
    Enough time has passed without another user response, considered solved/closed
    Please contact me through PM, I rarely check MPGH IM


    MPGH Minion+ 2/5/2019 - 12/1/2020
    Call of Duty Minion 12/23/2017 - 12/1/2020
    MPGH Minion 12/23/2017 - 2/5/2019
    MPGH Minion+ 2/2/2016 - 8/9/2016
    NewsForce Writer 1/1/2016 - 8/9/2016
    CockSucker 7/24/2015 - 7/25/2015
    Other Semi-Popular FPS Hacks Minion 12/27/2015 - 8/9/2016
    Combat Arms Minion 11/4/2015 - 8/9/2016
    Maplestory Minion 6/1/15 - 8/9/2016
    League of Legends Minion 6/1/2015 - 8/9/2016
    Other FPS Hacks Minion 5/31/2015 - 8/9/2016
    Minecraft Marketplace Minion 6/18/2015 - 9/15/2015
    Combat Arms Marketplace Minion 4/05/2015 - 6/2/2015
    Marketplace Minion 8/1/2014 - 6/2/2015
    MPGH Minion 8/1/2014 - 2/2/2016

    Pharaoh (#7) 5/01/2014 - 5/31/2014
    Premium Member 2/1/2014 - Current
    Official Middle Man 12/12/2013 - 6/2/2015
    Member 11/15/2009 - Current

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 Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 03:17 AM
  3. [Help Request] Injector Admin help
    By asdfgas in forum Combat Arms Help
    Replies: 4
    Last Post: 04-27-2011, 06:12 PM
  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