mrmin123 / kancolle-auto

Kantai Collection (Kancolle) bot/automation tool - DEPERECATED - see kcauto-kai:
https://github.com/mrmin123/kcauto-kai
54 stars 22 forks source link

Quest rewards arent being accepted. #312

Closed Gbraker7000 closed 7 years ago

Gbraker7000 commented 7 years ago

Issue

Consistent Issue, it will always happen when the quest reward screen pops up, the script will not click the accept button and will not advance until manually clicked. Logs shows a loop restarting the script from the begining.

Console log (Taken from KAGA GUI)

[log] TYPE "#ESC." [2017-02-23 07:06:54] Basic recovery successful! Re-initializing kancolle-auto! [2017-02-23 07:06:54] Reading config file! [2017-02-23 07:06:54] Scheduled Sleep enabled: ~3.5 hours starting at ~0030 [2017-02-23 07:06:54] Expeditions enabled: fleet 2: 2, fleet 3: 5, fleet 4: 21 [2017-02-23 07:06:54] Combat enabled (PvP mode) [2017-02-23 07:06:54] Combat enabled (sortie mode): sortieing to 1-5 [2017-02-23 07:06:54] Submarine Switch enabled [2017-02-23 07:06:54] Quests enabled [2017-02-23 07:06:54] Reading util config file! [2017-02-23 07:06:54] Config successfully loaded! [2017-02-23 07:06:54] Starting kancolle_auto! [2017-02-23 07:06:54] Finding window! [2017-02-23 07:06:54] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:07:07] Defining module items! [2017-02-23 07:07:07] Quests reset. Checking for the following quests: ['bd1', 'bd2', 'bd3', 'bd4', 'bd5', 'bd6', 'bd7', 'bd8', 'bw1', 'bw10', 'bw2', 'bw3', 'bw4', 'bw5', 'bw6', 'bw7', 'bw8', 'bw9', 'c2', 'c3', 'c4', 'c8', 'd11', 'd2', 'd3', 'd4', 'd9', 'e3'] [2017-02-23 07:07:07] Quest module started [2017-02-23 07:07:07] Expedition module started [2017-02-23 07:07:07] Combat module started (PvP mode) [2017-02-23 07:07:07] Combat module started (Sortie mode) [2017-02-23 07:07:07] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:07:25] Going home! [log] CLICK on L(49,523)@S(0)[0,0 1366x704] (561 msec) [log] CLICK on L(65,523)@S(0)[0,0 1366x704] (533 msec) [log] CLICK on L(52,504)@S(0)[0,0 1366x704] (525 msec) [log] CLICK on L(102,517)@S(0)[0,0 1366x704] (530 msec) [log] CLICK on L(83,528)@S(0)[0,0 1366x704] (535 msec) [log] TYPE "#ESC." [2017-02-23 07:08:28] Basic recovery successful! Re-initializing kancolle-auto! [2017-02-23 07:08:28] Reading config file! [2017-02-23 07:08:28] Scheduled Sleep enabled: ~3.5 hours starting at ~0030 [2017-02-23 07:08:28] Expeditions enabled: fleet 2: 2, fleet 3: 5, fleet 4: 21 [2017-02-23 07:08:28] Combat enabled (PvP mode) [2017-02-23 07:08:28] Combat enabled (sortie mode): sortieing to 1-5 [2017-02-23 07:08:28] Submarine Switch enabled [2017-02-23 07:08:28] Quests enabled [2017-02-23 07:08:28] Reading util config file! [2017-02-23 07:08:28] Config successfully loaded! [2017-02-23 07:08:28] Starting kancolle_auto! [2017-02-23 07:08:28] Finding window! [2017-02-23 07:08:28] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:08:42] Defining module items! [2017-02-23 07:08:42] Quests reset. Checking for the following quests: ['bd1', 'bd2', 'bd3', 'bd4', 'bd5', 'bd6', 'bd7', 'bd8', 'bw1', 'bw10', 'bw2', 'bw3', 'bw4', 'bw5', 'bw6', 'bw7', 'bw8', 'bw9', 'c2', 'c3', 'c4', 'c8', 'd11', 'd2', 'd3', 'd4', 'd9', 'e3'] [2017-02-23 07:08:42] Quest module started [2017-02-23 07:08:42] Expedition module started [2017-02-23 07:08:42] Combat module started (PvP mode) [2017-02-23 07:08:42] Combat module started (Sortie mode) [2017-02-23 07:08:42] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:08:58] Going home! [log] CLICK on L(20,508)@S(0)[0,0 1366x704] (528 msec) [log] CLICK on L(81,512)@S(0)[0,0 1366x704] (526 msec) [log] CLICK on L(86,527)@S(0)[0,0 1366x704] (527 msec) [log] CLICK on L(53,509)@S(0)[0,0 1366x704] (522 msec) [log] CLICK on L(45,507)@S(0)[0,0 1366x704] (530 msec) [log] TYPE "#ESC." [2017-02-23 07:10:03] Basic recovery successful! Re-initializing kancolle-auto! [2017-02-23 07:10:03] Reading config file! [2017-02-23 07:10:03] Scheduled Sleep enabled: ~3.5 hours starting at ~0030 [2017-02-23 07:10:03] Expeditions enabled: fleet 2: 2, fleet 3: 5, fleet 4: 21 [2017-02-23 07:10:03] Combat enabled (PvP mode) [2017-02-23 07:10:03] Combat enabled (sortie mode): sortieing to 1-5 [2017-02-23 07:10:03] Submarine Switch enabled [2017-02-23 07:10:03] Quests enabled [2017-02-23 07:10:03] Reading util config file! [2017-02-23 07:10:03] Config successfully loaded! [2017-02-23 07:10:03] Starting kancolle_auto! [2017-02-23 07:10:03] Finding window! [2017-02-23 07:10:03] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:10:16] Defining module items! [2017-02-23 07:10:16] Quests reset. Checking for the following quests: ['bd1', 'bd2', 'bd3', 'bd4', 'bd5', 'bd6', 'bd7', 'bd8', 'bw1', 'bw10', 'bw2', 'bw3', 'bw4', 'bw5', 'bw6', 'bw7', 'bw8', 'bw9', 'c2', 'c3', 'c4', 'c8', 'd11', 'd2', 'd3', 'd4', 'd9', 'e3'] [2017-02-23 07:10:16] Quest module started [2017-02-23 07:10:16] Expedition module started [2017-02-23 07:10:16] Combat module started (PvP mode) [2017-02-23 07:10:16] Combat module started (Sortie mode) [2017-02-23 07:10:16] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:10:32] Going home! [log] CLICK on L(80,509)@S(0)[0,0 1366x704] (525 msec) [log] CLICK on L(85,513)@S(0)[0,0 1366x704] (529 msec) [log] CLICK on L(97,505)@S(0)[0,0 1366x704] (529 msec) [log] CLICK on L(26,511)@S(0)[0,0 1366x704] (526 msec) [log] CLICK on L(47,511)@S(0)[0,0 1366x704] (534 msec) [log] TYPE "#ESC." [2017-02-23 07:11:36] Basic recovery successful! Re-initializing kancolle-auto! [2017-02-23 07:11:36] Reading config file! [2017-02-23 07:11:36] Scheduled Sleep enabled: ~3.5 hours starting at ~0030 [2017-02-23 07:11:36] Expeditions enabled: fleet 2: 2, fleet 3: 5, fleet 4: 21 [2017-02-23 07:11:36] Combat enabled (PvP mode) [2017-02-23 07:11:36] Combat enabled (sortie mode): sortieing to 1-5 [2017-02-23 07:11:36] Submarine Switch enabled [2017-02-23 07:11:36] Quests enabled [2017-02-23 07:11:36] Reading util config file! [2017-02-23 07:11:36] Config successfully loaded! [2017-02-23 07:11:36] Starting kancolle_auto! [2017-02-23 07:11:36] Finding window! [2017-02-23 07:11:36] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:11:49] Defining module items! [2017-02-23 07:11:49] Quests reset. Checking for the following quests: ['bd1', 'bd2', 'bd3', 'bd4', 'bd5', 'bd6', 'bd7', 'bd8', 'bw1', 'bw10', 'bw2', 'bw3', 'bw4', 'bw5', 'bw6', 'bw7', 'bw8', 'bw9', 'c2', 'c3', 'c4', 'c8', 'd11', 'd2', 'd3', 'd4', 'd9', 'e3'] [2017-02-23 07:11:49] Quest module started [2017-02-23 07:11:49] Expedition module started [2017-02-23 07:11:49] Combat module started (PvP mode) [2017-02-23 07:11:49] Combat module started (Sortie mode) [2017-02-23 07:11:49] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:12:06] Going home! [log] CLICK on L(95,508)@S(0)[0,0 1366x704] (533 msec) [log] CLICK on L(104,519)@S(0)[0,0 1366x704] (531 msec) [log] CLICK on L(60,509)@S(0)[0,0 1366x704] (525 msec) [log] CLICK on L(28,513)@S(0)[0,0 1366x704] (539 msec) [log] CLICK on L(99,517)@S(0)[0,0 1366x704] (535 msec) [log] TYPE "#ESC." [2017-02-23 07:13:07] Basic recovery successful! Re-initializing kancolle-auto! [2017-02-23 07:13:07] Reading config file! [2017-02-23 07:13:08] Scheduled Sleep enabled: ~3.5 hours starting at ~0030 [2017-02-23 07:13:08] Expeditions enabled: fleet 2: 2, fleet 3: 5, fleet 4: 21 [2017-02-23 07:13:08] Combat enabled (PvP mode) [2017-02-23 07:13:08] Combat enabled (sortie mode): sortieing to 1-5 [2017-02-23 07:13:08] Submarine Switch enabled [2017-02-23 07:13:08] Quests enabled [2017-02-23 07:13:08] Reading util config file! [2017-02-23 07:13:08] Config successfully loaded! [2017-02-23 07:13:08] Starting kancolle_auto! [2017-02-23 07:13:08] Finding window! [2017-02-23 07:13:08] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:13:21] Defining module items! [2017-02-23 07:13:21] Quests reset. Checking for the following quests: ['bd1', 'bd2', 'bd3', 'bd4', 'bd5', 'bd6', 'bd7', 'bd8', 'bw1', 'bw10', 'bw2', 'bw3', 'bw4', 'bw5', 'bw6', 'bw7', 'bw8', 'bw9', 'c2', 'c3', 'c4', 'c8', 'd11', 'd2', 'd3', 'd4', 'd9', 'e3'] [2017-02-23 07:13:21] Quest module started [2017-02-23 07:13:21] Expedition module started [2017-02-23 07:13:21] Combat module started (PvP mode) [2017-02-23 07:13:21] Combat module started (Sortie mode) [2017-02-23 07:13:21] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:13:37] Going home! [log] CLICK on L(32,520)@S(0)[0,0 1366x704] (528 msec) [log] CLICK on L(38,517)@S(0)[0,0 1366x704] (535 msec) [log] CLICK on L(103,513)@S(0)[0,0 1366x704] (525 msec) [log] CLICK on L(23,508)@S(0)[0,0 1366x704] (524 msec) [log] CLICK on L(47,516)@S(0)[0,0 1366x704] (521 msec) [log] TYPE "#ESC." [2017-02-23 07:14:41] Basic recovery successful! Re-initializing kancolle-auto! [2017-02-23 07:14:41] Reading config file! [2017-02-23 07:14:41] Scheduled Sleep enabled: ~3.5 hours starting at ~0030 [2017-02-23 07:14:41] Expeditions enabled: fleet 2: 2, fleet 3: 5, fleet 4: 21 [2017-02-23 07:14:41] Combat enabled (PvP mode) [2017-02-23 07:14:41] Combat enabled (sortie mode): sortieing to 1-5 [2017-02-23 07:14:41] Submarine Switch enabled [2017-02-23 07:14:41] Quests enabled [2017-02-23 07:14:41] Reading util config file! [2017-02-23 07:14:41] Config successfully loaded! [2017-02-23 07:14:41] Starting kancolle_auto! [2017-02-23 07:14:41] Finding window! [2017-02-23 07:14:41] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:14:53] Defining module items! [2017-02-23 07:14:53] Quests reset. Checking for the following quests: ['bd1', 'bd2', 'bd3', 'bd4', 'bd5', 'bd6', 'bd7', 'bd8', 'bw1', 'bw10', 'bw2', 'bw3', 'bw4', 'bw5', 'bw6', 'bw7', 'bw8', 'bw9', 'c2', 'c3', 'c4', 'c8', 'd11', 'd2', 'd3', 'd4', 'd9', 'e3'] [2017-02-23 07:14:53] Quest module started [2017-02-23 07:14:53] Expedition module started [2017-02-23 07:14:53] Combat module started (PvP mode) [2017-02-23 07:14:53] Combat module started (Sortie mode) [2017-02-23 07:14:53] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:15:09] Going home! [log] CLICK on L(54,512)@S(0)[0,0 1366x704] (539 msec) [log] CLICK on L(17,524)@S(0)[0,0 1366x704] (524 msec) [log] CLICK on L(98,525)@S(0)[0,0 1366x704] (526 msec) [log] CLICK on L(97,519)@S(0)[0,0 1366x704] (531 msec) [log] CLICK on L(98,507)@S(0)[0,0 1366x704] (526 msec) [log] TYPE "#ESC." [2017-02-23 07:16:12] Basic recovery successful! Re-initializing kancolle-auto! [2017-02-23 07:16:12] Reading config file! [2017-02-23 07:16:12] Scheduled Sleep enabled: ~3.5 hours starting at ~0030 [2017-02-23 07:16:12] Expeditions enabled: fleet 2: 2, fleet 3: 5, fleet 4: 21 [2017-02-23 07:16:12] Combat enabled (PvP mode) [2017-02-23 07:16:12] Combat enabled (sortie mode): sortieing to 1-5 [2017-02-23 07:16:12] Submarine Switch enabled [2017-02-23 07:16:12] Quests enabled [2017-02-23 07:16:12] Reading util config file! [2017-02-23 07:16:12] Config successfully loaded! [2017-02-23 07:16:12] Starting kancolle_auto! [2017-02-23 07:16:12] Finding window! [2017-02-23 07:16:12] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:16:24] Defining module items! [2017-02-23 07:16:24] Quests reset. Checking for the following quests: ['bd1', 'bd2', 'bd3', 'bd4', 'bd5', 'bd6', 'bd7', 'bd8', 'bw1', 'bw10', 'bw2', 'bw3', 'bw4', 'bw5', 'bw6', 'bw7', 'bw8', 'bw9', 'c2', 'c3', 'c4', 'c8', 'd11', 'd2', 'd3', 'd4', 'd9', 'e3'] [2017-02-23 07:16:24] Quest module started [2017-02-23 07:16:24] Expedition module started [2017-02-23 07:16:24] Combat module started (PvP mode) [2017-02-23 07:16:24] Combat module started (Sortie mode) [2017-02-23 07:16:24] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:16:41] Going home! [log] CLICK on L(18,508)@S(0)[0,0 1366x704] (523 msec) [log] CLICK on L(76,521)@S(0)[0,0 1366x704] (531 msec) [log] CLICK on L(85,504)@S(0)[0,0 1366x704] (527 msec) [log] CLICK on L(28,521)@S(0)[0,0 1366x704] (531 msec) [log] CLICK on L(25,505)@S(0)[0,0 1366x704] (539 msec) [log] TYPE "#ESC." [2017-02-23 07:17:42] Basic recovery successful! Re-initializing kancolle-auto! [2017-02-23 07:17:42] Reading config file! [2017-02-23 07:17:42] Scheduled Sleep enabled: ~3.5 hours starting at ~0030 [2017-02-23 07:17:42] Expeditions enabled: fleet 2: 2, fleet 3: 5, fleet 4: 21 [2017-02-23 07:17:42] Combat enabled (PvP mode) [2017-02-23 07:17:42] Combat enabled (sortie mode): sortieing to 1-5 [2017-02-23 07:17:42] Submarine Switch enabled [2017-02-23 07:17:42] Quests enabled [2017-02-23 07:17:42] Reading util config file! [2017-02-23 07:17:42] Config successfully loaded! [2017-02-23 07:17:42] Starting kancolle_auto! [2017-02-23 07:17:42] Finding window! [2017-02-23 07:17:42] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:17:56] Defining module items! [2017-02-23 07:17:56] Quests reset. Checking for the following quests: ['bd1', 'bd2', 'bd3', 'bd4', 'bd5', 'bd6', 'bd7', 'bd8', 'bw1', 'bw10', 'bw2', 'bw3', 'bw4', 'bw5', 'bw6', 'bw7', 'bw8', 'bw9', 'c2', 'c3', 'c4', 'c8', 'd11', 'd2', 'd3', 'd4', 'd9', 'e3'] [2017-02-23 07:17:56] Quest module started [2017-02-23 07:17:56] Expedition module started [2017-02-23 07:17:56] Combat module started (PvP mode) [2017-02-23 07:17:56] Combat module started (Sortie mode) [2017-02-23 07:17:56] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:18:12] Going home! [log] CLICK on L(29,516)@S(0)[0,0 1366x704] (526 msec) [log] CLICK on L(52,528)@S(0)[0,0 1366x704] (529 msec) [log] CLICK on L(85,511)@S(0)[0,0 1366x704] (521 msec) [log] CLICK on L(22,512)@S(0)[0,0 1366x704] (528 msec) [log] CLICK on L(105,509)@S(0)[0,0 1366x704] (567 msec) [error] RobotDesktop: checkMousePosition: should be L(290,112)@S(0)[0,0 1366x704] but after move is L(470,367)@S(0)[0,0 1366x704] Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin. [log] TYPE "#ESC." [2017-02-23 07:19:12] Basic recovery successful! Re-initializing kancolle-auto! [2017-02-23 07:19:12] Reading config file! [2017-02-23 07:19:12] Scheduled Sleep enabled: ~3.5 hours starting at ~0030 [2017-02-23 07:19:12] Expeditions enabled: fleet 2: 2, fleet 3: 5, fleet 4: 21 [2017-02-23 07:19:12] Combat enabled (PvP mode) [2017-02-23 07:19:12] Combat enabled (sortie mode): sortieing to 1-5 [2017-02-23 07:19:12] Submarine Switch enabled [2017-02-23 07:19:12] Quests enabled [2017-02-23 07:19:12] Reading util config file! [2017-02-23 07:19:13] Config successfully loaded! [2017-02-23 07:19:13] Starting kancolle_auto! [2017-02-23 07:19:13] Finding window! [2017-02-23 07:19:13] Focus on KanColle! [log] App.focus: [3884:Chrome] [error] RobotDesktop: checkMousePosition: should be L(627,410)@S(0)[0,0 1366x704] but after move is L(361,486)@S(0)[0,0 1366x704] Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin. [2017-02-23 07:19:24] Defining module items! [2017-02-23 07:19:24] Quests reset. Checking for the following quests: ['bd1', 'bd2', 'bd3', 'bd4', 'bd5', 'bd6', 'bd7', 'bd8', 'bw1', 'bw10', 'bw2', 'bw3', 'bw4', 'bw5', 'bw6', 'bw7', 'bw8', 'bw9', 'c2', 'c3', 'c4', 'c8', 'd11', 'd2', 'd3', 'd4', 'd9', 'e3'] [2017-02-23 07:19:24] Quest module started [2017-02-23 07:19:24] Expedition module started [2017-02-23 07:19:24] Combat module started (PvP mode) [2017-02-23 07:19:24] Combat module started (Sortie mode) [2017-02-23 07:19:24] Focus on KanColle! [log] App.focus: [3884:Chrome] [2017-02-23 07:19:39] Going home! [log] CLICK on L(39,507)@S(0)[0,0 1366x704] (555 msec) [log] CLICK on L(66,512)@S(0)[0,0 1366x704] (557 msec) [log] CLICK on L(34,521)@S(0)[0,0 1366x704] (525 msec) [log] CLICK on L(45,506)@S(0)[0,0 1366x704] (522 msec) [log] CLICK on L(100,515)@S(0)[0,0 1366x704] (533 msec)

mrmin123 commented 7 years ago

Sorry, this had to do with #309, and the fix for it was sitting on a branch while I tested it, and then I forgot about it. Should be fixed now.