Hello there! Im just wondering if anyone could help me how to check if the fishing bobber has a fish hooked.
So it knows when to do the InteractUnit("Fishing bobber") thingy.
Im very bad at wow api stuff...
///lollollol1
Hello there! Im just wondering if anyone could help me how to check if the fishing bobber has a fish hooked.
So it knows when to do the InteractUnit("Fishing bobber") thingy.
Im very bad at wow api stuff...
///lollollol1
Can't be done (with the script api)
Meeh :< How can I make my fishbot notice when bobber is ready? (doing it in c#)
You will need an object manager. Look for the bobber and check the animation flag or value.... Check the value from the initial launch and if it changes then the bobber has bobbed...
Thanks Dark =) Will see if i can get it to work! (beginner ftl)
Giving you the offsets is a little pointless as they change some times patch to patch...
But anyways,
Look for the object with the id 668, that is the bobber...
The animation offset it 0xD4, just add that onto the starting point of the bobber
To bad i can't figure out how to use ObjectManager ;/ Will try to find a guide how to use it^^
It would be easy to write a function that checks if your character's bobber is bobbing without writing a full-fledged object manager. It would be smart to write one though, so you can do more advanced things easier in the future. It's not too hard. SillyBoy, if I remember correctly, made a nice lil' thread about the object manager.
I did a project that required the use of the object manager, and it explains how it works quite thoroughly. Check this thread http://www.ownedcore.com/forums/worl...int-newbs.html ([Guides] Starting point for newbs)
The code is listed at the end of the project, but I havent gotten around to putting it on google code or something similar yet. Might do that later sometime if it will help