{"action":"created","issue":{"url":"https://api.github.com/repos/CodeSlinger69/ClAsHbOt/issues/18","labels_url":"https://api.github.com/repos/CodeSlinger69/ClAsHbOt/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/CodeSlinger69/ClAsHbOt/issues/18/comments","events_url":"https://api.github.com/repos/CodeSlinger69/ClAsHbOt/issues/18/events","html_url":"https://github.com/CodeSlinger69/ClAsHbOt/issues/18","id":91262049,"number":18,"title":"During Auto Raid, \"Find a Match\" button can't be found","user":{"login":"deanhill1971","id":13065360,"avatar_url":"https://avatars.githubusercontent.com/u/13065360?v=3","gravatar_id":"","url":"https://api.github.com/users/deanhill1971","html_url":"https://github.com/deanhill1971","followers_url":"https://api.github.com/users/deanhill1971/followers","following_url":"https://api.github.com/users/deanhill1971/following{/other_user}","gists_url":"https://api.github.com/users/deanhill1971/gists{/gist_id}","starred_url":"https://api.github.com/users/deanhill1971/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanhill1971/subscriptions","organizations_url":"https://api.github.com/users/deanhill1971/orgs","repos_url":"https://api.github.com/users/deanhill1971/repos","events_url":"https://api.github.com/users/deanhill1971/events{/privacy}","received_events_url":"https://api.github.com/users/deanhill1971/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-26T14:14:40Z","updated_at":"2015-07-07T22:59:07Z","closed_at":"2015-07-07T22:59:07Z","body":"I'm using Clashbot v20150623.\r\n\r\nWhen doing Auto Raid, building troops works fine. The Attack button is clicked, but then the script hangs trying to locate the \"Find a Match\" button.\r\nAttached is a screen shot of my Find a Match screen.\r\n\r\nI see in RegionDefs.au3 where $rFindMatchScreenFindAMatchButton is looking for the button. Looking at my screen shot, it seems like my Find a Match button is lower than the coordinates Clashbot is looking for. I'm not sure why my screen would be different.\r\n\r\nHere is my Clashbot log. I haven't had time yet, but I'll try changing the coordinates in RegionDefs to see if I can move forward. I have yet to get Clashbot to work, but love that it is open source AutoIt. Thanks for all your hard work.\r\n\r\n===== Start of Log =====\r\n6/25/2015 10:26:55 PM Keep Online clicked\r\n6/25/2015 10:27:01 PM Collect Loot clicked\r\n6/25/2015 10:27:09 PM CollectLoot()\r\n6/25/2015 10:30:16 PM CollectLoot()\r\n6/25/2015 10:33:10 PM Auto Raid clicked\r\n6/25/2015 10:33:15 PM Auto Begin:  Gold:2611357 Elix:5861960 Dark:8366 Cups:1590\r\n6/25/2015 10:33:23 PM CollectLoot()\r\n6/25/2015 10:33:26 PM AutoQueueTroops()\r\n6/25/2015 10:33:27 PM OpenArmyCampWindow()\r\n6/25/2015 10:33:28 PM Located Level 7 Army Camp at 296, 423 confidence 98.31%\r\n6/25/2015 10:33:30 PM FindArmyCampTroopSlots()\r\n6/25/2015 10:33:31 PM Troop Barbarian available: 49\r\n6/25/2015 10:33:31 PM Troop Archer available: 55\r\n6/25/2015 10:33:31 PM Troop Giant available: 4\r\n6/25/2015 10:33:31 PM Troop Wall Breaker available: 4\r\n6/25/2015 10:33:31 PM Troop Wizard available: 7\r\n6/25/2015 10:33:36 PM OpenBarracksWindow()\r\n6/25/2015 10:33:38 PM Barracks 0 found at 287,166 confidence 99.06%\r\n6/25/2015 10:33:39 PM Train Troops button found at 362,7 confidence 99.92%\r\n6/25/2015 10:33:42 PM FindSpellsQueueingWindow()\r\n6/25/2015 10:33:58 PM Spells queued: 2 of 4\r\n6/25/2015 10:33:59 PM FillBarracksStrategy0(), initial fill.\r\n6/25/2015 10:34:02 PM FillBarracksWithTroops(), Adding 74 Archer\r\n6/25/2015 10:34:11 PM FillBarracksWithTroops(), Adding 75 Barbarian\r\n6/25/2015 10:34:20 PM FillBarracksWithTroops(), Adding 75 Archer\r\n6/25/2015 10:34:28 PM FillBarracksWithTroops(), Adding 75 Barbarian\r\n6/25/2015 10:34:33 PM CloseBarracksWindow()\r\n6/25/2015 10:36:32 PM CollectLoot()\r\n6/25/2015 10:37:38 PM AutoCheckIfTroopsReady()\r\n6/25/2015 10:37:39 PM OpenArmyCampWindow()\r\n6/25/2015 10:37:40 PM Located Level 7 Army Camp at 453, 53 confidence 96.26%\r\n6/25/2015 10:37:42 PM FindArmyCampTroopSlots()\r\n6/25/2015 10:37:42 PM Troop Barbarian available: 56\r\n6/25/2015 10:37:43 PM Troop Archer available: 59\r\n6/25/2015 10:37:43 PM Troop Giant available: 4\r\n6/25/2015 10:37:43 PM Troop Wall Breaker available: 4\r\n6/25/2015 10:37:43 PM Troop Wizard available: 7\r\n6/25/2015 10:37:48 PM OpenBarracksWindow()\r\n6/25/2015 10:37:50 PM Barracks 0 found at 287,166 confidence 99.05%\r\n6/25/2015 10:37:51 PM Train Troops button found at 362,7 confidence 99.92%\r\n6/25/2015 10:37:52 PM FindSpellsQueueingWindow()\r\n6/25/2015 10:38:08 PM Spells queued: 4 of 4\r\n6/25/2015 10:38:08 PM FillBarracksStrategy0(), top up.\r\n6/25/2015 10:38:12 PM FillBarracksWithTroops(), Adding 3 Archer\r\n6/25/2015 10:38:19 PM FillBarracksWithTroops(), Adding 2 Barbarian\r\n6/25/2015 10:38:26 PM FillBarracksWithTroops(), Adding 2 Archer\r\n6/25/2015 10:38:33 PM FillBarracksWithTroops(), Adding 2 Barbarian\r\n6/25/2015 10:38:36 PM CloseBarracksWindow()\r\n6/25/2015 10:38:42 PM FindAValidMatch()\r\n6/25/2015 10:38:53 PM Find Match failed - timeout waiting for Find a Match button\r\n6/25/2015 10:38:54 PM Auto: Error finding match, resetting.\r\n6/25/2015 10:39:02 PM AutoQueueTroops()\r\n6/25/2015 10:39:03 PM AutoQueueTroops(): Not on main screen, resetting.\r\n6/25/2015 10:39:15 PM AutoQueueTroops()\r\n6/25/2015 10:39:16 PM AutoQueueTroops(): Not on main screen, resetting.\r\n6/25/2015 10:39:27 PM AutoQueueTroops()\r\n6/25/2015 10:39:28 PM AutoQueueTroops(): Not on main screen, resetting.\r\n6/25/2015 10:39:41 PM AutoQueueTroops()\r\n6/25/2015 10:39:43 PM AutoQueueTroops(): Not on main screen, resetting.\r\n6/25/2015 10:39:57 PM AutoQueueTroops()\r\n6/25/2015 10:39:59 PM AutoQueueTroops(): Not on main screen, resetting.\r\n6/25/2015 10:40:14 PM AutoQueueTroops()\r\n6/25/2015 10:40:16 PM AutoQueueTroops(): Not on main screen, resetting.\r\n6/25/2015 10:40:32 PM AutoQueueTroops()\r\n6/25/2015 10:40:34 PM AutoQueueTroops(): Not on main screen, resetting.\r\n6/25/2015 10:40:49 PM AutoQueueTroops()\r\n6/25/2015 10:40:51 PM AutoQueueTroops(): Not on main screen, resetting.\r\n6/25/2015 10:41:06 PM AutoQueueTroops()\r\n6/25/2015 10:41:08 PM AutoQueueTroops(): Not on main screen, resetting.\r\n===== End of Log =====\r\n\r\n![clashbotfindamatch](https://cloud.githubusercontent.com/assets/13065360/8379003/13e759d6-1beb-11e5-8e21-927b779e94ae.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CodeSlinger69/ClAsHbOt/issues/comments/119368422","html_url":"https://github.com/CodeSlinger69/ClAsHbOt/issues/18#issuecomment-119368422","issue_url":"https://api.github.com/repos/CodeSlinger69/ClAsHbOt/issues/18","id":119368422,"user":{"login":"CodeSlinger69","id":10177469,"avatar_url":"https://avatars.githubusercontent.com/u/10177469?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeSlinger69","html_url":"https://github.com/CodeSlinger69","followers_url":"https://api.github.com/users/CodeSlinger69/followers","following_url":"https://api.github.com/users/CodeSlinger69/following{/other_user}","gists_url":"https://api.github.com/users/CodeSlinger69/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeSlinger69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeSlinger69/subscriptions","organizations_url":"https://api.github.com/users/CodeSlinger69/orgs","repos_url":"https://api.github.com/users/CodeSlinger69/repos","events_url":"https://api.github.com/users/CodeSlinger69/events{/privacy}","received_events_url":"https://api.github.com/users/CodeSlinger69/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T22:59:07Z","updated_at":"2015-07-07T22:59:07Z","body":"Going to leave this as a pixel color match for now.  Might expand the \"radius\" parameter of the color region if needed, but I don't see a need to go to image matching for this button at the moment."}}