Raised This Month: $32 Target: $400
 8% 

HP Regeneration


Post New Thread Reply   
 
Thread Tools Display Modes
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 01-24-2008 , 01:17   Re: HP Regeneration
Reply With Quote #21

Whoops, I realised a mistake that I caused. Try this version.
Attached Files
File Type: sp Get Plugin or Get Source (regeneration.sp - 879 views - 1.6 KB)
bl4nk is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 01-24-2008 , 12:06   Re: HP Regeneration
Reply With Quote #22

Hi my friend .........

Sorry but now it crashs the server after a few min,, and is now reporting missing clients by number, I use fake clients and HrcBots .... I use matti and mani also all works fine with no errors infact the bots even pick up the power pick-ups in mb_powerup and also change colors with colourup... 15 plugin effects all work and all my SM plugins too .. maybe your 1st Idea was better , redesign the damm thing, I just dont get if it compiles with no errors it should bomb or report everything its doing ... and yea the last one the timer on the HP was erratic and not counting right as the game went on ... ty for all your help so far , your a good person
TheLaser is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 01-24-2008 , 12:09   Re: HP Regeneration
Reply With Quote #23

Oh and I would have had a printout of the errors for ya but after it crashed I started to get players on and didnt want to through them off .. seems like alot of perple like to do morning kills befor work ...... hahahahahh
TheLaser is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 01-24-2008 , 14:06   Re: HP Regeneration
Reply With Quote #24

Ok, I'm just going to do a rewrite of the script. I'm not sure what the problem is, but he handles his code a bit different than I do, and I feel I can find the problem if I do it my way.
bl4nk is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 01-24-2008 , 17:12   Re: HP Regeneration
Reply With Quote #25

http://forums.alliedmods.net/showthread.php?t=66154

There's my rewrite. Olly said it was OK to post it as a New Plugin since I did a complete rewrite from scratch, use a different version variable, and changed the name (even though it's only a slight change).
bl4nk is offline
Riffy
Junior Member
Join Date: Nov 2009
Old 12-23-2009 , 14:49   Re: HP Regeneration
Reply With Quote #26

Will this work in L4d2?
__________________
Riffy is offline
andrepires68
Member
Join Date: Feb 2010
Location: Portugal
Old 02-26-2010 , 16:09   Re: HP Regeneration
Reply With Quote #27

Quote:
Originally Posted by mateo10 View Post
Nice, I didn't include sourcemod, but it's still compiles, and it is working.
Updated the plugin.
thx dude i love it,
u are great.
andrepires68 is offline
The Terror
New Member
Join Date: May 2011
Old 05-07-2011 , 13:17   Re: HP Regeneration
Reply With Quote #28

Is it possible to make just admins regen their hp and not normal players? That would be great. Also regain less hp... Like 5hp every 10 secound.
The Terror is offline
soldierblue
New Member
Join Date: Nov 2011
Old 11-25-2011 , 15:49   Re: HP Regeneration
Reply With Quote #29

Hello all,

i find your plugin very nice to bad i cant find where i can edit these options.



Cvars (ConVars)
  • hpregen_interval - Sets how many seconds it is between the hp adding (Default 1.0)
  • hpregen_maxhp - Max HP it will regenerate to (Default: 100)
  • hpregen_inc - Increase of hp (Default: 1)
soldierblue is offline
nelsonsimpsonz
Member
Join Date: Feb 2012
Old 02-12-2012 , 13:04   Re: HP Regeneration
Reply With Quote #30

How do I install?
nelsonsimpsonz 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 23:03.


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