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 


move value to another between2-Addresses have same(STR)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
Twistedfate
Expert Cheater
Reputation: 1

Joined: 11 Mar 2016
Posts: 231

PostPosted: Tue Aug 30, 2016 9:53 pm    Post subject: move value to another between2-Addresses have same(STR) Reply with quote

What I want to do :
I have address this address contain the ID of my enemys( targeting ID ) ....so on changing the address I can attack my enemy (enemy ID ):

I need help here :


I want to move the value of my (enemy ID ) to (my targeting ID )

More info :
lets consider :
address 1 Is my ID
adress 2 IS my enemy ID

Both have the same structure **


the enemys name with there IDs at the same structure so I can use this for compare :-
before I complete lets review :

Address 1-------------- Address 2

My player name-------------- enemy name both at offset
Code:
[esi+164]


targeting ID at offset(3bf8)-------------- enemy ID at offset (0000)


lets complete :
Now I have box in the game I can write the player name in the box :
I got the pointer of the box which contain the player name .

My full idea

Code:
push thename in box   
cmp [esi+164],thename in box  //cmp [esi+164] is the offset in strcture which contain names
jne  original code
 [Help me here ]              mov   the enemy id to  my targeting id ( if enemyname is equal to the box name)  *********// How can I do this and they are diffrent addresses in the same structure please dont tell me to get the enemy pointer because there are alot of enemys so I cannot get all these pointers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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