{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/108","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/108/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/108/events","html_url":"https://github.com/chrsmith/bwapi/issues/108","id":58481833,"number":108,"title":"Vulture AttackMove Crashes StartCraft","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"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-22T00:14:46Z","updated_at":"2015-02-22T00:14:46Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1. Compile ExampleAIModule.cpp\n2. Run the map: vulture.scm\n3. After 5 seconds, the module will try to attack move the vulture, but\nStarCraft will crash\n\nAdditional Information:\n-Other orders given to vultures will crash StarCraft, such as attack,\nrightClick, patrol, etc.\n\n-Placing mines does not crash StarCraft\n\n-This may be related to Issue 39: which was caused by the select code.\n\nWhat is the expected output? What do you see instead?\nCrash after 5 seconds\n\nWhat version of the product are you using? On what operating system?\nBW Beta 2.1.4\n\nPlease provide any additional information below.\n\nExampleAIModule.cpp:\n\n#include \"ExampleAIModule.h\"\nusing namespace BWAPI;\nvoid ExampleAIModule::onStart()\n{\n  Broodwar->sendText(\"Vulture Test!\");\n}\nvoid ExampleAIModule::onFrame()\n{\n    if (Broodwar->getFrameCount()%120==0)\n    {\n      std::set<Unit*> myUnits = Broodwar->self()->getUnits();\n      for(std::set<Unit*>::iterator i=myUnits.begin();i!=myUnits.end();i++)\n\t  {\n\t\t  if ((*i)->getType().canMove()) {\n  \t\t     Broodwar->sendText(\"attackMove\");\n\t\t     (*i)->attackMove(BWAPI::Position(32, 32));\n\t\t  }\n\t  }\n    }\n}\n\n```\n\n-----\nOriginal issue reported on code.google.com by `bgwe...@gmail.com` on 17 Nov 2009 at 12:33\n\nAttachments:\n* [vulture.scm](https://storage.googleapis.com/google-code-attachments/bwapi/issue-108/comment-0/vulture.scm)\n"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75403526","html_url":"https://github.com/chrsmith/bwapi/issues/108#issuecomment-75403526","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/108","id":75403526,"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-22T00:14:46Z","updated_at":"2015-02-22T00:14:46Z","body":"```\nI reproduced the crash in BWAPI Beta 2.1.4, but using the latest revision it \nappears\nto work fine (no idea why though).\n```\n\n-----\nOriginal comment by `lowerlo...@gmail.com` on 17 Nov 2009 at 2:58"}}