Skip to content

Commit 3ba7dc3

Browse files
committed
Updated some data comments.
Moved drop_weapon data to orangebox directory instead of orangebox/cstrike. Updated a couple virtual offset values.
1 parent 2918fa0 commit 3ba7dc3

File tree

10 files changed

+31
-17
lines changed

10 files changed

+31
-17
lines changed

Diff for: addons/source-python/data/source-python/entities/bms/CBaseEntity.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
offset_linux = 116
1919
offset_windows = 115
2020
arguments = POINTER, POINTER, POINTER
21-
21+
2222
# _ZN11CBaseEntity11SetTransmitEP18CCheckTransmitInfob
2323
[[set_transmit]]
2424
offset_linux = 21

Diff for: addons/source-python/data/source-python/entities/bms/CBasePlayer.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
offset_windows = 370
3434
arguments = BOOL
3535

36-
# _ZN11CBasePlayer17FlashlightTurnOffEv
36+
# _ZN11CBasePlayer17FlashlightTurnOffEb
3737
[[turn_flashlight_off]]
3838
offset_linux = 374
3939
offset_windows = 373
4040

41-
# _ZN11CBasePlayer16FlashlightTurnOnEv
41+
# _ZN11CBasePlayer16FlashlightTurnOnEb
4242
[[turn_flashlight_on]]
4343
offset_linux = 373
4444
offset_windows = 372

Diff for: addons/source-python/data/source-python/entities/csgo/CBaseEntity.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ srv_check = False
1515
offset_windows = 67
1616
arguments = POINTER
1717
return_type = INT
18-
18+
1919
# _ZN11CBaseEntity8TeleportEPK6VectorPK6QAngleS2_b
2020
[[teleport]]
2121
offset_linux = 114
2222
offset_windows = 113
2323
arguments = POINTER, POINTER, POINTER
24-
24+
2525
# _ZN11CBaseEntity11SetTransmitEP18CCheckTransmitInfob
2626
[[set_transmit]]
2727
offset_linux = 23

Diff for: addons/source-python/data/source-python/entities/csgo/CKnife.ini

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ srv_check = False
33

44
[virtual_function]
55

6+
# _ZN6CKnife13PrimaryAttackEv
67
[[primary_attack]]
7-
offset_linux = 316
8-
offset_windows = 315
8+
offset_linux = 313
9+
offset_windows = 312
910

11+
# _ZN6CKnife15SecondaryAttackEv
1012
[[secondary_attack]]
11-
offset_linux = 317
12-
offset_windows = 316
13+
offset_linux = 314
14+
offset_windows = 313

Diff for: addons/source-python/data/source-python/entities/csgo/CPlantedC4.ini

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ srv_check = False
33

44
[virtual_function]
55

6+
# _ZN10CPlantedC47ExplodeEP10CGameTracei
67
[[explode]]
78
offset_linux = 236
89
offset_windows = 235

Diff for: addons/source-python/data/source-python/entities/l4d2/CTerrorGun.ini

+6
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
11
[virtual_function]
22

3+
# _ZN10CTerrorGun10AddUpgradeE19SurvivorUpgradeType
34
[[add_upgrade]]
45
offset_linux = 425
56
offset_windows = 424
67
arguments = INT
78

9+
# _ZNK10CTerrorGun10HasUpgradeE19SurvivorUpgradeType
810
[[has_upgrade]]
911
offset_linux = 428
1012
offset_windows = 427
1113
arguments = INT
1214

15+
# _ZNK10CTerrorGun14IsDualWieldingEv
1316
[[is_dual_wielding]]
1417
offset_linux = 412
1518
offset_windows = 411
1619
return_type = BOOL
1720

21+
# _ZN10CTerrorGun16IsWeaponUpgradedEv
1822
[[is_weapon_upgraded]]
1923
offset_linux = 411
2024
offset_windows = 410
2125
return_type = BOOL
2226

27+
# _ZN10CTerrorGun17RemoveAllUpgradesEv
2328
[[remove_all_upgrades]]
2429
offset_linux = 427
2530
offset_windows = 426
2631

32+
# _ZN10CTerrorGun13RemoveUpgradeE19SurvivorUpgradeType
2733
[[remove_upgrade]]
2834
offset_linux = 426
2935
offset_windows = 425

Diff for: addons/source-python/data/source-python/entities/orangebox/CBasePlayer.ini

+10
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@
99
identifier_windows = 55 8B EC 8B 45 08 01 81 FC 0C 00 00
1010
identifier_linux = _ZN11CBasePlayer19IncrementDeathCountEi
1111
arguments = INT
12+
13+
14+
[virtual_function]
15+
16+
# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
17+
[[drop_weapon]]
18+
offset_linux = 264
19+
offset_windows = 263
20+
arguments = POINTER, POINTER, POINTER
21+
return_type = VOID
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[virtual_function]
22

3+
# _ZN12CBaseGrenade8DetonateEv
34
[[detonate]]
4-
# _ZN12CBaseGrenade8DetonateEv
55
offset_linux = 226
66
offset_windows = 225

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

-7
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77
arguments = POINTER
88
return_type = BOOL
99

10-
# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
11-
[[drop_weapon]]
12-
offset_linux = 264
13-
offset_windows = 263
14-
arguments = POINTER, POINTER, POINTER
15-
return_type = VOID
16-
1710
# _ZN11CBasePlayer13GiveNamedItemEPKci
1811
[[give_named_item]]
1912
offset_linux = 402
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[virtual_function]
22

3+
# _ZN6CKnife13PrimaryAttackEv
34
[[primary_attack]]
45
offset_linux = 274
56
offset_windows = 273
67

8+
# _ZN6CKnife15SecondaryAttackEv
79
[[secondary_attack]]
810
offset_linux = 275
911
offset_windows = 274

0 commit comments

Comments
 (0)