Advertisement
ScriptzMoDz

BO2 Offsets/Addresses [1.18]

Aug 25th, 2014
664
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.02 KB | None | 0 0
  1. G_FreeEntity = 0x279140
  2. G_FreeTurret = 0x2B98E8,
  3. G_Find = 0x27894C
  4. G_ModelIndex = 0x276180
  5. G_EntAttach = 0x27783C
  6. G_EntDetach = 0x277A00
  7. G_EntDetachAll = 0x277BB4
  8. SL_FindLowercaseString = 0x48EAB8
  9. SL_GetString = 0x48F108
  10. G_DObjGetWorldTagPos = 0x2781A4
  11. Weapon_RocketLauncher_Fire = 0x2A5C28
  12. G_FireGrenade = 0x215B08
  13. G_EntLink = 0x2AD440
  14. G_EntUnlink = 0x2AD5C0
  15. G_SetOrigin = 0x279698
  16. G_SetAngle = 0x279D78
  17. G_AddEvent = 0x279950
  18. G_GivePlayerWeapon = 0x2A8364
  19. G_InitializeAmmo = 0x1E6838
  20. SetClientViewAngles = 0x1E1D90
  21. Player_Die = 0x1FD510
  22. SV_GetConfigString = 0x2671B0
  23. SV_SetConfigString = 0x34C738
  24. Scr_PlayerKilled = 0x248F20
  25. ScriptEntCmdGetCommandTimes = 0x267208
  26. ScriptMover_SetupMove = 0x268A38
  27. Trace_GetEntityHitID = 0x306F30
  28. G_GetPlayerViewOrigin = 0x1E60D0
  29. G_LocationalTrace = 0x35C5A8
  30. SV_LinkEntity = 0x359C00
  31. SV_UnlinkEntity = 0x359B3C
  32. ClientThink = 0x1E0B38
  33. ClientThink_real = 0x1DF850
  34. BG_GetWeaponDef = 0x607098
  35. G_TempEntity = 0x279740
  36. G_SetModel = 0x277644
  37. G_Spawn = 0x278C60
  38. G_SpawnTurret = 0x2BA5C8
  39. G_SpawnHelicopter = 0x22C558
  40. SP_Turret = 0x2BAE58
  41. SP_script_model = 0x2670E8
  42. SP_script_brushmodel = 0x267074
  43. SP_script_origin = 0x2671B0
  44. R_SetFrameFog = 0x7AA1E0
  45. Add_Ammo = 0x208B48
  46. FPS = 0x3979EC
  47. CheatProtection = 0x3DBF70
  48. ServerDetails = 0xF57FC5
  49. ServerCache = 0xF57FE4
  50. FPS = 0x3979EC
  51. G_LocalizedStringIndex = 0x275D24
  52. G_SoundAliasIndex = 0x4F495C
  53. SV_GameSendServerCommand = 0x34A1DC
  54. Cbuf_AddText = 0x313E88
  55. Key_IsDown = 0x1185BC (Pointer = 0xF0A7CC)
  56. G_GetWeaponIndexForName = 0x2A6BE8
  57. cl_ingame = 0x1CB68E8
  58. vectoangles = 0x3CAE00
  59. vectoyaw = 0x3CAC18
  60.  
  61. Non-Host | Red Box = 0x783E0 (0x38, 0x60, 0x00, 0x01)
  62. Non-Host | Disable Red Box Perk Check = 0x78604 (0x60, 0x00, 0x00, 0x00)
  63. Non-Host | VSAT = 0x33C60 (0x60, 0x00, 0x00, 0x00)
  64. Non-Host | No Recoil = 0xF9E54 (0x60, 0x00, 0x00, 0x00)
  65. LocalPlayerName = 0x26C067F
  66. level_locals_t = 0x1608100
  67. G_MaterialIndex = 0x276020
  68. G_HudElems = 0x15DDB00
  69. HUDIndexSize = 0x88
  70.  
  71.  
  72. To Use these add any of these values to G_Client, Example G_Client + 0x34 = Client Velocity, To Get To The Next Client Just Do A Simple Sum Like G_Client + Value + (clientIndex * 0x5808) or you can use this (0x5808 Is G_Client Size)
  73.  
  74. public UInt32 G_Client(int clientIndex, UInt32 Mod = 0x00)
  75. {
  76. return (0x1780F28+ (UInt32)Mod) + ((UInt32)clientIndex * 0x5808);
  77. }
  78.  
  79. Then you can do G_Client(0, 0x34); - Velocity for client 0
  80.  
  81. G_Client = 0x1780F28
  82. ClientVelocity = 0x34 //float[3]
  83. ClientFriction = 0xC //float[3]
  84. ClientCurrentWeapon = 0x1B8 //Int32
  85. ClientFreeze = 0x5694 //Int32
  86. ClientViewModel = 0x54F4 //Int32
  87. ClientButtonMonitoring = 0x569C //Int32
  88. ClientAnalogRight = 0x5463, //Int16
  89. ClientAnalogLeft = 0x5460, //Int16
  90. ClientPlayerName = 0x5544 //String
  91. ClientOrigin = 0x28 //float[3]
  92. ClientAngles = 0x56BC //float[3]
  93. ClientCurrentViewModel = 0x54F4 //Int32
  94. ClientTeam = 0x5504 //Int32
  95. ClientIsAlive = 0x55D0 //Int32
  96. ClientStance = 0xFC //Int32
  97. ClientGodMode = 0x18 //Int32
  98. ClientPerks = 0x548 //
  99. ClientPrimaryCamo = 0x2D8 //Int32
  100. ClientSecondaryCamo = 0x2BC //Int32
  101. ClientTactical = 0x30C //Int32
  102. ClientLethal = 0x2F0 //Int32
  103. ClientKillstreak1 = 0x42B //Int32
  104. ClientKillstreak2 = 0x4302 //Int32
  105. ClientKillstreak3 = 0x434 //Int32
  106. PrimaryAmmo = 0x43C //Int32
  107. SecondaryAmmo = 0x438 //Int32
  108. LethalAmmo = 0x440 //Int32
  109. TacticalAmmo = 0x444 //Int32
  110. CurrentWeaponInView = 0x1B8 //Int32 (By Sticky)
  111. LocationSelectorMap = 0x4B0 //Int32
  112. LocationSelectorType = 0x4B4 //Int32
  113.  
  114. To Use these add any of these values to G_Entity, Example G_Entity + 0x134 = Entity/Client Origin, To Get To The Next Entity Just Do A Simple Sum Like G_Entity + Value + (clientIndex * 0x31C) or you can use this (0x31C Is Entity Size)
  115.  
  116. public static UInt32 G_Entity(int entityIndex, UInt32 Mod = 0x00)
  117. {
  118. return (0x16B9F20 + (UInt32)Mod) + ((UInt32)entityIndex * 0x31C);
  119. }
  120.  
  121. Then you can do G_Entity(0, 0x134); - Origin for entity/client 0
  122.  
  123. G_Entity = 0x16B9F20
  124. G_EntitySize = 0x31C
  125. EntModelIndex = 0x16C //Int32
  126. EntOrigin = 0x134 //float[3]
  127. EntAngles = 0x140 //float[3]
  128.  
  129. To Use these add any of these values to client_s, To Get To The Next client Just Do A Simple Sum Like client_s + Value + (clientIndex * 0x4E180) or you can use this (0x4E180 Is Index Size)
  130.  
  131. client_s = 0x1BB6CC0
  132. client_s Size = 0x4E180
  133.  
  134. Found By SC58
  135.  
  136. To Use these add any of these values to centity_s, To Get To The Next client Just Do A Simple Sum Like client_s + Value + (clientIndex * 0x374) or you can use this (0x374 Is Index Size)
  137.  
  138. centity_s = 0x37910610
  139. centity_s Size = 0x374
  140. centity_s Origin = 0x2C
  141.  
  142. To Use these add any of these values to level_locals_t, Example G_Entity + 0x798 = Level Time.
  143.  
  144. public static UInt32 level_locals_t(UInt32 Mod = 0x00)
  145. {
  146. return (0x1608100 + (UInt32)Mod);
  147. }
  148.  
  149. Then you can do level_locals_t(0, 0x798); - level_time
  150.  
  151. level_locals_t = 0x1608100
  152. ObjectiveIndex = 0x94
  153. LevelTime = 0x798 //Int32
  154. EnablePrecache = 0x40 //Int32
  155. LocationSelectorDefaultSize = 0x2B04 //float
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement