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

[L4D & L4D2] Reload Interrupt (1.12) [03-Dec-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-16-2020 , 18:25   Re: [L4D & L4D2] Reload Interrupt (1.1) [16-May-2020]
Reply With Quote #11

That fixed it. Thanks.
__________________
Psyk0tik is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-18-2020 , 16:02   Re: [L4D & L4D2] Reload Interrupt (1.1) [16-May-2020]
Reply With Quote #12

I'm getting this error sometimes.

Code:
L 05/18/2020 - 09:03:55: [SM] Exception reported: Invalid edict (-1 - -1)
L 05/18/2020 - 09:03:55: [SM] Blaming: l4d_reload_interrupt.smx
L 05/18/2020 - 09:03:55: [SM] Call stack trace:
L 05/18/2020 - 09:03:55: [SM]   [0] GetEdictClassname
L 05/18/2020 - 09:03:55: [SM]   [1] Line 521, l4d_reload_interrupt.sp::OnSwitchWeapon
There probably needs to be a validity check on the weapon index inside the callback function.
__________________
Psyk0tik is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-19-2020 , 12:51   Re: [L4D & L4D2] Reload Interrupt (1.2) [19-May-2020]
Reply With Quote #13

Code:
1.2 (19-May-2020)
    - Added extra check on switching weapons. Thanks to "Crasher_3637" for reporting.
    - Added reset vars on player spawn and death.
__________________
Silvers is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 05-20-2020 , 11:16   Re: [L4D & L4D2] Reload Interrupt (1.2) [19-May-2020]
Reply With Quote #14

Man this is so necessary on versus mode when you think it is the best time to reload but suddenly appears a smoker
SilentBr is offline
jamalsheref2
Senior Member
Join Date: May 2017
Old 06-07-2020 , 11:00   Re: [L4D & L4D2] Reload Interrupt (1.2) [19-May-2020]
Reply With Quote #15

port this in l4d1 as well
jamalsheref2 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-07-2020 , 13:09   Re: [L4D & L4D2] Reload Interrupt (1.2) [19-May-2020]
Reply With Quote #16

Quote:
Originally Posted by jamalsheref2 View Post
port this in l4d1 as well
No please, no error logs, just demands. You're welcome. Done.
__________________

Last edited by Silvers; 06-07-2020 at 13:09.
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-28-2020 , 11:29   Re: [L4D & L4D2] Reload Interrupt (1.4) [28-Sep-2020]
Reply With Quote #17

Code:
1.4 (28-Sep-2020)
    - Blocked bots from using to prevent any bugs.
    - Fixed the plugin sometimes wiping ammo when quickly switching weapons (Gear Transfer - grenades issue).
__________________

Last edited by Silvers; 09-28-2020 at 11:30.
Silvers is offline
a2121858
Member
Join Date: Sep 2020
Old 09-29-2020 , 13:35   Re: [L4D & L4D2] Reload Interrupt (1.4) [28-Sep-2020]
Reply With Quote #18

Quote:
Originally Posted by Silvers View Post
Code:
1.4 (28-Sep-2020)
    - Blocked bots from using to prevent any bugs.
    - Fixed the plugin sometimes wiping ammo when quickly switching weapons (Gear Transfer - grenades issue).
Hello, Silvers. In my test, whether I set ConVar g_hCvarRestart to 1 or 2, it automatically reloaded after the shooting stopped.:o
a2121858 is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 10-18-2020 , 11:07   Re: [L4D & L4D2] Reload Interrupt (1.4) [28-Sep-2020]
Reply With Quote #19

This plugin have conflict with [L4D2] Speedrunner Tools with the cvar:

st_fastreload 1

This cvar allows to activate/deactivate the weapon fast reload entering/exiting the idle mode.

When used in conjunction with this plugin, the bug is that the weapon appears without bullets and without reserve ammo.

Last edited by Tonblader; 11-16-2020 at 17:53.
Tonblader is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-18-2021 , 16:55   Re: [L4D & L4D2] Reload Interrupt (1.4) [28-Sep-2020]
Reply With Quote #20

Quote:
Originally Posted by a2121858 View Post
Hello, Silvers. In my test, whether I set ConVar g_hCvarRestart to 1 or 2, it automatically reloaded after the shooting stopped.:o
l4d_reload_interrupt_restart with the value "1" will automatically reload when shooting stops if it was interrupted by the person shooting again. Set to 0 if you don't want to reload. Value of "2" will always reload when shooting stops. I don't see how this is an issue.


Quote:
Originally Posted by Tonblader View Post
This plugin have conflict with [L4D2] Speedrunner Tools with the cvar:

st_fastreload 1

This cvar allows to activate/deactivate the weapon fast reload entering/exiting the idle mode.

When used in conjunction with this plugin, the bug is that the weapon appears without bullets and without reserve ammo.
Sorry I don't have time to check and try to fix this conflict. Suggest using only one of these plugins and not combined. I'll add a note to the first post.
__________________
Silvers is offline
Reply


Thread Tools
Display Modes

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 07:11.


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