With the help of :
Image

Great Service, Support, Prices ! THE place to rent a good server ! Created by some from ex "mysTix" well known DoD:S Team
IMPORTANT !!!!
Need volonteer to store the website and keep the good job !!!!
I cannot maintain the website anymore.. Thanks !!
Contact by Steam please !

Je cherche un volontaire pour héberger le site et conserver le travail énorme fait par tous !
Je n'ai plus le temps de faire ça ! Merci !!!
Contactez-moi par Steam !

[REQ DOD:S] HP Regeneration manager.

The first place to post ! Thanks !
Post Reply
User avatar
1400gsx
Posts: 13
Joined: Fri Jan 29, 2016 2:52 am
Location: Hello Moscow ;)

[REQ DOD:S] HP Regeneration manager.

Post by 1400gsx » Fri Jan 29, 2016 4:09 am

Regenerates the player's HP , depending on the class of the player : Rifleman, Assault, Support, Sniper, Machine gunner, Rocket.

Image Image Image Image Image Image

Each class has its own settings:
- Maximum use.
- Maximum HP.
- Regeneration interval HP \ sec.
- Number of HP \ sec.

Comment:
Installed on the server [DOD:S] Medic Mod v1.0.109
The problem is, not all players (50%) use chat commands say !medic, for many reasons.
HP Regeneration can help all players.
Thank you.

[DODS] Ideas and Requests
Sorry do not speak English.
Google's translate.
User avatar
vintage
Site Admin
Posts: 125
Joined: Thu Nov 19, 2015 7:47 am
Location: France

Re: [REQ DOD:S] HP Regeneration manager.

Post by vintage » Sun Jan 31, 2016 8:12 am

Hi !

There is already this one on AlliedModders
https://forums.alliedmods.net/showthread.php?p=500636
Seems to be ok...

Perhaps to be modified to suit your need

Have a nice day ! :)
Right behind you ! ^^
User avatar
1400gsx
Posts: 13
Joined: Fri Jan 29, 2016 2:52 am
Location: Hello Moscow ;)

Re: [REQ DOD:S] HP Regeneration manager.

Post by 1400gsx » Sun Jan 31, 2016 12:53 pm

Hi, I tested HP regeneration, plugin helps anyone, good.
The problem with campers is mg and sniper.
No variables (cvars) hpregen_maxuse

Thanks for the reply :)
Sorry do not speak English.
Google's translate.
User avatar
Ben
Posts: 34
Joined: Sat Nov 21, 2015 4:27 pm
Contact:

Re: [REQ DOD:S] HP Regeneration manager.

Post by Ben » Tue Feb 02, 2016 10:49 pm

here the cvar:

hpregen_maxuse - number of regenerations per spawn! (default: 10)
User avatar
1400gsx
Posts: 13
Joined: Fri Jan 29, 2016 2:52 am
Location: Hello Moscow ;)

Re: [REQ DOD:S] HP Regeneration manager.

Post by 1400gsx » Wed Feb 03, 2016 4:16 am

BEN!
Is a great option for all players ! ,)
Going to test it.
Sorry do not speak English.
Google's translate.
User avatar
1400gsx
Posts: 13
Joined: Fri Jan 29, 2016 2:52 am
Location: Hello Moscow ;)

Re: [REQ DOD:S] HP Regeneration manager.

Post by 1400gsx » Wed Feb 03, 2016 6:57 pm

All is well for the players. Thank you BEN.
The plugin works for a few hours.
Fix ? spam errors to the log:

L 02/03/2016 - 11:04:26: SourceMod error session started
L 02/03/2016 - 11:04:26: Info (map "dod_icecaverns") (file "errors_20160203.log")
L 02/03/2016 - 11:04:26: [SM] Native "GetClientHealth" reported: Client 1 is not in game
L 02/03/2016 - 11:04:26: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:26: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:26: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:26: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:26: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:27: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:27: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:27: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:27: [SM] Native "GetClientHealth" reported: Client 1 is not in game
L 02/03/2016 - 11:04:27: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:27: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:28: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:28: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:28: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:29: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:29: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:29: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:30: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:30: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:30: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:31: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:31: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:31: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:32: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:32: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:32: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:33: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:33: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:33: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:34: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:34: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:34: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:35: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:35: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:35: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:36: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:36: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:36: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:37: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:37: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:37: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:38: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:38: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:38: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:39: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:39: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:39: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:40: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:40: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:40: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:41: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:41: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:41: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:42: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:42: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:42: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:43: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:43: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:43: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:04:44: [SM] Native "GetClientHealth" reported: Client 2 is not in game
L 02/03/2016 - 11:04:44: [SM] Displaying call stack trace for plugin "custom/regeneration.smx":
L 02/03/2016 - 11:04:44: [SM] [0] Line 59, D:\Server\dod\addons\sourcemod\scripting\regeneration.sp::Regenerate()
L 02/03/2016 - 11:24:39: Error log file session closed.
Sorry do not speak English.
Google's translate.
User avatar
Ben
Posts: 34
Joined: Sat Nov 21, 2015 4:27 pm
Contact:

Re: [REQ DOD:S] HP Regeneration manager.

Post by Ben » Wed Feb 03, 2016 7:29 pm

here you go. anything else you want to add/fix?
Attachments
regeneration.zip
(4.57 KiB) Downloaded 316 times
regeneration.zip
(4.57 KiB) Downloaded 316 times
User avatar
1400gsx
Posts: 13
Joined: Fri Jan 29, 2016 2:52 am
Location: Hello Moscow ;)

Re: [REQ DOD:S] HP Regeneration manager.

Post by 1400gsx » Wed Feb 03, 2016 8:21 pm

Thank you Ben, good job.
I think it was a good little plugin for all players.
- "No need to add the cvar".
Well, thank you ,)))
Sorry do not speak English.
Google's translate.
Post Reply