Skip to content

Commit 522f285

Browse files
committed
Update gamedata offsets
KirillMysnik's css-linux-feb18-hotfix patch (Thank you!) Source-Python-Dev-Team#504 (comment)
1 parent f9357df commit 522f285

File tree

8 files changed

+49
-47
lines changed

8 files changed

+49
-47
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# ../data/source-python/client/orangebox/CBaseClient.ini
22

33
[virtual_function]
4+
5+
# _ZN11CBaseClient7SetNameEPKc
46
[[set_name]]
57
offset_linux = 57
6-
offset_windows = 17
8+
offset_windows = 18
79
arguments = STRING

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

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

33
# _ZN20CBaseCombatCharacter18OnTakeDamage_AliveERK15CTakeDamageInfo
44
[[on_take_damage_alive]]
5-
offset_linux = 273
6-
offset_windows = 272
5+
offset_linux = 279
6+
offset_windows = 278
77
arguments = POINTER
88
return_type = INT
99

1010
# _ZN20CBaseCombatCharacter13Weapon_SwitchEP17CBaseCombatWeaponi
1111
[[weapon_switch]]
12-
offset_linux = 265
13-
offset_windows = 264
12+
offset_linux = 271
13+
offset_windows = 270
1414
arguments = POINTER, INT
1515
return_type = BOOL

addons/source-python/data/source-python/entities/orangebox/CBaseEntity.ini

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

33
# _ZN11CBaseEntity8SetModelEPKc
44
[[set_model]]
5-
offset_linux = 25
6-
offset_windows = 24
5+
offset_linux = 27
6+
offset_windows = 26
77
arguments = STRING
88

99
# _ZN11CBaseEntity9SetParentEPS_i
1010
[[set_parent]]
11-
offset_linux = 35
12-
offset_windows = 34
11+
offset_linux = 37
12+
offset_windows = 36
1313
arguments = POINTER, INT
1414

1515
# _ZN11CBaseEntity12OnTakeDamageERK15CTakeDamageInfo
1616
[[on_take_damage]]
17-
offset_linux = 63
18-
offset_windows = 62
17+
offset_linux = 65
18+
offset_windows = 64
1919
arguments = POINTER
2020
return_type = INT
2121

2222
# _ZN11CBaseEntity8TeleportEPK6VectorPK6QAngleS2_
2323
[[teleport]]
24-
offset_linux = 109
25-
offset_windows = 108
24+
offset_linux = 111
25+
offset_windows = 110
2626
arguments = POINTER, POINTER, POINTER
2727

2828
# _ZN11CBaseEntity11SetTransmitEP18CCheckTransmitInfob
2929
[[set_transmit]]
30-
offset_linux = 21
31-
offset_windows = 20
30+
offset_linux = 23
31+
offset_windows = 22
3232
arguments = POINTER, BOOL
3333

3434
# _ZN11CBaseEntity10StartTouchEPS_
3535
[[start_touch]]
36-
offset_linux = 99
37-
offset_windows = 98
36+
offset_linux = 101
37+
offset_windows = 100
3838
arguments = POINTER
3939

4040
# _ZN11CBaseEntity5TouchEPS_
4141
[[touch]]
42-
offset_linux = 100
43-
offset_windows = 99
42+
offset_linux = 102
43+
offset_windows = 101
4444
arguments = POINTER
4545

4646
# _ZN11CBaseEntity8EndTouchEPS_
4747
[[end_touch]]
48-
offset_linux = 101
49-
offset_windows = 100
48+
offset_linux = 103
49+
offset_windows = 102
5050
arguments = POINTER
5151

5252
# _ZNK11CBasePlayer25PhysicsSolidMaskForEntityEv
5353
[[get_solid_mask]]
54-
offset_linux = 168
55-
offset_windows = 167
54+
offset_linux = 171
55+
offset_windows = 170
5656
return_type = UINT
5757

5858

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515

1616
# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
1717
[[drop_weapon]]
18-
offset_linux = 264
19-
offset_windows = 263
18+
offset_linux = 270
19+
offset_windows = 269
2020
arguments = POINTER, POINTER, POINTER
2121

2222
# _ZN11CBasePlayer8PreThinkEv
2323
[[pre_think]]
24-
offset_linux = 333
25-
offset_windows = 332
26-
24+
offset_linux = 339
25+
offset_windows = 338
26+
2727
# _ZN11CBasePlayer9PostThinkEv
2828
[[post_think]]
29-
offset_linux = 334
30-
offset_windows = 333
29+
offset_linux = 340
30+
offset_windows = 339

addons/source-python/data/source-python/entities/orangebox/cstrike/CBaseCombatWeapon.ini

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

33
# _ZN17CBaseCombatWeapon13PrimaryAttackEv
44
[[primary_attack]]
5-
offset_linux = 274
6-
offset_windows = 273
5+
offset_linux = 280
6+
offset_windows = 279
77

8-
# _ZN17CBaseCombatWeapon13SecondaryAttackEv
8+
# _ZN17CBaseCombatWeapon15SecondaryAttackEv
99
[[secondary_attack]]
10-
offset_linux = 275
11-
offset_windows = 274
10+
offset_linux = 281
11+
offset_windows = 280

addons/source-python/data/source-python/entities/orangebox/cstrike/CBaseGrenade.ini

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

33
# _ZN12CBaseGrenade8DetonateEv
44
[[detonate]]
5-
offset_linux = 226
6-
offset_windows = 225
5+
offset_linux = 233
6+
offset_windows = 232

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

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

33
# _ZN11CBasePlayer10BumpWeaponEP17CBaseCombatWeapon
44
[[bump_weapon]]
5-
offset_linux = 398
6-
offset_windows = 397
5+
offset_linux = 405
6+
offset_windows = 404
77
arguments = POINTER
88
return_type = BOOL
99

1010
# _ZN11CBasePlayer13GiveNamedItemEPKci
1111
[[give_named_item]]
12-
offset_linux = 402
13-
offset_windows = 401
12+
offset_linux = 409
13+
offset_windows = 408
1414
arguments = STRING, INT
1515
return_type = POINTER
1616

1717
# _ZN11CBasePlayer16PlayerRunCommandEP8CUserCmdP11IMoveHelper
1818
[[run_command]]
19-
offset_linux = 420
20-
offset_windows = 419
19+
offset_linux = 427
20+
offset_windows = 426
2121
arguments = POINTER, POINTER
2222

2323

addons/source-python/data/source-python/entities/orangebox/cstrike/CCSPlayer.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@
3434

3535
# _ZN9CCSPlayer12Weapon_EquipEP17CBaseCombatWeapon
3636
[[equip_weapon]]
37-
offset_linux = 262
38-
offset_windows = 261
37+
offset_linux = 268
38+
offset_windows = 267
3939
arguments = POINTER
4040

4141
# _ZN9CCSPlayer5BlindEfff
4242
[[blind]]
43-
offset_linux = 469
44-
offset_windows = 466
43+
offset_linux = 479
44+
offset_windows = 476
4545
arguments = FLOAT, FLOAT, FLOAT
4646

4747

0 commit comments

Comments
 (0)