{"action":"created","issue":{"url":"https://api.github.com/repos/bitfighter/bitfighter/issues/98","labels_url":"https://api.github.com/repos/bitfighter/bitfighter/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/bitfighter/bitfighter/issues/98/comments","events_url":"https://api.github.com/repos/bitfighter/bitfighter/issues/98/events","html_url":"https://github.com/bitfighter/bitfighter/issues/98","id":102538511,"number":98,"title":"Improving map selection by using metadata","user":{"login":"raptor","id":6452412,"avatar_url":"https://avatars.githubusercontent.com/u/6452412?v=3","gravatar_id":"","url":"https://api.github.com/users/raptor","html_url":"https://github.com/raptor","followers_url":"https://api.github.com/users/raptor/followers","following_url":"https://api.github.com/users/raptor/following{/other_user}","gists_url":"https://api.github.com/users/raptor/gists{/gist_id}","starred_url":"https://api.github.com/users/raptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raptor/subscriptions","organizations_url":"https://api.github.com/users/raptor/orgs","repos_url":"https://api.github.com/users/raptor/repos","events_url":"https://api.github.com/users/raptor/events{/privacy}","received_events_url":"https://api.github.com/users/raptor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitfighter/bitfighter/labels/019","name":"019","color":"FFFFFF"},{"url":"https://api.github.com/repos/bitfighter/bitfighter/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/bitfighter/bitfighter/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/bitfighter/bitfighter/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"},{"url":"https://api.github.com/repos/bitfighter/bitfighter/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-22T13:53:37Z","updated_at":"2015-08-22T13:53:38Z","closed_at":null,"body":"_From [helmic.a...@gmail.com](https://code.google.com/u/114019146101156236487/) on May 10, 2011 23:08:31_\n\nIssue: most maps played are crap.  Sorry, map makers, but they can't all be classics.\r\n\r\nSolution: metadata.\r\n\r\nApparently there's already restrictions based on playercount: maps need a certain number of players to be played, but most maps don't specify any number at all and so we get two players playing rabbit in a map the size of Russia.  An easy way to make sure maps mostly have reasonable limits is to provide default values based on map size; if MinPlayer and/or MaxPlayer isn't specified and Sir Francis Drake can't make it from one end to the other, the editor should assign a very high minimum player count and no player cap.  Game type should go into consideration as well.\r\n\r\nIf the map is team based, there should first be a check to see if even teams can be created or if there's enough players where one team being short a player wouldn't matter.  Adding bots to even teams out should be a last resort when players vote to play a team map or when the game's already in progress and a player leaves.  No one wants to get stuck with a bot for a teammate.\r\n\r\nThe big suggestion to improve the overall quality of maps played is a rating value.  At the end of each match, there should be a ten second break to allow players to rate the map, vote on the next one, and chat/congratulate/trash talk each other.  If a map has a high rating, it gets played more often.  If a map has been played a lot recently, it has a lower chance of being played again.  Maps without many votes have a higher chance to be played than maps with a lot of bad votes.  Voting should be a simple thumbs up or thumbs down system.\n\n_Original issue: http://code.google.com/p/bitfighter/issues/detail?id=98_"},"comment":{"url":"https://api.github.com/repos/bitfighter/bitfighter/issues/comments/133705645","html_url":"https://github.com/bitfighter/bitfighter/issues/98#issuecomment-133705645","issue_url":"https://api.github.com/repos/bitfighter/bitfighter/issues/98","id":133705645,"user":{"login":"raptor","id":6452412,"avatar_url":"https://avatars.githubusercontent.com/u/6452412?v=3","gravatar_id":"","url":"https://api.github.com/users/raptor","html_url":"https://github.com/raptor","followers_url":"https://api.github.com/users/raptor/followers","following_url":"https://api.github.com/users/raptor/following{/other_user}","gists_url":"https://api.github.com/users/raptor/gists{/gist_id}","starred_url":"https://api.github.com/users/raptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raptor/subscriptions","organizations_url":"https://api.github.com/users/raptor/orgs","repos_url":"https://api.github.com/users/raptor/repos","events_url":"https://api.github.com/users/raptor/events{/privacy}","received_events_url":"https://api.github.com/users/raptor/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T13:53:38Z","updated_at":"2015-08-22T13:53:38Z","body":"_From [watusim...@bitfighter.org](https://code.google.com/u/105427273526970468779/) on November 07, 2012 01:33:59_\n\nThe best bits here are map selection by rating (higher rated maps get played more often), map rating in general (likely to be added in 019 or 020)  Not sure how to implement the auto-min-player idea... some big levels are playable by small teams because there are lot of teleporters and the actual playable area is small.\r\n\r\nMaybe we can use bot zones to estimate total playable area, and use that to pick maps according to area/player.  This could be done during map loading, or precalculated in the editor and stored in the levelfile.  \r\n\r\nOr each server could have a map_metadata.ini file (or maybe a sqlite db) where it stores info about maps its seen before.  Except this file would grow indefinitely...\n\n**Labels:** 019  \n"}}