Sitelet https://github.com/Source-Python-Dev-Team/Source.Python/pull/535/files
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
[[drop_weapon]]
offset_linux = 270
offset_windows = 269
offset_linux = 271
offset_windows = 270
arguments = POINTER, POINTER, POINTER

# _ZN11CBasePlayer8PreThinkEv
[[pre_think]]
offset_linux = 339
offset_windows = 338
offset_linux = 340
offset_windows = 339

# _ZN11CBasePlayer9PostThinkEv
[[post_think]]
offset_linux = 340
offset_windows = 339
offset_linux = 341
offset_windows = 340

# _ZN11CBasePlayer16PlayerRunCommandEP8CUserCmdP11IMoveHelper
[[run_command]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[virtual_function]

# _ZN20CBaseCombatCharacter18OnTakeDamage_AliveERK15CTakeDamageInfo
[[on_take_damage_alive]]
offset_linux = 280
offset_windows = 279
arguments = POINTER
return_type = INT

# _ZN20CBaseCombatCharacter13Weapon_SwitchEP17CBaseCombatWeaponi
[[weapon_switch]]
offset_linux = 272
offset_windows = 271
arguments = POINTER, INT
return_type = BOOL
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

# _ZN17CBaseCombatWeapon13PrimaryAttackEv
[[primary_attack]]
offset_linux = 280
offset_windows = 279
offset_linux = 281
offset_windows = 280

# _ZN17CBaseCombatWeapon13SecondaryAttackEv
[[secondary_attack]]
offset_linux = 281
offset_windows = 280
offset_linux = 282
offset_windows = 281
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[virtual_function]

# _ZN11CBaseEntity10StartTouchEPS_
[[start_touch]]
offset_linux = 102
offset_windows = 101
arguments = POINTER

# _ZN11CBaseEntity5TouchEPS_
[[touch]]
offset_linux = 103
offset_windows = 102
arguments = POINTER

# _ZN11CBaseEntity8EndTouchEPS_
[[end_touch]]
offset_linux = 104
offset_windows = 103
arguments = POINTER

# _ZN11CBaseEntity8TeleportEPK6VectorPK6QAngleS2_
[[teleport]]
offset_linux = 112
offset_windows = 111
arguments = POINTER, POINTER, POINTER

# _ZNK11CBasePlayer25PhysicsSolidMaskForEntityEv
[[get_solid_mask]]
offset_linux = 172
offset_windows = 171
return_type = UINT


[input]

dispatch_effect = DispatchEffect
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

# _ZN12CBaseGrenade8DetonateEv
[[detonate]]
offset_linux = 233
offset_windows = 232
offset_linux = 234
offset_windows = 233
Original file line number Diff line number Diff line change
@@ -1,23 +1,39 @@
[virtual_function]

# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
[[drop_weapon]]
offset_linux = 271
offset_windows = 270
arguments = POINTER, POINTER, POINTER

# _ZN11CBasePlayer8PreThinkEv
[[pre_think]]
offset_linux = 340
offset_windows = 339

# _ZN11CBasePlayer9PostThinkEv
[[post_think]]
offset_linux = 341
offset_windows = 340

# _ZN11CBasePlayer10BumpWeaponEP17CBaseCombatWeapon
[[bump_weapon]]
offset_linux = 405
offset_windows = 404
offset_linux = 406
offset_windows = 405
arguments = POINTER
return_type = BOOL

# _ZN11CBasePlayer13GiveNamedItemEPKci
[[give_named_item]]
offset_linux = 409
offset_windows = 408
offset_linux = 410
offset_windows = 409
arguments = STRING, INT
return_type = POINTER

# _ZN11CBasePlayer16PlayerRunCommandEP8CUserCmdP11IMoveHelper
[[run_command]]
offset_linux = 427
offset_windows = 426
offset_linux = 428
offset_windows = 427
arguments = POINTER, POINTER


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@

# _ZN9CCSPlayer12Weapon_EquipEP17CBaseCombatWeapon
[[equip_weapon]]
offset_linux = 268
offset_windows = 267
offset_linux = 269
offset_windows = 268
arguments = POINTER

# _ZN9CCSPlayer5BlindEfff
[[blind]]
offset_linux = 479
offset_windows = 476
offset_linux = 480
offset_windows = 477
arguments = FLOAT, FLOAT, FLOAT


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[virtual_function]

# _ZN20CBaseCombatCharacter18OnTakeDamage_AliveERK15CTakeDamageInfo
[[on_take_damage_alive]]
offset_linux = 280
offset_windows = 279
arguments = POINTER
return_type = INT

# _ZN20CBaseCombatCharacter13Weapon_SwitchEP17CBaseCombatWeaponi
[[weapon_switch]]
offset_linux = 272
offset_windows = 271
arguments = POINTER, INT
return_type = BOOL
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

# _ZN17CBaseCombatWeapon13PrimaryAttackEv
[[primary_attack]]
offset_linux = 280
offset_windows = 279
offset_linux = 281
offset_windows = 280

# _ZN17CBaseCombatWeapon13SecondaryAttackEv
[[secondary_attack]]
offset_linux = 281
offset_windows = 280
offset_linux = 282
offset_windows = 281

# _ZN17CBaseCombatWeapon11MaterializeEv
[[materialize]]
offset_linux = 353
offset_windows = 352
offset_linux = 354
offset_windows = 353
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[virtual_function]

# _ZN11CBaseEntity10StartTouchEPS_
[[start_touch]]
offset_linux = 102
offset_windows = 101
arguments = POINTER

# _ZN11CBaseEntity5TouchEPS_
[[touch]]
offset_linux = 103
offset_windows = 102
arguments = POINTER

# _ZN11CBaseEntity8EndTouchEPS_
[[end_touch]]
offset_linux = 104
offset_windows = 103
arguments = POINTER

# _ZN11CBaseEntity8TeleportEPK6VectorPK6QAngleS2_
[[teleport]]
offset_linux = 112
offset_windows = 111
arguments = POINTER, POINTER, POINTER

# _ZNK11CBasePlayer25PhysicsSolidMaskForEntityEv
[[get_solid_mask]]
offset_linux = 172
offset_windows = 171
return_type = UINT


[input]

dispatch_effect = DispatchEffect
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

# _ZN12CBaseGrenade8DetonateEv
[[detonate]]
offset_linux = 233
offset_windows = 232
offset_linux = 234
offset_windows = 233
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,40 @@

[virtual_function]

# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
[[drop_weapon]]
offset_linux = 271
offset_windows = 270
arguments = POINTER, POINTER, POINTER

# _ZN11CBasePlayer8PreThinkEv
[[pre_think]]
offset_linux = 340
offset_windows = 339

# _ZN11CBasePlayer9PostThinkEv
[[post_think]]
offset_linux = 341
offset_windows = 340

# _ZN11CBasePlayer10BumpWeaponEP17CBaseCombatWeapon
[[bump_weapon]]
offset_linux = 404
offset_windows = 403
offset_linux = 405
offset_windows = 404
arguments = POINTER
return_type = BOOL

# _ZN11CBasePlayer13GiveNamedItemEPKci
[[give_named_item]]
offset_linux = 408
offset_windows = 407
offset_linux = 409
offset_windows = 408
arguments = STRING, INT
return_type = POINTER

# _ZN11CBasePlayer16PlayerRunCommandEP8CUserCmdP11IMoveHelper
[[run_command]]
offset_linux = 426
offset_windows = 425
offset_linux = 427
offset_windows = 426
arguments = POINTER, POINTER


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

# _ZN5CItem11MaterializeEv
[[materialize]]
offset_linux = 224
offset_windows = 223
offset_linux = 225
offset_windows = 224