-
Active Member
[Classic] 1.13.2.31687 How to determine whether there is a fish on the hook
[Classic] 1.13.2.31687
Ask for help,Does anybody know a way to determine whether there is a fish on the hook.
-
Active Member
-
Member
A forum lives from people answering questions. So if you found an answer to your own question, it might be nice if you just answer it how you solved your problem.
-
Post Thanks / Like - 1 Thanks
jimmys96 (1 members gave Thanks to Bioaim for this useful post)
-
Originally Posted by
Bioaim
A forum lives from people answering questions. So if you found an answer to your own question, it might be nice if you just answer it how you solved your problem.
While I totally agree with you, this question has been answered a dozen times in the past, if not more. The general idea still remains the same, you check the animation state of the object. As far as I remember, the fishing bobber has two animations. And idle animation and a bite animation. You can either poll the animation state from the fishing bobber every so often or reverse the function that sets this animation state and place a hook.
This is what I wrote a while back about this topic and while some of the statements no longer apply (and my posts are also cringy as fuck), the general concept still applies:
https://www.ownedcore.com/forums/wor...y-no-code.html ([Guide] How to start fishing in theory [no code])
There are obviously other options to do this. Back in legion I wrote a passive out of process fishing bot that didn't interact with the wow process at all (other than SendInput). Bobbing detection was done by polling the windows realtime sound level of the wow process and the location of the fishing bobber was determined by brute force: have the mouse move over a part of the wow window until the mouse cursor changes to the interact cursor. Sadly the code is lost now since I only needed it for a day - I really wanted that water strider from WoD. For some time I was toying with the idea to use a neural network on a raspberry pi with a HDMI grabber and an arduino board as a keyboard+mouse for the main pc, but I lost interest in that.
"Threads should always commit suicide - they should never be murdered" - DirectX SDK