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

Health Display (aka Show NPC HP) v2.11.45


Post New Thread Reply   
 
Thread Tools Display Modes
HowGentle
Member
Join Date: Feb 2010
Old 02-24-2010 , 13:44   Re: Show NPC and Player Health (HP) v1.3.13
Reply With Quote #21

It's cool. but there's some bug.
If Tank spawn, this plugin works very well
but when Tank died, this plugin shows Tank's HP is dead, and sudden shows Tank's HP is over 4000.
HowGentle is offline
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 02-24-2010 , 14:01   Re: Show NPC and Player Health (HP) v1.3.13
Reply With Quote #22

Yeah valve adds an extra entity that has 5000hp, in order to splat blood around if you hit it with your melee weapon.

So its not a bug of my plugin, but I try to prevent that from showing up.
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
Chanz is offline
D@Ni1986
Junior Member
Join Date: Dec 2009
Old 03-05-2010 , 00:25   Re: Show NPC and Player Health (HP) v1.3.13
Reply With Quote #23

Half-Life 2 deathmatch COOP, server crash with this plugin or is it just me?
Maybe with another plugin conflict.

"Map Nominations" (1.3.0) by AlliedModders LLC
"Basic Commands" (1.3.0) by AlliedModders LLC
"Fun Votes" (1.3.0) by AlliedModders LLC
"Basic Votes" (1.3.0) by AlliedModders LLC
"CD Announcer" (2.3) by Fredd
"Save Scores" (1.3.3) by exvel
"Client Preferences" (1.3.0) by AlliedModders LLC
"RandomCycle" (1.3.0) by AlliedModders LLC
"Advertisements" (0.5.5) by Tsunami
"Admin Menu" (1.3.0) by AlliedModders LLC
"Cheat Control" (1.5) by Berni
"No Block" (1.0.0.0) by sslice
"Admin Help" (1.3.0) by AlliedModders LLC
"Basic Comm Control" (1.3.0) by AlliedModders LLC
"AdminCheats" (0.1) by devicenull
"Sound Commands" (1.3.0) by AlliedModders LLC
"Player-Teleport by Dr. HyperKiLLeR" (1.2.0.0) by Dr. HyperKiLLeR
"Reserved Slots" (1.3.0) by AlliedModders LLC
"Show NPC HP" (1.3.13) by Chanz
"Autorestart" (1.0.0) by [FG] Silent
"Basic Info Triggers" (1.3.0) by AlliedModders LLC
"Basic Ban Commands" (1.3.0) by AlliedModders LLC
"Rock The Vote" (1.3.0) by AlliedModders LLC
"Anti-Flood" (1.3.0) by AlliedModders LLC
"MapChooser" (1.3.0) by AlliedModders LLC
"Sammy's Afker Kicker" (1.0.1) by NBK - Sammy-ROCK!
"Dissolve" (1.0.0.1) by L. Duke
"Fun Commands" (1.3.0) by AlliedModders LLC
"Crashed Map Recovery" (1.5) by Crazydog
"Player Commands" (1.3.0) by AlliedModders LLC
"Nextmap" (1.3.0) by AlliedModders LLC
D@Ni1986 is offline
Send a message via ICQ to D@Ni1986
D@Ni1986
Junior Member
Join Date: Dec 2009
Old 03-05-2010 , 03:06   Re: Show NPC and Player Health (HP) v1.3.13
Reply With Quote #24

rewrote the plugin, put the relationship. Removed display HP players. Now everything is OK
D@Ni1986 is offline
Send a message via ICQ to D@Ni1986
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 03-05-2010 , 08:35   Re: Show NPC and Player Health (HP) v1.3.13
Reply With Quote #25

we run this plugin on 2 coop servers and it doesn't crash...

I don't see any plugin that could conflict.

Please post the error log and if you are running your server in debug mode please post the crash log as well.

btw: at weekend I update this plugin, maybe it fixes the problem, since I build in some extra checks to identify a npc.
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]

Last edited by Chanz; 03-05-2010 at 08:38.
Chanz is offline
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 03-09-2010 , 14:00   Re: Health Display (aka Show NPC HP) v2.5.25
Reply With Quote #26

updated to 2.5.25.
see first post for changelog.

notice that I've renamed the plugin and all its cvars.
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]

Last edited by Chanz; 03-10-2010 at 11:00.
Chanz is offline
MarshalZCC
Senior Member
Join Date: Feb 2010
Location: Alberta, Canada
Old 03-10-2010 , 01:47   Re: Health Display (aka Show NPC HP) v2.5.28
Reply With Quote #27

I get the following errors with 2.5.28:

Code:
L 03/09/2010 - 23:45:40: [SM] Plugin encountered error 25: Call was aborted
L 03/09/2010 - 23:45:40: [SM] Native "SetFailState" reported: Can't read config file addons/sourcemod/configs/healthdisplay.conf: syntax error @ line 8
L 03/09/2010 - 23:45:40: [SM] Displaying call stack trace for plugin "healthdisplay.smx":
L 03/09/2010 - 23:45:40: [SM]   [0]  Line 262, C:\Users\Daniel\Documents\MFHSVN\sourcemodplugins\healthdisplay\addons\sourcemod\scripting\healthdisplay.sp::OnMapStart()
L 03/09/2010 - 23:45:40: [SM] Plugin encountered error 25: Call was aborted
L 03/09/2010 - 23:45:40: [SM] Native "SetFailState" reported: Can't read config file addons/sourcemod/configs/healthdisplay.conf: syntax error @ line 8
L 03/09/2010 - 23:45:40: [SM] Displaying call stack trace for plugin "custom/healthdisplay.smx":
L 03/09/2010 - 23:45:40: [SM]   [0]  Line 262, healthdisplay.sp::OnMapStart()
I haven't modified any files. I unzipped both the config extension and health display files as-is.
MarshalZCC is offline
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 03-10-2010 , 10:48   Re: Health Display (aka Show NPC HP) v2.5.28
Reply With Quote #28

I tried out the config within the zip and in the my first post without any problems.

Please post your healthdisplay.conf here, as attachment & the content of the file within [ code ] [ /code ] blocks.

And if possible post what sourcemod says if you enter 'sm exts list' and 'sm plugins list' in the server console.
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
Chanz is offline
MarshalZCC
Senior Member
Join Date: Feb 2010
Location: Alberta, Canada
Old 03-12-2010 , 00:01   Re: Health Display (aka Show NPC HP) v2.5.28
Reply With Quote #29

I'm guessing you are using a different version of the config extension, since that's what appears to be giving the error. Like I said, I'm just using the .conf supplied in your zip file - no modifications.

Code:
// ############################################################################################
// This is the config file of the plugin Health Display (healthdisplay.smx).
// With the following line you can change the behaviour of this plugin (via console variables).
// ############################################################################################
//
// Main console variable to enable or disable Health Display:
// Possible settings are: false=Disable Health Display, true=Enable Health Display).
sm_healthdisplay_enable = true;
//
// Where do you want to display the health info: 
// Possible is: 0=Choose Automaticly, 1=Force Hud Text (HL2DM/SourceForts), 2=Force Hint Text (CSS/L4D)
sm_healthdisplay_hud = 0;
//
//
// With the following console variables you can change what the display should show:
//
// Possible settings are: true=Show enemy players, false=Hide enemy players.
sm_healthdisplay_show_enemyplayers = true;
//
// Possible settings are: true=Show friendly players, false=Hide friendly players.
sm_healthdisplay_show_teammates = false;
//
// Possible settings are: true=Show NPCs (Non Player Character), false=Hide NPCs (Non Player Character).
sm_healthdisplay_show_npcs = true;
//
// Possible settings are: true=Show entities (stuff that has health, breakables, explosives), false=Hide entities.
sm_healthdisplay_show_entities = true;
//
//
// ############################################################################################
// WARNING: IF YOU ARE NOT SURE WHAT TO DO HERE, THEN DON'T DO ANYTHING BELOW THIS LINE!
// ############################################################################################
//
//
// What entities should be excluded? (you can use just parts of an entity name like func_)
//
entity_exclude = [ 
    "npc_grenade_frag",
    "func_",
    "trigger_"
];
//
//
// What entities should be included? (you can use again just parts of an entity name like npc_)
//
entity_include = [ 
    "npc_",
    "tank",
    "witch",
    "boomer",
    "hunter",
    "infected"
];
//
//
// What do you want to remove from the entity name always? (We don't want do display Npc_zombie as name, since Zombie is much nicer)
// Note that all entity names get their first letter capitalized!
//
entity_removefromname = [ 
    "npc_"
];
//
// Show certain models (if not found or excluded via entity class name).
model_include = [
    "gascan",
    "propanecanister",
    "oxygentank",
    "explosive_box"
];
MarshalZCC is offline
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 03-12-2010 , 06:02   Re: Health Display (aka Show NPC HP) v2.5.28
Reply With Quote #30

[EXTENSION] Config (1.0.1)

I use the newest config extension 1.0.1 and what are you using? (try using 'sm exts list' and post the result)
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]

Last edited by Chanz; 03-12-2010 at 06:05.
Chanz 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 12:57.


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