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

[L4D & L4D2] Reload Fix - Max Clip Size (1.4) [07-Nov-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-05-2020 , 17:51   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1) [05-Sep-2020]
Reply With Quote #11

Quote:
Originally Posted by Silvers View Post
the animation glitches once and stops (unlike the other guns which repeatedly glitch for several seconds).
I'm talking about it glitching once, nothing more. Was wondering if it can be fixed, although its not a big issue.
__________________
Spirit_12 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-06-2020 , 18:25   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1) [05-Sep-2020]
Reply With Quote #12

Quote:
Originally Posted by Spirit_12 View Post
I'm talking about it glitching once, nothing more. Was wondering if it can be fixed, although its not a big issue.
Ahh yeah. I think this is client side prediction issue and cannot be fixed at all. At least with shotguns it only happens once unlike other weapons which is why I made this plugin, but other weapons still show that type of client side behaviour with glitching once, although it looks like the players just checking their clip so doesn't exactly break realism imo.
__________________
Silvers is offline
Spicy Hot Pot
New Member
Join Date: Sep 2020
Old 09-11-2020 , 08:25   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1) [05-Sep-2020]
Reply With Quote #13

Is there any way to make our custom weapon scripts to work in other's server?
Spicy Hot Pot is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-24-2020 , 14:15   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1a) [24-Sep-2020]
Reply With Quote #14

Code:
1.1a (24-Sep-2020)
    - Compatibility update for L4D2's "The Last Stand" update.
    - GameData .txt file updated.
__________________
Silvers is offline
Shao
Senior Member
Join Date: Jan 2015
Old 09-29-2020 , 14:25   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1a) [24-Sep-2020]
Reply With Quote #15

Nice work Silvers, it's nice to have an alternative for those who don't want to deal with the download of VPK scripts. Making it less spastic is hands down better than having other bugs that deteriorates the player experience, especially those that tend to judge modded servers harshly.
Shao is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 02-06-2021 , 09:02   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1a) [24-Sep-2020]
Reply With Quote #16

Sadly this plugin does not fix anything, players is still trying to reload the weapon when magzine is full and if you spam enough reload button eventually the animation totally break.

I have last version of dhooks and left4dhooks.

edit: not exactly true, it mostly break when you are close from an ammo pile and reload a full clip.

Last edited by JLmelenchon; 02-09-2021 at 14:09.
JLmelenchon is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-21-2021 , 10:29   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1a) [24-Sep-2020]
Reply With Quote #17

Quote:
Originally Posted by JLmelenchon View Post
Sadly this plugin does not fix anything, players is still trying to reload the weapon when magzine is full and if you spam enough reload button eventually the animation totally break.

I have last version of dhooks and left4dhooks.

edit: not exactly true, it mostly break when you are close from an ammo pile and reload a full clip.
Interesting thanks will try sometime. Doubt anything can be done to fix it though.



Quote:
Originally Posted by aiyoaiui View Post
L 03/21/2021 - 122:56: SourceMod error session started
L 03/21/2021 - 122:56: Info (map "c7m1_docks") (file "G:\online games\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10321.log")
L 03/21/2021 - 122:56: [SM] Exception reported: Failed to find signature: CTerrorGun::Reload
L 03/21/2021 - 122:56: [SM] Blaming: l4d_reload_fix.smx
L 03/21/2021 - 122:56: [SM] Call stack trace:
L 03/21/2021 - 122:56: [SM] [0] SetFailState
L 03/21/2021 - 122:56: [SM] [1] Line 171, l4d_reload_fix.sp::OnPluginStart
L 03/21/2021 - 122:56: [SM] Unable to load plugin "l4d_reload_fix.smx": Error detected in plugin startup (see error logs)
L 03/21/2021 - 12:47:51: Error log file session closed.
You must have some plugin detouring the same function, remove half and restore half until you find which plugin is causing the conflict. Nothing wrong with this plugin otherwise.
__________________
Silvers is offline
pan0s
Senior Member
Join Date: Nov 2017
Old 04-20-2021 , 16:52   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1a) [24-Sep-2020]
Reply With Quote #18

I am glad if you could tell me what Ammo and clips size control plugin you are using.
pan0s is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-21-2021 , 05:24   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1a) [24-Sep-2020]
Reply With Quote #19

Mission and Weapons - Info Editor plugin can modify clip sizes. This is what I use.
__________________
Silvers is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-17-2021 , 15:02   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.1a) [24-Sep-2020]
Reply With Quote #20

Hey Silvers,

Here's the new signature for "CBaseShotgun::Reload" which only changed by 1 byte:
PHP Code:
"CBaseShotgun::Reload"
{
    
"library"        "server"
    "linux"            "@_ZN12CBaseShotgun6ReloadEv"
    "windows"        "\x2A\x2A\x2A\x2A\x2A\x2A\x56\x57\x8B\xF1\xE8\x2A\x2A\x2A\x2A\x8B\xF8\x85\xFF\x0F\x84\x2A\x2A\x2A\x2A\x8B\x87\xB4\x1C\x00\x00"
    
/* ? ? ? ? ? ? 56 57 8B F1 E8 ? ? ? ? 8B F8 85 FF 0F 84 ? ? ? ? 8B 87 B4 1C 00 00 */
    /* Signature provided by Lux & Crasher_3637 */

The offsets are still the same as well as the signature for the "CTerrorGun::Reload" function.
__________________
Psyk0tik 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 20:10.


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