std::cout << "Hello world!\n";
I am trying to make simple mining bot without wow function calling (because I don't know how to do it lol) and now I struggle with getting XYZ of nodes for my clickToMove function
As the title says, I can't understand how "not alive" entities are handled in entity list (object manager or whatever)
I took most of my offsets from here ([WoW] [5.4.8 18414] Release x86 Info Dump Thread) (thanks a lot)
I have function, that takes my mouseover GUID and return address of that target in entity list. Basically I am iterating by all entities, resolving their pointer-chain to it's GUID and compare it with mouseover GUID until I find match
BUT, it's not working for herbs and mining nodes. It can't resolve pointers to GUID of these entities, throwing me an exception of access violation. I added some error checking for invalid pointers so I am not having crushes, but my function can't find herbs and nodes also
I tried different offsets, like Entity + *** -> Descriptors + *** = GUID, Entity + *** -> Descriptors + *** -> GUID and Entity + *** = GUID, but it's all working only for alive units
So it seems like GUID location of herbs and nodes differs with alive units
It's possible, that offsets from dump are just not correct for me, because you can see from it that GUID of units and objects stored at same place.
I understand that GUID maybe not best way of finding herbs and nodes, but I am pretty new at all of this. It's challenging for me and I want to understand it
I am not asking for spoon-feeding with correct offsets, I want to understand how you can find it by yourself, so that's why I have questions:
1. What is usual way of finding herbs/nodes in entity list? Is it entity type?
2. How can you reverse "static" structure like nodes and herbs? I believe it can't really change any variables like position and it destroys when you harvest it
3. Can it be done better with any internal function calling? (I mean minimap tracking can show you closest herbs/nodes, so it must use some sort of function to get their position?)
Sorry if these questions have been asked billion times, but I tried to search information by myself and failed (I really tried...)