Raised This Month: $ Target: $400
 0% 

[L4D1&2] Witch crown statistic


Post New Thread Reply   
 
Thread Tools Display Modes
BentByBogus
Junior Member
Join Date: Apr 2010
Location: Germany
Old 06-17-2010 , 08:45   Re: [L4D1/2] Witch crown statistic
Reply With Quote #21

Thanks for making this!
BentByBogus is offline
AbbissineC
Junior Member
Join Date: Jun 2010
Old 06-28-2010 , 03:59   Re: [L4D1/2] Witch crown statistic
Reply With Quote #22

plugin does not create a text file .... if anyone does this plugin, please lay out here, this text file.
and in what directory it is located??

Last edited by AbbissineC; 07-02-2010 at 08:07.
AbbissineC is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 07-08-2010 , 07:52   Re: [L4D1/2] Witch crown statistic
Reply With Quote #23

Quote:
Originally Posted by AbbissineC View Post
plugin does not create a text file .... if anyone does this plugin, please lay out here, this text file.
and in what directory it is located??
It does lol... well it works fine for me anyways.

The .txt file it DOES autocreate is called "witch_crown_database.txt" and is located "lfd/left4dead/cfg/" *might be slightly different path but should be almost the same*

Hope this helps...

Mark

Last edited by matrixmark; 07-08-2010 at 07:54.
matrixmark is offline
AbbissineC
Junior Member
Join Date: Jun 2010
Old 07-08-2010 , 08:30   Re: [L4D1/2] Witch crown statistic
Reply With Quote #24

Quote:
Originally Posted by matrixmark View Post
It does lol... well it works fine for me anyways.

The .txt file it DOES autocreate is called "witch_crown_database.txt" and is located "lfd/left4dead/cfg/" *might be slightly different path but should be almost the same*

Hope this helps...

Mark
that's just it, the plugin does not create this text file (tried on different versions sourcemod and metamod)and therefore I beg to lay out witch_crown_database.txt....
AbbissineC is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 07-08-2010 , 11:04   Re: [L4D1/2] Witch crown statistic
Reply With Quote #25

hmm thats very odd....

I been using this all day today and its pretty much perfect

I have attached the file that was auto-generated for my install..

PHP Code:
crowns I think this is the amount of crowns the player has performed in game.
 
name is obviously the players ingame name
 
count 
not sure what this is for tbh... would have to ask the plugin author
Mark
Attached Files
File Type: txt witch_crown_database.txt (135 Bytes, 291 views)
matrixmark is offline
AbbissineC
Junior Member
Join Date: Jun 2010
Old 07-08-2010 , 11:09   Re: [L4D1/2] Witch crown statistic
Reply With Quote #26

ок. thanks !
AbbissineC is offline
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 07-09-2010 , 17:22   Re: [L4D1/2] Witch crown statistic
Reply With Quote #27

count => count of players in the database
__________________
DieTeetasse is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 07-10-2010 , 05:08   Re: [L4D1/2] Witch crown statistic
Reply With Quote #28

Quote:
Originally Posted by DieTeetasse View Post
count => count of players in the database
I'm being honest I did think that but I didnt want to say incase I was wrong

This plugin is causing some awesome and healthy competition on my server XD.
matrixmark is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 07-10-2010 , 09:58   Re: [L4D1/2] Witch crown statistic
Reply With Quote #29

you could update/improve the plugin by putting the total # of cr0wns in the db. wouldnt have to re-calculate it every time someone asks for the panel to be displayed.

just store it in the info section every time you add a crown - add a total. every time you reset someones cr0wns - reset the total.
dirka_dirka is offline
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 07-11-2010 , 06:43   Re: [L4D1/2] Witch crown statistic
Reply With Quote #30

@dirka_dirka: It is more or less irrelevant if i would save the number of crowns or not.
The number is only shown when the Top 5 Crowners are shown and to get them i have to load all data into an array to sort it. The addition of the value is such a cheap function, that there would be no really improvement to change this into a key value call.
__________________
DieTeetasse 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 20:46.


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