Closed perryhuynh closed 5 years ago
It looks like the latest update broke fleet number related functionality. I've regenerated assets for the following so far and will attach them below: kcauto.sikuli/fleet.sikuli/fleet_1.png
kcauto.sikuli/fleet.sikuli/fleet_1.png
kcauto.sikuli/fleet.sikuli/fleet_1_active.png
kcauto.sikuli/fleet.sikuli/fleet_2.png
kcauto.sikuli/fleet.sikuli/fleet_2_active.png
kcauto.sikuli/fleet.sikuli/fleet_3.png
kcauto.sikuli/fleet.sikuli/fleet_3_active.png
kcauto.sikuli/fleet.sikuli/fleet_4.png
kcauto.sikuli/fleet.sikuli/fleet_4_active.png
kcauto.sikuli/repair.sikuli/repairlist_fleet_1.png
kcauto.sikuli/repair.sikuli/repairlist_fleet_1_flag.png
kcauto.sikuli/repair.sikuli/repairlist_fleet_2.png
kcauto.sikuli/repair.sikuli/repairlist_fleet_3.png
Even after regenerating the assets for the fleet module, I had to change the code below to use .similar(0.97) instead of exact() https://github.com/mrmin123/kcauto/blob/e52c6ec68a7eb703f4512073c7d97d81f43d0d39/kcauto.sikuli/fleet.sikuli/fleet.py#L81-L82
.similar(0.97)
exact()
It looks like the latest update broke fleet number related functionality. I've regenerated assets for the following so far and will attach them below:
kcauto.sikuli/fleet.sikuli/fleet_1.png
kcauto.sikuli/fleet.sikuli/fleet_1_active.png
kcauto.sikuli/fleet.sikuli/fleet_2.png
kcauto.sikuli/fleet.sikuli/fleet_2_active.png
kcauto.sikuli/fleet.sikuli/fleet_3.png
kcauto.sikuli/fleet.sikuli/fleet_3_active.png
kcauto.sikuli/fleet.sikuli/fleet_4.png
kcauto.sikuli/fleet.sikuli/fleet_4_active.png
kcauto.sikuli/repair.sikuli/repairlist_fleet_1.png
kcauto.sikuli/repair.sikuli/repairlist_fleet_1_flag.png
kcauto.sikuli/repair.sikuli/repairlist_fleet_2.png
kcauto.sikuli/repair.sikuli/repairlist_fleet_3.png
Even after regenerating the assets for the fleet module, I had to change the code below to use
.similar(0.97)
instead ofexact()
https://github.com/mrmin123/kcauto/blob/e52c6ec68a7eb703f4512073c7d97d81f43d0d39/kcauto.sikuli/fleet.sikuli/fleet.py#L81-L82