diff --git a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseCombatCharacter.ini b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseCombatCharacter.ini new file mode 100755 index 000000000..326aefa94 --- /dev/null +++ b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseCombatCharacter.ini @@ -0,0 +1,15 @@ +[virtual_function] + + # _ZN20CBaseCombatCharacter13Weapon_SwitchEP17CBaseCombatWeaponi + [[weapon_switch]] + offset_linux = 271 + offset_windows = 270 + arguments = POINTER, INT + return_type = BOOL + + # _ZN20CBaseCombatCharacter18OnTakeDamage_AliveERK15CTakeDamageInfo + [[on_take_damage_alive]] + offset_linux = 279 + offset_windows = 278 + arguments = POINTER + return_type = INT diff --git a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseCombatWeapon.ini b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseCombatWeapon.ini old mode 100644 new mode 100755 index 33b4b73c3..5540468c6 --- a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseCombatWeapon.ini +++ b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseCombatWeapon.ini @@ -2,15 +2,15 @@ # _ZN17CBaseCombatWeapon13PrimaryAttackEv [[primary_attack]] - offset_linux = 274 - offset_windows = 273 + offset_linux = 280 + offset_windows = 279 # _ZN17CBaseCombatWeapon13SecondaryAttackEv [[secondary_attack]] - offset_linux = 275 - offset_windows = 274 + offset_linux = 281 + offset_windows = 280 # _ZN17CBaseCombatWeapon11MaterializeEv [[materialize]] - offset_linux = 349 - offset_windows = 348 + offset_linux = 353 + offset_windows = 352 diff --git a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseEntity.ini b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseEntity.ini new file mode 100755 index 000000000..17975eba6 --- /dev/null +++ b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseEntity.ini @@ -0,0 +1,56 @@ +[virtual_function] + + # _ZN11CBaseEntity11SetTransmitEP18CCheckTransmitInfob + [[set_transmit]] + offset_linux = 23 + offset_windows = 22 + arguments = POINTER, BOOL + + # _ZN11CBaseEntity8SetModelEPKc + [[set_model]] + offset_linux = 27 + offset_windows = 26 + arguments = STRING + + # _ZN11CBaseEntity9SetParentEPS_i + [[set_parent]] + offset_linux = 37 + offset_windows = 36 + arguments = POINTER, INT + + # _ZN11CBaseEntity12OnTakeDamageERK15CTakeDamageInfo + [[on_take_damage]] + offset_linux = 65 + offset_windows = 64 + arguments = POINTER + return_type = INT + + # _ZN11CBaseEntity10StartTouchEPS_ + [[start_touch]] + offset_linux = 101 + offset_windows = 100 + arguments = POINTER + + # _ZN11CBaseEntity5TouchEPS_ + [[touch]] + offset_linux = 102 + offset_windows = 101 + arguments = POINTER + + # _ZN11CBaseEntity8EndTouchEPS_ + [[end_touch]] + offset_linux = 103 + offset_windows = 102 + arguments = POINTER + + # _ZN11CBaseEntity8TeleportEPK6VectorPK6QAngleS2_ + [[teleport]] + offset_linux = 111 + offset_windows = 110 + arguments = POINTER, POINTER, POINTER + + # _ZNK11CBasePlayer25PhysicsSolidMaskForEntityEv + [[get_solid_mask]] + offset_linux = 171 + offset_windows = 170 + return_type = UINT diff --git a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseGrenade.ini b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseGrenade.ini old mode 100644 new mode 100755 index ed2065808..93370d81e --- a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseGrenade.ini +++ b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseGrenade.ini @@ -2,5 +2,5 @@ # _ZN12CBaseGrenade8DetonateEv [[detonate]] - offset_linux = 226 - offset_windows = 225 + offset_linux = 233 + offset_windows = 232 diff --git a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBasePlayer.ini b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBasePlayer.ini old mode 100644 new mode 100755 index 4fc44f35f..363f5c864 --- a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBasePlayer.ini +++ b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CBasePlayer.ini @@ -1,24 +1,54 @@ +[function] + + [[increment_frag_count]] + identifier_windows = 55 8B EC 8B 45 08 01 81 68 0E 00 00 + identifier_linux = _ZN11CBasePlayer18IncrementFragCountEi + arguments = INT + + [[increment_death_count]] + identifier_windows = 55 8B EC 8B 45 08 01 81 6C 0E 00 00 + identifier_linux = _ZN11CBasePlayer19IncrementDeathCountEi + arguments = INT + + [virtual_function] + # _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_ + [[drop_weapon]] + offset_linux = 270 + offset_windows = 269 + arguments = POINTER, POINTER, POINTER + + # _ZN11CBasePlayer8PreThinkEv + [[pre_think]] + offset_linux = 339 + offset_windows = 338 + + # _ZN11CBasePlayer9PostThinkEv + [[post_think]] + offset_linux = 340 + offset_windows = 339 + # _ZN11CBasePlayer10BumpWeaponEP17CBaseCombatWeapon [[bump_weapon]] - offset_linux = 397 - offset_windows = 396 + offset_linux = 404 + offset_windows = 403 arguments = POINTER return_type = BOOL # _ZN11CBasePlayer13GiveNamedItemEPKci [[give_named_item]] - offset_linux = 401 - offset_windows = 400 + offset_linux = 408 + offset_windows = 407 arguments = STRING, INT return_type = POINTER # _ZN11CBasePlayer16PlayerRunCommandEP8CUserCmdP11IMoveHelper [[run_command]] - offset_linux = 419 - offset_windows = 418 + offset_linux = 426 + offset_windows = 425 arguments = POINTER, POINTER + [property] armor = m_ArmorValue diff --git a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CItem.ini b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CItem.ini old mode 100644 new mode 100755 index 5653e7f7d..8a2bda6de --- a/addons/source-python/data/source-python/entities/orangebox/hl2mp/CItem.ini +++ b/addons/source-python/data/source-python/entities/orangebox/hl2mp/CItem.ini @@ -2,5 +2,5 @@ # _ZN5CItem11MaterializeEv [[materialize]] - offset_linux = 218 - offset_windows = 217 + offset_linux = 224 + offset_windows = 223