Automatic fishing script for cruelty squad.
Currently it has only been tested on linux but it will work the same on most computers.
crueltyfish (or for short, autofish) works by automated mouse input using the enigo and timed input.
autofish casts the line after holding for 1 second, and pulls in after 1.5 seconds on loop.
On all operating systems, DO NOT run the binary from anything other than a terminal, or you will have a hard time closing it!
Clone the repo
Open cmd inside the new folder
building exe:
cargo build --release
(to run exe from cmd, go to the main folder, then the folder called target, then the folder called release, and run the exe from cmd inside there, DO NOT DOUBLE CLICK IT).
running without exe:
cargo r
or cargo run
Clone repo
Open terminal inside directory
building binary:
cargo build --release
(to run binary from terminal, go to the repo directory, then the subdirectory called target, then the subdirectory inside that called release, and run the binary from terminal inside there, DO NOT DOUBLE CLICK THE BINARY).
running without binary:
cargo r
or cargo run
Get the xdotools package for your distro
Probably the same as linux and windows
If the line gets pulled a little late, you can pause for a split second and wait for another fish to see the result.
This is because you have a chance at catching a fish every second in game (reccomended to turn on timer)
Make sure to stand close to the fishing spot (like, as close as you safely can)
due to the fact it is timed inputs, not smart detection, when you cast the rod at long distances, it can try to pull the rod while its still in the air.
Here is a list of things that are here and arent here:
- Detection if the game is the main window
- Catching based on if a fish is on screen
- Uranus (this planet is something that isnt in the code)
- Very few lines of code
- Ability to cast and reel in fishing rod automatically
- Ability to catch the DOSfish if set up properly (i caught 4 DOSfish total)
- Ability to catch the Soul if set up properly (i caught 2 Souls total)
Has caught a Soul