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 


KCDII: Player Coord structure changes between restarts

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
BladeRavinger
How do I cheat?
Reputation: 0

Joined: 26 Apr 2014
Posts: 8
Location: United Kingdom

PostPosted: Sun Mar 09, 2025 8:56 am    Post subject: KCDII: Player Coord structure changes between restarts Reply with quote

Hey Folks,

I found myself stuck by some silly door during a quest (Kingdom Come: Deliverance 2) and needed to teleport to the other side (seems like a bug but the jury is out)

anyway it lead me down a rabbit hole of maybe i could make a teleporter.

while gathering data to refine an AOBScan i noticed that the Coordinate array is sometimes separated by 10, other times 4.

Code:

-- 10bytes offset
00 20 19 45 00 00 00 00 00 00 80 3F 00 00 00 00 00 20 24 45 00 00 00 00 00 00 00 00 00 00 80 3F 00 00 5B 43

-- 4bytes offset
00 20 19 45 00 20 24 45 00 00 5B 43


i was using the 10byte AOB to find the addresses without searching (teleport to predefined coordinates via dev tools, search memory for bytes)

also the seemingly stable section i found for my AOBScan is now gone(it did work a few times), so i would assume the preceding bytes could correlate to differing structure.


now my question, dose the structure changing like this mean im required to track down pointers or is there a lazy programmatic way to handle differing structures?

How do you folks think i should proceed?

advice on either would be appreciated

Thanks
Back to top
View user's profile Send private message
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