| View previous topic :: View next topic |
| Author |
Message |
mlmn21 How do I cheat?
Reputation: 0
Joined: 13 Aug 2014 Posts: 9
|
Posted: Wed Aug 13, 2014 3:24 pm Post subject: How to get register value in AA !!!!! |
|
|
hi friends. sorry for my english.
I want to make flyhack of a game. the adress of up coordinate is [edi+00000100]. how can i find value of [edi] in AutoAssembler and use this value like an adress of up coordinate. and set a hotkey(jump key) to increase value .
66 0FD6 AF F8000000 - movq [edi+000000F8],xmm5
F3 0F7E 6E 10 - movq xmm5,[esi+10]
66 0FD6 AF 00010000 - movq [edi+00000100],xmm5 <-------
F3 0F7E 6E 18 - movq xmm5,[esi+18]
66 0FD6 AF 08010000 - movq [edi+00000108],xmm5
another way;
aobscan(_base,66 0FD6 AF 00010000) // gets one result.
_base: // movq [edi+00000100],xmm5 <--- how can i change value of xmm5 with a hotkey.
I am very grateful for the answers in advance. |
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3329
|
Posted: Fri Aug 15, 2014 7:38 am Post subject: |
|
|
You need to hook the code with your own and change the value on the fly.
I.e. you need a movq xmm5,[yourvalue] before that instruction. |
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Fri Aug 15, 2014 11:31 am Post subject: |
|
|
| Code: | //code above
label(upcoordinate)
registersymbol(upcoordinate)
newmem:
mov [upcoordinate],edi
jmp originalcode
//code
upcoordinate:
dd 0 |
Once script is activated, add a new address to your cheat table. Check the box the says 'pointer' and use upcoordinate as the base address and +100 as the offset. |
|
| Back to top |
|
 |
mlmn21 How do I cheat?
Reputation: 0
Joined: 13 Aug 2014 Posts: 9
|
Posted: Fri Aug 15, 2014 1:52 pm Post subject: |
|
|
it's working !!!. thanks very much GrandMasters for helping. ++METHOS , i am fan of you , allways following your replies to others . your answers are so genius. |
|
| Back to top |
|
 |
|