AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Acid Swipe 1.1 (https://forums.alliedmods.net/showthread.php?t=121396)

ConnerRia 03-29-2018 03:23

Re: [L4D2] Acid Swipe 1.1
 
1 Attachment(s)
Awesome!

Here's a fork with a hint text instead of a chat message, and a customizable sound file to be played on each damage tick.

This adds basic IsClientInGame() and IsPlayerAlive() checks which should fix the errors caused by the original plugin.

Edit 31st March 2018: Fixed original plugin code that was causing errors.

Iizuka07 06-30-2021 10:38

Re: [L4D2] Acid Swipe 1.1
 
Quote:

Originally Posted by ConnerRia (Post 2585113)
Awesome!

Here's a fork with a hint text instead of a chat message, and a customizable sound file to be played on each damage tick.

This adds basic IsClientInGame() and IsPlayerAlive() checks which should fix the errors caused by the original plugin.

Edit 31st March 2018: Fixed original plugin code that was causing errors.

Been using this but now its giving some errors. Hopefully someone fixes this version

L 06/29/2021 - 10:40:13: SourceMod error session started
L 06/29/2021 - 10:40:13: Info (map "c8m1_apartment") (file "D:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10629.log")
L 06/29/2021 - 10:40:13: [SM] Exception reported: Entity 5 (5) is not a CBaseEntity
L 06/29/2021 - 10:40:13: [SM] Blaming: [L4D2] Acid Swipe.smx
L 06/29/2021 - 10:40:13: [SM] Call stack trace:
L 06/29/2021 - 10:40:13: [SM] [0] AcceptEntityInput
L 06/29/2021 - 10:40:13: [SM] [1] Line 142, /home/forums/content/files/2/8/4/8/5/0/169093.attach:: DamageEffect
L 06/29/2021 - 10:40:13: [SM] [2] Line 116, /home/forums/content/files/2/8/4/8/5/0/169093.attach::Acid_Damage
L 06/29/2021 - 10:43:54: Error log file session closed.


PS: I've put some spaces on the DamageEffect because the two characters will turn into an emoji

NoroHime 02-20-2022 13:03

Re: [L4D2] Acid Swipe 1.1
 
1 Attachment(s)
v1.1.1
completely turn to new syntax
code clean
config file is "sm_acidswipe" now
change damage way from point_hurt to SDK takedamage
alive survivor check

update request by Iizuka07

Iizuka07 02-24-2022 05:26

Re: [L4D2] Acid Swipe 1.1
 
Quote:

Originally Posted by NoroHime (Post 2772014)
v1.1.1
completely turn to new syntax
code clean
config file is "sm_acidswipe" now
change damage way from point_hurt to SDK takedamage
alive survivor check

update request by Iizuka07

Another problem arises

L 02/24/2022 - 18:18:44: [SM] Exception reported: Invalid entity index 8 for attackerr
L 02/24/2022 - 18:18:44: [SM] Blaming: [L4D2] Acid Swipe.smx
L 02/24/2022 - 18:18:44: [SM] Call stack trace:
L 02/24/2022 - 18:18:44: [SM] [0] SDKHooks_TakeDamage
L 02/24/2022 - 18:18:44: [SM] [1] Line 103, /home/groups/sourcemod/upload_tmp/php0Ga7ty.sp:: DamageEffect
L 02/24/2022 - 18:18:44: [SM] [2] Line 90, /home/groups/sourcemod/upload_tmp/php0Ga7ty.sp::Acid_Damage

helloWei 03-30-2024 06:29

Re: [L4D2] Acid Swipe 1.1
 
Quote:

Originally Posted by NoroHime (Post 2772014)
v1.1.1
completely turn to new syntax
code clean
config file is "sm_acidswipe" now
change damage way from point_hurt to SDK takedamage
alive survivor check

update request by Iizuka07

: [SM] Blaming: l4d2_acidswipe.smx
L 03/30/2024 - 18:25:20: [SM] Call stack trace:
L 03/30/2024 - 18:25:20: [SM] [0] SDKHooks_TakeDamage
L 03/30/2024 - 18:25:20: [SM] [1] Line 103, /home/forums/content/files/2/7/2/5/1/8/193797.attach::DamageEffect
L 03/30/2024 - 18:25:20: [SM] [2] Line 90, /home/forums/content/files/2/7/2/5/1/8/193797.attach::Acid_Damage
L 03/30/2024 - 18:25:21: [SM] Exception reported: Invalid entity index 2 for attackerr


All times are GMT -4. The time now is 22:44.

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