Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    sam1's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    6
    My Mood
    Dead

    Local Player Structs[free]

    my mate got this for me , idk where he got it


    Code:
    377B0858 // Local Pointer for CA NA
    
    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
    };


    can be used to make something like this:





    useage eg:
    Code:
    if( engine->GetLocal()->goToInfoClass->goToSomething->bIsAlive == 1 )
    		{
    			if( engine->GetLocal()->goToInfoClass->goToStats )
    			{	
    				//We store our stats into global variables while we are alive because 
    				//it reads the stats from the camera object keeping it from reading other peoples stats when we die
    				//or something like that...
    
    				cVar.Kills = (float)engine->GetLocal()->goToInfoClass->goToStats->iKills;
    				cVar.Deaths = (float)engine->GetLocal()->goToInfoClass->goToStats->iDeaths;
    				cVar.Headshots = (float)engine->GetLocal()->goToInfoClass->goToStats->iHeadShots;
    
    				if( cVar.Headshots != 0.0f && cVar.Kills != 0.0f )
    					cVar.HeadshotRatio = ( cVar.Headshots / cVar.Kills ) * 100.0f;
    				else
    					cVar.HeadshotRatio = 0.0f;
    
    				if( cVar.Deaths != 0.0f && cVar.Kills != 0.0f )
    					cVar.KillDeathRatio = ( cVar.Kills / cVar.Deaths );
    				else
    					cVar.KillDeathRatio = 0.0f;
    			}
    		}



    what it does

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

    Amatowarrior (10-12-2010),IrNo0bz (10-11-2010)

  3. #2
    IrNo0bz's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    1
    My Mood
    Doh
    Thats cool hope it works.

  4. #3
    sam1's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    6
    My Mood
    Dead
    and that cVar.Kills = (float)engine->GetLocal()->goToInfoClass->goToStats->iKills; can also be used with like ammo and health to make like god mode


    eg


    Code:
    // GodMode
    if(pMain->goToInfoClass->iCurrentHealth, pMain->goToInfoClass->iCurrentHealth < 100){
        (pMain->goToInfoClass->iCurrentHealth, pMain->goToInfoClass->iCurrentHealth = 100);
    }


    Code:
    //unlimited ammo
    if(pMain->goToInfoClass->goToWepInfo->iGrenadesLeft < 2){
        if(pMain->goToInfoClass->goToWepInfo->iGrenadesLeft = 30);
    }

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

    Amatowarrior (10-12-2010),Tibirius (10-12-2010)

  6. #4
    Tibirius's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Elm Street, not sleeping
    Posts
    1,046
    Reputation
    12
    Thanks
    99
    My Mood
    Amused
    Quote Originally Posted by sam1 View Post
    and that cVar.Kills = (float)engine->GetLocal()->goToInfoClass->goToStats->iKills; can also be used with like ammo and health to make like god mode


    eg


    Code:
    // GodMode
    if(pMain->goToInfoClass->iCurrentHealth, pMain->goToInfoClass->iCurrentHealth < 100){
        (pMain->goToInfoClass->iCurrentHealth, pMain->goToInfoClass->iCurrentHealth = 100);
    }


    Code:
    //unlimited ammo
    if(pMain->goToInfoClass->goToWepInfo->iGrenadesLeft < 2){
        if(pMain->goToInfoClass->goToWepInfo->iGrenadesLeft = 30);
    }
    those are both visual only but still fun

  7. #5
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    https://mpgh.net MPGHCash: $442,596,199
    Posts
    5,645
    Reputation
    26
    Thanks
    896
    My Mood
    Happy
    isnt this credit to gellin?

  8. #6
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Why does Combat Arms crash when I try to use this? ._.

    (Tried a while back, same class)

  9. #7
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Already been posted by Crash & Stephen

  10. #8
    .L33T's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    80
    Reputation
    9
    Thanks
    49
    My Mood
    Cool
    And made by Gellin.

  11. #9
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    this is 1:1 leeched by *will not say it, u must only know its leeched*
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  12. #10
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Open thread should be closed thread.

  13. The Following User Says Thank You to Crash For This Useful Post:

    IcySeal (10-12-2010)

  14. #11
    Tony Stark`'s Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Chicago
    Posts
    5,365
    Reputation
    212
    Thanks
    459
    at least give creds

  15. #12
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    I made this..
    Now me my creds

  16. #13
    whatup777+'s Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    246
    Reputation
    11
    Thanks
    15
    I thought this was out of date....

  17. #14
    -InFinity's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Dominican Republic.
    Posts
    1,198
    Reputation
    -49
    Thanks
    63
    My Mood
    Chatty
    This should be useful





    [IMG]https://img.photobucke*****m/albums/v470/Chronologix/Sig/mpghm.gif[/IMG]
    [IMG]https://img.photobucke*****m/albums/v470/Chronologix/Sig/mpgha.gif[/IMG]


    Use My Free VIP Hacks!

    Here Are My Free VIP Hacks.

  18. #15
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    Creditz:
    Gellin

    u can google it..
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

Page 1 of 2 12 LastLast

Similar Threads

  1. CA Player Structs
    By whatup777 in forum Reverse Engineering
    Replies: 1
    Last Post: 10-02-2010, 08:34 PM
  2. [Release] Local Player Pointer
    By ipwnuuaal5 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 09-04-2010, 03:14 PM
  3. Local PLayer Structs
    By DeadLinez in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 07-26-2010, 11:48 AM
  4. Local Player Structs
    By UnOwN CoD3R in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 07-16-2010, 11:40 PM
  5. [AssaultCube]Get local player entity
    By Retoxified in forum C++/C Programming
    Replies: 1
    Last Post: 04-04-2010, 10:24 PM