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

[L4D2] Acid Swipe 1.1


Post New Thread Reply   
 
Thread Tools Display Modes
ConnerRia
Junior Member
Join Date: Mar 2018
Old 03-29-2018 , 03:23   Re: [L4D2] Acid Swipe 1.1
Reply With Quote #21

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.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_acidswipe.sp - 643 views - 4.3 KB)

Last edited by ConnerRia; 04-02-2018 at 11:13.
ConnerRia is offline
Iizuka07
Senior Member
Join Date: Aug 2018
Location: Underground
Old 06-30-2021 , 10:38   Re: [L4D2] Acid Swipe 1.1
Reply With Quote #22

Quote:
Originally Posted by ConnerRia View Post
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
__________________
死が待っている

Last edited by Iizuka07; 06-30-2021 at 10:40.
Iizuka07 is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 02-20-2022 , 13:03   Re: [L4D2] Acid Swipe 1.1
Reply With Quote #23

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
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_acidswipe.sp - 115 views - 3.3 KB)
__________________
NoroHime is offline
Iizuka07
Senior Member
Join Date: Aug 2018
Location: Underground
Old 02-24-2022 , 05:26   Re: [L4D2] Acid Swipe 1.1
Reply With Quote #24

Quote:
Originally Posted by NoroHime View Post
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
__________________
死が待っている

Last edited by Iizuka07; 02-24-2022 at 05:27.
Iizuka07 is offline
helloWei
Junior Member
Join Date: Oct 2023
Old 03-30-2024 , 06:29   Re: [L4D2] Acid Swipe 1.1
Reply With Quote #25

Quote:
Originally Posted by NoroHime View Post
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:amageEffect
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
helloWei 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 20:38.


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