Advertisement
Guest User

UC

a guest
Sep 5th, 2015
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. Program.cs - Main: Write Commands
  2. Int64 OFFSET_ANGLES = Program.ReadInt64(0x1421e3400);
  3. Int64 GameContext = Program.ReadInt64(OFFSET_ANGLES + 0x4988);
  4. Int64 pManager = Program.ReadInt64(GameContext + 16);
  5.  
  6. Overlay.cs - Main: Client Soldier
  7. Int64 ClientCharacter, OFFSET_SOLDIER, ClientSoldier, inVehicle;
  8. ClientCharacter = Program.ReadInt64(pClientPlayer + 0x14b0);
  9. inVehicle = Program.ReadInt64(pClientPlayer + 0x14c0);
  10. ClientSoldier = Program.ReadInt64(ClientCharacter + 0x0 + 0x40);
  11.  
  12. if (IsValidPtr(ClientSoldier))
  13. {
  14. OFFSET_SOLDIER = ClientSoldier - 0x8;
  15. if (!IsValidPtr(OFFSET_SOLDIER))
  16. OFFSET_SOLDIER = Program.ReadInt64(pClientPlayer + 0x14d0 + 0x40);
  17. }
  18. else
  19. {
  20. OFFSET_SOLDIER = Program.ReadInt64(pClientPlayer + 0x14d0 + 0x40);
  21. }
  22.  
  23. Program.cs - Main: Read Game
  24.  
  25. long OFFSET_SHOTSTATS = Program.ReadInt64(0x1425677C8);
  26. this.ShotsOn = (float)Program.ReadInt32(OFFSET_SHOTSTATS + (long)60);
  27. this.ShotsHit = (float)Program.ReadInt32(OFFSET_SHOTSTATS + (long)64);
  28.  
  29.  
  30. long OFFSET_CLIENTGAMECONTEXT = Program.ReadInt64(0x1424A0C00);
  31. long OFFSET_PLAYERMANAGER = Program.ReadInt64(OFFSET_CLIENTGAMECONTEXT + 0x60);
  32. long OFFSET_LOCALPLAYER = Program.ReadInt64(OFFSET_PLAYERMANAGER + (long)0x540);
  33. long lSoldier = Program.ReadInt64(0x1424A91B0);
  34. //long lSoldier = this.GetClientSoldier(OFFSET_LOCALPLAYER, this.LocalPlayer);
  35.  
  36. long lPosition = Program.ReadInt64(lSoldier + (long)0x490);
  37. long lClassHealth = Program.ReadInt64(lSoldier + (long)0x140);
  38. long pClientWeaponComponent = Program.ReadInt64(lSoldier + (long)0x550);
  39.  
  40. long pWeaponHandle = Program.ReadInt64(pClientWeaponComponent + (long)0x890);
  41. int ActiveSlot = Program.ReadInt32(pClientWeaponComponent + (long)0xa98);
  42.  
  43. long pSoldierWeapon = Program.ReadInt64(pWeaponHandle + ActiveSlot * 0x8);
  44.  
  45. long pCorrectedFiring = Program.ReadInt64(pSoldierWeapon + 0x49c0);
  46.  
  47. (No recoil)
  48. Int64 pSway = Program.ReadInt64(pCorrectedFiring + 0x78);
  49. Int64 pSwayData = Program.ReadInt64(pSway + 0x08);
  50. float m_FirstShotRecoilMultiplier = Program.ReadFloat(pSwayData + 0x374);
  51.  
  52.  
  53. (No spread)
  54. pSway & pSwayData from NoRecoil
  55. float NoSpread = Program.ReadFloat(pSwayData + 0x360);
  56.  
  57.  
  58. (Super climb)
  59. Int64 SuperClimbOffset2 = Program.ReadInt64(OFFSET_CLIENTGAMECONTEXT + 0x60 + 0x540 + 0x14D0 + 0xCF0 + 0x10 + 0x70);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement