Raised This Month: $7 Target: $400
 1% 

[L4D/L4D2] HP Rewards


Post New Thread Reply   
 
Thread Tools Display Modes
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 04-30-2019 , 01:12   Re: [L4D/L4D2] HP Rewards
Reply With Quote #11

the log is filled with this

(map "l4d_garage01_alleys") (file "errors_20190430.log")
L 04/30/2019 - 04:22:19: [SM] Exception reported: Property "m_iGlowType" not found (entity 1/player)
L 04/30/2019 - 04:22:19: [SM] Blaming: hp_rewards.smx
L 04/30/2019 - 04:22:19: [SM] Call stack trace:
L 04/30/2019 - 04:22:19: [SM] [0] SetEntProp
L 04/30/2019 - 04:22:19: [SM] [1] Line 167, /home/forums/content/files/2/6/5/1/0/4/155191.attach::OnPlayerDeath
L 04/30/2019 - 04:25:07: [SM] Exception reported: Property "m_iGlowType" not found (entity 1/player)
L 04/30/2019 - 04:25:07: [SM] Blaming: hp_rewards.smx
BlackSabbarh is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 05-01-2019 , 02:34   Re: [L4D/L4D2] HP Rewards
Reply With Quote #12

yes, I use it on a l4d1 server, I will try the new version thanks
BlackSabbarh is offline
xy9860
Junior Member
Join Date: Dec 2019
Old 12-05-2019 , 07:15   Re: [L4D/L4D2] HP Rewards
Reply With Quote #13

Quote:
Originally Posted by Marttt View Post
I suppose you are using the plugin on the L4D1 game.

The "m_iGlowType" and "m_glowColorOverride" only exists in L4D2.

Try this one (v2.11), update based on Crasher_3637 version.

If the problem still persists, post here (and tell which game is L4D1/L4D2).
how to disable the heartbeat sound,when i killed a witch?
xy9860 is offline
TiTz
Member
Join Date: Jan 2020
Old 01-28-2020 , 19:35   Re: [L4D/L4D2] HP Rewards
Reply With Quote #14

It would be great if we could set the amount HP rewards for each Special Infected killed to a smaller increment.
so for example you would be able to set as low as 1hp per kill to an optimum amount.
At the moment the plugin seems to be a high percentage that make things too easy. so you can't balance the game.

Also the tank and Witch rewards are just on/off with a fixed HP reward.
it would be good to be able to set the reward amount for each of these.
At the moment if you kill a witch or tank and you have eg : 200hp you will lose 100hp.

Quote:
Originally Posted by cravenge View Post
Major update to 1.3:

TO DO:
  1. Add convars for any modifications of the values that suits one's liking,
  2. Add convars to enable/disable additional health granting for specified SI.
  3. (Optional) Add hint box notifications to show how much additional health you received.

Last edited by TiTz; 02-26-2020 at 21:33.
TiTz is offline
TiTz
Member
Join Date: Jan 2020
Old 03-12-2020 , 20:05   Re: [L4D/L4D2] HP Rewards
Reply With Quote #15

Hi,

my error log is full of this error

HTML Code:
L 03/12/2020 - 22:50:47: [SM] Exception reported: Property "m_bIsOnThirdStrike" not found (entity 1/player)
L 03/12/2020 - 22:50:47: [SM] Blaming: l4d_hp_rewards.smx
L 03/12/2020 - 22:50:47: [SM] Call stack trace:
L 03/12/2020 - 22:50:47: [SM]   [0] SetEntProp
L 03/12/2020 - 22:50:47: [SM]   [1] Line 289, plugin.sp::OnWitchKilled
L 03/12/2020 - 23:24:33: [SM] Exception reported: Property "m_bIsOnThirdStrike" not found (entity 6/player)
L 03/12/2020 - 23:24:33: [SM] Blaming: l4d_hp_rewards.smx
L 03/12/2020 - 23:24:33: [SM] Call stack trace:
L 03/12/2020 - 23:24:33: [SM]   [0] SetEntProp
L 03/12/2020 - 23:24:33: [SM]   [1] Line 289, plugin.sp::OnWitchKilled
L 03/12/2020 - 23:32:12: [SM] Exception reported: Property "m_bIsOnThirdStrike" not found (entity 1/player)
L 03/12/2020 - 23:32:12: [SM] Blaming: l4d_hp_rewards.smx
L 03/12/2020 - 23:32:12: [SM] Call stack trace:
L 03/12/2020 - 23:32:12: [SM]   [0] SetEntProp
L 03/12/2020 - 23:32:12: [SM]   [1] Line 175, plugin.sp::OnPlayerDeath
L 03/12/2020 - 23:45:44: [SM] Exception reported: Property "m_bIsOnThirdStrike" not found (entity 6/player)
L 03/12/2020 - 23:45:44: [SM] Blaming: l4d_hp_rewards.smx
L 03/12/2020 - 23:45:44: [SM] Call stack trace:
L 03/12/2020 - 23:45:44: [SM]   [0] SetEntProp
L 03/12/2020 - 23:45:44: [SM]   [1] Line 289, plugin.sp::OnWitchKilled
L 03/12/2020 - 23:47:01: Error log file session closed.
TiTz is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-12-2020 , 20:38   Re: [L4D/L4D2] HP Rewards
Reply With Quote #16

Maybe you are using L4D1? Since there is no charger in L4D1 (vanilla way) this property don't exist and throws an exception.
If this is the case, try this version
Attached Files
File Type: sp Get Plugin or Get Source (l4d_hp_rewards.sp - 393 views - 8.1 KB)
__________________

Last edited by Marttt; 03-12-2020 at 20:38.
Marttt is offline
Reply


Thread Tools
Display Modes

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:44.


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