| View previous topic :: View next topic |
| Author |
Message |
renoturks Cheater
Reputation: 1
Joined: 05 Jun 2012 Posts: 25 Location: Brazil...Praia Grande =D
|
Posted: Sun Jun 10, 2012 6:12 pm Post subject: Need help with a doubt |
|
|
Hello guys, i'm trying to create a table for Romance in three Kingdoms 12
but i'm having some problem here...
like, i'm trying to create a code injection for infinite troops but i'm donw understand this...
originalcode:
mov [esi+0C],eax
lea edx,[ecx*8+00000000]
mov = move the dword of eax to esi+0C ?
and lea move the adress of ecx*8+00000000 to edx ?
Is that right? i must to work with this 2 codes, but i dont know how...can someone help me to understand it?
I appreciate the help ^^
After this i'll try to do inifinite skill usage and work with others games to help here =D
|
|
| Back to top |
|
 |
Dave_Scream Cheater
Reputation: 0
Joined: 06 Dec 2009 Posts: 36
|
Posted: Mon Jun 11, 2012 1:31 am Post subject: |
|
|
I think:
mov [esi+0C],eax - copy eax value to memory address [esi+OC]
|
|
| Back to top |
|
 |
Fresco Grandmaster Cheater
Reputation: 4
Joined: 07 Nov 2010 Posts: 600
|
Posted: Mon Jun 11, 2012 5:18 am Post subject: |
|
|
it is ok, but tell us what's: [ecx*8+00000000] and [esi+0C]
| renoturks wrote: | | [...]move the dword of eax to esi+0C ?[...] |
like Dave_Scream said.
| Dave_Scream wrote: | I think:
mov [esi+0C],eax - copy eax value to memory address [esi+OC] |
it would be more correct to say:
copy eax value to value of memory address esi+0C
also eax is a dword you can't split it into 2 dwords.
dword = 4 bytes eax 00(1) 00(2) 00(3) 00(4)
--------------------------------------------------------------------------------------------------------------
lea edx,[ecx*8+00000000] = make edx become the address of that value [ecx*8+00000000]
let's say:
money address = 000ABC29
value of 000ABC29 = 50
...
now in this section of the game ecx = 000ABC28
lea edx,[ecx+1] means from now on edx is equal to = 000ABC28+1 ... then edx = 000ABC29
lea = Load Effective Address
if you write
mov edx,[ecx+1] then edx becomes 50
and you can't write
mov edx,ecx+1
_________________
... Fresco |
|
| Back to top |
|
 |
renoturks Cheater
Reputation: 1
Joined: 05 Jun 2012 Posts: 25 Location: Brazil...Praia Grande =D
|
Posted: Mon Jun 11, 2012 8:03 am Post subject: |
|
|
Thanks man =D
ok...i scanned the probably pointer..and got lots of adresses, and most of them give me the numer os my army, what shoud i do? 0.o i must be another pointer right?
I've found a adress that gives me infinite troops, but it gives to tghe enemy as well =\
|
|
| Back to top |
|
 |
|