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

HP Regeneration


Post New Thread Reply   
 
Thread Tools Display Modes
Kaschenko
SourceMod Donor
Join Date: Apr 2006
Location: Country: Russia; City: M
Old 08-04-2007 , 17:58   Re: HP Regeneration
Reply With Quote #11

Quote:
Originally Posted by sacto View Post
Thanks for the plugin!!! I've been using it on my HL2DM server and noticed that it is giving a health point after the player dies (before respawn). Also here is an excerpt from my server log--it's throwing off these errors continuously. Any ideas?

Code:
L 07/27/2007 - 13:45:21: [SM] Plugin encountered error 8: Not enough space on the stack
L 07/27/2007 - 13:45:21: [SM] Debug mode is not enabled for "regeneration.smx"
L 07/27/2007 - 13:45:21: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 14 on
L 07/27/2007 - 13:45:21: [SM] Plugin encountered error 8: Not enough space on the stack
L 07/27/2007 - 13:45:21: [SM] Debug mode is not enabled for "regeneration.smx"
L 07/27/2007 - 13:45:21: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 14 on
L 07/27/2007 - 13:45:21: [SM] Plugin encountered error 8: Not enough space on the stack
L 07/27/2007 - 13:45:21: [SM] Debug mode is not enabled for "regeneration.smx"
L 07/27/2007 - 13:45:21: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 14 on
L 07/27/2007 - 13:45:22: [SM] Plugin encountered error 8: Not enough space on the stack
L 07/27/2007 - 13:45:22: [SM] Debug mode is not enabled for "regeneration.smx"
L 07/27/2007 - 13:45:22: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 14 on
L 07/27/2007 - 13:45:23: [SM] Plugin encountered error 8: Not enough space on the stack
on the cs:s server too
__________________
Kaschenko is offline
Send a message via ICQ to Kaschenko Send a message via MSN to Kaschenko Send a message via Skype™ to Kaschenko
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 01-21-2008 , 18:59   Re: HP Regeneration
Reply With Quote #12

Hi, can anyone take over this since the youngman retired.. I like the concept and use it on my server but get constant console span also....
This is getting old with neat ideas and scripts that spam the console because maybe the person hasnt the knolege to complete it help with bug support.


L 01/21/2008 - 18:57:53: [SM] Debug mode is not enabled for "regeneration.smx"
L 01/21/2008 - 18:57:53: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 19 on

this continues line after line yet the script compiles correctly and it works ok .....

has anyone found out why this happends..

ty ~~~~>
TheLaser is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 01-21-2008 , 20:01   Re: HP Regeneration
Reply With Quote #13

Enable debug mode on the plugin and paste what it says.
bl4nk is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 01-21-2008 , 22:23   Re: HP Regeneration
Reply With Quote #14

Hello,

Thanks for the reply maybe you can make some sence of this....



L 01/21/2008 - 22:18:42: [SM] [0] Line 49, regeneration.sp::Regenerate()


and when i do enable this it keeps going on and on also...
TheLaser is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 01-22-2008 , 01:27   Re: HP Regeneration
Reply With Quote #15

I see no problem on the coding side, what version of SM are you using?
bl4nk is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 01-22-2008 , 03:23   Re: HP Regeneration
Reply With Quote #16

My friend like i said it compiled fine no errors and it does work correctly but i cant watch whos login in or type anything in the servers console because it spams it to death . I was using 1800 then thought id upgrade to the latest.. no change and all my other plugins in sm work fine , this one is the spam from hell plugin... so if there is no problems with the codind side why is it reporting this message over and over prolly 1000 time in a 30 min map. ???
TheLaser is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 01-23-2008 , 11:29   Re: HP Regeneration
Reply With Quote #17

Oh well nice plugin concept but Ill have to pull it from all my servers and a few other clan servers my over seas friends have... the spam is way too much to deal with .. does anyone have a plugin thats simular to this thats not only works but doesnt have to report whats its doing every 2 sec in my sever console ???
TheLaser is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 01-23-2008 , 11:35   Re: HP Regeneration
Reply With Quote #18

Oh and ty's Bl4nk for the atempt to help .. out of the 100's to 1000's who read these posts I guess Im alittle suprized only one replyed to this but thats forums for ya , lol
TheLaser is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 01-23-2008 , 15:25   Re: HP Regeneration
Reply With Quote #19

I might have found the problem. Try the attached file to see if it fixes the error. If not, I'm going to rewrite the entire plugin to get it to work properly.
Attached Files
File Type: sp Get Plugin or Get Source (regeneration.sp - 741 views - 1.6 KB)
bl4nk is offline
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 01-24-2008 , 01:00   Re: HP Regeneration
Reply With Quote #20

Hey this is real nice of you to take time out of you busy schedual to help us.. I tried what you posted and


L 01/24/2008 - 00:54:09: [SM] Native "KillTimer" reported: Invalid timer handle 0 (error 4)
L 01/24/2008 - 00:54:09: [SM] Debug mode is not enabled for "regeneration.smx"
L 01/24/2008 - 00:54:09: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 19 on
L 01/24/2008 - 00:54:12: [SM] Native "KillTimer" reported: Invalid timer handle 0 (error 4)
L 01/24/2008 - 00:54:12: [SM] Debug mode is not enabled for "regeneration.smx"
L 01/24/2008 - 00:54:12: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 19 on

and if I do debug I get :

L 01/24/2008 - 00:58:20: [SM] Displaying call stack trace for plugin "regeneration.smx":
L 01/24/2008 - 00:58:20: [SM] [0] Line 59, regeneration.sp::Regenerate()


nice to see people helpng here I dont get this on other MOD forums...
TheLaser 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 18:29.


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