{"action":"created","issue":{"url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/217","repository_url":"https://api.github.com/repos/mrmin123/kancolle-auto","labels_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/217/comments","events_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/217/events","html_url":"https://github.com/mrmin123/kancolle-auto/issues/217","id":171661260,"number":217,"title":"Error in line 416","user":{"login":"joejoejoe3652","id":20387677,"avatar_url":"https://avatars.githubusercontent.com/u/20387677?v=3","gravatar_id":"","url":"https://api.github.com/users/joejoejoe3652","html_url":"https://github.com/joejoejoe3652","followers_url":"https://api.github.com/users/joejoejoe3652/followers","following_url":"https://api.github.com/users/joejoejoe3652/following{/other_user}","gists_url":"https://api.github.com/users/joejoejoe3652/gists{/gist_id}","starred_url":"https://api.github.com/users/joejoejoe3652/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joejoejoe3652/subscriptions","organizations_url":"https://api.github.com/users/joejoejoe3652/orgs","repos_url":"https://api.github.com/users/joejoejoe3652/repos","events_url":"https://api.github.com/users/joejoejoe3652/events{/privacy}","received_events_url":"https://api.github.com/users/joejoejoe3652/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-17T13:46:10Z","updated_at":"2016-08-24T14:06:15Z","closed_at":null,"body":"#### Environment details\r\n\r\n* kancolle-auto version (last modified date): 8/14\r\n* Viewer/browser: Chrome, KC3\r\n* Operating system: Win 7\r\n\r\n#### Issue\r\nIs the issue consistent (can be reproduced consistently) or is it transient (only happens sometimes)? Please check one of the boxes:\r\n\r\n- [x ] Consistent\r\n- [ ] Transient\r\n\r\n\r\nhttp://imgur.com/a/Va8p5\r\n\r\n\r\nI have been getting this crashed now for the last couple script runs.\r\n\r\n\r\n#### Relevant config snippet (if applicable)\r\n```\r\n###########################################################################\r\n# ============================= IMPORTANT!! ============================= #\r\n# Please refer to the wiki pages for guidance on setting up this file!:   #\r\n# Detailed explanation of config file:                                    #\r\n#   https://github.com/mrmin123/kancolle-auto/wiki/Setup-config.ini       #\r\n# Example configs:                                                        #\r\n#   https://github.com/mrmin123/kancolle-auto/wiki/Example-configs        #\r\n#   https://github.com/mrmin123/kancolle-auto/wiki/Example-Event-configs  #\r\n###########################################################################\r\n\r\n[General]\r\n# The program/window name of your Kancolle container. Examples include Google Chrome,\r\n# Firefox, KanColleViewer!, KanColleTool Viewer, Electronic Observer, etc...\r\nProgram: Google Chrome\r\n\r\n# Which built-in recovery method to use when you get catbomb'ed. Valid options are Browser,\r\n# KC3, KCV, KCT, and EO.\r\nRecoveryMethod: KC3\r\n\r\n# Your machine's timezone's difference to JST in full hours. Relevant to the Quests and PvP\r\n# modules. Default is 0, same timezone as JST.\r\nJSTOffset = 0\r\n\r\n# How often kancolle-auto should run its loop, specified in full seconds. A lower value will make\r\n# kancolle-auto be quicker to respond to timers, while a higher value will make it slower, but\r\n# perhaps guard against bot-detection. Default value is 20.\r\nSleepCycle = 20\r\n\r\n# Specifies the desired # of menus to randomly walk through. The number of sidesteps range from 0\r\n# to the Paranoia value. Setting this value to at least 1 is recommended (0 to 1 sidesteps).\r\nParanoia = 1\r\n\r\n# If you have a slow computer/network connection, you may encounter frequent FindFailed errors.\r\n# Increase this value by whole numbers (seconds) to increase the length of all sleep/wait timers\r\n# to avoid this. Default is 0.\r\nSleepModifier = 0\r\n\r\n\r\n[ScheduledSleep]\r\n# Set to True if you want kancolle-auto to automatically sleep/pause at set times. Highly\r\n# recommended that you set this to True if you intend to run kancolle-auto for a long period of\r\n# time.\r\nEnabled = False\r\n\r\n# Define around when you would like schedule sleep to start, in military time. Default time is\r\n# 0030, meaning that Schedule Sleep will begin sometimes between 12:30AM and 1AM. Relative to your\r\n# computer's time.\r\nStartTime = 0030\r\n\r\n# How long you want the sleep to last, in hours (decimals are OK). Anywhere between 0 to 10 minutes\r\n# are added randomly to the actual timer. Default value is 3.5 (hours).\r\nSleepLength = 3.5\r\n\r\n\r\n[ScheduledStop]\r\n# Set to True if you want kancolle-auto to automatically stop and exit after a set number of hours,\r\n# expeditions, sorties, or PvPs. You will have to manually restart kancolle-auto after this.\r\nEnabled = False\r\n\r\n# Define what you want to base the stop count on. Valid options are 'time', 'expedition', 'sortie',\r\n# and 'pvp'.\r\nMode = time\r\n\r\n# Define how many of the above kancolle-auto should perform before automatically stopping.\r\nCount = 5\r\n\r\n\r\n[Expeditions]\r\n# Set to True if you want kancolle-auto to run expeditions; False if not.\r\nEnabled: True\r\n\r\n# Define which Expedition a fleet should go on. If you do not have a Fleet unlocked\r\n# or you don't want it to run an expedition, just leave its value blank.\r\nFleet2: 5\r\nFleet3: 2\r\nFleet4: 21\r\n\r\n\r\n[PvP]\r\n# Set to True if you want Fleet 1 to run PvP sorties; False if not. NOTE: line-ahead formation\r\n# will be selected for everything, regardless of enemy fleet...\r\nEnabled: False\r\n\r\n# Specify which saved fleet composition should be used for PvP, with the first saved fleet being 1.\r\n# NOTE: this value is only relevant if both PvP and Combat modules are enabled with different\r\n# fleets assigned to them! Setting the FleetComp value to 0 for either module, or setting them to\r\n# the same value will disable the fleet composition switcher.\r\nFleetComp: 1\r\n\r\n\r\n[Combat]\r\n# Set to True if you want Fleet 1 to run combat sorties; False if not.\r\nEnabled: True\r\n\r\n# Specify which saved fleet composition should be used for Combat, with the first saved fleet\r\n# being 1.\r\n# NOTE: this value is only relevant if both PvP and Combat modules are enabled with different\r\n# fleets assigned to them! Setting the FleetComp value to 0 for either module, or setting them to\r\n# the same value will disable the fleet composition switcher.\r\nFleetComp: 1\r\n\r\n# Set which area you want to sortie to.\r\n# Example 1: if you're running 3-2-A, set this to '3'\r\n# Example 2: if you're running 2-3 (Orel), set this to '2'\r\n# Example 3: if you're running Events, set this to 'E'\r\nArea: 3\r\n\r\n# Set which subarea you want to sortie to.\r\n# Example 1: if you're running 3-2-A, set this to '2'\r\n# Example 2: if you're running 2-3 (Orel), set this to '3'\r\n# Example 3: if you're running the first map (1) of the second screen of maps (2) in the Event\r\n#   screen, set this to '2-1'\r\nSubarea: 2\r\n\r\n# Specify whether the map you're running utilizes Combined Fleets or not. Only relevant for Events.\r\n# Will automatically handle FCFs and the extra ships needing repairs + resupplies. This also turns\r\n# off PvP and Fleet 2's Expedition, regardless of what you input above.\r\nCombinedFleet: False\r\n\r\n# Maximum number of combat nodes to run. Resource/hazard nodes do not count.\r\n# Example 1: if you're running 3-2-A, set this to '1' (1st node only)\r\n# Example 2: if you're running 2-3 (Orel), set this to '3' or above\r\nNodes: 1\r\n\r\n# If the map you are sortieing to involves node selections, use this to point at the image\r\n# generated for that specific node. For example, if you want to always head to node K on E-3 of\r\n# Winter 2016, set this to '_node_E-3-K' to reference the '_node_E-3-K.png' image included.\r\n# For other maps, please generate this image yourself (a 70px x 70px image of the node during\r\n# node selection, with the desired node being in the center of the image).\r\nNodeSelects:\r\n\r\n# Formations to use at each combat node, separated by commas. Valid options are\r\n# line_ahead, double_line, diamond, echelon, or line_abreast. If the number of\r\n# formations you've specified does not match the number of nodes you specified above,\r\n# the script will default to line_ahead for the remaining nodes.\r\n# Example 1: if you're running 3-2-A, set this to 'line_ahead'\r\n# Example 2: if you're running 2-3 (Orel), set this to 'line_ahead' (remaining nodes\r\n#     defaults to 'line_ahead')\r\n# For combined fleets, the valid options are combinedfleet_1, combinedfleet_2, combinedfleet_3,\r\n# combinedfleet_4, in order of how they show up in the formation selection screen (left to right,\r\n# top to bottom).\r\nFormations: line_ahead\r\n\r\n# Whether or not to engage in night battle at each combat node, separated by commas.\r\n# Valid options are True (to engage in night battle) and False (to avoid night battle).\r\n# If the number of night battle options you've specified does not match the number of\r\n# nodes you specified above, the script will default to True for the remaining nodes.\r\n# Example 1: if you're running 3-2-A, set this to 'False'\r\n# Example 2: if you're running 2-3 (Orel), set this to 'False' (remaining nodes defaults\r\n#     to 'True')\r\nNightBattles: False\r\n\r\n# Set the damage threshold for your ships. RetreatLimit specifies when sortie should be cancelled\r\n# (retreat from sortie), and RepairLimit specifies which ships should be repaired before\r\n# sortieing again. In addition, the tool will automatically not sortie if any ships are at the\r\n# RepairLimit threshold. 0 = light damage, 1 = moderate damage, 2 = critical damage.\r\n# Example: If you want the script to retreat when any ship is at critical damage, but also repair\r\n#     any ships at moderate damage, set RetreatLimit to 2, RepairLimit to 1.\r\nRetreatLimit: 2\r\nRepairLimit: 2\r\n\r\n# Set the repair time limit for repairs. kancolle-auto will automatically use a bucket to repair a\r\n# ship if its repair time is above this # of hours. Integer values only, please. If you want to\r\n# never use buckets, set this to '9900'. A limit of '9500' and below will allow the repair script\r\n# to use a bucket if the OCR cannot properly read the timer, so adjust this accordingly. If you\r\n# always want to use buckets, set it to '0'.\r\nRepairTimeLimit: 0500\r\n\r\n# Whether or not to find submarines under repair to switch out so kancolle-auto can continue\r\n# sorties. Useful for maps where submarines are used to tank hits, such as 2-3 (Orel) or 3-2-A.\r\nSubmarineSwitch: True\r\n\r\n# Whether or not to consider fatigue/morale before sorties. If the ships have an unhappy face\r\n# (morale of 29 or below) the script will wait for a set amount of time for morale to recover.\r\nCheckFatigue = True\r\n\r\n# Whether or not to sortie when the port (ship slots) is full. Set to True if you do not want\r\n# sorties to occur when your port is full. Port checking is automatically done when sortieing to\r\n# Event maps, since sortieing is prohibited when you do not have 5 free ship slots.\r\nPortCheck = False\r\n\r\n# Set this to True if you want kancolle-auto to stop sortieing to the specified map once the medal\r\n# has been obtained. Only applicable to the monthly EOs (1-5, 2-5, 3-5, 4-5, 5-5).\r\nMedalStop = False\r\n\r\n# WARNING: READ THIS\r\n# Whether or not to 'push' past the max number of defined combat nodes, REGARDLESS OF THE STATE\r\n# OF YOUR FLEET. Only do this if the last node is a resource/non-combat node, like the end of 1-6\r\n# and your path is 100% fixed!!! YOU MAY LOSE SHIPS WITH THIS SET TO TRUE.\r\nLastNodePush: False\r\n\r\n\r\n[Quests]\r\n# Set to True if you want kancolle-auto to manage quests; False if not.\r\nEnabled: False\r\n\r\n# Quests to check for. Please check the Wiki linked above for a list of supported quests. Defaults\r\n# to a list of most generic quests. kancolle-auto will ignore quests if they are not completable\r\n# as specified by your config (if PvP is disabled, PvP quests will not be activated, and so on).\r\nQuests: bd1, bd2, bd3, bd4, bd5, bd6, bd7, bd8, bw1, bw2, bw3, bw4, bw5, bw6, bw7, c2, c3, c4, c8, d2, d3, d4, d9, d11, e3, e4\r\n\r\n# How often should quests be checked? Settings this to 1 will make quests be checked after every\r\n# expedition and sortie. Default is 3.\r\nCheckSchedule: 3\r\n[config snippet goes here]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/comments/242076959","html_url":"https://github.com/mrmin123/kancolle-auto/issues/217#issuecomment-242076959","issue_url":"https://api.github.com/repos/mrmin123/kancolle-auto/issues/217","id":242076959,"user":{"login":"stackhanovets","id":16455270,"avatar_url":"https://avatars.githubusercontent.com/u/16455270?v=3","gravatar_id":"","url":"https://api.github.com/users/stackhanovets","html_url":"https://github.com/stackhanovets","followers_url":"https://api.github.com/users/stackhanovets/followers","following_url":"https://api.github.com/users/stackhanovets/following{/other_user}","gists_url":"https://api.github.com/users/stackhanovets/gists{/gist_id}","starred_url":"https://api.github.com/users/stackhanovets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stackhanovets/subscriptions","organizations_url":"https://api.github.com/users/stackhanovets/orgs","repos_url":"https://api.github.com/users/stackhanovets/repos","events_url":"https://api.github.com/users/stackhanovets/events{/privacy}","received_events_url":"https://api.github.com/users/stackhanovets/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T14:06:15Z","updated_at":"2016-08-24T14:06:15Z","body":"The most frequent crashing parts are docking and a pvp conducting system. Now I'm using the auto-restarting batch file: \r\n\r\n```\r\njava -jar C:\\Sikuli\\sikuli-script.jar -r C:\\Sikuli\\kancolle-auto\\kancolle_auto.sikuli\r\n\r\nC:\\Sikuli\\kancolle-auto.bat\r\n```\r\n\r\nAs you see, it's recursive. Piece of cake, it only looks dangerous.\r\nThere were some issues with non-traditional entering points (e.g. when the script crashes during a pvp), but it's better than manual restart. \r\n"}}
{"actor":{"display_login":"stackhanovets"}}