Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[in progress] Player Statistics Web Frontend / Possible Ladder
05-15-2008, 04:58 PM (This post was last modified: 11-17-2008 06:13 PM by -z-.)
Post: #1
heart [in progress] Player Statistics Web Frontend / Possible Ladder
I had my senior project class today and ran the idea past my professor. He seemed fine with the idea so I'm going forward with it.

I need to narrow down the project scope and figure out what things are most important and what are least important.

Please help me define your expectations of this project as a user, admin, viewer, whatever! Paste links to examples, draw pictures, be descriptive, whatever it takes to get your ideas across.

If I can build a solid match/player statistics base in a decent amount of time, I will expand this project to work with a ladder (this is quite likely to happen if all goes smooth).

Here's an example: [url]http://www.hlstatsx.com/[/url]
Inspire your neighbor, they'll inspire you back.

[url=http://maps.nexuizninjaz.com]maps.nn[/url] | [url=http://pics.nexuizninjaz.com]pics.nn[/url] | [url=http://chat.nexuizninjaz.com]chat.nn[/url] | [url=http://toolz.nexuizninjaz.com/cvar]2.5 cvar browser[/url]
Visit this user's website Find all posts by this user
Quote this message in a reply
05-15-2008, 07:04 PM
Post: #2
RE: [brainstorming] Player Statistics Web Frontend / Possible Ladder
Sounds awesome! This would be a great thing to have, especially if it could be integrated with a ladder.

A good feature to have is the ability for players to exclude themselves from stats being counted b prefixing their name with some invisible characters. I think one of the servers uses ^4^2 or something.

-z- Wrote:Paste links to examples

[url]http://gulch.mshade.org/stats.php[/url]

[url]http://delight.vapor.com/stats.php[/url]

[url]http://delight.vapor.com/plist.php[/url]
[b][url=http://www.nexuizninjaz.com/forum/member.php?action=profile&uid=14]-[color=#0000D0]p[/color][color=#00AA00]a[/color][color=#2255FF]v[/color][color=#BB00CC]l[/color][color=#CCCC00]v[/color][color=#FF0000]s[/color]-[/url][/b]: Find me at #nexuiz and #nexuiz.ninjaz on QuakeNet IRC!
[font=Verdana][size=large][color=#0000AA][url=http://www.nexuizninjaz.com/forum/showthread.php?tid=62]The NinjaSpeed Challenge![/url][/color][/size][size=x-small]
[url=http://www.nexuizninjaz.com/forum/member.php?action=profile&uid=14][color=#0000D0]p[/color][color=#00AA00]a[/color][color=#2255FF]v[/color][color=#BB00CC]l[/color][color=#CCCC00]v[/color][color=#FF0000]s[/color][/url]: 13 Records
[url=http://www.nexuizninjaz.com/forum/member.php?action=profile&uid=1][color=white]-[/color][color=#FF0000]z[/color][color=white]-[/color][/url]: 9 Records
[url=http://www.nexuizninjaz.com/forum/member.php?action=profile&uid=19]Mr. Bougo[/url]: 4 Records
[url=http://www.nexuizninjaz.com/forum/member.php?action=profile&uid=6][color=blue][BOT][/color][color=red]M[/color][color=gray]irio[/color] [color=red]<D.J.>[/color][/url]: 2 Records
[color=green]Long[/color][color=red]*[/color][color=yellow]Shot[/color]: 1 Record
[/size][/font]
Find all posts by this user
Quote this message in a reply
05-15-2008, 07:44 PM
Post: #3
RE: [brainstorming] Player Statistics Web Frontend / Possible Ladder
I have the source code for vapor stats and plan on using the database and some of the functions as a base. The gulch stats are crap. I'm sorry. I said it :).

But yes, we'll include the ^4^2 anon bit.
Inspire your neighbor, they'll inspire you back.

[url=http://maps.nexuizninjaz.com]maps.nn[/url] | [url=http://pics.nexuizninjaz.com]pics.nn[/url] | [url=http://chat.nexuizninjaz.com]chat.nn[/url] | [url=http://toolz.nexuizninjaz.com/cvar]2.5 cvar browser[/url]
Visit this user's website Find all posts by this user
Quote this message in a reply
11-17-2008, 06:12 PM
Post: #4
RE: [brainstorming] Player Statistics Web Frontend / Possible Ladder
Work on this is slowly moving forward. alpha has provided a parser which is near completion, I'll be working on a frontend towards the end of school. I've been experimenting with calling qstat and through php. Once I'm finished with school, the pace of this project will likely increase but the backend development is what's going to take up the most time.

If there are any SQL gurus around that would like to help out. Please contact me, it'll save me a lot of time and research as I'm only intermediate in my MySQL skills.
Inspire your neighbor, they'll inspire you back.

[url=http://maps.nexuizninjaz.com]maps.nn[/url] | [url=http://pics.nexuizninjaz.com]pics.nn[/url] | [url=http://chat.nexuizninjaz.com]chat.nn[/url] | [url=http://toolz.nexuizninjaz.com/cvar]2.5 cvar browser[/url]
Visit this user's website Find all posts by this user
Quote this message in a reply
07-06-2009, 09:50 PM
Post: #5
RE: [in progress] Player Statistics Web Frontend / Possible Ladder
The code gets a little confusing with multidimensional arrays -- but maybe I'm just a pussy.

This is one of my favorite lines in the latest revision:
Code:
if (db::count($player_kill_0_sql)>0) { $player_totals[$dm_match['match_id']][$killer['player_id']]=$player_totals[$dm_match['match_id']][$killer['player_id']]+1; }

It calculates the player score totals per match... later it sorts that array to bring the high score to the top of the array and matches the player id with the name.

[img]http://pics.nexuizninjaz.com/images/ony93u9gjcpexuz4ptfy.png[/img]


Map stats are easy so I figured I'd get the basics on that out of the way:

[img]http://pics.nexuizninjaz.com/images/qycf99k8hziy0vjqvkl7.png[/img]

Here's a bigger list with a lot more data imported to the database [url]http://pics.nexuizninjaz.com/viewer.php?file=5yaceajsj94l8clnqbb.png[/url]

long query is long

[img]http://pics.nexuizninjaz.com/images/649jo39e2dx3uq2tyv4h.png[/img]


LOL!


this is out of 344 matches.
Inspire your neighbor, they'll inspire you back.

[url=http://maps.nexuizninjaz.com]maps.nn[/url] | [url=http://pics.nexuizninjaz.com]pics.nn[/url] | [url=http://chat.nexuizninjaz.com]chat.nn[/url] | [url=http://toolz.nexuizninjaz.com/cvar]2.5 cvar browser[/url]
Visit this user's website Find all posts by this user
Quote this message in a reply
07-07-2009, 11:25 AM
Post: #6
RE: [in progress] Player Statistics Web Frontend / Possible Ladder
Whoa, are you guys trying to get fat by sitting on the computer and pushing your statistics?
The Labour Party decided to change its logo from a rose to a condom, believing it accurately reflects their policies. This is because a condom allows for inflation, halts productions, destroys the next generation, protects a bunch of pricks, and gives you a sense of security whilst you're being fucked.
Find all posts by this user
Quote this message in a reply
07-07-2009, 07:04 PM
Post: #7
RE: [in progress] Player Statistics Web Frontend / Possible Ladder
I'm not on the long list :(. When are you polling again? I want to see how bad I am :).
[img]https://home.comcast.net/~mastermind7373/master[mind]-siggy-1.png[/img]
Winning requires Learning. You Learn by Losing. Thus Winning [i]requires[/i] Losing.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


Contact Us | Nexuiz Ninjaz Home | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication