Jump to content

Server Stats Script?


Recommended Posts

  • Replies 140
  • Created
  • Last Reply

Top Posters In This Topic

The JAckal' date='May 12 2006, 03:23 PM' post='373198']

I don't like to have different pages for different rounds, but only one page with the total stats of different rounds, a sort of ranking of al players who play in it.

So do i but i also would like a data base to tell whcih map belong to which map** a friend of mine is gonna work on parsing of all XML files for me we will see what he comes up with but i like the layout so far looks nice....

i'm trying to figure out how it works.

is this showing what the final scores after each round? -or- is it showing what the scores are currently in the server?

It is showing the scores after the rounds its not live stats..

Link to comment
Share on other sites

Thanks. Here's my ToDo list for the next version:

-Parse multiple log files, to MySQL database?

Anybody have any ideas on how this should work?

Would you prefer just log files stored as text in the database or actualy creating player entries and global scores. The problem I forsee is spoofing, people can change their names and ruin peoples scores on purpose which would be kinda gay if we are tracking stats.

Its upto you guys Ill write any script if you give some details on what it should do

Don't the usernames get authenticated against gamespy though? I don't know, I haven't actually played any multiplayer at all... lol. ;)

Link to comment
Share on other sites

Ok guys im working on codename Ghost Stats which will parse all the xml files into a database which will allow for players global stats lookup and also to review all games played on the server. This tool will also feature an Ajax backend which means no page reloading so you will see what you want faster.

More to come soon

Link to comment
Share on other sites

GrawStat v1 is coming along nicely, you guys are gonna love it :P

Here is a screenshot of the admin panel so far:

GrawStat_ss1.jpg

As you can see there is a list of all files currently residing in the 'grawXML'(customizable) folder. When you select one of the files it populates the fields in area two and waits for you to finish entering round specific data. From here will be step three which is merely clicking a button and watching it go.

Right now the page is mostly dhtml and ajax so its gonna look pretty and run like a sports car. It really is a pretty slick little proggy ... anyway back to the programming :blink:

Link to comment
Share on other sites

I was thinking, for those of you with this running on your server Ill implement an option to automaticaly parse all files in the folder then delete them that way any time someone visits the site it will update all the content so they dont have to wait for an admin to upload and update the database.

Ohh and by the way just finished all the code to process the xml into a database :P

Edited by Reeper_3d
Link to comment
Share on other sites

I was thinking, for those of you with this running on your server Ill implement an option to automaticaly parse all files in the folder then delete them that way any time someone visits the site it will update all the content so they dont have to wait for an admin to upload and update the database.

Ohh and by the way just finished all the code to process the xml into a database :P

Actually, instead of deleteing the old .xml files, it might be nice to have them archived to a back-up folder, that way they can all be imported again if the db gets borked or something breaks. :)

oh & great job so far.

Link to comment
Share on other sites

Start from here:

http://rajshekhar.net/blog/archives/85-Ras...X-Tutorial.html

Learn it, Love it, Become it

Then make your system or class or as most call it your Ajax Pattern and then have fun cause you are now ahead of the curve.

I work proffesionaly on Enterprise level ajax applications, while normaly I'm all backend I dabble in the javascript area also. Im mostly X(ML) via P(HP)

Edited by Reeper_3d
Link to comment
Share on other sites

Start from here:

http://rajshekhar.net/blog/archives/85-Ras...X-Tutorial.html

Learn it, Love it, Become it

Then make your system or class or as most call it your Ajax Pattern and then have fun cause you are now ahead of the curve.

I work proffesionaly on Enterprise level ajax applications, while normaly I'm all backend I dabble in the javascript area also. Im mostly X(ML) via P(HP)

Cool thanks. Yeah, I figured it was probably part of your day job because it all looks very professional. ;)

Link to comment
Share on other sites

What everyone really needs to do is petition Grin or Ubi probably grin to put a mini socket connection for the web so we can query the server. If they do that ... woooooweeeee im in business we can have live stats. If someone writes up a formal request and posts it on a bunch of forums im sure it will get noticed.

A direct server connection really is what we need.

Link to comment
Share on other sites

By the way guys got the player output running on the test site for version 1

http://www.brad.vertihost.com/graw/

Just click the view players part, right now this is only a very basic in the final version click on a players name will drop down a list of the last 10 games the player has played in and his scores in those games along with the ability to view all games the player has played in.

Along with that will come the ability to sort everything by any field present. This really all is just a matter of javascript coding all the backend stuff is done but right now its 3:15am and I havent gotten to sleep yet so im hitting the sack, gnite and hope you enjoy the future outlook for this proggy

Link to comment
Share on other sites

Cool thanks. Yeah, I figured it was probably part of your day job because it all looks very professional. ;)

Hehe just wait until you see the code ... the ajax part your gonna go "so thats how he did it .. that makes sense" when you open the main classfile it will probably knock you off your chair :-D

You code VERY differently then I do so its gonna be a shocker when you see it :-D, your coding is what is called inline coding (ALL php code inline with html) mine is more Object Oriented and works VERY differently hehe you will figure it out when you see it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...