This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Small Health Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
shine771
Senior Member
Join Date: Jun 2007
Old 02-13-2009 , 06:51   Small Health Fix
Reply With Quote #1

Health Fix
0.7



This little plugin fixes the bug when your health goes mad, if it goes over 255.
Probably most of you will find this useless. Anyway, if it's over 255, it will stay at 255 until it's below 255.

Changes?
0.7

*Initial Release
Attached Files
File Type: sma Get Plugin or Get Source (health_fix.sma - 863 views - 256 Bytes)
shine771 is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 02-13-2009 , 06:56   Re: Small Health Fix
Reply With Quote #2

This was already made by Exolent > http://forums.alliedmods.net/showthread.php?p=594746
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
shine771
Senior Member
Join Date: Jun 2007
Old 02-13-2009 , 07:11   Re: Small Health Fix
Reply With Quote #3

I'm a terrible searcher.
shine771 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-13-2009 , 07:11   Re: Small Health Fix
Reply With Quote #4

Actually mine prevents the health from being 0, not limits it to 255.
What purpose would this plugin serve?

When a player's health goes above 255, the HUD health loops through 0-255 as it gets higher.
However, the actual health is still saved.

Therefore, if the HUD health is the bug, then why not use my plugin that shows the player's actual health?
http://forums.alliedmods.net/showthread.php?t=54091
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
shine771
Senior Member
Join Date: Jun 2007
Old 02-13-2009 , 07:24   Re: Small Health Fix
Reply With Quote #5

Because, in some mods your health is above 255. For example in zombie mod, you're a zombie, and someone is shooting at you. You automaticly look at the real health(instinct from default cs/hl or other mods), and you get confused because your health is 7.. and then it goes back to 240 and so on. You cant really know how much health you have left. Some people look at your real health, not by the one next to it and can get confused. With time you'll get used to the health next to it anyway. Another example - If you set someones health to 300, he thinks his health has been set to 45, and he's flaming on admin for reducing his health.

Quote:
What purpose would this plugin serve?
I guess... makes hl engine games a little less confusing?

Last edited by shine771; 02-13-2009 at 07:28.
shine771 is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 02-13-2009 , 08:11   Re: Small Health Fix
Reply With Quote #6

I think this does not limit the health, it will only make the hud show 255 as long as the health is over 255 - it will just not loop all the time, am I right?

Useful thing and a damn small plugin
Nextra is offline
shine771
Senior Member
Join Date: Jun 2007
Old 02-13-2009 , 08:13   Re: Small Health Fix
Reply With Quote #7

Yea, you're right.

256b...
shine771 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-13-2009 , 11:58   Re: Small Health Fix
Reply With Quote #8

Quote:
Originally Posted by shine771 View Post
Because, in some mods your health is above 255. For example in zombie mod, you're a zombie, and someone is shooting at you. You automaticly look at the real health(instinct from default cs/hl or other mods), and you get confused because your health is 7.. and then it goes back to 240 and so on. You cant really know how much health you have left. Some people look at your real health, not by the one next to it and can get confused. With time you'll get used to the health next to it anyway. Another example - If you set someones health to 300, he thinks his health has been set to 45, and he's flaming on admin for reducing his health.

I guess... makes hl engine games a little less confusing?
Well if they use my health displaying plugin, their health won't be limited and they can still know their actual health.
If you want it to always be displayed, just set the display time to 999.

Quote:
Originally Posted by Nextra View Post
I think this does not limit the health, it will only make the hud show 255 as long as the health is over 255 - it will just not loop all the time, am I right?
Wrong. The health on the HUD is the player's real health.
If you capture the event and look at the number, it will display the real health.
However, when it is finally inserted into the HUD, it is clamped to a 0-255 loop.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
shine771
Senior Member
Join Date: Jun 2007
Old 02-13-2009 , 14:00   Re: Small Health Fix
Reply With Quote #9

I know about your plugin and what it does, exolent. I just hate when i look at hp it displays 7hp if you have 262. Why did you make the Zero HP bug fix then? Everyone can use your plugin where your health is displayed. I would feel more confortable looking at my real health(not hudmsg) and seeing that i'm still alive and ok.
shine771 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-13-2009 , 14:26   Re: Small Health Fix
Reply With Quote #10

Quote:
Originally Posted by shine771 View Post
Why did you make the Zero HP bug fix then?
Quote:
Originally Posted by Exolent[jNr] View Post
Intro:
  • Have you ever had messed up movements and zero (0) health on your HUD?
  • This happens from having more than 255 health, and then falling, which causes you to lose health, which sometimes results in having zero (0) health.
In other words, when your HUD health is 0, your movements are locked to one direction, so turning won't work to change directions.
The fix for this adds 1 health to the player, so that the health on the HUD isn't 0, which fixes the movements.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 16:19.


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