Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Incapped Weapons Patch (1.37) [16-May-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-08-2024 , 00:41   Re: [L4D & L4D2] Incapped Weapons Patch (1.33) [25-Oct-2023]
Reply With Quote #91

The windows signature for OnIncapacitatedAsSurvivor points directly to where it's patching, completely different to left4dhooks version. Why are you merging GameData files? This plugin has specific stuff in the gamedata that is not included in left4dhooks. I have both plugins working together on windows with no issue. You're just creating yourself more work by merging the gamedata files.
__________________
Silvers is offline
glhf3000
Member
Join Date: Aug 2010
Location: middle-universe
Old 02-19-2024 , 01:06   Re: [L4D & L4D2] Incapped Weapons Patch (1.34) [10-Jan-2024]
Reply With Quote #92

[redacted].
P.S. why did you make so that pills/adren can be used to self-revive while medkit not?

Last edited by Silvers; 03-05-2024 at 11:37. Reason: Removed exploit, to stop players exploiting servers without updated version
glhf3000 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-05-2024 , 11:39   Re: [L4D & L4D2] Incapped Weapons Patch (1.34) [10-Jan-2024]
Reply With Quote #93

Quote:
Originally Posted by glhf3000 View Post
[redacted].
P.S. why did you make so that pills/adren can be used to self-revive while medkit not?
Thanks, I removed the steps on how to replicate to prevent players exploiting servers that haven't updated with this fix.

Regarding medkits, because there's no animation that can be played like the Pills/Adrenaline. So I chose not to include medkits for this reason and I don't plan to add support for them. Maybe if someone adds them in I'll provide the option. Visually it just wouldn't look good.

Code:
1.35 (05-Mar-2024)
    - Fixed revive exploit. Thanks to "glhf3000" for reporting.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-25-2024 , 18:38   Re: [L4D & L4D2] Incapped Weapons Patch (1.36) [25-Mar-2024]
Reply With Quote #94

Code:
1.36 (25-Mar-2024)
    - Fixed a bug with the self revive system. Thanks to "MasterMind420" for reporting.
    - Plugin now prevents switching to healing items while being revive and equips a weapon instead.
__________________
Silvers is offline
mr.raptor
New Member
Join Date: Feb 2024
Old 05-11-2024 , 09:15   Re: [L4D & L4D2] Incapped Weapons Patch (1.36) [25-Mar-2024]
Reply With Quote #95

Hello.
How can I fix this error in L4D?

<Error> "[L4D & L4D2] Incapped Weapons Patch" (1.36) by SilverShot

L 05/11/2024 - 16:105: Info (map "l4d_river01_docks") (file "/home/raptor/L4D/left4dead/addons/sourcemod/logs/errors_20240511.log")
L 05/11/2024 - 16:105: [SM] Exception reported: Failed to load 'CanDeploy', byte mis-match @ 66 (0x34 != 0x75)
L 05/11/2024 - 16:105: [SM] Blaming: l4d_incapped_weapons.smx
L 05/11/2024 - 16:105: [SM] Call stack trace:
L 05/11/2024 - 16:105: [SM] [0] SetFailState
L 05/11/2024 - 16:105: [SM] [1] Line 337, D:\compile_l4d\l4d_incapped_weapons.sp::OnPlu ginStart
L 05/11/2024 - 16:105: [SM] Unable to load plugin "l4d_incapped_weapons.smx": Error detected in plugin startup (see error logs)
mr.raptor is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-11-2024 , 12:47   Re: [L4D & L4D2] Incapped Weapons Patch (1.36) [25-Mar-2024]
Reply With Quote #96

Quote:
Originally Posted by mr.raptor View Post
Hello.
How can I fix this error in L4D?
Try this gamedata and let me know if the plugin works and allows you to use weapons while incapped.
Attached Files
File Type: txt l4d_incapped_weapons.txt (6.9 KB, 9 views)
__________________
Silvers is offline
mr.raptor
New Member
Join Date: Feb 2024
Old 05-11-2024 , 23:25   Re: [L4D & L4D2] Incapped Weapons Patch (1.36) [25-Mar-2024]
Reply With Quote #97

Quote:
Originally Posted by Silvers View Post
Try this gamedata and let me know if the plugin works and allows you to use weapons while incapped.
Hello, thanks for your response. Can't select weapon
Lunix
Attached Thumbnails
Click image for larger version

Name:	l4d_river01_docks0000.jpg
Views:	37
Size:	83.1 KB
ID:	204364  

Last edited by mr.raptor; 05-11-2024 at 23:27.
mr.raptor is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 05-13-2024 , 11:48   Re: [L4D & L4D2] Incapped Weapons Patch (1.36) [25-Mar-2024]
Reply With Quote #98

Quote:
Originally Posted by mr.raptor View Post
Hello, thanks for your response. Can't select weapon
Lunix
Yes with that gamedata it is not possible to switch weapons at all, even when not incapped.

Lux came up with another offset for "@_ZN13CTerrorWeapon9CanDeployEv" in the cs-ladder plugin but I think that one is not correct also, bc I cannot change weapons on his plugin (on ladders) atm too.

Code:
Lux offset (probably wrong too)  (Linux)

			"CTerrorWeapon::CanDeployFor__movetype_patch"
			{
				"signature"			"CTerrorWeapon::CanDeployFor"
				"linux"
				{
					"offset"		"161"
					"verify"		"\x09"
					"patch"			"\xFF"
					
				}
				"windows"
				{
					"offset"		"140"
					"verify"		"\x09"
					"patch"			"\xFF"
				}
			}



"Signatures"
		{
			"CTerrorWeapon::CanDeployFor"
			{
				"library"	"server"
				"linux"		"@_ZN13CTerrorWeapon9CanDeployEv"
				"windows"	"\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x8B\xF0\x85\xF6\x0F\x84\x2A\x2A\x2A\x2A\x8B\x06\x8B\x90\x40\x01\x00\x00\x8B\xCE\xFF\xD2\x84\xC0\x0F\x84\x2A\x2A\x2A\x2A\x8B\x06\x8B\x90\x7C\x07\x00\x00\x8B\xCE\xFF\xD2\x84\xC0\x74"
						/* ? ? ? ? ? ? ? ? ? 8B ? 85 F6 0F 84 ? ? ? ? 8B ? 8B 90 ? ? ? ? 8B ? FF D2 84 C0 0F 84 ? ? ? ? 8B ? 8B 90 ? ? ? ? 8B ? FF D2 84 C0 74 */
			}
__________________

Last edited by finishlast; 05-13-2024 at 11:55.
finishlast is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-16-2024 , 04:19   Re: [L4D & L4D2] Incapped Weapons Patch (1.37) [16-May-2024]
Reply With Quote #99

Code:
1.37 (16-May-2024)
    - Fixed the plugin not working in L4D1 Linux due to the recent game update. Thanks to "finishlast" for testing.
GameData and Plugin updated.
__________________
Silvers 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 22:57.


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