Hey,

im trying to create a cheat for a game.

The cheat should sync 2 characters coordinates (for playing 2 chars at once)

I already found the pointers for the current character position (x , y ) with cheat engine

Whats the easiest way to match 2 adresses (x of character 1 ) with (x of character 2)?

I want to walk with character 1 and make the cheat set xy for character 2 (with the coords of character1 )


The solution must not be portable.

I thought about mem reading(in both)
+ if(x1 != x2){
match them
}
+ mem writing but didnt find a way (a "guided" way) to do it yet.


Thank you