Skip to content

Commit

Permalink
threshold info
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbots committed Jul 8, 2022
1 parent de7fdd6 commit 7d3d9fd
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
A fishing bot for World of Warcraft, wrapped in [Electron](https://github.com/electron/electron) it uses [keysender](https://github.com/Krombik/keysender) library to analyze the screen and automate a fishing process in a human-like manner. The bot can work with one or multiple windows of the game at the same time. The bot also uses [tesseract.js](https://github.com/naptha/tesseract.js) for analyzing loot.

**Features:**
- Multiple windows support.
- Multiple windows support.
- Optional loot support.
- Fishing lures support.
- Custom window suppport.
- Convoluted automation (random sleep, random reaction, random sleep after catching, random mouse speed/curvature, random click on the bobber, random bobber highlighting)

For more detailed review you can watch <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/09/YouTube_full-color_icon_%282017%29.svg/1280px-YouTube_full-color_icon_%282017%29.svg.png" width="20"> [AutoFish 1.0](https://www.youtube.com/watch?v=e0D5dBptQUg&ab_channel=olesgeras) and <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/09/YouTube_full-color_icon_%282017%29.svg/1280px-YouTube_full-color_icon_%282017%29.svg.png" width="20"> [AutoFish 1.1](https://youtu.be/o1i_cgZzuHc).

This is so called "pixel bot", it doesn't change anything in the processes memory nor use any vision libraries like OpenCV, it uses a simpler solution: it analyzes the window of the game for condensed red colors and then sticks to them checking the area for changes. It moves with the bobber while the bobber slowly wobbles, but when the bobber is jerked, it clicks on it and catches the fish.
This is so called "pixel bot", it doesn't change anything in the processes memory nor use any vision libraries like OpenCV, it uses a simpler solution: it analyzes the window of the game for condensed red colors and then sticks to them checking the area for changes. It moves with the bobber while the bobber slowly wobbles, but when the bobber is jerked, it clicks on it and catches the fish.

The bot doesn't work in the background and requires the window of the game to be opened all the time, to get around this you can use a **virtual machine** (like [VirtualBox](https://www.virtualbox.org/)) with installed World of Warcraft and launch AutoFish there. *(tested)*

Expand Down Expand Up @@ -96,14 +96,14 @@ The bot was tested only with default UI and with default UI scale, without any a
9. Find a good place to fish (check [Fishing zone](#fishing-zone-dart) section).
- Avoid any red colors in the "Fishing zone" except the red feather of the bobber.
- Initially the bot will make a preliminary check for red colors before casting, if it finds any, **it will show you where exactly it ran into the reddish color by moving your cursor to the place**.
- The bot will make 3 attempts to cast and find the bobber (you can change this number in the "Advanced Settings"), if it fails it will stop the application.
- The bot will make 3 attempts to cast and find the bobber (you can change this number in the "Advanced Settings"), if it fails it will stop the application.
10. Don't use your keyboard and mouse while the bot is working.
11. You can press **'space'** to **stop the bot**.

**Additional:**

- If the bot can't find a bobber, decrease "Threshold" value. (e.g. 20 -> 10)
- If the bot can't pass the preliminary checks for red colors, increase "Threshold" value (e.g. 20 -> 30)
- If the bot can't find a bobber, decrease "Threshold" value. (e.g. 60 -> 40)
- If the bot can't pass the preliminary checks for red colors, increase "Threshold" value (e.g. 60 -> 80)
- If you play on Classic/Vanilla/TBC and want to use lures:
- Your character window should be assigned to default 'c' key, bot opens it and applies lures to your fishing pole.
- Your UI scale should be set to default.
Expand All @@ -125,7 +125,7 @@ The rule of thumb here is **the better you can see the red feather the better th
- If you can, make your video settings as best as possible, except the weather effects...
- Turn off all the weather effects so that the bot won't confuse rain/fog for jerking of the bobber. But if the weather is *really* bad (like a blizzard), it might drastically reduce the efficiency of the bot *(working on make it better)*. Solution: find another place or wait for the better weather.
- Different direction might make the red feather of the bobber either brighter or darker, bigger or smaller, this all will impact the efficiency of the bot. In most cases the place doesn't matter **it's all about direction and position**.
- Camera position isn't so important, but sometimes, if the place is dark/snowy, closer view to the bobber might help. The best position is just a normal 3rd person view.
- Camera position isn't so important, but sometimes, if the place is dark/snowy, closer view to the bobber might help. The best position is just a normal 3rd person view.

Here are quick self-explanatory "good-bad" screenshots of the bobber:

Expand All @@ -135,9 +135,7 @@ Here are quick self-explanatory "good-bad" screenshots of the bobber:

## Download :open_file_folder:

AutoFish 1.6.2 Setup: [Download](https://drive.google.com/file/d/13uX8rnWBz6sbrG5bGVzKGv_LkOw3OJNT/view?usp=sharing)

AutoFish 1.7.7 Setup: [Download](https://github.com/olesgeras/AutoFish/releases/download/v1.7.7/AutoFish.1.7.7.Setup.exe)
AutoFish 1.8.0 Setup: [Download](https://github.com/olesgeras/AutoFish/releases/download/v1.7.7/AutoFish.1.7.7.Setup.exe)

It's open-source software, so if you are afraid of downloading the executable file, you can clone the repository, check the code and lanch it from the CLI.

Expand Down

0 comments on commit 7d3d9fd

Please sign in to comment.