Doom Stats - Know Your Players, NSA style

General discussion of the port and Doom-related chat.
Post Reply
User avatar
Zalewa
Developer
Posts: 336
Joined: Wed May 30, 2012 3:28 pm

Doom Stats - Know Your Players, NSA style

#1

Post by Zalewa » Sun Jun 28, 2015 8:17 pm

I've put together a small site as an excuse to learn Django and a bit of web programming.

http://doomstats.co.nr/

The site uses the same protocol as a server browser such as Doomseeker would. It collects and stores data on who's playing what, player scores and pings, how many servers are online and which WADs are hosted. Site collects statistics for Zandronum, Chocolate Doom and Odamex (ZDaemon probably won't ever be here).

Right now the data displayed is minimal: I have an average server count and a chart for average player count, which still needs some work to not display zero for days where daily player count averages down to it. However, there's a lot more data being collected right now and it's only a matter of adding appropriate tables or charts to have it displayed. I was primarily thinking about displaying which servers and which mods are the most popular.

Links to source are available in the footer.
Last edited by Zalewa on Sun Jul 05, 2015 12:47 pm, edited 1 time in total.
Doomseeker - a real answer to cross-platform server browser.
Doomseeker dev builds - unofficial Doomseeker builds for Windows.
Gamer's Proxy - a program to emulate ping and packet losses.

User avatar
Ænima
Addicted to Zandronum
Posts: 3582
Joined: Tue Jun 05, 2012 6:12 pm

RE: Doom Stats - Know Your Players NSA style

#2

Post by Ænima » Sun Jun 28, 2015 9:17 pm

Awesome! Should have it embedded in the forum somewhere.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

User avatar
Slim
Zandrone
Posts: 1112
Joined: Sat Mar 16, 2013 7:11 am
Location: Zero Space
Clan: Can't fit it in here
Clan Tag: -=FSR=-
Contact:

RE: Doom Stats - Know Your Players NSA style

#3

Post by Slim » Sun Jun 28, 2015 9:20 pm

Maybe it should be called Snowden. lol jk

Anyways, nice to see that Zandy has it's own stats thingamajiggy.
Image

"Your childish antics grow tiring. If you dare to fight me, then I accept your challenge: Anytime, anywhere." - Zero, Megaman X5
Spoiler: Quotes (Open)
5:54 PM - Slim: you're complaining about something so small that
5:54 PM - Lance: so? we do that all the time
5:55 PM - Lance: we're a bunch of losers complaining at a bar minus the bar
Spoiler: Galactus tried evading (Open)
Image

Lord Smash
 
Posts: 39
Joined: Sat May 09, 2015 10:39 pm
Location: In the magical land of Whatever

RE: Doom Stats - Know Your Players NSA style

#4

Post by Lord Smash » Sun Jun 28, 2015 10:21 pm

Decay wrote: Cool. Statistical proofs nobody plays odamex.

Image
I can't wait to see how it goes for ZDaemon :lol:

User avatar
Ru5tK1ng
Frequent Poster Miles card holder
Posts: 813
Joined: Fri Jun 01, 2012 9:04 pm

RE: Doom Stats - Know Your Players NSA style

#5

Post by Ru5tK1ng » Sun Jun 28, 2015 11:04 pm

Lord Smash wrote:
Decay wrote: Cool. Statistical proofs nobody plays odamex.

Image
I can't wait to see how it goes for ZDaemon :lol:
http://stats.zdaemon.org/
554 unique IP Addresses have logged in to the Master today, 2015-06-28
Projects

EonDM - With Hatred as my sidekick.
RageCTF - Made 1 map and did much more.
DBAB LMS - Pack made for Last Man Standing.
EonWeapons - Improve vanilla weapons and add stuff for kicks.
Progressive Duel - Leaving the old behind.
IDL201X CTF - Maintaining since 2013.
Strife AA - Helped tested + 1 map

User avatar
Medicris
Forum Regular
Posts: 614
Joined: Mon Jun 04, 2012 5:29 am

RE: Doom Stats - Know Your Players NSA style

#6

Post by Medicris » Sun Jun 28, 2015 11:38 pm

It would be neat to have something like this on-site:
http://store.steampowered.com/stats/
http://store.steampowered.com/stats/content/

Perhaps instead of "Top games by current player count", there'd be top server by avg. player count. A player country heatmap would be interesting to see, if possible.
Last edited by Medicris on Sun Jun 28, 2015 11:39 pm, edited 1 time in total.

Catastrophe
Retired Staff / Community Team Member
Posts: 2571
Joined: Sat Jun 02, 2012 2:44 am

RE: Doom Stats - Know Your Players NSA style

#7

Post by Catastrophe » Mon Jun 29, 2015 5:59 am

Decay wrote: Cool. Statistical proofs nobody plays odamex.

Image
lmao

User avatar
Zalewa
Developer
Posts: 336
Joined: Wed May 30, 2012 3:28 pm

RE: Doom Stats - Know Your Players, NSA style

#8

Post by Zalewa » Mon Jun 29, 2015 10:13 pm

Thanks for the input. I changed displayed average values to floats so that charts for Chocolate Doom and Odamex get a chance to actually display something for daily range.
Spoiler: Odamex floating point chart (Open)
Image
Regarding mentioned points:

> Unique player tracking

I'm afraid that's not possible as server refresh protocol simply doesn't specify any information that would allow to identify unique players. You can track them by nicknames, of course, but then if a nickname list differs on a server between refreshes you will never be sure whether some players left and others joined or whether the already playing players changed their nicknames.

> Player "heat" world map

Same as above. I can do such map for servers popularity, as their IP addresses are public, but the protocol doesn't disclose IP addresses of players (and by all means that's how it should be, let's not go full NSA on this.)

> ZDaemon

The backend for the site is, basically, Doomseeker. We tried to add ZDaemon support for Doomseeker once. It resulted in drama and ZDaemon protocol obfuscation. There's no support for ZDaemon in Doomseeker ever since. Unless ZDaemon staff changes their stance on this, there's no chance that ZDaemon will ever be on the site.
Last edited by Zalewa on Mon Jun 29, 2015 10:14 pm, edited 1 time in total.
Doomseeker - a real answer to cross-platform server browser.
Doomseeker dev builds - unofficial Doomseeker builds for Windows.
Gamer's Proxy - a program to emulate ping and packet losses.

Kara Kurt
Frequent Poster Miles card holder
Posts: 887
Joined: Sat Oct 12, 2013 6:58 pm
Location: Strasbourg, France
Contact:

RE: Doom Stats - Know Your Players, NSA style

#9

Post by Kara Kurt » Mon Jun 29, 2015 11:36 pm

Lord Smash wrote:
Decay wrote: Cool. Statistical proofs nobody plays odamex.

Image
I can't wait to see how it goes for ZDaemon :lol:
:lol:
> ZDaemon

The backend for the site is, basically, Doomseeker. We tried to add ZDaemon support for Doomseeker once. It resulted in drama and ZDaemon protocol obfuscation. There's no support for ZDaemon in Doomseeker ever since. Unless ZDaemon staff changes their stance on this, there's no chance that ZDaemon will ever be on the site.
A shame.
Last edited by Kara Kurt on Mon Jun 29, 2015 11:36 pm, edited 1 time in total.

Ralphis
New User
Posts: 2
Joined: Sat Jul 04, 2015 7:03 pm

RE: Doom Stats - Know Your Players, NSA style

#10

Post by Ralphis » Sat Jul 04, 2015 7:05 pm

This is a really cool tool. I am getting a weird bug in firefox though. No matter what I set the dates to, it will start to cycle back through all of the dates (refreshing the page every 2 seconds) until it returns to http://zalewa.strangled.net/doomstats/e ... =2015-6-22. Not sure why it does it and I can't find a way to stop it. It happens anytime I change the dates or pick a specific day.

User avatar
Zalewa
Developer
Posts: 336
Joined: Wed May 30, 2012 3:28 pm

RE: Doom Stats - Know Your Players, NSA style

#11

Post by Zalewa » Sat Jul 04, 2015 7:44 pm

Ralphis wrote: This is a really cool tool. I am getting a weird bug in firefox though. No matter what I set the dates to, it will start to cycle back through all of the dates (refreshing the page every 2 seconds) until it returns to http://zalewa.strangled.net/doomstats/e ... =2015-6-22. Not sure why it does it and I can't find a way to stop it. It happens anytime I change the dates or pick a specific day.
Should be fixed now.
Doomseeker - a real answer to cross-platform server browser.
Doomseeker dev builds - unofficial Doomseeker builds for Windows.
Gamer's Proxy - a program to emulate ping and packet losses.

Ralphis
New User
Posts: 2
Joined: Sat Jul 04, 2015 7:03 pm

RE: Doom Stats - Know Your Players, NSA style

#12

Post by Ralphis » Sat Jul 04, 2015 8:34 pm

Confirmed. Again, neat page. Thanks for making it.

EDIT: Out of curiosity, does this track bots as players as well?
Last edited by Ralphis on Sat Jul 04, 2015 8:35 pm, edited 1 time in total.

User avatar
ibm5155
Addicted to Zandronum
Posts: 1641
Joined: Tue Jun 05, 2012 9:32 pm
Location: Somewhere, over the rainbow

RE: Doom Stats - Know Your Players, NSA style

#13

Post by ibm5155 » Sun Jul 05, 2015 1:56 am

Heh, nice stuff you did there, I did once a kind of map database, since I couldn't test my map all the time online, I did a crap but functional method, the bad side is, I needed to log on the server and wait my map, and hope the server wasn't reseted for geting hot stuff...)

OFF:hmm, It may sound like an evil idea, but, could zandronum send information for an address, like "send(192.168.1.1,"hi",1)" from a script? that way I could avoid requiring to log to each server to colect the data :D...

ON: hmm, maybe someone from this fórum just saw the odamex score and decided to log in just to remove it from 0 players online status
Projects
Cursed Maze: DONE, V2.0
Zombie Horde - ZM09 map update: [3/15/13]
Need help with English? Then you've come to the right place!

<this post is proof of "Decline">

User avatar
Zalewa
Developer
Posts: 336
Joined: Wed May 30, 2012 3:28 pm

RE: Doom Stats - Know Your Players, NSA style

#14

Post by Zalewa » Sun Jul 05, 2015 5:59 am

Ralphis wrote: EDIT: Out of curiosity, does this track bots as players as well?
Bots are collected and stored in database and they're marked as bots. Every display I have on the site filters them out. So, no, bots are not counted.
Doomseeker - a real answer to cross-platform server browser.
Doomseeker dev builds - unofficial Doomseeker builds for Windows.
Gamer's Proxy - a program to emulate ping and packet losses.

Fluffles
Forum Regular
Posts: 150
Joined: Thu Jun 14, 2012 5:23 pm
Location: England (South)

RE: Doom Stats - Know Your Players, NSA style

#15

Post by Fluffles » Tue Jul 07, 2015 10:10 pm

Nice work making the stats database, looks pretty cool. I noticed in your original post you stated you are trying to make more detailed stats for players. Does this mean you are working towards creating a stats/ranking database for the playerbase on competitive game modes? or haven't you thought about it yet :)

User avatar
Zalewa
Developer
Posts: 336
Joined: Wed May 30, 2012 3:28 pm

RE: Doom Stats - Know Your Players, NSA style

#16

Post by Zalewa » Tue Jul 07, 2015 10:31 pm

Fluffles wrote: Nice work making the stats database, looks pretty cool.
Thanks.
Fluffles wrote: I noticed in your original post you stated you are trying to make more detailed stats for players. Does this mean you are working towards creating a stats/ranking database for the playerbase on competitive game modes? or haven't you thought about it yet :)
I'm afraid that's not possible with current server browser protocol. Remember that my site doesn't do anything more than an actual server browser would. There's no way to track individual players. Such system would require cooperation of Zandronum servers and some kind of player authentication system.

Anyway, tracking individual players scores was never the intended goal of the site. Right now I'm only thinking about adding filter forms for servers and WADs so that users can see popularity of any server (or set of servers) or WAD over time. Right now you can only view the 20 most popular servers/WADs.
Doomseeker - a real answer to cross-platform server browser.
Doomseeker dev builds - unofficial Doomseeker builds for Windows.
Gamer's Proxy - a program to emulate ping and packet losses.

Kara Kurt
Frequent Poster Miles card holder
Posts: 887
Joined: Sat Oct 12, 2013 6:58 pm
Location: Strasbourg, France
Contact:

RE: Doom Stats - Know Your Players, NSA style

#17

Post by Kara Kurt » Tue Jul 07, 2015 11:47 pm

Bring back Zan+

User avatar
Zalewa
Developer
Posts: 336
Joined: Wed May 30, 2012 3:28 pm

RE: Doom Stats - Know Your Players, NSA style

#18

Post by Zalewa » Wed Jul 08, 2015 6:57 am

Bring back what?
Doomseeker - a real answer to cross-platform server browser.
Doomseeker dev builds - unofficial Doomseeker builds for Windows.
Gamer's Proxy - a program to emulate ping and packet losses.

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

RE: Doom Stats - Know Your Players, NSA style

#19

Post by Torr Samaho » Sun Jul 19, 2015 10:27 am

Zalewa wrote: I'm afraid that's not possible with current server browser protocol. Remember that my site doesn't do anything more than an actual server browser would. There's no way to track individual players. Such system would require cooperation of Zandronum servers and some kind of player authentication system.
If there is interest, we could expose the authentication system we added in 1.3.

Post Reply