Flags of the world

Have suggestion for a new or old tool/enhancement? Found a tool bug? Come on in!

Moderators: Global Moderators, Tech Team

Forum rules
Please read the Community Guidelines before posting.

Re: Flags of the world

Postby ThrushAAX on Mon Apr 30, 2012 7:45 am

Woudn't this require a huge number of web requests? If you played 2000 unique players you would need to load 2000 different api calls? I suppose it could cash the result of each player after each run, but it still sounds like a lot. Maprank doesn't even hit 100 api calls (though they have a large result set) until you have 20000 games. Actually it would be similar to some of the maprank code as you still need to get and parse all games played then you need to look up each unique player.

It would be be faster to get and store country flags from the scoreboard in large batches, but that's only for the current active players.
Colonel ThrushAAX
 
Posts: 158
Joined: Wed Aug 12, 2009 1:07 am
Medals: 51
Conquer Cup Bronze Achievement (1) Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2)
Terminator Achievement (2) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Fog of War Achievement (2)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (7) General Achievement (12) Clan Achievement (2)
General Contribution (3)

Re: Flags of the world

Postby ender516 on Mon Apr 30, 2012 11:25 pm

grifftron wrote:bump... ender anything new ? :P

Thanks for the reminder. I got my C4 script released here, but I am holding off on Player Link until Game Link, Map Rank, and BOB are all okay with Trench Warfare.
ThrushAAX wrote:Woudn't this require a huge number of web requests? If you played 2000 unique players you would need to load 2000 different api calls? I suppose it could cash the result of each player after each run, but it still sounds like a lot. Maprank doesn't even hit 100 api calls (though they have a large result set) until you have 20000 games. Actually it would be similar to some of the maprank code as you still need to get and parse all games played then you need to look up each unique player.

It would be be faster to get and store country flags from the scoreboard in large batches, but that's only for the current active players.

ThrushAAX makes some valid points. The Map Rank code would be a good base for this, but with the current API, you do need one call for each player. Maybe this would be best done as an enhancement to Map Rank. To be honest, I don't know if Map Rank caches lists of unique players, or recreates them with each run. I will try to get a closer look at this idea this week.
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: Flags of the world

Postby grifftron on Thu May 03, 2012 3:49 am

thanks :)
‹army of nobunaga› me and so many other people including people in your own clan look at you as a joke
User avatar
Major grifftron
SoC Training Adviser
 
Posts: 3190
Joined: Thu Jul 09, 2009 6:11 am
Location: Chiang Mai
Medals: 120
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (3)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Beta Map Achievement (1) Ratings Achievement (3) Tournament Achievement (8) General Achievement (14)
Clan Achievement (16) Training Achievement (3) Map Contribution (1) Tournament Contribution (30) General Contribution (3)

Previous

Return to Tools Suggestions & Bugs

Who is online

Users browsing this forum: dgz345 and 1 guest

Login