Skip to content

Commit b097dad

Browse files
committed
Merge branch 'master' into player_settings_update
2 parents 7dfe61b + 39fb61d commit b097dad

File tree

30 files changed

+387
-110
lines changed

30 files changed

+387
-110
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
_clip = m_iClip1
1414
_secondary_fire_clip = m_iClip2
1515
flip_view_model = LocalWeaponData.m_bFlipViewModel
16+
world_model_index = m_iWorldModelIndex
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[property]
2+
3+
owner_handle = m_hOwner
4+
weapon_handle = m_hWeapon

addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,34 @@ srv_check = False
5656
[instance_attribute]
5757

5858
[[mvps]]
59-
offset_windows = 9740
60-
offset_linux = 9764
59+
offset_windows = 9748
60+
offset_linux = 9772
6161
type = INT
6262

6363
[[clan_tag]]
64-
offset_windows = 8576
65-
offset_linux = 8600
64+
offset_windows = 8584
65+
offset_linux = 8608
6666
type = STRING_ARRAY
6767

6868

6969
[property]
7070

71+
stamina = cslocaldata.m_flStamina
72+
shots_fired = cslocaldata.m_iShotsFired
7173
armor = m_ArmorValue
7274
has_defuser = m_bHasDefuser
75+
has_helmet = m_bHasHelmet
7376
has_nightvision = m_bHasNightVision
77+
in_bomb_zone = m_bInBombZone
78+
in_buy_zone = m_bInBuyZone
79+
in_rescue_zone = m_bInHostageRescueZone
80+
is_defusing = m_bIsDefusing
7481
nightvision_on = m_bNightVisionOn
7582
flash_duration = m_flFlashDuration
7683
flash_alpha = m_flFlashMaxAlpha
7784
cash = m_iAccount
85+
player_class = m_iClass
86+
player_state = m_iPlayerState
7887
ragdoll = m_hRagdoll
7988

8089
[[eye_angle]]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[property]
2+
3+
item_definition_index = m_AttributeManager.m_Item.m_iItemDefinitionIndex

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
[virtual_function]
2+
3+
# _ZN9CTFPlayer10BumpWeaponEP17CBaseCombatWeapon
4+
[[bump_weapon]]
5+
offset_linux = 400
6+
offset_windows = 399
7+
arguments = POINTER
8+
return_type = BOOL
9+
10+
111
[property]
212

313
ragdoll = m_hRagdoll

addons/source-python/data/source-python/weapons/csgo.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# can also be incgrenade or even simply setting a player on fire
1010
# no real way to determine this, unfortunately
1111
inferno = "molotov"
12+
knife_default_ct = "knife"
1213

1314

1415
[projectiles]

addons/source-python/data/source-python/weapons/hl2mp.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
ammoprop = "localdata.m_iAmmo."
44
myweapons = "m_hMyWeapons."
55

6+
7+
[special names]
8+
npc_tripmine = "slam"
9+
10+
611
[projectiles]
712
crossbow_bolt = "crossbow"
813
grenade_ar2 = "smg1"

addons/source-python/docs/source-python/source/contributing/reporting-a-bug.rst

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Reporting a bug
2+
===============
3+
4+
If you think you found a bug, please let us know! This is very important for
5+
us, because it helps to improve Source.Python. We prefer bugs to be reported via
6+
`Github <https://github.com/Source-Python-Dev-Team/Source.Python/issues>`_.
7+
8+
When reporting a bug, please consider the following points:
9+
10+
1. Precisly describe your problem.
11+
2. Provide the output of the server command ``sp info``.
12+
3. Post your SP log file.
13+
4. If your server crashes, add ``-debug`` to your command line and post the resulting ``debug.log``.
14+
5. Add instructions on how to reproduce the bug.
15+
16+
Thank you!

addons/source-python/docs/source-python/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ General
2626
general/config-auth
2727
general/sp-commands
2828
general/known-issues
29+
general/reporting-a-bug
2930
general/credits
3031

3132

@@ -51,7 +52,6 @@ Contributing to Source.Python
5152
contributing/building
5253
contributing/contributing
5354
contributing/coding-conventions
54-
contributing/reporting-a-bug
5555
contributing/todos
5656

5757

0 commit comments

Comments
 (0)