BladeRavinger How do I cheat?
Reputation: 0
Joined: 26 Apr 2014 Posts: 8 Location: United Kingdom
|
Posted: Sun Mar 09, 2025 8:56 am Post subject: KCDII: Player Coord structure changes between restarts |
|
|
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
|
|