Raised This Month: $ Target: $400
 0% 

StatsX web module


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
snegoviK
Junior Member
Join Date: May 2007
Old 05-07-2007 , 05:55   StatsX web module
Reply With Quote #1

Some of my players requested a way to view statistics gathered by StatsX on the web. It looks quite trivial but I was wondering whether anybody has done anything like this (best solution)?

Moreover, does anybody know a mod, which is already available and which does this sort of thing or extracts data from the *.dat files on demand?

I know I can use HLStats... But does anybody know whether using StatsX is possible?

Last edited by snegoviK; 05-07-2007 at 06:00.
snegoviK is offline
pRED*
Join Date: Dec 2006
Old 05-07-2007 , 06:57   Re: StatsX web module
Reply With Quote #2

http://forums.alliedmods.net/showthr...ght=html+stats
pRED* is offline
snegoviK
Junior Member
Join Date: May 2007
Old 05-07-2007 , 07:55   Re: StatsX web module
Reply With Quote #3

hmmm... that plugin doesnt compile properly. I might have a look at the source later. Thnx anyway.
snegoviK is offline
snegoviK
Junior Member
Join Date: May 2007
Old 05-08-2007 , 06:28   Re: StatsX web module
Reply With Quote #4

Update. I have looked at the source code of that addon and edited it a bit.

*Fixed that hardcoded path, now it uses get_basedir.
*Fixed indentation.
*Fixed compile errors + warnings.

I can post the working version but I am not quite sure about the posting policy. It says I can't post plugins which aren't written by me, etc., etc. Can somebody explain to me whether I can post an edited version of the plug-in if it wasn't working and if I can what do I have to do to make sure I am within the policy? Because the fixes are very minor I am keeping the Author name as what it was.
snegoviK is offline
pRED*
Join Date: Dec 2006
Old 05-08-2007 , 08:36   Re: StatsX web module
Reply With Quote #5

you can post it here. Prob wldnt b good to try post it in new plugins tho..
pRED* is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 05-08-2007 , 09:01   Re: StatsX web module
Reply With Quote #6

You can post that plugin and write something like this:
Code:
Original author:""
Link:""
Fixed by:""
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
snegoviK
Junior Member
Join Date: May 2007
Old 05-20-2007 , 07:34   Re: StatsX web module
Reply With Quote #7

Alright, thanks. I am currently very busy, but if I am going to have some spare time, I will add it with some additional functionality built-in. Probably that will be in about 3 weeks or so. I will post here when I am back, since I ve got minimum experience in this and I would love to get some of your feedback. ^_^

I want to add:

-- refresh frequency cvar (so you can refresh stats every 15, 30, 60 minutes and so on).
-- ability to change web-site layout / content (i.e. title, etc).
-- change / add various statsX fields, such as efficiency, kpd, etc.
-- since this is a server administration add-on, I would also like to add a few statsX administration commands.

Last edited by snegoviK; 05-20-2007 at 07:38.
snegoviK 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 06:36.


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