AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   StatsX web module (https://forums.alliedmods.net/showthread.php?t=54902)

snegoviK 05-07-2007 05:55

StatsX web module
 
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?

pRED* 05-07-2007 06:57

Re: StatsX web module
 
http://forums.alliedmods.net/showthr...ght=html+stats

snegoviK 05-07-2007 07:55

Re: StatsX web module
 
hmmm... that plugin doesnt compile properly. I might have a look at the source later. Thnx anyway.

snegoviK 05-08-2007 06:28

Re: StatsX web module
 
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.

pRED* 05-08-2007 08:36

Re: StatsX web module
 
you can post it here. Prob wldnt b good to try post it in new plugins tho..

Alka 05-08-2007 09:01

Re: StatsX web module
 
You can post that plugin and write something like this:
Code:

Original author:""
Link:""
Fixed by:""


snegoviK 05-20-2007 07:34

Re: StatsX web module
 
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.


All times are GMT -4. The time now is 06:36.

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