Thanks to visit codestin.com
Credit goes to github.com

Skip to content

An edit of the Auto Fishing Bot for the Virtual Fisher Discord Bot! (Fishing duration changed from 2 to 3.5 seconds --> 2 to 10 seconds because sometimes the script sent the command too fast and it was inefficient)

License

LFL38/autofishbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AFB - Autofishbot

Auto fishing bot made in Python 3 for Virtual Fisher Discord bot.

Features

  • Auto Fish
  • Menu (TUI)
  • Captcha Bypass *
  • Full-featured (auto boosts, auto daily, auto sell, and +)
  • Interactions (buttons and slash commands)

Note: the experimental-2.0.0 (current) version is still under development, if you are having problems, a stable release (1.2.1.1) can be found here.

Demo

demo

Requirements

Installation and Update

(With Git)

  • Using the terminal, type:
git clone https://github.com/LFL38/autofishbot.git
cd autofishbot
python -m pip install -r requirements.txt

(Without Git)

  • Download the repository here
  • Extract the zip file
  • Open a terminal window in the extracted folder and type:
python -m pip install -r requirements.txt

Usage

Using the terminal, in the repository folder, type:

python autofishbot.py 

Notes:

  • You can use python autofishbot.py config_name to run the bot with a specific config file.
  • You can use python autofishbot.py --create to create a new config file.
  • In the first startup, the bot will ask you to fill the configuration file name (which will be stored at '{autofishbot directory}/configs/' folder). After setting everything up, run the command again. In case of several config files, you will be prompted to choose one.

Customization

You can easily customize the options listed below in the automatically generated config file:

#Example
[SYSTEM]
user_token = M@yToke_n123
user_cooldown = 5
channel_id = 123456
debug = False

[CAPTCHA]
ocr_api_key = MyK!ey12.3

[NETWORK]
user_agent = 
proxy_ip =
proxy_port =
proxy_auth_user = 
proxy_auth_password = 

[AUTOMATION]
boosts_length = 5
more_fish = True
more_treasures = False
fish_on_exit = True
auto_daily = True
auto_buy_baits = False
auto_sell = True
auto_update_inventory = False

[MENU]
compact_mode = False
refresh_rate = 0.3

[COSMETIC]
pet = dolphin
bait = fish
biome = ocean

Detailed information here.

Captcha Information

All captchas are solved using the OCR.SPACE API for image to text recognition. The reason for choosing an online API was to avoid the annoyance of forcing users to install heavy image recognition modules (and saving the unnecessary effort of creating a specific image recognition model for this type of captcha). Among the API options, the most practical and accessible for the user is OCR.SPACE and, furthermore, it presented a reasonable consistency in correctly identifying the text in the image in the tests performed. Therefore, to automatically solve the captchas, you will need an API KEY.

The methodology is quite straight forward, when a new captcha is detected:

  1. A request is sent asynchronously to the API for each available OCR engine
  2. The answers are filtered to assert those with reasonable certainty
  3. The filtered answers are tested

If all tests fail, a request to regenerate the captcha will be sent (up to 3 times). If the bot, ultimately, fails to solve all captchas, it will wait until you solve it manually.

Keep in mind that the captcha detection method is not flawless, unexpected events can cause some unusual behavior that could influence detection accuracy. Therefore, it should not be left alone without monitoring for longer periods of time.

Demo (normal)

captcha-demo

Demo (with regen)

captcha-demo-wrong-code

HOW DO I GET MY FREE KEY ?

All you need to do is use any email to get it here: https://ocr.space/ocrapi/freekey.

About

An edit of the Auto Fishing Bot for the Virtual Fisher Discord Bot! (Fishing duration changed from 2 to 3.5 seconds --> 2 to 10 seconds because sometimes the script sent the command too fast and it was inefficient)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%