Posted: Fri Jun 14, 2019 1:37 am Post subject: making sense of XYZ coordinates of surrounding entities.
I'm trying to achieve something but not quite sure how to go about it. I'm able to locate the XYZ coordinates of other players / NPCs within the loadable area I'm in but I have no idea how to put them in order.
For example say I wanted to change the coordinates of someone I'm targeting. I could write a script that makes a comparison of my target coordinates and the coordinates of every mob I have listed. Problem is when I pointer scan these addresses. They change upon closing game and starting it back up again.
First time I am logged on, "Mob #1" coordinates are being pointed to but when restarting "Mob #5" coordinates are being pointed to. Also not sure how to go about there being 10 mobs in 1 area and 15 mobs in another area. Does that mean I need to find 15 pointers or more and figure out their offsets ?
Any specific method to go about this would be helpful. thanks in advance
I messed with this kinda thing once, years ago, just to see how it worked. But I can atleast give you some terms to look into.
So first you want to find the "entity list", and you'll have to reavers the structure enough to not only find it but also to get to the coordinates from the entity list.
Then you'll want to figure out a "world to screen" conversion function. Sometimes you can just reavers where and how the game does this, and just use the games function or write your own function to convert.
But there is lots of material out that goes over this stuff, and people that do it more often and could actually explain it better. I'd likely just make it overly confusing or give incorrect information, as I really don't mess with this kinda thing. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum