Quantcast
Channel: Community: Message List - Matchmaking is Terrible.. NOW WITH STATS!
Viewing all articles
Browse latest Browse all 41

Re: Matchmaking is Terrible.. NOW WITH STATS!

$
0
0

Update with stats:

 

All this data is post 12/8 patch. (~100 player sample size.)

 

 

State

Washington64%
California12%
Oregon10%
Other14%

 

 

For the more visually oriented, you can view a map here: http://cod.youarecreepy.com/

 

I still experience games now and then with some hit detection issues, but it is FAR LESS then before.

 

 

For those that want to try this themselves here are all the files: http://cod.youarecreepy.com/files

 

If you're not very technically-savvy don't bother attempting any of this, I hesitate releasing this because I don't really want to do much support on it.

 

But if you still want to try, read on!

 

Requirements:

- Some way to capture Xbox traffic with tcpdump

- Perl (Modules: DBI / DBD::SQLite / Net::Ping / JSON::XS)

- SQLite

- Networking/Programming knowledge

- Linux (Probably not a requirement, but makes all this easier)

 

Copy all the files into the same folder.

 

First you need to capture traffic going to and from the xbox while you're in the middle of a game. (Try to wait at least a minute after the match starts to capture, and don't capture while in a lobby, the data won't be accurate.)

 

The file tcpdump-wrapper.sh simply starts a tcpdump process and filters UDP traffic on port 3074 for 20seconds then ends. Once it is is finished you should have a text file with lots of entries that look like this:

19:21:13.604677 IP 174.61.xxx.xxx.3074 > 76.115.xxx.xxx.3074: UDP, length 80

 

This ".pcap" file is what the cod-matchmaking-parser perl script uses to parse out all the players and find their location.

 

You will need to make changes to the cod-matchmaking-parser script, around line 17 there are 4 constants you have to fill in.

- Your latitude/longitude, it uses this to calcuate how far away you are from other players.

- A IPInfoDB.com API key for the IP geolocation. Sign up for free @: http://ipinfodb.com/

- Your IP address, this will let the parser know who you are and who everyone else is. (I could automate this part but I'm lazy.)

 

WIth all that filled in you can run the script on the pcap file(s). Something like this:

perl cod-matchmaking-parser.txt --pcap all

 

Should run through the file and produce output similar to this:

===== Processing 1356061750.pcap =====

24.16.xxx.xxx was host!

Finding location of 24.16.xxx.xxx... ISSAQUAH, WASHINGTON [US]

Finding location of 24.16.xxx.xxx... BREMERTON, WASHINGTON [US]

Finding location of 184.78.xxx.xxx... SEATTLE, WASHINGTON [US]

Finding location of 98.237.xxx.xxx... TACOMA, WASHINGTON [US]

Finding location of 50.132.xxx.xxx... RENTON, WASHINGTON [US]

Finding location of 63.229.xxx.xxx... OLYMPIA, WASHINGTON [US]

Finding location of 50.135.xxx.xxx... SEATTLE, WASHINGTON [US]

Finding location of 50.125.xxx.xxx... EVERETT, WASHINGTON [US]

Finding location of 76.121.xxx.xxx... OLYMPIA, WASHINGTON [US]

Finding location of 184.97.xxx.xxx... YAKIMA, WASHINGTON [US]

Finding location of 208.71.xxx.xxx... MARYSVILLE, WASHINGTON [US]

===== Finished processing 1356061750.pcap =====

 

All the info should be added to the blackops2.db database. From there you can run SQL queries on it to find out other information, example:

Find the number of players you've played by each state:

SELECT COUNT(id) as count, state FROM players GROUP BY state ORDER BY count DESC;

 

That's about it, I never really intended to release all of this so you'll probably have to make some alterations here and there. Good luck!!


Viewing all articles
Browse latest Browse all 41

Latest Images

Trending Articles





Latest Images