 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
caiocarvv Cheater
Reputation: 0
Joined: 13 Apr 2009 Posts: 35
|
Posted: Thu Jun 11, 2015 6:08 pm Post subject: (HELP) WITCHER AUTO ASSEMBLY |
|
|
Hello everybody, how are you doing? I need a little help with auto assembly in the first witcher game.
What happens is, I find the adress I want easily(e.g: endurance). It's a float-type adress and then I click "Find out what writes to this adress" and get this memory:
0077B4A1 - 83 F8 01 - cmp eax,01
0077B4A4 - 75 1A - jne witcher.initializeEngine1+2AE90
0077B4A6 - F3 0F11 81 AC010000 - movss [ecx+000001AC],xmm0 <<
0077B4AE - 8B 49 10 - mov ecx,[ecx+10]
0077B4B1 - 85 C9 - test ecx,ecx
The problem is, everytime I try to apply a simple function with the Code Injection to make a table, generally:
movss [ecx+000001AC],xmm0
mov [ecx+000001AC],4B // max endurance
The game ignores it and start using another memory to control the endurance adress. As a matter of fact, I don't change anything of the pre-made code injection function, excepts:
alloc(newmem,2048) to ...1024 and use the ENABLE/DISABLE function
Everything else is default, can you help a newbie? THANKS!!
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Jun 11, 2015 7:48 pm Post subject: |
|
|
The value is a float, you want
mov [ecx+000001AC],(float)75
|
|
| Back to top |
|
 |
caiocarvv Cheater
Reputation: 0
Joined: 13 Apr 2009 Posts: 35
|
Posted: Thu Jun 11, 2015 8:09 pm Post subject: |
|
|
Thanks for the fast reply Zanzer. I tried that and the memory turned this:
0238FFFF - 00 F3 - add bl,dh
02390001 - 0F11 81 AC010000 - movups [ecx+000001AC],xmm0
02390008 - C7 81 AC010000 00009642 - mov [ecx+000001AC],42960000 <<
02390012 - F3 0F11 81 AC010000 - movss [ecx+000001AC],xmm0
0239001A - E9 8FB43EFE - jmp witcher.initializeEngine1+2AE7E
And the endurance stood at the same adress (table) as long as I don't change the area I am. Any solutions?
|
|
| Back to top |
|
 |
|
|
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
|
|