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 


Need help with a doubt

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

Joined: 05 Jun 2012
Posts: 25
Location: Brazil...Praia Grande =D

PostPosted: Sun Jun 10, 2012 6:12 pm    Post subject: Need help with a doubt Reply with quote

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
View user's profile Send private message MSN Messenger
Dave_Scream
Cheater
Reputation: 0

Joined: 06 Dec 2009
Posts: 36

PostPosted: Mon Jun 11, 2012 1:31 am    Post subject: Reply with quote

I think:
mov [esi+0C],eax - copy eax value to memory address [esi+OC]
Back to top
View user's profile Send private message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Mon Jun 11, 2012 5:18 am    Post subject: Reply with quote

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
View user's profile Send private message
renoturks
Cheater
Reputation: 1

Joined: 05 Jun 2012
Posts: 25
Location: Brazil...Praia Grande =D

PostPosted: Mon Jun 11, 2012 8:03 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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