AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [L4D2] Infected Hud Health Bar (https://forums.alliedmods.net/showthread.php?t=321565)

Marttt 04-16-2020 16:48

Re: [L4D2] Infected Hud Health Bar
 
You need to give some more information, "does not work" is not helpful.
Anyway, I have seen a couple of server running this plugins and working.

It will only work if you have set "gameinstructor_enable 1" in console, check if you have it enabled.

Voevoda 04-16-2020 16:58

Re: [L4D2] Infected Hud Health Bar
 
Quote:

Originally Posted by Marttt (Post 2693920)
You need to give some more information, "does not work" is not helpful.
Anyway, I have seen a couple of server running this plugins and working.

It will only work if you have set "gameinstructor_enable 1" in console, check if you have it enabled.

thanks

SilentBr 07-07-2020 20:58

Re: [L4D2] Infected Hud Health Bar
 
Thanks for your work, I loved this HP HUD.

I found a bug, sometimes the dmg and hp text won't display, if I reload the plugin same issue, if I force sm_cvar works for one map only, then disappears.

I fixed myself doing this:
Code:

public void OnPluginStart()
{
...
...
...
CreateTimer(5.0, text);
}

public Action text(Handle timer)
{
                SetConVarString(cvarTextHealth, "■");
                SetConVarString(cvarTextDamage, "□");
}


Profanuch 07-19-2020 05:43

Re: [L4D2] Infected Hud Health Bar
 
Quote:

Originally Posted by SilentBr (Post 2709164)
Thanks for your work, I loved this HP HUD.

I found a bug, sometimes the dmg and hp text won't display, if I reload the plugin same issue, if I force sm_cvar works for one map only, then disappears.

I fixed myself doing this:
Code:

public void OnPluginStart()
{
...
...
...
CreateTimer(5.0, text);
}

public Action text(Handle timer)
{
                SetConVarString(cvarTextHealth, "■");
                SetConVarString(cvarTextDamage, "□");
}


I really liked your version. There is a problem, after restarting the server, the plugin is reset by default settings. When you kill a tank there is this bug. How to fix it?
https://i.imgur.com/VYIJo5D.png
google translate :)

SilentBr 08-17-2020 11:03

Re: [L4D2] Infected Hud Health Bar
 
1 Attachment(s)
Quote:

Originally Posted by Profanuch (Post 2710718)
I really liked your version. There is a problem, after restarting the server, the plugin is reset by default settings. When you kill a tank there is this bug. How to fix it?
google translate :)

Here is the edited version that I'm running. No problems anymore with the texts being empty after restart/map change.

You'll have to manually change the text if you want a different one. In my opinion this is the best :)

beefjerky331 10-08-2020 23:05

Re: [L4D2] Infected Hud Health Bar
 
thanks for sharing, this is a good plugin :)

xZk 10-14-2020 20:33

Re: [L4D2] Infected Hud Health Bar
 
update now you can customize better hp bar
Code:

2020-10-14 (v1.2)
* Added new cvar for enabling HP Bar on Witch
* Added CFG file for customize HP Bar for each Special Infected


beefjerky331 10-14-2020 23:27

Re: [L4D2] Infected Hud Health Bar
 
hey dude,new version something problem here. maybe just code sort problem?

my system environment:
LINUX(Ubuntu)
sourcemod 1.10


console run [sm plugins list] after display :
Quote:

Errors:
l4d2_infected_hudhpbar.smx ([L4D2] Infected Hud Health Bar): Error detected in plugin startup (see error logs)

Errorlog:
Quote:

L 10/15/2020 - 11:25:02: [SM] Exception reported: Instruction contained invalid parameter
L 10/15/2020 - 11:25:02: [SM] Blaming: l4d2_infected_hudhpbar.smx
L 10/15/2020 - 11:25:02: [SM] Call stack trace:
L 10/15/2020 - 11:25:02: [SM] [1] Line 131, /home/forums/content/files/2/8/2/8/8/8/179821.attach::EnablePlugin
L 10/15/2020 - 11:25:02: [SM] [2] Line 117, /home/forums/content/files/2/8/2/8/8/8/179821.attach::OnPluginStart
L 10/15/2020 - 11:25:02: [SM] Unable to load plugin "l4d2_infected_hudhpbar.smx": Error detected in plugin startup (see error logs)

xZk 10-15-2020 13:59

Re: [L4D2] Infected Hud Health Bar
 
Quote:

Originally Posted by beefjerky331 (Post 2721379)
hey dude,new version something problem here. maybe just code sort problem?
Errorlog:

I have no idea why it gives that error on windows works well, I also don't have a linux to test sorry :/

psycki 10-17-2020 18:32

Re: [L4D2] Infected Hud Health Bar
 
@beefjerky331
I had this same problem on windows, I turned on the server only with this plugin and it worked and I added the other plugins little by little and gave "sm plugins refresh" and "sm plugins list" to try to find out if it was a conflict, the strange part is that it is working normally with all plugins after I did that.


All times are GMT -4. The time now is 21:23.

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