{"action":"closed","issue":{"url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/79","labels_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/79/comments","events_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/79/events","html_url":"https://github.com/mrmin123/kancolle-auto/issues/79","id":118222228,"number":79,"title":"Feature request","user":{"login":"minh6a","id":10925298,"avatar_url":"https://avatars.githubusercontent.com/u/10925298?v=3","gravatar_id":"","url":"https://api.github.com/users/minh6a","html_url":"https://github.com/minh6a","followers_url":"https://api.github.com/users/minh6a/followers","following_url":"https://api.github.com/users/minh6a/following{/other_user}","gists_url":"https://api.github.com/users/minh6a/gists{/gist_id}","starred_url":"https://api.github.com/users/minh6a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minh6a/subscriptions","organizations_url":"https://api.github.com/users/minh6a/orgs","repos_url":"https://api.github.com/users/minh6a/repos","events_url":"https://api.github.com/users/minh6a/events{/privacy}","received_events_url":"https://api.github.com/users/minh6a/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-21T21:31:35Z","updated_at":"2015-12-11T04:17:09Z","closed_at":"2015-12-11T04:17:09Z","body":"**Event Memory**\r\nCan you add a feature that can record the event when script execute first time so the script will do exact the same thing next loop?\r\nFor example: \r\n- Choosing map for sortie: I realized every time the script OCR everything from scratch even though the same png(s) appear immediately everytime after clicking, by recording and replay the event, the script can skip OCR-ing and click immediately.\r\n- Choosing expedition: since the code is repetitive and the expedition page is the same all the time, you can save memory and time by skipping OCR after the first run.\r\n- OCR-ing the homepage: The homepage always stay the same unless the expedition fleet returned, so instead of OCR-ing again, why not just obtain the position of all buttons on the first loop?\r\n\r\n**Change the png that trigger \"next\"**\r\nInstead of using the current next.png in both sortie and expedition, the script can use the side bar \"FRIEND FLEET AREA\" at the bottom-left or \"第1艦隊\" (1st fleet name) to pre-OCR and click.\r\nThis will make the script more complex but it will reduce the time on executing clicks.\r\n\r\n**Simplify \"formation choosing\" event**\r\nWhy wasting resource on OCR-ing 4 other formation names while you can just find the \"Line-ahead\" formation and get the relative position from the button to find 4 others?\r\n\r\nP/S: I don't know much about coding and I cannot code any simple program :(( So plz ignore and close the whole issue if they are bs to you :smiley: "}}