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

error in line 501 index error index out of range #227

Closed lainconnue closed 8 years ago

lainconnue commented 8 years ago

This happens at repair dock when it is full.

image

# Set the damage threshold for your ships. RetreatLimit specifies when sortie should be cancelled
# (retreat from sortie), and RepairLimit specifies which ships should be repaired before
# sortieing again. In addition, the tool will automatically not sortie if any ships are at the
# RepairLimit threshold. 0 = light damage, 1 = moderate damage, 2 = critical damage.
# Example: If you want the script to retreat when any ship is at critical damage, but also repair
#     any ships at moderate damage, set RetreatLimit to 2, RepairLimit to 1.
RetreatLimit: 2
RepairLimit: 2

# Set the repair time limit for repairs. kancolle-auto will automatically use a bucket to repair a
# ship if its repair time is above this # of hours. Integer values only, please. If you want to
# never use buckets, set this to '9900'. A limit of '9500' and below will allow the repair script
# to use a bucket if the OCR cannot properly read the timer, so adjust this accordingly. If you
# always want to use buckets, set it to '0'.
RepairTimeLimit: 9900

# Whether or not to find submarines under repair to switch out so kancolle-auto can continue
# sorties. Useful for maps where submarines are used to tank hits, such as 2-3 (Orel) or 3-2-A.
SubmarineSwitch: True

# Whether or not to consider fatigue/morale before sorties. If the ships have an unhappy face
# (morale of 29 or below) the script will wait for a set amount of time for morale to recover.
CheckFatigue: false
lainconnue commented 8 years ago

image

Reran the bot 4 times, consistent error at repair docks.

mrmin123 commented 8 years ago

Thanks for the report. I unfortunately won't have time to address it for a few days at least.

On Aug 29, 2016 9:20 PM, "lainconnue" notifications@github.com wrote:

[image: image] https://cloud.githubusercontent.com/assets/20400916/18075958/707637f4-6eb4-11e6-9d90-21c974de9c2e.png

Reran the bot 4 times, consistent error at repair docks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mrmin123/kancolle-auto/issues/227#issuecomment-243329074, or mute the thread https://github.com/notifications/unsubscribe-auth/AEIF0s1zEx4WsQuUuqHQPjVLBYRKgFWKks5qk6-fgaJpZM4Jvaan .

mrmin123 commented 8 years ago

@lainconnue took a while to ID the problem, but it should be fixed now.