[SPQR]The JAckal Posted May 12, 2006 Author Share Posted May 12, 2006 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. Quote Link to comment Share on other sites More sharing options...
Iggy. Posted May 12, 2006 Share Posted May 12, 2006 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? Quote Link to comment Share on other sites More sharing options...
[SPQR]The JAckal Posted May 12, 2006 Author Share Posted May 12, 2006 (edited) showing what the scores are currently in the server Edited May 12, 2006 by [SPQR]The JAckal Quote Link to comment Share on other sites More sharing options...
d0youlikecheese Posted May 12, 2006 Share Posted May 12, 2006 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.. Quote Link to comment Share on other sites More sharing options...
[SPQR]The JAckal Posted May 12, 2006 Author Share Posted May 12, 2006 (edited) I can use MySQL database if need . Edited May 12, 2006 by [SPQR]The JAckal Quote Link to comment Share on other sites More sharing options...
firefly2442 Posted May 12, 2006 Share Posted May 12, 2006 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. Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 13, 2006 Share Posted May 13, 2006 Ohh yea I forgot, I was thinking about the demo where in lan play you can set any username, well that makes sense. I will start working on one that exports usernames to database and ill setup a ranking system. Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 13, 2006 Share Posted May 13, 2006 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 Quote Link to comment Share on other sites More sharing options...
firefly2442 Posted May 13, 2006 Share Posted May 13, 2006 Here's version 0.5 I added support for multiple .xml stats files and fixed a couple bugs. I think this will be the last version since it sounds like Reeper is working on a pretty sweet new one. Download Link: http://www.rivetcode.com/files/phpgrawstat...awstats_0-5.zip Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 14, 2006 Share Posted May 14, 2006 GrawStat v1 is coming along nicely, you guys are gonna love it Here is a screenshot of the admin panel so far: 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 Quote Link to comment Share on other sites More sharing options...
[SPQR]The JAckal Posted May 14, 2006 Author Share Posted May 14, 2006 Nice Job Reeper Quote Link to comment Share on other sites More sharing options...
ROCO*AFZ* Posted May 14, 2006 Share Posted May 14, 2006 Man you guys are fast lol! I'll be implementing php on my server to test later this week. Great job guys! Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 14, 2006 Share Posted May 14, 2006 (edited) 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 Edited May 14, 2006 by Reeper_3d Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 14, 2006 Share Posted May 14, 2006 New version working demo is up for SHOW only right now theres not much to see as admin section isnt live ... soon it will come Link: http://brad.vertihost.com/graw/ Quote Link to comment Share on other sites More sharing options...
Beaver Posted May 14, 2006 Share Posted May 14, 2006 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 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. Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 14, 2006 Share Posted May 14, 2006 I could probably have it compress them all into one backup zip file but thats in the future ... its a good idea though Quote Link to comment Share on other sites More sharing options...
firefly2442 Posted May 14, 2006 Share Posted May 14, 2006 Nice job! It's really coming along nicely. How did you learn Ajax if I might ask, a book, online tutorials? Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 15, 2006 Share Posted May 15, 2006 (edited) 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 May 15, 2006 by Reeper_3d Quote Link to comment Share on other sites More sharing options...
wFeather Posted May 15, 2006 Share Posted May 15, 2006 Reeper_3d you are doing a great job bro... Quote Link to comment Share on other sites More sharing options...
firefly2442 Posted May 15, 2006 Share Posted May 15, 2006 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. Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 15, 2006 Share Posted May 15, 2006 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. Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 15, 2006 Share Posted May 15, 2006 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 Quote Link to comment Share on other sites More sharing options...
JASGripen Posted May 15, 2006 Share Posted May 15, 2006 Nice one, please do continue, will you. Quote Link to comment Share on other sites More sharing options...
reeper_3d Posted May 15, 2006 Share Posted May 15, 2006 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. Quote Link to comment Share on other sites More sharing options...
firefly2442 Posted May 15, 2006 Share Posted May 15, 2006 Yeah, I basically learned PHP by reading a book and trying to figure it out on my own so my style is probably not the best. OOP is probably a better design and way that I should learn. Anyway, have fun on the trip. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.