Raised This Month: $32 Target: $400
 8% 

[L4D2] Weapon Remove


Post New Thread Reply   
 
Thread Tools Display Modes
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-12-2016 , 02:04   [L4D1+2] Weapon Remove v1.3
Reply With Quote #11

Changes:
  • Some improvements in the code.
  • Rewrited with new syntax.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_weaponremove 1.3.0.sp - 1163 views - 13.4 KB)
__________________
Grey83 is offline
KoMiKoZa
Senior Member
Join Date: Dec 2017
Location: Thy old times.
Old 12-18-2018 , 11:46   Re: [L4D1+2] Weapon Remove v1.3
Reply With Quote #12

Quote:
Originally Posted by Grey83 View Post
Changes:
  • Some improvements in the code.
  • Rewrited with new syntax.
Your version doesn't seem to work while all the previous ones do (Linux server).

Quote:
Originally Posted by DeathChaos25 View Post
I don't know if this is why the bug happens, but, you guys forgot to code the ConVar changed event, meaning if someone changes the value mid game, the plugin is never told so until it is reset, so it'll never change until the plugins are unloaded and refreshed or until a map change.
Sometimes, weapons found throughout the map are infinite (like in vanilla), any idea why that happens? It kind of works once, then doesn't.

Last edited by KoMiKoZa; 12-18-2018 at 11:47.
KoMiKoZa is offline
bald14
Member
Join Date: Aug 2021
Old 09-28-2021 , 15:55   Re: [L4D2] Weapon Remove
Reply With Quote #13

Quote:
L 09/29/2021 - 02:47:57: [SM] Call stack trace:
L 09/29/2021 - 02:47:57: [SM] [1] Line 143, /home/groups/alliedmodders/forums/files/2/2/3/5/3/3/116093.attach::Event_SpawnerGiveItem
L 09/29/2021 - 02:48:04: [SM] Exception reported: Array index out-of-bounds (index 64, limit 64)
L 09/29/2021 - 02:48:04: [SM] Blaming: l4d1-2_weaponremover_v1.02.smx
Can someone fix it ?
bald14 is offline
Sempiro
Member
Join Date: Apr 2014
Old 10-01-2021 , 02:19   Re: [L4D2] Weapon Remove
Reply With Quote #14

Quote:
Originally Posted by bald14 View Post
Can someone fix it ?
Just use the one provided by Hanzoligen, it works for me just fine.
Sempiro is offline
Shao
Senior Member
Join Date: Jan 2015
Old 11-04-2021 , 01:57   Re: [L4D2] Weapon Remove
Reply With Quote #15

The working version of this plugin causes server crashes when having more than 4 survivors.
Shao is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-04-2021 , 07:42   Re: [L4D2] Weapon Remove
Reply With Quote #16

Quote:
Originally Posted by Shao View Post
The working version of this plugin causes server crashes when having more than 4 survivors.
Which is the working version?

oof these methods.. counting how many times used etc. iirc you can just set the infinity spawn flag off or set the m_iCount value to 1. Footlocker used to do this before I had to manually count to fix bugs on Hard Rain where _spawn weapons would stay permanently.
__________________

Last edited by Silvers; 11-04-2021 at 07:47.
Silvers is offline
Shao
Senior Member
Join Date: Jan 2015
Old 11-05-2021 , 06:34   Re: [L4D2] Weapon Remove
Reply With Quote #17

Quote:
Originally Posted by Silvers View Post
Which is the working version
1.02 was the one. While this plugin does have a neat way of managing weapons unlike 1gunspawns, it has caused my server a lot of weird problems. Like running out of space model errors? I never thought something like it could cause this.

Yeah those unlimited pesky weapon spawns are really annoying, wam.smx was one of the better functional ones to use without breaking the return route spawns, but unlimited ammo can still be abused.

Last edited by Shao; 11-05-2021 at 06:37.
Shao is offline
BloodyBlade
Senior Member
Join Date: Feb 2018
Old 08-29-2022 , 00:48   Re: [L4D2] Weapon Remove
Reply With Quote #18

* Converted the source code of the original plugin to the latest syntax.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_deleteweapon.sp - 83 views - 1.5 KB)

Last edited by BloodyBlade; 08-29-2022 at 00:49.
BloodyBlade is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 08-29-2022 , 05:51   Re: [L4D2] Weapon Remove
Reply With Quote #19

* Requires Sourcemod 1.9+

>>> Source on Github <<<
__________________

Last edited by Ja-Forces; 03-25-2024 at 06:13.
Ja-Forces is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 01-15-2023 , 08:37   Re: [L4D2] Weapon Remove
Reply With Quote #20

Quote:
Originally Posted by Ja-Forces View Post
* Requires Sourcemod 1.10+

Working version for both parts + various fixes
Caught an error on this version:

L 01/12/2023 - 03:19:53: SourceMod error session started
L 01/12/2023 - 03:19:53: Info (map "zc_m4") (file "/game/left4dead2/addons/sourcemod/logs/errors_20230112.log")
L 01/12/2023 - 03:19:53: [SM] Exception reported: Array index out-of-bounds (index 66, limit 66)
L 01/12/2023 - 03:19:53: [SM] Blaming: l4d_weaponremover.smx
L 01/12/2023 - 03:19:53: [SM] Call stack trace:
L 01/12/2023 - 03:19:53: [SM] [1] Line 263, /home/forums/content/files/5/6/0/8/6/196801.attach::eSpawnerGiveItem
L 01/12/2023 - 03:20:07: Error log file session closed.

Full log is in the attachment.
Attached Files
File Type: log errors_20230112.log (1.1 KB, 40 views)
Mika Misori 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 02:11.


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