Raised This Month: $ Target: $400
 0% 

HeadShot-Master - stats for headshots incl. MySQL


Post New Thread Reply   
 
Thread Tools Display Modes
Leichenklaus
Member
Join Date: Mar 2004
Location: Germany
Old 08-05-2005 , 07:18  
Reply With Quote #21

Quote:
Originally Posted by pl2003
is it possible to reset the counting on a daily basis? I guess the part to be modified could be this one (but I dont know how):
OK back home I added a variable hs_reset to the plugin, so now u can choose between 3 reset points:
* 0 - daily at midnight
* 1 - weekly at sunday midnight (default)
* 2 - monthly at the 1. of month
just set hs_reset to 0,1 or 2 and recompile

dl the newest version and hf
Leichenklaus is offline
Damocles
Member
Join Date: Jan 2005
Old 08-05-2005 , 08:14  
Reply With Quote #22

Quote:
Originally Posted by Leichenklaus

OK back home I added a variable hs_reset to the plugin, so now u can choose between 3 reset points:
* 0 - daily at midnight
* 1 - weekly at sunday midnight (default)
* 2 - monthly at the 1. of month
just set hs_reset to 0,1 or 2 and recompile

dl the newest version and hf
is there any chance of having a '3' for - no reset ?
Damocles is offline
Leichenklaus
Member
Join Date: Mar 2004
Location: Germany
Old 08-05-2005 , 10:33  
Reply With Quote #23

it's easy...just set hs_reset to anything other but 0,1 or 2 and no reset will be done
but u have to make MAX_USERS high enough...and if the MAX_USERS is reached, no new players will be added to the list
Leichenklaus is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 08-05-2005 , 10:37  
Reply With Quote #24

Thanks for this modification! Just compiled+upped, hopefully after next mapload (maptime: 1200 minutes ;)9 it's working fine.

EDIT:
Hm, yesterday I changed the sma to reset daily, set maptime to 300, changed the map and today all stats are unchanged.

EDIT2:
Definitely doesnt resets the stats for five days now
Guenhwyvar is offline
[]D [] []v[] []D
Member
Join Date: Jul 2005
Old 08-08-2005 , 21:31  
Reply With Quote #25

sounds cool hope it gets approved
[]D [] []v[] []D is offline
Send a message via ICQ to []D [] []v[] []D
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 08-21-2005 , 11:13  
Reply With Quote #26

any chances you fix the bug with hs_reset? since your last update, my stats arent resetted and I have to shutdown server, delete the stats-file and restart the server to have fresh stats .

is there a possibility to reset the stats manually & ingame?
Guenhwyvar is offline
Leichenklaus
Member
Join Date: Mar 2004
Location: Germany
Old 08-21-2005 , 11:28  
Reply With Quote #27

Quote:
Originally Posted by pl2003
any chances you fix the bug with hs_reset? since your last update, my stats arent resetted and I have to shutdown server, delete the stats-file and restart the server to have fresh stats .
hm u were the one who wanted the daily reset...what did u set hs_reset?
do you use mysql version or normal ftp based?
I have no bug over here using ftp-based plugin with weekly reset

Quote:
is there a possibility to reset the stats manually & ingame?
not at the moment....could be scripted...perhaps I do
Leichenklaus is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 08-22-2005 , 08:35  
Reply With Quote #28

Quote:
Originally Posted by Leichenklaus
I have no bug over here using ftp-based plugin with weekly reset
same for me with the version prior this one (w/o hs_reset).

Iam using the "normal" ftp-based-version, too.

I modified this line of the sma:
Code:
new hs_reset = 0

But no problem, daily reset isn't a must-have. Weekly will be fine, too. But if I could reset the stats manually now and than, would be great!
Guenhwyvar is offline
hasta
Senior Member
Join Date: Aug 2004
Location: Ukraine, Kyiv
Old 08-28-2005 , 12:52  
Reply With Quote #29

How can i remove hud masseges?
hasta is offline
Send a message via ICQ to hasta
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 09-09-2005 , 05:25  
Reply With Quote #30

I want to reask my question: how I can reset the stats while the server is running?
Guenhwyvar 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 11:58.


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