Make sure "l4d_weapon_amount_modifier.cfg" is configured to only allow a single weapon to spawn.
If I set 1 primary weapon per spot
Code:
l4d_wam_weapon_amount "1"
It will only spawn one weapon at the beginning, the other players will have no gun to shot.
Finally I set it to 4, although it still create multi shotgun, but less than before, I can stand it.
L 02/05/2023 - 13:419: [SM] Exception reported: Property "m_iPrimaryAmmoType" not found (entity 286/weapon_rifle_desert_spawn)
L 02/05/2023 - 13:419: [SM] Blaming: l4d2_RandomAmmo.smx
L 02/05/2023 - 13:419: [SM] Call stack trace:
L 02/05/2023 - 13:419: [SM] [0] GetEntProp
L 02/05/2023 - 13:419: [SM] [1] Line 872, l4d2_RandomAmmo.sp::Weapon_GetPrimaryAmmoType
L 02/05/2023 - 13:419: [SM] [2] Line 860, l4d2_RandomAmmo.sp::SetClientReservedAmmo
L 02/05/2023 - 13:419: [SM] [3] Line 697, l4d2_RandomAmmo.sp::Event_Player_Use
L 02/05/2023 - 13:41:41: [SM] Exception reported: Property "m_iPrimaryAmmoType" not found (entity 286/weapon_rifle_desert_spawn)
L 02/05/2023 - 13:41:41: [SM] Blaming: l4d2_RandomAmmo.smx
L 02/05/2023 - 13:41:41: [SM] Call stack trace:
L 02/05/2023 - 13:41:41: [SM] [0] GetEntProp
L 02/05/2023 - 13:41:41: [SM] [1] Line 872, l4d2_RandomAmmo.sp::Weapon_GetPrimaryAmmoType
L 02/05/2023 - 13:41:41: [SM] [2] Line 860, l4d2_RandomAmmo.sp::SetClientReservedAmmo
L 02/05/2023 - 13:41:41: [SM] [3] Line 697, l4d2_RandomAmmo.sp::Event_Player_Use
sonicmaster155 : seems to work fine
sonicmaster155 : it must be something on my server then
L 02/05/2023 - 13:42:24: [SM] Exception reported: Property "m_iPrimaryAmmoType" not found (entity 492/weapon_hunting_rifle_spawn)
L 02/05/2023 - 13:42:24: [SM] Blaming: l4d2_RandomAmmo.smx
L 02/05/2023 - 13:42:24: [SM] Call stack trace:
L 02/05/2023 - 13:42:24: [SM] [0] GetEntProp
L 02/05/2023 - 13:42:24: [SM] [1] Line 872, l4d2_RandomAmmo.sp::Weapon_GetPrimaryAmmoType
L 02/05/2023 - 13:42:24: [SM] [2] Line 860, l4d2_RandomAmmo.sp::SetClientReservedAmmo
L 02/05/2023 - 13:42:24: [SM] [3] Line 697, l4d2_RandomAmmo.sp::Event_Player_Use
L 02/05/2023 - 13:422: [SM] Exception reported: Property "m_iPrimaryAmmoType" not found (entity 494/weapon_sniper_military_spawn)
L 02/05/2023 - 13:422: [SM] Blaming: l4d2_RandomAmmo.smx
L 02/05/2023 - 13:422: [SM] Call stack trace:
L 02/05/2023 - 13:422: [SM] [0] GetEntProp
L 02/05/2023 - 13:422: [SM] [1] Line 872, l4d2_RandomAmmo.sp::Weapon_GetPrimaryAmmoType
L 02/05/2023 - 13:422: [SM] [2] Line 860, l4d2_RandomAmmo.sp::SetClientReservedAmmo
L 02/05/2023 - 13:422: [SM] [3] Line 697, l4d2_RandomAmmo.sp::Event_Player_Use
L 02/05/2023 - 13:42:54: [SM] Exception reported: Property "m_iPrimaryAmmoType" not found (entity 521/weapon_shotgun_spas_spawn)
L 02/05/2023 - 13:42:54: [SM] Blaming: l4d2_RandomAmmo.smx
L 02/05/2023 - 13:42:54: [SM] Call stack trace:
L 02/05/2023 - 13:42:54: [SM] [0] GetEntProp
L 02/05/2023 - 13:42:54: [SM] [1] Line 872, l4d2_RandomAmmo.sp::Weapon_GetPrimaryAmmoType
L 02/05/2023 - 13:42:54: [SM] [2] Line 860, l4d2_RandomAmmo.sp::SetClientReservedAmmo
L 02/05/2023 - 13:42:54: [SM] [3] Line 697, l4d2_RandomAmmo.sp::Event_Player_Use
L 02/05/2023 - 13:43:01: [SM] Exception reported: Property "m_iPrimaryAmmoType" not found (entity 520/weapon_autoshotgun_spawn)
L 02/05/2023 - 13:43:01: [SM] Blaming: l4d2_RandomAmmo.smx
L 02/05/2023 - 13:43:01: [SM] Call stack trace:
L 02/05/2023 - 13:43:01: [SM] [0] GetEntProp
L 02/05/2023 - 13:43:01: [SM] [1] Line 872, l4d2_RandomAmmo.sp::Weapon_GetPrimaryAmmoType
L 02/05/2023 - 13:43:01: [SM] [2] Line 860, l4d2_RandomAmmo.sp::SetClientReservedAmmo
L 02/05/2023 - 13:43:01: [SM] [3] Line 697, l4d2_RandomAmmo.sp::Event_Player_Use
L 02/05/2023 - 13:43:06: [SM] Exception reported: Property "m_iPrimaryAmmoType" not found (entity 519/weapon_shotgun_chrome_spawn)
L 02/05/2023 - 13:43:06: [SM] Blaming: l4d2_RandomAmmo.smx
L 02/05/2023 - 13:43:06: [SM] Call stack trace:
L 02/05/2023 - 13:43:06: [SM] [0] GetEntProp
L 02/05/2023 - 13:43:06: [SM] [1] Line 872, l4d2_RandomAmmo.sp::Weapon_GetPrimaryAmmoType
L 02/05/2023 - 13:43:06: [SM] [2] Line 860, l4d2_RandomAmmo.sp::SetClientReservedAmmo
L 02/05/2023 - 13:43:06: [SM] [3] Line 697, l4d2_RandomAmmo.sp::Event_Player_Use
L 02/05/2023 - 13:43:12: [SM] Exception reported: Property "m_iPrimaryAmmoType" not found (entity 518/weapon_pumpshotgun_spawn)
L 02/05/2023 - 13:43:12: [SM] Blaming: l4d2_RandomAmmo.smx
L 02/05/2023 - 13:43:12: [SM] Call stack trace:
L 02/05/2023 - 13:43:12: [SM] [0] GetEntProp
L 02/05/2023 - 13:43:12: [SM] [1] Line 872, l4d2_RandomAmmo.sp::Weapon_GetPrimaryAmmoType
L 02/05/2023 - 13:43:12: [SM] [2] Line 860, l4d2_RandomAmmo.sp::SetClientReservedAmmo
L 02/05/2023 - 13:43:12: [SM] [3] Line 697, l4d2_RandomAmmo.sp::Event_Player_Use
L 02/05/2023 - 13:43:22: [SM] Exception reported: Property "m_iPrimaryAmmoType" not found (entity 523/weapon_smg_silenced_spawn)
L 02/05/2023 - 13:43:22: [SM] Blaming: l4d2_RandomAmmo.smx
L 02/05/2023 - 13:43:22: [SM] Call stack trace:
L 02/05/2023 - 13:43:22: [SM] [0] GetEntProp
L 02/05/2023 - 13:43:22: [SM] [1] Line 872, l4d2_RandomAmmo.sp::Weapon_GetPrimaryAmmoType
L 02/05/2023 - 13:43:22: [SM] [2] Line 860, l4d2_RandomAmmo.sp::SetClientReservedAmmo
L 02/05/2023 - 13:43:22: [SM] [3] Line 697, l4d2_RandomAmmo.sp::Event_Player_Use
Last edited by sonic155; 02-05-2023 at 21:16.
Reason: adding video
Thank you for your prompt! But I won't update the plugin.
There are too many problems in the current version plugin, I plan to rewrite it with dhhoks.
I try to fix these problems in the new version.