Skip to content

Commit 8e6f820

Browse files
committed
Updated some TF2 offsets. (#409)
1 parent 9dfa325 commit 8e6f820

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

addons/source-python/data/source-python/entities/orangebox/tf/CBaseCombatCharacter.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
# _ZN20CBaseCombatCharacter18OnTakeDamage_AliveERK15CTakeDamageInfo
44
[[on_take_damage_alive]]
5-
offset_linux = 276
6-
offset_windows = 275
5+
offset_linux = 277
6+
offset_windows = 276
77
arguments = POINTER
88
return_type = INT
99

1010
# _ZN20CBaseCombatCharacter13Weapon_SwitchEP17CBaseCombatWeaponi
1111
[[weapon_switch]]
12-
offset_linux = 268
13-
offset_windows = 267
12+
offset_linux = 269
13+
offset_windows = 268

addons/source-python/data/source-python/entities/orangebox/tf/CBasePlayer.ini

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
44
[[drop_weapon]]
5-
offset_linux = 267
6-
offset_windows = 266
5+
offset_linux = 268
6+
offset_windows = 267
77
arguments = POINTER, POINTER, POINTER
88

99
# _ZN11CBasePlayer8PreThinkEv
1010
[[pre_think]]
11-
offset_linux = 337
12-
offset_windows = 336
11+
offset_linux = 338
12+
offset_windows = 337
1313

1414
# _ZN11CBasePlayer9PostThinkEv
1515
[[post_think]]
16-
offset_linux = 338
17-
offset_windows = 337
16+
offset_linux = 339
17+
offset_windows = 338
1818

1919
# _ZN11CBasePlayer16PlayerRunCommandEP8CUserCmdP11IMoveHelper
2020
[[run_command]]
21-
offset_linux = 423
22-
offset_windows = 422
21+
offset_linux = 424
22+
offset_windows = 423
2323
arguments = POINTER, POINTER
2424

2525

addons/source-python/data/source-python/entities/orangebox/tf/CTFPlayer.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# _ZN9CTFPlayer10BumpWeaponEP17CBaseCombatWeapon
44
[[bump_weapon]]
5-
offset_linux = 401
6-
offset_windows = 400
5+
offset_linux = 402
6+
offset_windows = 401
77
arguments = POINTER
88
return_type = BOOL
99

0 commit comments

Comments
 (0)