{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/85","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/85/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/85/events","html_url":"https://github.com/chrsmith/bwapi/issues/85","id":58820396,"number":85,"title":"Player::getunits returns incorrect results very early game.","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-Critical","name":"Priority-Critical","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Defect","name":"Type-Defect","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Usability","name":"Usability","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-24T22:59:55Z","updated_at":"2015-02-24T22:59:57Z","closed_at":"2015-02-24T22:59:55Z","body":"```\nWhat steps will reproduce the problem?\n1.  Write a function to print out the number and type of units for each\nplayer (iterate through all players) in the onFrame() function (say, every\n10 seconds).  In fact you can just use the function in the example code you\nprovide.\n\n2.  Start a single player game, I've been using the first map - Astral\nBalance.  Leave both players at random.\n\n3.  When your print happens, you'll have random units inserted.  Mostly\nthey seem to be terran marines.  As time goes by (about every 8-10 seconds)\n1 of them will die off, and eventually you'll get back to normal.  I've\nseen as many as 16 \"magic\" marines on my team, but most games have between\n1 and 5.\n\n\nWhat is the expected output? What do you see instead?\n - I start the game and don't even move, I would expect output to say 4 scv\n/ drones / probes, the buildings, and if zerg, an overlord and larva.  But\nin addition to those I get a random number of \"Terran Marine\".\n\nWhat version of the product are you using? On what operating system?\n - BWAPI Beta 2 downloaded 2009-11-13.\n - I also tested this on BWAPI Beta from 2009-08-20.  It doesn't seem as\nfrequent there, but I did get varied results on the first few seconds of\nframes.\n\nPlease provide any additional information below.\n\n```\n\n-----\nOriginal issue reported on code.google.com by `thompso...@gmail.com` on 14 Nov 2009 at 3:10"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75866379","html_url":"https://github.com/chrsmith/bwapi/issues/85#issuecomment-75866379","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/85","id":75866379,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T22:59:56Z","updated_at":"2015-02-24T22:59:56Z","body":"```\nFixed in r1409.\n```\n\n-----\nOriginal comment by `AHeinerm` on 14 Nov 2009 at 6:47\n* Changed state: **Fixed**"}}