Twistedfate Expert Cheater
Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Tue Aug 30, 2016 9:53 pm Post subject: move value to another between2-Addresses have same(STR) |
|
|
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
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 |
|
|