Commit Graph

58 Commits

Author SHA1 Message Date
Adam Saudagar
f31fa11804 created look for hole option 2021-12-20 11:57:55 +05:30
Adam Saudagar
814ca1e0d5 0.5.4 hotfix
fixed get_coords() tupple overflow issue,
improved hole check in full auto fishing,
improved message when FishyQR is not found,
keeping chalutier in migration
2021-12-01 11:27:16 +05:30
Adam Saudagar
9f0974abb3 created migration code which is used to migrate data after an update
moved version code to constants so that code can access it too
changed Install/Remove Chalutier to FIshyQR in options
2021-11-21 16:30:41 +05:30
Adam Saudagar
8ae46dd5a5 integrated fishyqr v0.0.2 for semi fisher
- remove color detection code
- move qr detection from full auto into common
- refactor both engines to use qr from common
2021-11-21 12:42:14 +05:30
Adam Saudagar
d642362f85 give overwrite option only in edit mode 2021-05-22 05:43:41 +05:30
Adam Saudagar
7929ed47be hotfix 0.4.11: fullauto tabout stop config added, improved full auto config layout 2021-05-18 05:53:28 +05:30
Adam Saudagar
1e9c667c44 Merge branch 'feature/fullauto' 2021-05-16 19:59:33 +05:30
Adam Saudagar
0ccbf7ba7e fixed calibrater mode gives you need to calibrate error 2021-05-16 19:58:49 +05:30
Adam Saudagar
84b2b19b1a moved hotkey to other process 2021-05-16 04:10:48 +05:30
Adam Saudagar
901c8d6ea8 full auto doesn't stop when waiting for game window to be active 2021-05-15 18:24:27 +05:30
Adam Saudagar
810c0276a1 possible fix for ingnoring fishing holes 2021-05-15 17:52:04 +05:30
Adam Saudagar
db3def3948 pause Instead of shutting off engine when qr doesn't get read 2021-05-15 17:50:38 +05:30
Adam Saudagar
41232cc723 path editing mode done 2021-05-13 17:34:50 +05:30
Adam Saudagar
fa02a0895b show the name of the recording while saving 2021-05-13 16:55:49 +05:30
Adam Saudagar
73a377d919 added config for edit mode 2021-05-13 14:51:59 +05:30
Adam Saudagar
c21a6f06f2 resume from closest point instead of start 2021-05-13 14:23:54 +05:30
Adam Saudagar
55c867f790 changed from yes/no to overwrite/save as/cancel option in recorder 2021-05-13 13:47:43 +05:30
Adam Saudagar
ab81d09741 ask whether to save or not when recording ends 2021-05-12 21:07:20 +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
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
Adam Saudagar
65052f3fa3 automatically load recording when it ends 2021-05-03 00:38:39 +05:30
Adam Saudagar
aa207dae02 fixed divide by zero error 2021-05-03 00:10:08 +05:30
Adam Saudagar
bfb498d1c9 add sound feedback to recording hole 2021-05-02 23:53:18 +05:30
Adam Saudagar
b0a8db7528 wait for eso window active, stop engine when window becomes inactive 2021-05-02 23:35:06 +05:30
Adam Saudagar
6440ec1000 calibrate connected to config 2021-05-02 22:19:44 +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
1290c877f1 removed controls from engine 2021-05-01 15:04:38 +05:30
Adam Saudagar
b7dbbf4599 cleaned imports 2021-04-18 12:52:57 +05:30
Adam Saudagar
1b30bc3c82 changed look up down timing, added log message for when player starts 2021-04-17 22:54:12 +05:30
Adam Saudagar
ce1bc0391b added fishyqr and libgps addons download in constants 2021-04-17 22:03:27 +05:30
Adam Saudagar
babcdd262a created multiprocess solution for mouse click callback for recording 2021-04-17 22:02:20 +05:30
Adam Saudagar
96db413f61 renamed calibrate class to calibrator,
removed updown calibration process,
changed controls accordingly
2021-04-17 22:01:19 +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
fb6c27271c reduced control modes 2020-12-07 22:01:34 +05:30
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
50083edd8a added player file in config 2020-10-18 19:23:46 +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
69edc75c16 now engine shutdowns properly when quiting, corrected logic for window show 2020-10-18 04:42:48 +05:30
Adam Saudagar
fafb6ea952 made full auto runable via gui 2020-10-18 04:05:20 +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
c63ff4c3ba refactored semifisher state machine feature to be much simpler,
- now different systems can subscribe to semifisher events
2020-10-17 21:34:44 +05:30
Adam Saudagar
315adf9799 re structured window into server client model so that multiple engine can use them simultaneously 2020-10-17 16:22:04 +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
2edad8110f changed save system to pickle instead of json, changed calibrate to class, added offset in crop coods for better ocr 2020-10-15 08:49:08 +05:30
Adam Saudagar
b88cb8567c finished player code 2020-10-15 07:53:15 +05:30