{"action":"created","issue":{"url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/109","repository_url":"https://api.github.com/repos/mrmin123/kancolle-auto","labels_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/109/comments","events_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/109/events","html_url":"https://github.com/mrmin123/kancolle-auto/issues/109","id":130940143,"number":109,"title":"Troubleshooting expedition script after cat bomb recovery","user":{"login":"Aftersky","id":15979245,"avatar_url":"https://avatars.githubusercontent.com/u/15979245?v=3","gravatar_id":"","url":"https://api.github.com/users/Aftersky","html_url":"https://github.com/Aftersky","followers_url":"https://api.github.com/users/Aftersky/followers","following_url":"https://api.github.com/users/Aftersky/following{/other_user}","gists_url":"https://api.github.com/users/Aftersky/gists{/gist_id}","starred_url":"https://api.github.com/users/Aftersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aftersky/subscriptions","organizations_url":"https://api.github.com/users/Aftersky/orgs","repos_url":"https://api.github.com/users/Aftersky/repos","events_url":"https://api.github.com/users/Aftersky/events{/privacy}","received_events_url":"https://api.github.com/users/Aftersky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-03T07:32:14Z","updated_at":"2016-02-04T20:36:23Z","closed_at":"2016-02-04T06:49:44Z","body":"I noticed that KC3/Browser cat bomb recovery options have never worked for me since the F1-12 keys are suppressed if the cursor is still highlighting the game. F5 doesn't do anything in this case so I made a small adjustment to have kc-auto click the browser refresh button instead of typing F5:\r\n\r\n```\r\nif settings['recovery_method'] == 'Browser':\r\nif kc_window.exists(Pattern('refresh.png').exact()):\r\nrclick(kc_window, 'refresh.png')\r\nsleep(1)\r\n```\r\n\r\nThat seemed to work, but as soon as the game is refreshed & get to secretary screen, the script crash:\r\n\r\n```\r\n\u001B[94m[2016-02-03 15:46:04] Reading config file\u001B[0m\r\n\u001B[92m[2016-02-03 15:46:04] Expeditions (fleet 2: 5, fleet 3: 21, fleet 4: 38) en\r\nabled!\u001B[0m\r\n\u001B[92m[2016-02-03 15:46:04] Config loaded!\u001B[0m\r\n\u001B[94m[2016-02-03 15:46:04] Reading config file\u001B[0m\r\n\u001B[92m[2016-02-03 15:46:04] Starting kancolle_auto\u001B[0m\r\n\u001B[94m[2016-02-03 15:46:04] Finding window!\u001B[0m\r\n\u001B[94m[2016-02-03 15:46:04] Focus on KanColle!\u001B[0m\r\n[log] App.focus Google Chrome(0) #0\r\n[log] CLICK on L(71,37)@S(0)[0,0 1366x768]  <---- browser refreshed\r\n[log] CLICK on L(588,549)@S(0)[0,0 1366x768] \r\n\u001B[94m[2016-02-03 15:46:31] Initial checks and commands complete. Starting loop.\u001B\r\n[0m\r\n[error] script stopped with error in line 436\r\n[error] AttributeError ( 'NoneType' object has no attribute 'running_expedition_\r\nlist' )\r\n[error] --- Traceback --- error source first\r\nline: module ( function ) statement\r\n436: main (  <module> )     for expedition in expedition_item.running_expedition\r\n_list:\r\n[error] --- Traceback --- end --------------\r\n```\r\n\r\nOther than the refresh change above I didn't touch any other code and I doubt it affected the expedition module in anyway. So, help please?"},"comment":{"url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/comments/180039267","html_url":"https://github.com/mrmin123/kancolle-auto/issues/109#issuecomment-180039267","issue_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/109","id":180039267,"user":{"login":"Aftersky","id":15979245,"avatar_url":"https://avatars.githubusercontent.com/u/15979245?v=3","gravatar_id":"","url":"https://api.github.com/users/Aftersky","html_url":"https://github.com/Aftersky","followers_url":"https://api.github.com/users/Aftersky/followers","following_url":"https://api.github.com/users/Aftersky/following{/other_user}","gists_url":"https://api.github.com/users/Aftersky/gists{/gist_id}","starred_url":"https://api.github.com/users/Aftersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aftersky/subscriptions","organizations_url":"https://api.github.com/users/Aftersky/orgs","repos_url":"https://api.github.com/users/Aftersky/repos","events_url":"https://api.github.com/users/Aftersky/events{/privacy}","received_events_url":"https://api.github.com/users/Aftersky/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T20:36:23Z","updated_at":"2016-02-04T20:36:23Z","body":"Hi @mrmin123 The expedition script is working properly but the F5 key still doesn't in 3 different browsers I've tried. Did you try pressing F5 with the cursor still focused on the flash area? \r\n\r\nOr it could be one of the restrictions imposed on my client because I'm pretty sure I've triggered their anti-bot measures. This is the 2nd time it happened and the oddities are the same : catbomb every 5-10 mins with stable connection and on the first sortie after a refresh the combat start button cannot be clicked on unless I return to secretary screen and try again, the latter has caused my script to get stuck  and crash every time. "}}