14

GitHub - Siterizer/new-world-fishing-bot: user friendly python script who is abl...

 2 years ago
source link: https://github.com/Siterizer/new-world-fishing-bot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

new-world-fishing-bot release 1.1.1

click img for demonstration

Download guide

  • Click at latest release:
  • Download and extract bot.zip:
  • When you run file bot.exe following user interface should appear:

Game settings

  • Resolution 1920x1080 low details:

  • Standard key bindings, except of 'CAMERA' -> 'FREE LOOK' key binding, it must be 'B'!

  • Visuals as follow:

  • Remember to set you windows Scale to 100%:

Usage guide

  • Before you start fishing you need to indicate correct fishing positions
    The left ('Fishing') panel inputs are the pointing area where fishing icons are going to appear
    The best way to configure it is to open the game, stand over the fishing ground
    set a rectangle so that most of it is on the right side of the character, and set the appropriate height
  • The smaller the rectangle, the faster the program will run - because it will have fewer pixels to check
    I strongly suggest setting the repair positions at this point as well
    Just open the inventory, and set positions so that it completely covers the rod
  • Now all you have to do is click the ‘Start fishing’ button and move the mouse cursor into the game window.

Personalization guide

  • Repairing functionality will work every interval you set on the panel and is activated while searching for a fish
    Each interval, starting with casting the fishing rod, retrieving the fish, opening the inventory for repairs, is possible to change
    Close app, go to your installation folder, open resources and open config.xml with any text editor you have
  • As you can see there are values that you assigned a moment ago. What interests you are all the values
    appearing after the line 'timeouts'. Each timeout will be a random number in the range of min and max. And their properties are listed here: (All values are given in seconds)
  1. loop is responsible for the breaks between successive iterations of the program. I recommend leaving it at 0.0.1
  2. notice is a left mouse click duration when fish is found
  3. reeling is a left mouse click duration when the green icon is visible
  4. pause tells you how much time the program should 'release' when it sees a brown or red icon
  5. cast is a left mouse click duration of casting the fishing rod.
  6. arm_disarm - time the program will wait before/after arming/disarming the rod
  7. inventory - time the program will wait before/after opening/closing your inventory
  8. repair - time the program will wait before/after clicking the fishing rod
  9. confirm - time the program will wait before/after confirming repair
  10. Additionally, if you want the program to display more information while fishing, change 'log_lvl' from INFO to DEBUG.\

Code installation guide

  • Clone repo git clone https://github.com/Siterizer/new-world-fishing-bot.git
  • Install python https://www.python.org/downloads/
  • Create python virtual enviroment python3 -m venv instalation_directory\new-world-fishing-bot
  • Enter virtual enviroment Scripts\activate
  • Install following modules:
    • pip install pyyaml
    • pip install pywin32
    • pip install numpy
    • pip install opencv-python
    • pip install Pillow
  • run python bot.py following user interface should appear:

If you would like to create your own .exe file:

  1. Install: pip install pyinstaller
  2. Run following command: pyinstaller --add-data resources;resources bot.py
  3. Your exe file should generate in dist\bot\bot.exe

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK