Thread: cPlayerManager

Results 1 to 5 of 5
  1. #1
    NotRealPro's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    1

    Question cPlayerManager

    This class is causing me to crash Can someone give me the updated one or am I doing something wrong?

    What I have:
    Code:
    class cPlayerManager
    {
    public:
    	char pad[24];
    	cClientWeaponMgr* WeaponMgr; //0018
    	char unknown0[48];
    	float Pitch; //0048
    	float Yaw; //004C
    	float Roll;
    	char unknown3[220];
    	int* CameraObject; //012C
    	__inline CClientWeapon* GetCurrentWeapon()
    	{
    		if( WeaponMgr && WeaponMgr->CurrentWeapon )
    			return WeaponMgr->CurrentWeapon;
    		return NULL;
    	}
    };
    How I am using it:
    Code:
    cPlayerManager*	pPlayerManager;
    pPlayerManager= *(cPlayerMgr**)ADDR_PLAYERMANAGER; //0x37809C0B <-- What its defined as
    
    
    // A few lines of code here, but they are working fine
    
    LocalPlayer.CameraObject = pPlayerManager->CameraObject; // <-- Crashes on this line
    Where am I going wrong?

    Creds to @Xipher for the addy ^^
    Last edited by NotRealPro; 06-25-2012 at 01:24 PM.

  2. #2
    NotRealPro's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    1
    Cant someone help :\

  3. #3
    Xipher's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Melbourne, AU.
    Posts
    1,784
    Reputation
    472
    Thanks
    1,688
    My Mood
    Innocent
    Addie is wrong, the cplayer stuff got logged wrong :/

  4. #4
    NotRealPro's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Xipher View Post
    Addie is wrong, the cplayer stuff got logged wrong :/
    That would explain a lot, can you hook me up?

  5. #5
    fakeness's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    0
    Can somebody please post the new cPlayer addies or at least a dumped CA