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

[L4D & L4D2] Incapped Weapons Patch (1.36) [25-Mar-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Mika Misori
Senior Member
Join Date: Sep 2022
Old 06-06-2023 , 08:28   Re: [L4D & L4D2] Incapped Weapons Patch (1.28) [10-Mar-2023]
Reply With Quote #81

Caught this error yesterday on one server:
Code:
L 06/05/2023 - 16:28:35: SourceMod error session started
L 06/05/2023 - 16:28:35: Info (map "c2m1_highway") (file "/game/left4dead2/addons/sourcemod/logs/errors_20230605.log")
L 06/05/2023 - 16:28:35: [SM] Exception reported: Failed to load 'CanDeploy', byte mis-match @ 20 (0x90 != 0x8B)
L 06/05/2023 - 16:28:35: [SM] Blaming: l4d_incapped_weapons.smx
L 06/05/2023 - 16:28:35: [SM] Call stack trace:
L 06/05/2023 - 16:28:35: [SM]   [0] SetFailState
L 06/05/2023 - 16:28:35: [SM]   [1] Line 299, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_incapped_weapons.sp::OnPluginStart
L 06/05/2023 - 16:28:35: [SM]   [3] ServerCommandEx
L 06/05/2023 - 16:28:35: [SM]   [4] Line 402, /home/builds/sourcemod/debian9-1.11/build/plugins/basecommands.sp::Command_Rcon
L 06/05/2023 - 16:28:35: [SM] Unable to load plugin "l4d_incapped_weapons.smx": Error detected in plugin startup (see error logs)
L 06/05/2023 - 16:39:36: Error log file session closed.
After this error during the campaign, a couple of times during the incap I could use the main weapon (Military Sniper), although I have it restricted by cvar in config: l4d_incapped_weapons_restrict "2,3,4,5,6,7,8,9,10,11,12,19,20,21,24,26,30,3 1,33,34,35,36,37"

This happened on a linux-server with 33 tickrate and the latest version of SourceMod + Left 4 DHooks Direct.
No more errors in logs or bugs were found that day.
Mika Misori is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-06-2023 , 13:26   Re: [L4D & L4D2] Incapped Weapons Patch (1.28) [10-Mar-2023]
Reply With Quote #82

Which version of Incapped Weapons Patch? This shouldn't happen after version 1.25. You could use restricted weapons because the plugin at that point has entirely failed to load.
__________________
Silvers is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 06-06-2023 , 13:40   Re: [L4D & L4D2] Incapped Weapons Patch (1.28) [10-Mar-2023]
Reply With Quote #83

Quote:
Originally Posted by Silvers View Post
Which version of Incapped Weapons Patch? This shouldn't happen after version 1.25. You could use restricted weapons because the plugin at that point has entirely failed to load.
Latest — 1.28

Last edited by Mika Misori; 06-06-2023 at 13:40.
Mika Misori is offline
Shao
Senior Member
Join Date: Jan 2015
Old 08-13-2023 , 23:40   Re: [L4D & L4D2] Incapped Weapons Patch (1.29) [19-Jun-2023]
Reply With Quote #84

You really did a good job with this plugin, adding self revive with Pills/Adrenaline has to be one of the best feature added so far.

I noticed that when reviving though the plugin doesn't seem to know what to make of "survivor_revive_health", always giving 30. Perhaps worth a look at?

Last edited by Shao; 08-13-2023 at 23:41.
Shao is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 09-25-2023 , 04:28   Re: [L4D & L4D2] Incapped Weapons Patch (1.30) [18-Aug-2023]
Reply With Quote #85

Got this error today
L 09/25/2023 - 01:251: SourceMod error session started
L 09/25/2023 - 01:251: Info (map "QE_2_remember_me") (file "d:\tcafiles\users\stevef\63575\left4dead2\ad dons\sourcemod\logs\errors_20230925.log")
L 09/25/2023 - 01:251: [SM] Exception reported: Failed to load 'OnIncap', byte mis-match @ 0 (0x90 != 0x6A)
L 09/25/2023 - 01:251: [SM] Blaming: l4d_incapped_weapons.smx
L 09/25/2023 - 01:251: [SM] Call stack trace:
L 09/25/2023 - 01:251: [SM] [0] SetFailState
L 09/25/2023 - 01:251: [SM] [1] Line 332, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_incapped_weapons.sp::OnPluginSta rt
L 09/25/2023 - 01:251: [SM] Unable to load plugin "l4d_incapped_weapons.smx": Error detected in plugin startup (see error logs)

Got th error after installing left4dhooks up to 1.138.
When back to left4dhooks 1.137 no erros

Last edited by Krufftys Killers; 09-25-2023 at 04:53.
Krufftys Killers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-25-2023 , 05:34   Re: [L4D & L4D2] Incapped Weapons Patch (1.30) [18-Aug-2023]
Reply With Quote #86

Left4DHooks would not be causing this. This means it's already patched. Do you have Incapped Weapons Patch loaded twice or something? At some point it's been loaded twice causing this error. I don't see a reason to fix this, the plugin should fail to load otherwise when it does unload it will leave the bytes patched.
__________________

Last edited by Silvers; 09-25-2023 at 05:35.
Silvers is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 09-25-2023 , 08:36   Re: [L4D & L4D2] Incapped Weapons Patch (1.30) [18-Aug-2023]
Reply With Quote #87

Quote:
Originally Posted by Silvers View Post
Left4DHooks would not be causing this. This means it's already patched. Do you have Incapped Weapons Patch loaded twice or something? At some point it's been loaded twice causing this error. I don't see a reason to fix this, the plugin should fail to load otherwise when it does unload it will leave the bytes patched.
Got it to work had v 1.29 in installed put v1,30 and it worked
Krufftys Killers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-02-2023 , 12:16   Re: [L4D & L4D2] Incapped Weapons Patch (1.31) [02-Oct-2023]
Reply With Quote #88

Code:
1.31 (02-Oct-2023)
    - Fixed going AFK breaking self revive. Thanks to "Automage" for reporting.
    - Now the plugin will throw an error and prevent itself loading if any of the addresses are already patched.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-24-2023 , 22:32   Re: [L4D & L4D2] Incapped Weapons Patch (1.32) [25-Oct-2023]
Reply With Quote #89

Code:
1.33 (25-Oct-2023)
    - Now "l4d_incapped_weapons_revive" value "2" will interrupt reviving if the player tries to move left/right/forwards/backwards (forward cannot be not detected with Incapped Crawling).
    - Fixed command "sm_incap" not incapacitating someone if they had over 100 health.
    - Fixed being able to shoot while the revive animation was playing.

1.32 (25-Oct-2023)
    - Added cvar "l4d_incapped_weapons_revive" to put the player in 3rd person (L4D2 only) and play the revive animation. Thanks to "MasterMind420" for parts of the code and ideas.
    - Added command "sm_incap" to incapacitated yourself or targeted players.
__________________

Last edited by Silvers; 10-25-2023 at 11:28.
Silvers is offline
4NTEP xD
New Member
Join Date: Jan 2018
Old 01-07-2024 , 08:16   Re: [L4D & L4D2] Incapped Weapons Patch (1.33) [25-Oct-2023]
Reply With Quote #90

Hello! [L4D & L4D2] Left 4 DHooks Direct ( https://forums.alliedmods.net/showthread.php?t=321696 ) "signature" "CTerrorPlayer::OnIncapacitatedAsSurvivor " have a conflict by OS Windows with some signature from "[L4D & L4D2] Incapped Weapons Patch" ( https://forums.alliedmods.net/showthread.php?t=322859 ).

I use only 1 united gamedata file (from 'Left 4 DHooks Direct' + others) for all plugins. Now i temporary fixed it:
"CTerrorPlayer::OnIncapacitatedAsSurvivor " (gamedata by 'Left 4 DHooks Direct')
{
"library" "server"
"linux" "@_ZN13CTerrorPlayer25OnIncapacitatedAsSurviv orERK15CTakeDamageInfo"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\x2A\x2A\x83\x2A \x2A\x55\x8B\x2A\x2A\x89\x2A\x2A\x2A\x8B\x2A\ x81\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x 33\x2A\x89\x2A\x2A\x56\x57\x8B\x2A\x2A\x6A\x2 A\x8B"
}
"CTerrorPlayer::OnIncapacitatedAsSurvivor _" (gamedata by 'Incapped Weapons Patch')
{
"library" "server"
"windows" "\x6A\x00\x8B\x2A\xE8\x2A\x2A\x2A\x2A\x84\x2A \x75\x2A\x8B\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x6A\ x01\x8B\x2A\xFF\x2A\x8B\x2A\x85\x2A\x74\x2A\x 57"
}

If used (gamedata by 'Left 4 DHooks Direct') for both plugins = 'LogError' from 'Incapped Weapons Patch' plugin after 'OnPluginStart()' and replaced melee to pistol after 'OnIncapacitatedAsSurvivor'.
If used (gamedata by 'Incapped Weapons Patch') for both plugins = 'ShutDown' from 'Left 4 DHooks Direct' plugin after 'OnIncapacitatedAsSurvivor'.

Can you modify your plugin for this signature "windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\x2A\x2A\x83\x2A \x2A\x55\x8B\x2A\x2A\x89\x2A\x2A\x2A\x8B\x2A\ x81\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x 33\x2A\x89\x2A\x2A\x56\x57\x8B\x2A\x2A\x6A\x2 A\x8B" ? Or this impossible?
4NTEP xD 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 13:49.


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