Results 1 to 11 of 11
  1. #1
    LionelMessi10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,125
    Reputation
    114
    Thanks
    4,545
    My Mood
    Aggressive

    Player Stats - Class



    Class

    Code:
    Pointer :
    
    0x3718B4E7 // This Address is CA BR
    
    Classes :
    
    class Main;
    class Info;
    class Stats;
    class WepInfo;
    class Something;
    
    class Main
    {
    public:
    	Info* goToInfoClass; //0000
    };
    
    class Info
    {
    public:
    	char unknown0[8];
    	__int32 Unknown1; //0008
    	__int32 iCurrentHealth; //000C
    	char unknown2[4];
    	__int32 iMaxHealth; //0014
            char unknown3[4];
    	WepInfo* goToWepInfo;//001C
    	Something* goToSomething; //0020
    	char unknown4[348];
    	float fStamina; //0180
    	char unknown5[8];
    	__int32 iWeaponSlotInUse; //018C
    	float fCameraSomething; //0190
    	float fCameraSomething2; //0194
    	float fCameraSomething3; //0198
    	char unknown6[32];
    	Stats* goToStats; //01BC
    };
    
    class WepInfo
    {
    public:
    	__int32 iBackPackABulletsLeft; //0000
    	__int32 i2ndaryBulletsLeft; //0004
    	__int32 Unknown0; //0008
    	__int32 iGrenadesLeft; //000C
    	__int32 iBackPackBBulletsLeft; //0010
    };
    
    class Stats
    {
    public:
    	char unknown0[16];
    	char szLocalNameChangesInKill[16]; //0010
    	char unknown1[12];
    	__int32 iKills; //002C
    	__int32 iDeaths; //0030
    	char unknown2[44];
    	__int32 iHeadShots; //0060
    };
    
    class Something
    {
    public:
    	BYTE bIsAlive; //0000
    };
    How to use

    Code:
    void FillRGB( int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9* pDevice )
    {
    
        D3DRECT rec = { x, y, x + w, y + h };
        pDevice->Clear( 1, &rec, D3DCLEAR_TARGET, color, 0, 0 );
    }
    
    void DrawBorder( int x, int y, int w, int h, int px, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice )
    {
        FillRGB( x, (y + h - px), w, px,    BorderColor, pDevice );
        FillRGB( x, y, px, h,                BorderColor, pDevice );
        FillRGB( x, y, w, px,                BorderColor, pDevice );
        FillRGB( (x + w - px), y, px, h,    BorderColor, pDevice );
    } 
    
    void DrawHealthbar(int x, int y, int w, int h, D3DCOLOR barCol, D3DCOLOR borCol, int hp, int maxhp)
    {
    
    FillRGB(x, y, ( hp / (double)maxhp ) * w, h, barCol, pDevice);
    DrawBorder(x, y, w, h, borColor, pDevice);
    
    }
    
    DrawHealthbar(15, 15, 125, 15, pMain->gotoInfoClass->iCurrentHealth, pMain->gotoInfoClass->iMaxHealth);
    
    double kills = pMain->gotoInfoClass->gotoStatsClass->iKills, deaths = pMain->gotoStatsClass->gotoStatsClass->iDeaths, kdr;
    char *cKDR;
    
    kdr = kills / deaths;
    
    sprintf(cKDR, "Current KDR : %0.02f", kdr);
    Credits:
    Gellin
    Crash

  2. The Following 2 Users Say Thank You to LionelMessi10 For This Useful Post:

    ..:Sasuke:.. (02-22-2011),topblast (12-28-2010)

  3. #2
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,992
    My Mood
    Flirty
    posted already ages ago

  4. #3
    GodHack2's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    645
    Reputation
    38
    Thanks
    762
    My Mood
    Amused
    crash already posted this





    beat this bitches ^^^^^^^

    Current Stats : Bored :/


    Respect list :
    Crash !
    Gordon'
    Markoj

  5. #4
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85
    xD I was just looking at Crashes post! http://www.mpgh.me/forum/207-combat-...yer-stats.html
    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  6. #5
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,067
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Copy + Paste except he took out the
    "//etc..."
    Dont ban me

  7. #6
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85
    Guys, give him a break, as you can see he gave credits. Also I noticed that he posted the CABR Pointer, so he's just posting the stuff here again so you don't have to go look for it...
    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  8. The Following User Says Thank You to seeplusplus For This Useful Post:

    topblast (12-28-2010)

  9. #7
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,706
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    Lol why are you posting this in CA NA. Go post it in BR as if your using the BR Pointer.

  10. #8
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,159
    Reputation
    379
    Thanks
    5,762
    My Mood
    In Love
    old is old .
    Keep me motivated for my hack development!

  11. #9
    ^...,^'s Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    New Zealand,Auckland
    Posts
    699
    Reputation
    4
    Thanks
    89
    My Mood
    Lonely
    older then my mom

    but i agree....credits added....

  12. #10
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by seeplusplus View Post
    Guys, give him a break, as you can see he gave credits. Also I noticed that he posted the CABR Pointer, so he's just posting the stuff here again so you don't have to go look for it...
    Pretty easy to find it, just search KeepCurrentAmmo until you find the last string, go to it and go three addresses up.


  13. #11
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,706
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    Quote Originally Posted by Crash View Post
    Pretty easy to find it, just search KeepCurrentAmmo until you find the last string, go to it and go three addresses up.

    Rofl nice. Didnt think of that in first place.
    Last edited by Fabolous; 12-28-2010 at 04:59 PM.