Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

6.1.0 to master #244

Merged
merged 6 commits into from
Sep 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#### 6.1.0

* Add recovery for Chrome tab crashes
* Update Vanguard formation asset (thanks to @perryhuynh)

#### 6.0.0

* Add 2018 Early Fall Event assets
* Note: LBAS squad 3 still not supported
* Note: Map data is currently incomplete
* Event LBAS support (thanks to @ksks222)
* LBAS squad 3 still not supported
* Event (Map Progress) Reset feature
* Resets Event map progress by switching between specified difficulties at specified combat sortie frequency to facilitate Event map farming
* Updated webUI to support Event Reset feature
Expand Down
4 changes: 2 additions & 2 deletions docs/bundle.js

Large diffs are not rendered by default.

Binary file added kcauto.sikuli/chrome_crash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified kcauto.sikuli/fleet.sikuli/formation_vanguard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 17 additions & 2 deletions kcauto.sikuli/recovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ def recover(kcauto, config, e):
kcauto.stats.increment_recoveries()
return True

# Chrome crash recovery
Region.type(kc_region, Key.F10) # clear overlay?
if kc_region.exists('chrome_crash.png'):
Util.log_warning("** Chrome crash detected. **")
Region.type(kc_region, Key.F5)
sleep(5)
Util.wait_and_click(
kc_region, Pattern('game_start.png').similar(0.999), 60)
Util.log_success("Re-starting game.")
kc_region.wait('home_menu_resupply.png', 15)
Util.log_success("Chrome crash recovery successful.")
kcauto.stats.increment_recoveries()
return True

# catbomb recovery
if kc_region.exists('catbomb.png', 10):
Util.log_warning("** Catbomb detected. **")
Expand Down Expand Up @@ -85,10 +99,11 @@ def recover(kcauto, config, e):
catbomb_n += 1
else:
catbombed = False
sleep(3)
sleep(5)
Util.wait_and_click(
kc_region, Pattern('game_start.png').similar(0.999), 60)
sleep(5)
Util.log_success("Re-starting game.")
kc_region.wait('home_menu_resupply.png', 15)
Util.log_success("Catbomb recovery successful.")
kcauto.stats.increment_recoveries()
return True
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kcauto",
"version": "6.0.0",
"version": "6.1.0",
"main": "index.js",
"repository": "git@gitlab.com:mrmin123/kcauto.git",
"author": "mrmin123 <minyoung.choi@gmail.com>",
Expand Down