Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CCPlayer
- {
- public:
- __int32 Total_PP_1; //0x0000
- __int32 Total_PP_2; //0x0004
- float Current_Player_Health; //0x0008
- char z_crap0[8]; //0x000C
- __int32 Zombie_Kill_Count; //0x0014
- char z_crap1[24]; //0x0018
- __int32 Attack_Attribute; //0x0030
- __int32 Speed_Attribute; //0x0034
- __int32 Health_Blocks_Attribute; //0x0038
- __int32 Inventory_Size_Attribute; //0x003C
- __int32 Throw_Distance_Attribute; //0x0040
- char z_crap2[8]; //0x0044
- __int32 Total_Cash; //0x004C
- char z_crap3[4]; //0x0050
- __int32 Total_Spent_Cash; //0x0054
- };//Size=0x0058(88)
- class CAmmo
- {
- public:
- float Current_Value; //0x0000
- float Max_Value; //0x0004
- char z_crap0[60]; //0x0008
- __int32 End_Of_Struct; //0x0044
- };//Size=0x0048(72)
- class CTime
- {
- public:
- __int32 Time_Untill_Millitary_Arives; //0x0000 in Seconds
- };//Size=0x004(4)
- CCPlayer *GetLocalPlayer( )
- {
- DWORD DeadRising2_Base = ( DWORD )GetModuleHandle( "deadrising2.exe" );
- DWORD LocalPlayer_Address_1 = ( *(DWORD*)(DeadRising2_Base + 0x009D57C4) );
- DWORD LocalPlayer_Address_2 = ( *(DWORD*)(LocalPlayer_Address_1 + 0xD0) );
- DWORD LocalPlayer_Address_3 = ( *(DWORD*)(LocalPlayer_Address_2 + 0x20) );
- DWORD LocalPlayer_Address_4 = ( *(DWORD*)(LocalPlayer_Address_3 + 0x10) );
- DWORD LocalPlayer_Address_5 = ( *(DWORD*)(LocalPlayer_Address_4 + 0x374) );
- return ( CCPlayer* )LocalPlayer_Address_5;
- }
- CTime *GetTimeAddress( )
- {
- DWORD DeadRising2_Base = ( DWORD )GetModuleHandle( "deadrising2.exe" );
- DWORD Address_1 = ( *(DWORD*)(DeadRising2_Base + 0x009D41CC) );
- DWORD Address_2 = ( *(DWORD*)(Address_1 + 0x284) );
- DWORD Address_3 = ( *(DWORD*)(Address_2 + 0x2C) );
- DWORD Address_4 = ( *(DWORD*)(Address_3 + 0xA4) );
- DWORD Address_5 = ( *(DWORD*)(Address_4 + 0x134) );
- DWORD Address_6 = ( *(DWORD*)(Address_5 + 0x720) );
- return ( CTime* )Address_6;
- }
- CTime * LocalTime = GetTimeAddress( );
- CCPlayer * LocalPlayer = GetLocalPlayer( );
- /*
- CPlayer:
- ¯¯¯¯¯¯¯¯¯¯¯¯
- To Change PP Amount:
- 1.) Change 'Total_PP_1' to x
- 2.) Change 'Total_PP_2' to x
- <--**Notes**-->
- 1.) Changing PP amount past end of level value will require you to gain at least 1 more PP in-game to level up.
- 2.) 'Total_Cash' and 'Total_Spent_Cash' can be changed to any value lower then 0xFFFFFFFF or 4294967295.
- 3.) 'Current_Player_Health' is a float value and every health block in the game is 100 in the 'Current_Player_Health' value.
- 4.) 'Current_Health_Blocks' and 'Current_Inventory_Size' are both limited to 12.
- 5.) Max Health value is 12000.0f
- 6.) 'Attack_Attribute' max value is 7.
- 7.) 'Speed_Attribute' max value is 3.
- 8.) 'Throw_Distance_Attribute' max value is 5.
- CTime:
- ¯¯¯¯¯¯¯¯¯¯
- To set 'Time_Untill_Millitary_Arives' to 80 Hours:
- 1.) Set it to 288000 or (80 * 60 * 60)
- <--**Notes**-->
- 1.) 'Time_Untill_Millitary_Arives' is the amount of time left untill the millitary arives in seconds.
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement