| View previous topic :: View next topic |
| Author |
Message |
Sohail__Saha Advanced Cheater
Reputation: 0
Joined: 21 May 2014 Posts: 82 Location: India
|
Posted: Sat Jun 07, 2014 1:48 pm Post subject: This script is correct, yet the game 'ignores' it...... :P |
|
|
Hey, in the game "James Cameron's Avatar-The Game", I founded the value (float) of my ability points (which recharges after using an ability after some time) and viewed it in AutoAssembler. The code is....
| Code: |
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(originalcode)
label(returnhere)
label(exit)
newmem://blah-blah-blah
//Place your code here
originalcode:
fstp dword ptr [ecx]
fld dword ptr [eax+0C]
exit:
jmp returnhere
"Dunia.dll"+CFA3C4:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"Dunia.dll"+CFA3C4:
fstp dword ptr [ecx]
fld dword ptr [eax+0C]
//Alt: db D9 19 D9 40 0C
|
Now, it's obvious that [ecx] holds the amount of ability points. But no matter what I do (like , deleting | Code: | | fstp dword ptr [ecx] | , etc, the value of the ability points keep on increasing normally, and not to full (20). What can I do??
Besides, what is the meaning of this ??--->
| Code: |
fstp dword ptr [ecx]
fld dword ptr [eax+0C]
|
_________________
Don't underestimate the power of a common code.
 |
|
| Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 893
|
Posted: Sat Jun 07, 2014 2:12 pm Post subject: |
|
|
mov [ecx], (float) 20.0
fstp st(0)
or
fstp dword ptr [ecx]
mov [ecx], (float) 20.0
Don't delete the fstp unless you pop something else off the stack, or you can corrupt the logic of other code.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
| Back to top |
|
 |
Sohail__Saha Advanced Cheater
Reputation: 0
Joined: 21 May 2014 Posts: 82 Location: India
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25813 Location: The netherlands
|
Posted: Sun Jun 08, 2014 4:09 am Post subject: |
|
|
before making a script (or pointers) make sure that the address you're changing actually has an effect in the game.
If you freeze the address at 20.0, will it work then ? If not, try finding a different address
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Sohail__Saha Advanced Cheater
Reputation: 0
Joined: 21 May 2014 Posts: 82 Location: India
|
Posted: Sun Jun 08, 2014 12:48 pm Post subject: |
|
|
Well, there is no other value then...
_________________
Don't underestimate the power of a common code.
 |
|
| Back to top |
|
 |
Rissorr Master Cheater
Reputation: 3
Joined: 17 Sep 2013 Posts: 273 Location: Israel!
|
Posted: Sun Jun 08, 2014 2:26 pm Post subject: |
|
|
Try doing:
| Code: |
...code...
newmem://blah-blah-blah
//Place your code here
fstp dword ptr [ecx]
mov [ecx], (float) 20.0
fld dword ptr [eax+0C]
originalcode:
//fstp dword ptr [ecx]
//fld dword ptr [eax+0C]
...code...
|
My recomendation: go to 'Dissect data/structures' and look for [ecx+0C] it could have something useful
|
|
| Back to top |
|
 |
|