Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


making sense of XYZ coordinates of surrounding entities.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
MikeNoey
Advanced Cheater
Reputation: 0

Joined: 08 Jun 2018
Posts: 64

PostPosted: Fri Jun 14, 2019 1:37 am    Post subject: making sense of XYZ coordinates of surrounding entities. Reply with quote

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
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 51

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Fri Jun 14, 2019 6:10 am    Post subject: This post has 1 review(s) Reply with quote

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.

_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites