Hello - I can reliably reproduce something which I believe to be an issue with the Miner. When operating in single client mode, everything seems to work. The miner targets correctly, can monitor local, enter/exit combat, and abandon wrecks.
Windows 10, issue exists in VM's as well.
Windows Resolution: 1920x1080
However, when in multiclient mode, the Miner does not abandon wrecks. See error reported from the logs below. Based on the ASCII image produced in the logs, it seems the bottom of the menu is being cut off. I strongly suspect this is because the Miner is in fleet, and this causes some extra options in the menu. The image analyzer in the bot cannot see the bottom button which is "Abandon all nearby wrecks". Unlooted wrecks tend to draw attention as they collect in an asteroid belt, so this is problematic. See screenshot of the moment when the bot reported the error - the button is clearly in view, but bot cannot find it.
Error message:
17:41:44: FightModule(FM)
17:41:44 (2057) New performance log started, Func : FightModule
* local check (2058)
17:41:45 (2058) OCR:816ms, Func : FightModule
17:41:45 (2058) StationSpaceCheck:16ms, Func : FightModule
17:41:45 (2058) Warp not detected/finished. Color: 0x3E, ref: 0x29 Warp start time: 2058. Code 2, Func : WarpingSubStop
17:41:45 (2058) WarpingSubStop: 360ms, Func : FightModule
17:41:45 (2058) HPEventHandler:17ms, Func : FightModule
17:41:45 (2058) ActiveModulesSwitcher:40ms, Func : FightModule
17:41:45 (2058) Switch off lasers before fight:0ms, Func : FightModule
17:41:45 (2058) SS renewal:33ms, Func : FightModule
17:41:46 (2058) SelectedItemWindowCheck:264ms, Func : FightModule
17:41:46 (2058) Selected items window detected, Func : FightModule
17:41:46 (2058) GetPresetNumber:5ms, Func : FightModule
17:41:46 (2058) Current preset = (3), Func : FightModule
17:41:46 (2058) RemoveToolTipFromAreas-459:1ms, Func : FightModule
17:41:46 (2058) Drone Window Operation, Func : FightModule
17:41:46 (2058) Locate Drone Window:5ms, Func : FightModule
17:41:46 (2058) Drone window found, Func : FightModule
17:41:46 (2058) Locate Drone Window (exit):0ms, Func : FightModule
17:41:46 (2058) NPCNumberCalc:12ms, Func : FightModule
17:41:46 (2058) NPCs: 0, dont count BS = False, BS = 0, Func : FightModule
17:41:46 (2058) CheckHP:16ms, Func : FightModule
17:41:46 (2058) No drones in space, Func : DronesCollect
17:41:46 (2058) DronesCollect:53ms, Func : FightModule
17:41:46 (2058) Finish fight normally. Code 4, Func : FightModule
---> 17:41:46: ExitCode 4. Method consumed 28.3 sec. in 5 runs (average 5.7 secs/run), Next Line: 500+
---> Desc: Returns 4 if fight finished
17:41:46: Looter(500)
17:41:46 (2059) Check Preset: current (3), required 6, name: |wrecks|, Func : CheckPreset
17:41:46 (2059) 6 preset selection, Func : CheckPreset
* local check (2059)
17:42:00 (2073) MenuOpen: menu not detected, menuOpenPoint {X=878,Y=201}, mouse mode = True, where true is relative, Func : MenuOpen
Pattern: 17:42:00, bg1=0x30, c=B
(then there is the ASCII image, which I have attached to this thread)
Log resumes:
17:42:00 (2073) Screenshot made:<redacted>.png, Func : MenuOpen
17:42:11 (2084) MenuOpen: menu not detected, menuOpenPoint {X=878,Y=201}, mouse mode = True, where true is relative, Func : MenuOpen
17:42:11 (2084) MenuOpen: text not found, return false, Func : MenuOpen
17:42:12 (2084) Failed to detect abandon wreck menu. Code 3, Func : Looter
---> 17:42:15: ExitCode 3. Method consumed 28.7 sec. in 1 runs (average 28.7 secs/run), Next Line: 460+
---> Desc: Returns 3 if process completed or function disabled in settings
You can clearly see there is no "Abandon Wreck" button in the ASCII image, but there is one in the actual in-game screenshot. I think this should be enough for anyone to reproduce the issue, but I attached the ASCII text image as well.
Thanks for all your work on this amazing bot, Slav!
Прикрепленный файлИмя файла:
ascii.txtРазмер файла: 79692
