waicool20 / KAGA

Kancolle Auto Gui App or Kaga - A GUI for the tool over here: https://github.com/mrmin123/kancolle-auto and https://github.com/mrmin123/kcauto-kai
GNU General Public License v3.0
20 stars 3 forks source link

Nightbattle set to True, get declined #19

Closed n0k0m3 closed 7 years ago

n0k0m3 commented 7 years ago

(x-post from mrmin123 kca repo as he said this should be reported here) Please read the FAQ/Common Issues section of the README before opening a ticket. Please remove sections of this template you do not find relevant when creating your ticket.

Environment details

Issue

Is the issue consistent (can be reproduced consistently) or is it transient (only happens sometimes)?: consistent

Although nightbattle is set to "true" for 2 last nodes, the script still decline NB. I ran the script w/o KAGA and changed lower case "true" to "True" and it worked again.

Console log (if applicable)

[2017-02-26 04:09:29] Continuing on to next node...
[log] CLICK on L(313,339)@S(0)[0,0 1600x900] (521 msec)
[log] CLICK on L(341,445)@S(0)[0,0 1600x900] (524 msec)
[2017-02-26 04:09:40] Spinning compass!
[log] CLICK on L(629,382)@S(0)[0,0 1600x900] (525 msec)
[2017-02-26 04:09:55] Selecting fleet formation!
[2017-02-26 04:11:48] Declining night battle!
[log] CLICK on L(327,314)@S(0)[0,0 1600x900] (528 msec)
[log] CLICK on L(407,490)@S(0)[0,0 1600x900] (528 msec)
[2017-02-26 04:12:09] Checking fleet condition...
[2017-02-26 04:12:12] Light damage: 0; moderate damage: 0; critical damage: 1
[log] CLICK on L(252,248)@S(0)[0,0 1600x900] (529 msec)
[2017-02-26 04:12:19] Checking fleet condition...
[2017-02-26 04:12:22] Light damage: 1; moderate damage: 0; critical damage: 1
[log] CLICK on L(506,448)@S(0)[0,0 1600x900] (536 msec)
[log] CLICK on L(762,505)@S(0)[0,0 1600x900] (527 msec)
[2017-02-26 04:13:06] Sortie complete!

Relevant config snippet (Copied from KAGA folder)

Formations = combinedfleet_4, combinedfleet_4, combinedfleet_3, combinedfleet_4
NightBattles = false, false, true, true
RetreatLimit = 2
RepairLimit = 1
waicool20 commented 7 years ago

Hmm didn't know that lower cased booleans didn't work, I'll push a fix in a sec