Raised This Month: $51 Target: $400
 12% 

[L4D/L4D2]Weapon Cleaner (2.2.5)


Post New Thread Reply   
 
Thread Tools Display Modes
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 04-07-2019 , 13:27   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #11

Updated:
Quote:
2019-04-07 (v1.1.5)
*Fix error log in timer:Array index is out of bounds
*Change format HEX color to RGB color in cvar:weapon_cleaner_effect_glowcolor

2019-03-23 (v1.1.0)
*Fix remove effects on weapon equip(L4D2)
*Fix WhiteList in cvar:weapon_cleaner_exclude(ty yagura40977)
*Improved check weapons on spawn(ty Dragokas)
*Add new cvar: weapon_cleaner_mode(request by Dragokas)
*Add new cvar: weapon_cleaner_class(ty Lux)
xZk is offline
yagura40977
Junior Member
Join Date: Feb 2019
Old 04-23-2019 , 12:30   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #12

// 1:Clean only Weapons that do not belong to the spawn class, 2:Clean only Weapons of the class with suffix: "_spawn", 3:All weapons with any class name("weapon_*")
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "3.000000"
weapon_cleaner_class "3"


[L4D2] Infected Loot Drops (2.3d)
https://forums.alliedmods.net/showthread.php?p=1099583

weapon_cleaner v1.1.5 normal work

thank you
yagura40977 is offline
yagura40977
Junior Member
Join Date: Feb 2019
Old 05-11-2019 , 13:21   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #13

L 05/12/2019 - 00:142: Info (map "c1m1_hotel") (file "errors_20190512.log")
L 05/12/2019 - 00:142: [SM] Exception reported: Array index out-of-bounds (index -1, limit 2049)
L 05/12/2019 - 00:142: [SM] Blaming: weapon_cleaner\weapon_cleaner-1.1.5.smx
L 05/12/2019 - 00:142: [SM] Call stack trace:
L 05/12/2019 - 00:142: [SM] [1] Line 231, C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ weapon_cleaner-1.1.5.sp::CleanWeapon
L 05/12/2019 - 00:143: [SM] Exception reported: Array index out-of-bounds (index -1, limit 2049)
L 05/12/2019 - 00:143: [SM] Blaming: weapon_cleaner\weapon_cleaner-1.1.5.smx
L 05/12/2019 - 00:143: [SM] Call stack trace:
L 05/12/2019 - 00:143: [SM] [1] Line 231, C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ weapon_cleaner-1.1.5.sp::CleanWeapon
L 05/12/2019 - 00:144: [SM] Exception reported: Array index out-of-bounds (index -1, limit 2049)


Endless
yagura40977 is offline
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 05-12-2019 , 15:33   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #14

Thanks yagura40977 for reporting
Update v1.2:
Code:
2019-05-12 (v1.2.0)
*Fix errors log by killing timer function and entities with classname "trigger_active_weapon_detect"
*Changed cvar: weapon_cleaner_mode -> weapon_cleaner_drop
*Add new cvar: weapon_cleaner_effect_glowrange
xZk is offline
yagura40977
Junior Member
Join Date: Feb 2019
Old 05-14-2019 , 12:40   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #15

Thank you
yagura40977 is offline
Voevoda
Senior Member
Join Date: Aug 2016
Old 11-20-2019 , 22:00   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #16

@xZk
Hi

please WhiteList add melee weapon support

weapon_cleaner_exclude "knife" (does not work)

Last edited by Voevoda; 11-20-2019 at 22:04.
Voevoda is offline
Voevoda
Senior Member
Join Date: Aug 2016
Old 11-29-2019 , 21:08   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #17

Quote:
L 11/30/2019 - 04:53:04: SourceMod error session started
L 11/30/2019 - 04:53:04: Info (map "c2m1_highway") (file "/home/l4d2_ruversus/serverfiles/left4dead2/addons/sourcemod/logs/errors_20191130.log")
L 11/30/2019 - 04:53:04: [SM] Exception reported: Entity 1 (1) is invalid
L 11/30/2019 - 04:53:04: [SM] Blaming: weapon_cleaner.smx
L 11/30/2019 - 04:53:04: [SM] Call stack trace:
L 11/30/2019 - 04:53:04: [SM] [0] GetEntPropString
L 11/30/2019 - 04:53:04: [SM] [1] Line 766, D:\sborka_versus_1.10\sourcemod-1.10.0-git6451_weapon\include\entity.inc::GetEntityC lassname
L 11/30/2019 - 04:53:04: [SM] [2] Line 486, D:\sborka_versus_1.10\sourcemod-1.10.0-git6451_weapon\weapon_cleaner.sp::IsValidWeap on
L 11/30/2019 - 04:53:04: [SM] [3] Line 534, D:\sborka_versus_1.10\sourcemod-1.10.0-git6451_weapon\weapon_cleaner.sp::IsItemValid
L 11/30/2019 - 04:53:04: [SM] [4] Line 633, D:\sborka_versus_1.10\sourcemod-1.10.0-git6451_weapon\weapon_cleaner.sp::UnloadPlugi n
L 11/30/2019 - 04:53:04: [SM] [5] Line 102, D:\sborka_versus_1.10\sourcemod-1.10.0-git6451_weapon\weapon_cleaner.sp::OnPluginEnd
L 11/30/2019 - 04:53:04: Error log file session closed.
Voevoda is offline
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 11-30-2019 , 16:42   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #18

small Update
Quote:
2019-11-30 (v1.2.5)
*Fix errors log by invalid entity OnPluginUnload
*Added WhiteList melee weapon names support
thanks Voevoda
xZk is offline
Voevoda
Senior Member
Join Date: Aug 2016
Old 12-01-2019 , 14:14   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #19

Quote:
Originally Posted by xZk View Post
small Update

thanks Voevoda
weapon_cleaner_exclude "ammo_pack,ammo,melee,gascan,propanetank,knif e,tonfa,machete,katana,cricket_bat,baseball_b at"


deleted anyway tonfa,ammo_pack,ammo

Quote:
01/2019 - 22:182: [SM] Exception reported: Property "m_hOwner" not found (entity 822/weapon_spawn)
L 12/01/2019 - 22:182: [SM] Blaming: weapon_cleaner.smx
L 12/01/2019 - 22:182: [SM] Call stack trace:
L 12/01/2019 - 22:182: [SM] [0] GetEntPropEnt
L 12/01/2019 - 22:182: [SM] [1] Line 457, D:\sborka_versus_1.10\sourcemod-1.10.0-git6451_weapon\weapon_cleaner.sp::IsWeaponInU se
L 12/01/2019 - 22:182: [SM] [2] Line 235, D:\sborka_versus_1.10\sourcemod-1.10.0-git6451_weapon\weapon_cleaner.sp::OnSpawn
L 12/01/2019 - 22:182: [SM] Exception reported: Property "m_hOwner" not found (entity 823/weapon_spawn)
L 12/01/2019 - 22:182: [SM] Blaming: weapon_cleaner.smx
L 12/01/2019 - 22:182: [SM] Call stack trace:
L 12/01/2019 - 22:182: [SM] [0] GetEntPropEnt
L 12/01/2019 - 22:182: [SM] [1] Line 457, D:\sborka_versus_1.10\sourcemod-1.10.0-git6451_weapon\weapon_cleaner.sp::IsWeaponInU se
L 12/01/2019 - 22:182: [SM] [2] Line 235, D:\sborka_versus_1.10\sourcemod-1.10.0-git6451_weapon\weapon_cleaner.sp::OnSpawn

Last edited by Voevoda; 12-01-2019 at 14:31.
Voevoda is offline
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 12-02-2019 , 14:42   Re: [L4D/L4D2]Weapon Cleaner
Reply With Quote #20

small fix update
Quote:
2019-12-2 (v1.2.7)
*New cvar: "weapon_cleaner_map"
*Fix errors Property "m_hOwner" not found
*Added detect weapons spawn classes for Whitelist
thanks Voevoda again

Last edited by xZk; 12-02-2019 at 14:43.
xZk is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode