Skip to content

Greetlist/wow_fishing_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

New Feature

Adjust Color

Different environment or different monitor color need different HSV color range.

Debuging the image to get correct HSV is needed ASAP.

2024-08-01 Finish development, Detail:

  1. Must Click Get Fish Area First
  2. Click Debug HSV Color Range to fit color range until you can only see Red Color in the picture. And press q to close dialog.
  3. Use Checkbox Coordinate
  4. Start Fishing

对于不同环境或者不同显示器颜色,获取鱼漂颜色范围有差异,自己在使用的时候会遇到这种问题。

所以需要添加调试颜色范围的功能。

2024-08-01开发完成,具体步骤如下:

  1. 必须先框选鱼漂坐标。
  2. 点击Debug HSV Color Range按钮,会弹出一个窗口调试颜色, 调整到只剩鱼漂的红色部分能看到为止,按q退出窗口,不要点击右上角关闭
  3. 勾选Coordinate,用坐标来判断是否上钩
  4. 开始钓鱼

Adjust Monitor size

base monitor size is: 1920 * 1080 if your monitor size is different against base monitor size, please fill the monitor_width and monitor_height value, otherwise the coordinate is wrong. Other step is same as before.

基本显示器大小为1920 * 1080 你的显示器如果是4K这样的话,需要先把monior_widthmonitor_height两个值 填好之后再进行下面的截图之类的步骤。

Shut Down Server

一晃眼关服已经差不多七个月了,写的脚本也没了用武之地,每个大版本的初期都是赚钱的好时候。

10.0初期,脚本也给我带来了300多万的收益。10.0也把心心念的麦卡也完工了。

想念我的麦卡完工,想念我的奶骑,想念跟朋友一起冲层的时光。 希望国服快快回归吧,虽然不太现实。 想拿一条水獭给18年的青春画上一个句号。

Sweety home

2024-04-10,微软网易又再次重新合作了,看来水獭又有机会拿到了

OverView

Auto Fising Script with GUI. Rate of success catching fishing is over 90%.

How To Build It

python version

Build From Source

  1. Download python3 from MicroSoft Store, version(3.10)
  2. Download vs code from MicroSoft Store [Optional]
  3. Get This Repo via Git or Zip and cd into python_version dir
  4. Download Python packages pip install -r requirement.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
  5. Run build bat: ./build.bat
  6. binary is dist/main/main.exe

Download Binary

Release Page

c++ version

TODO

How To Use It

ForeGround Example GIF

BackGround Example GIF

Notice: BackGround Mode need 3 prepare works before fishing

  1. Turn Interact On

Turn On

  1. execute these two macro
/console SoftTargetInteractArc 2      # allowed you to interact without facing things
/console SoftTargetInteractRange 50   # increase your interact range to 50
  1. Bind interact key to '9'

Interact Key Setting

Core Config

  1. Fishing area. (Coordinate of screen is auto-complete, support multi-screen, not support cross-screen)
  2. Game Window Name. (Adjust different language)
  3. Fishing Idle Time.
  4. Cast Some Skill Periodically [keyboard '6']. (toy or bait)
  5. Switch To TestMode. (Take some screenshot for testing)
  6. Switch To FG/BG Mode. (BG Mode allow you to do something else while WOW window is inactive)
  7. Use Coordinate judgement or Area Judgement. (Coordinate Judgement is more stable while testing in real game)
  8. Max Fishing Count, ⚠️ 0 is not infinity, Please Increase this value manually
  9. Probability Of Jumping before every fishing (default: 10%).

TODO List

  • Add Max-Fishing-Count config.
  • Add Random Jump and Jump probability config.
  • Support invoke some WOW's Macro before fishing.
  • Auto Online/Offline.
  • Key Binding configurable.
  • Auto change coordinate threshold. (Reinforcement)
  • Manual change Fish-Float hsv color range to fit different environment. (Reinforcement)

Report Bug And Advice

If you trapped with some unknown bugs or want to give some advice, Please new issue to me.

Relate Tools And Repo

PySide6

pywin32

pyautogui

pyinstaller

python-mss

opencv-python

Useful WebSite

MicroSoft Win32 API

PySide6 Tutorials

pywin32 Online API

How-To-Send-Key-To-Inactive-Window

MicroSoft Win32 Virtual Key Binding

HSV Color Range Switcher