Commit Graph

45 Commits

Author SHA1 Message Date
Adam Saudagar
46083bbaa9 active count feature created 2021-05-16 08:34:35 +05:30
Adam Saudagar
8f7b6b71c4 Merge remote-tracking branch 'origin/master' into feature/fullauto
# Conflicts:
#	fishy/engine/fullautofisher/controls.py
#	fishy/engine/fullautofisher/engine.py
#	fishy/engine/fullautofisher/mode/calibrator.py
#	fishy/engine/fullautofisher/mode/recorder.py
#	fishy/engine/fullautofisher/player.py
#	fishy/engine/semifisher/fishing_event.py
#	fishy/gui/config_top.py
2021-05-12 20:44:55 +05:30
Semjon Kerner
fa83c10394 fix flake8: F841, E111 E711, E262 2021-05-09 11:48:35 +02:00
Semjon Kerner
b16f776749 too long lines 2021-05-09 11:44:19 +02:00
Semjon Kerner
1c5530dca4 fix whitespaces according to flake8 2021-05-09 11:09:26 +02:00
Semjon Kerner
3172b30d98 sort imports with isort 2021-05-09 09:05:51 +02:00
Semjon Kerner
fb89fdf4fb remove unused imports 2021-05-09 08:46:46 +02:00
Semjon Kerner
0396ea3239 playsond beep twice, moved from hotkey to engine 2021-05-07 20:07:03 +02:00
Semjon Kerner
58457ef798 fixup luaparser 2021-05-07 15:19:22 +02:00
Semjon Kerner
b6a375f486 add luaparser and read saved var 2021-05-07 15:19:22 +02:00
Adam Saudagar
b0a8db7528 wait for eso window active, stop engine when window becomes inactive 2021-05-02 23:35:06 +05:30
Adam Saudagar
3ce3c24dd1 connected mode select in config with the engine
- restructed player and recorder to work with new system,
- remove FullAuto.State
2021-05-02 21:10:38 +05:30
Adam Saudagar
a710246081 abstracted event_handler and config to make developing gui easier 2021-05-01 14:58:09 +05:30
Adam Saudagar
babcdd262a created multiprocess solution for mouse click callback for recording 2021-04-17 22:02:20 +05:30
Adam Saudagar
10cbd899f8 removed ocr things, using blob detection to find qr code, using qr code to get data from eso 2021-04-13 20:22:55 +05:30
Adam Saudagar
ee511e2c81 or might cause issue for 0 value in config, replacing it with ternary statement 2021-04-07 13:24:12 +05:30
Adam Saudagar
639df8ce5b moved config code into 2 parts, class (Config) and singleton (config)... singleton needs to be initlaized and stopped in main,
now config backups the config file every 5 minutes in temp folder, if the file gets corrupted, it restores the backup and continues working
2021-03-29 18:45:40 +05:30
Adam Saudagar
92c74f180c let server create uid instead of client, keeping session creating code on oneside 2021-03-28 16:49:22 +02:00
Semjon Kerner
439a3d707a add addon de/install errorhandling 2021-03-26 12:41:55 +01:00
Semjon Kerner
a5bcbaf28c add Add-On versioncheck 2021-03-26 12:41:55 +01:00
Semjon Kerner
ff21cd0e96 add config sort 2021-03-25 12:48:50 +01:00
Semjon Kerner
6056449c4d add Chalutier Add-On 2021-03-25 11:53:53 +01:00
Semjon Kerner
c409546f39 let python find new fishy version 2021-03-08 20:51:55 +01:00
Semjon Kerner
e47789c8ea add update filemenu 2021-03-08 20:51:55 +01:00
Semjon Kerner
4845c593f7 move update decision to update dialog 2021-03-08 20:51:55 +01:00
Semjon Kerner
693df9bf2d catch config delete exception 2021-03-08 20:51:55 +01:00
Adam Saudagar
a964c65776 full auto bug fixing
- changed engine.toggle_start to abstract method
- check for state before turning off bot engine
- added and corrected logging messages for contorls and calibration
- callibrate._get_factor returning None fixed
- optimized controls
- removed config for show crop
- recorder now runs asksaveasfile in gui thread and blocks itself till resoponse
- corrrected logic for saving failed files
- semifisher dont log started bot engine if not ran from gui
- added file name label in full auto config top
- call in thread now can return values
- gui now saves location when closed
- dynamic config location, now uses correct document folder if config file is not found in incorrect document folder
2020-12-01 02:34:33 +05:30
Adam Saudagar
367e2bea55 states for when playing/recording is running, added error message when window is not found in full auto, added beep sound when hotkey is pressed, made hotkey callable Optional 2020-11-19 18:49:27 +05:30
Adam Saudagar
a51a301070 abstracted modules of fullauto engine into different scripts 2020-11-07 22:10:57 +05:30
Adam Saudagar
b44039780c dynamicly download tesseract if not installed when full auto is launched 2020-10-18 06:13:24 +05:30
Adam Saudagar
2893b2270c full auto engine done
- semi fisher, calls last event when subscribed
- corrected ping pong logic
- f8 to stop player
- save coods image if not able to read for debug purpose
- created better controls
2020-10-18 03:34:25 +05:30
Adam Saudagar
421d755a7f crop is now saved in config, instead of calculating at every launch
- semi auto callbacks are turned on and off by fullauto now
- use pprint to print recorded path data
2020-10-18 01:15:57 +05:30
Adam Saudagar
51560f26d9 made config global 2020-10-18 00:36:07 +05:30
Adam Saudagar
825ce11ced engines can now run without gui
- corrected logic for look_for_hole, made hotkey start new threads, created mock interface for gui
2020-10-17 13:36:49 +05:30
Adam Saudagar
66e6a70fba better hotkey code, moved calibrate to seperate file, created player and recorder for full auto, created rotate_to metho in full auto engine 2020-10-15 06:56:31 +05:30
Adam Saudagar
ee8392e426 0.3.14 code cleanup 2020-10-14 07:59:58 +05:30
Adam Saudagar
0b75bb1820 fixed first shortcut creation 2020-10-13 23:53:27 +05:30
Adam Saudagar
f6af3311da better method for getting documents folder 2020-10-13 20:05:11 +05:30
Adam Saudagar
21065e55ee play sound when fish hole complete feature, normal and anti-lag shortcut options 2020-10-13 19:20:01 +05:30
DESKTOP-JVKHS7I\Adam
2d49d74af2 - fixed restart bug; random window disapears when restart option is used
- removed troubleshoot option from options
2020-06-27 20:53:32 +05:30
DESKTOP-JVKHS7I\Adam
decfdfb994 - auto update fixed
- keyboard ghosting for full auto fixed
2020-06-26 00:21:12 +05:30
DESKTOP-JVKHS7I\Adam
1ae645294d ai fix and full-auto test setup:
gui
- enable "Debug > Keep Console" to unhide full auto
- Removed Log Dump from Debug menu

semi-auto
- starting ai fix, sometime bot doesnt start
- minimize bug fix, when minimized gui goes out of sync
- keyboard button to pause play, now bot can be paused and played using f9
- now shows running as admin message
- better error message, now tells to check #read-me-first instead

full-auto
- add tesseract binary in directory
- install addon for full auto
2020-06-25 07:02:34 +05:30
DESKTOP-JVKHS7I\Adam
cd1b2dd8f6 0.3.5 reworked ui for multiple bot engine support
- shifted config into a toplevel
- logs before starting update
2020-05-24 03:44:09 +05:30
DESKTOP-JVKHS7I\Adam
b1ee1d1188 fixed an import which caused crash on hole deplete
- now uses envions instead of os.path.expand users for config file name
- made readme smaller
2020-05-15 05:21:55 +05:30
DESKTOP-JVKHS7I\Adam
5972aebc7d code cleanup:
- restructured code
- pep8 cleanup
- spelling mistakes fixed
- import fixes
- added cli arg to use local server
- got rid of globals.py
2020-05-14 07:33:13 +05:30