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

[L4D1/2] Assistance System


Post New Thread Reply   
 
Thread Tools Display Modes
lightphoenix2
Member
Join Date: Feb 2016
Old 01-07-2019 , 19:38   Re: [L4D1/2] Assistance System
Reply With Quote #81

I tried getting the one you show in the screenshot, but I cannot duplicate it in my server. Killing smoker does not print two of the same message or will it show 0 damage done, so I have uploaded the version I'm using. Try this and tell me if there is any difference.
Blocked Attachments
File Type: smx l4d2_assist.smx
lightphoenix2 is offline
lightphoenix2
Member
Join Date: Feb 2016
Old 01-07-2019 , 20:00   Re: [L4D1/2] Assistance System
Reply With Quote #82

lightphoenix2 is offline
KoMiKoZa
Senior Member
Join Date: Dec 2017
Location: Thy old times.
Old 01-08-2019 , 08:51   Re: [L4D1/2] Assistance System
Reply With Quote #83

Quote:
Originally Posted by lightphoenix2 View Post
I tried getting the one you show in the screenshot, but I cannot duplicate it in my server. Killing smoker does not print two of the same message or will it show 0 damage done, so I have uploaded the version I'm using. Try this and tell me if there is any difference.
Wasn't able to replicate Smoker's doubleprint, but 0 dmg is still there.
KoMiKoZa is offline
lightphoenix2
Member
Join Date: Feb 2016
Old 01-08-2019 , 20:41   Re: [L4D1/2] Assistance System
Reply With Quote #84

I really don't know why you get 0 damage, so I think you should recreate a new cfg file, make sure you use the translation Im using, and run at least sourcemod 1.09 or 1.10.

Last edited by lightphoenix2; 01-08-2019 at 20:41.
lightphoenix2 is offline
KoMiKoZa
Senior Member
Join Date: Dec 2017
Location: Thy old times.
Old 01-09-2019 , 06:08   Re: [L4D1/2] Assistance System
Reply With Quote #85

Quote:
Originally Posted by lightphoenix2 View Post
I really don't know why you get 0 damage, so I think you should recreate a new cfg file, make sure you use the translation Im using, and run at least sourcemod 1.09 or 1.10.
~ I don't either, been there since the beginning. Maybe because both various weapon damage and SI HP values are modified on my server. That would be my guess at least.

~ Translation, again, doesn't matter. It's just a translation file that doesn't touch the values.

~ Reinstalling the plugin etc. doesn't help either

~ I am running SM 1.9 - build 6271

Last edited by KoMiKoZa; 01-09-2019 at 06:17.
KoMiKoZa is offline
lightphoenix2
Member
Join Date: Feb 2016
Old 01-09-2019 , 07:18   Re: [L4D1/2] Assistance System
Reply With Quote #86

Translation file may matter depending on the variable you use to display values, as translation file help to display message show on the chat, the damage done is not constant thus it requires translation file to pass the values.
"ASSIST_STRING"
{
"#format" "{1:s},{2:N},{3:d}"
"en" "{1}{blue}{2} ({3} dmg)"
"ru" "{1}{blue}{2} ({3} урона)"
}

As you have seen, it creates the format for the message and the value it should take from. So its not always the case that it doesn't matter. But I also don't believe that a modified weapon damage and SI HP would break it as this plugin just take the damage taken by the SI, and detect upon death.

I have hard coded the message inside the plugin, so in this sense it may not matter.

Last edited by lightphoenix2; 01-09-2019 at 07:53.
lightphoenix2 is offline
Toranks
Senior Member
Join Date: Dec 2021
Location: Spain
Old 02-09-2022 , 18:53   Re: [L4D1/2] Assistance System
Reply With Quote #87

I´ve modified lightpoenix2 code so now can choose whether to display tank, witch, and SI separately, each with their own command. Now using the sm_assist_tank_only command does not also remove the witches, if you have specified sm_crown_witch to 1
Note: sm_crown_witch to 1 is to show all the damage to the witch, not JUST the crowns

@Komikoza I have modified the life of the SI, and a multitude of addons and mods (60 only from sourcemod) and it does not give me that 0-damage error. Maybe it's one in particular, investigate by disabling mods separately
Attached Files
File Type: smx l4d2_assist.smx (9.4 KB, 92 views)
File Type: sp Get Plugin or Get Source (l4d2_assist.sp - 119 views - 11.2 KB)

Last edited by Toranks; 02-09-2022 at 18:56.
Toranks is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 02-27-2022 , 23:15   Re: [L4D1/2] Assistance System
Reply With Quote #88

L 02/27/2022 - 19:02:52: [SM] [0] GetEntPropString
L 02/27/2022 - 19:02:52: [SM] [1] Line 766, /groups/sourcemod/compiler-1.10/include/entity.inc::GetEntityClassname
L 02/27/2022 - 19:02:52: [SM] [2] Line 1938, /home/forums/content/files/3/1/4/9/1/4/191277.attach::OnEntityDestroyed
L 02/27/2022 - 19:08:58: [SM] Exception reported: Client 15 is not connected
L 02/27/2022 - 19:08:58: [SM] Blaming: l4d2_assist_NoModels.smx
sonic155 is offline
oktyjr
New Member
Join Date: Jul 2022
Location: Turkey
Old 07-18-2022 , 10:20   Re: [L4D1/2] Assistance System
Reply With Quote #89

what i want to do only for tank and witch are the values ​​0 main ?
oktyjr is offline
Toranks
Senior Member
Join Date: Dec 2021
Location: Spain
Old 07-19-2022 , 15:35   Re: [L4D1/2] Assistance System
Reply With Quote #90

Quote:
Originally Posted by oktyjr View Post
what i want to do only for tank and witch are the values ​​0 main ?
For tank and witch only you need my fix on my last post.
Use:
Code:
sm_assist_enable 1
sm_assist_tank_only 1
sm_crown_witch 1
Toranks 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 05:22.


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