I've read through a couple forms and cant seem to find anything... all i see is people asking how and not be answered...
Is it possible to get the name of an object out of process??
if so, what is the offset?
and what kind of data is it?
I've read through a couple forms and cant seem to find anything... all i see is people asking how and not be answered...
Is it possible to get the name of an object out of process??
if so, what is the offset?
and what kind of data is it?
the reason i'm asking is i was wanting to work on a fishing bot... using the TLS i am able to get a list of all the WoW objects... i whipped up something real quick to search for objects with type 5 with the createdby as my GUID... it comes up with nothing... I'm using a shaman... and when i cast totems its able to find my totems, but with the type of a mob... anyways... i dont really know if finding the name of the object Fishing Bobber is really going to help me any... The createdby flag is suppose to be my GUID?? its always 1.. I kinda whipped up another program that would search objects around me before and after i casted my bobber and would show me what new objects were found... so i'm positive i have the object for the fishing bobber... just completely lost from here on where to go..
HI there. To get an object name (and yes you can then check if it is a fishing bobber and using that for your fishing bot).
I can't remember exactly where I got this code from, whether it was this forum or edge of nowhere.
The owner. I have not confirmed this under 2.4.3 yet.Code:internal int GameObjectNameOffset_1 = 0x224; internal int GameObjectNameOffset_2 = 0x78; //this was 0x74 but with 2.4.3 it moved to 0x78 int iObjNamePtr = this.ReadInteger(objBasePtr + GameObjectNameOffset_1); iObjNamePtr = this.ReadInteger(iObjNamePtr + GameObjectNameOffset_2); gameObject.sName = this.ReadString(iObjNamePtr, 64);
Totems seem to come up as units.Code:internal int Off_GameObjectOwnersGUID = 0x2B8; l_OwnerGUID = ReadLong(objBasePtr + Off_GameObjectOwnersGUID);
do these actually work?? i was not able to get either to work..
okay i managed to get it to find my bobber with no problem... no is just reading the status to see if its actually bobbing...
okay so i've pretty much got almost everything figured out for my fish bot... now my only question... how exactly can i send mouse movements only to the WoW window?? possibly while the window is minimized? I was trying to use PostMessage, but i'm guessing WoW ignores any mouse movements posted??
anyone have any idea on this?
arynock... please use the "edit" button. Double posting is bad but damn... you tripple posted right after that!
Yes they actually work, I tested it this morning.
--
When you post a message to the wow client for a mouse move it does its own check to see where the mouse actually is (something like the GetCursorPos). So it does not matter what co-ords you send it works out where the mouse is. (You can however send keys that way).
I laboured over that quite a bit until Greyman put me out of my misery.
So, to get around this you need injection afaik. Either to call the right click/interact function inside wow or to return the coords you want it to see.
But in truth there would be many ways to skin that cat, you've just got to find them. Probably even ways that are not intrusive like injection.
For the moment, as I'm just learning, I put up with having wow in the foreground.
You can do a fishbot fully injected to get around all the sendkeys/click crap. Just enumerate the object list, find the bobber, then when it bobs call the Interact method or w/e.
Okay... so i take it that injection is pretty much the only way to go?? I understand your able to do more about injection but where can i actually learn about injection?? like learning how to make calls and stuff?? and wont this require me to learn assembly more?
it would require you to learn a programming launguage in order to program dll. I use C++ for programming DLL's and it has worked fine.
To program a DLL you can inject into WoW you'll need to know C++ and in some cases basic assembly (depending on what you're doing).
so... i understand that you use injection to make calls to functions of WoW... how do i go about learning how to find the addresses to functions?? i downloaded IDA and i figured the first step would be to learn how to find the actual functions..
I have never used IDA before, but its possible that they may be labeled with ASCII. If not, then you will have to find something ingame that touches that program (in any way), trace it back, and then put a breakpoint on where you think it is.
From what i have heard, IDA tells you alot more information than Ollydbg though so you may not need to do that.
o.O
[ame=http://www.amazon.com/Reversing-Secrets-Engineering-Eldad-Eilam/dp/0764574817]Amazon.com: Reversing: Secrets of Reverse Engineering: Eldad Eilam: Books[/ame]
Read that.