Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.05 KB | None | 0 0
  1. class CCPlayer
  2. {
  3. public:
  4.     __int32                     Total_PP_1;                             //0x0000  
  5.     __int32                     Total_PP_2;                             //0x0004  
  6.     float                       Current_Player_Health;                  //0x0008  
  7.     char                    z_crap0[8];                                 //0x000C
  8.     __int32                     Zombie_Kill_Count;                      //0x0014  
  9.     char                    z_crap1[24];                                //0x0018
  10.     __int32                     Attack_Attribute;                       //0x0030
  11.     __int32                     Speed_Attribute;                        //0x0034
  12.     __int32                     Health_Blocks_Attribute;                //0x0038  
  13.     __int32                     Inventory_Size_Attribute;               //0x003C  
  14.     __int32                     Throw_Distance_Attribute;               //0x0040
  15.     char                    z_crap2[8];                                 //0x0044
  16.     __int32                     Total_Cash;                             //0x004C  
  17.     char                    z_crap3[4];                                 //0x0050
  18.     __int32                     Total_Spent_Cash;                       //0x0054
  19. };//Size=0x0058(88)
  20.  
  21. class CAmmo
  22. {
  23. public:
  24.     float                        Current_Value;                          //0x0000  
  25.     float                        Max_Value;                              //0x0004  
  26.     char                     z_crap0[60];                                //0x0008
  27.     __int32                      End_Of_Struct;                          //0x0044  
  28. };//Size=0x0048(72)
  29.  
  30. class CTime
  31. {
  32. public:
  33.     __int32                     Time_Untill_Millitary_Arives;           //0x0000 in Seconds
  34. };//Size=0x004(4)
  35.  
  36. CCPlayer *GetLocalPlayer( )
  37. {
  38.     DWORD DeadRising2_Base          = ( DWORD )GetModuleHandle( "deadrising2.exe" );
  39.     DWORD LocalPlayer_Address_1     = ( *(DWORD*)(DeadRising2_Base + 0x009D57C4) );
  40.     DWORD LocalPlayer_Address_2     = ( *(DWORD*)(LocalPlayer_Address_1 + 0xD0) );
  41.     DWORD LocalPlayer_Address_3     = ( *(DWORD*)(LocalPlayer_Address_2 + 0x20) );
  42.     DWORD LocalPlayer_Address_4     = ( *(DWORD*)(LocalPlayer_Address_3 + 0x10) );
  43.     DWORD LocalPlayer_Address_5     = ( *(DWORD*)(LocalPlayer_Address_4 + 0x374) );
  44.  
  45.     return ( CCPlayer* )LocalPlayer_Address_5;
  46. }
  47.  
  48. CTime *GetTimeAddress( )
  49. {
  50.     DWORD DeadRising2_Base          = ( DWORD )GetModuleHandle( "deadrising2.exe" );
  51.     DWORD Address_1                 = ( *(DWORD*)(DeadRising2_Base + 0x009D41CC) );
  52.     DWORD Address_2                 = ( *(DWORD*)(Address_1 + 0x284) );
  53.     DWORD Address_3                 = ( *(DWORD*)(Address_2 + 0x2C) );
  54.     DWORD Address_4                 = ( *(DWORD*)(Address_3 + 0xA4) );
  55.     DWORD Address_5                 = ( *(DWORD*)(Address_4 + 0x134) );
  56.     DWORD Address_6                 = ( *(DWORD*)(Address_5 + 0x720) );
  57.  
  58.     return ( CTime* )Address_6;
  59. }
  60.  
  61. CTime                *      LocalTime            = GetTimeAddress( );
  62. CCPlayer             *      LocalPlayer          = GetLocalPlayer( );
  63.  
  64. /*
  65.   CPlayer:
  66. ¯¯¯¯¯¯¯¯¯¯¯¯
  67. To Change PP Amount:
  68. 1.) Change 'Total_PP_1' to x
  69. 2.) Change 'Total_PP_2' to x
  70.  
  71. <--**Notes**-->
  72. 1.) Changing PP amount past end of level value will require you to gain at least 1 more PP in-game to level up.
  73. 2.) 'Total_Cash' and 'Total_Spent_Cash' can be changed to any value lower then 0xFFFFFFFF or 4294967295.
  74. 3.) 'Current_Player_Health' is a float value and every health block in the game is 100 in the 'Current_Player_Health' value.
  75. 4.) 'Current_Health_Blocks' and 'Current_Inventory_Size' are both limited to 12.
  76. 5.) Max Health value is 12000.0f
  77. 6.) 'Attack_Attribute' max value is 7.
  78. 7.) 'Speed_Attribute' max value is 3.
  79. 8.) 'Throw_Distance_Attribute' max value is 5.
  80.  
  81.   CTime:
  82. ¯¯¯¯¯¯¯¯¯¯
  83. To set 'Time_Untill_Millitary_Arives' to 80 Hours:
  84. 1.) Set it to 288000 or (80 * 60 * 60)
  85.  
  86. <--**Notes**-->
  87. 1.) 'Time_Untill_Millitary_Arives' is the amount of time left untill the millitary arives in seconds.
  88. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement