 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
happyreadygo Advanced Cheater
Reputation: 1
Joined: 14 Sep 2011 Posts: 87
|
Posted: Sun Mar 24, 2013 12:43 am Post subject: Please help me with my little AAscript. |
|
|
I got some problem game crash when I want to change value of adress 0070ca68 to 4 by AAscript.
Normally,I was successfully in Lua by using writeBytes('0070ca68',0x4) but AAScript.
| Code: | newmem: //this is allocated memory, you have read,write,execute access
//place your code here
push edx
mov dl,2
mov [0070ca68],dl // error this line , got game crash..
pop edx
originalcode:
push ebp //initial address for the function.
mov ebp,esp
push ecx
mov [ebp-04],ecx
exit:
jmp returnhere |
what I try to do is to change the value in [0070ca68] to 4 whenever the function is called.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25931 Location: The netherlands
|
Posted: Sun Mar 24, 2013 4:23 am Post subject: |
|
|
Is 0070ca68 writable?
If not, add fullaccess(70ca68,4) to the top of your script
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
happyreadygo Advanced Cheater
Reputation: 1
Joined: 14 Sep 2011 Posts: 87
|
Posted: Sun Mar 24, 2013 4:43 am Post subject: |
|
|
| Dark Byte wrote: | Is 0070ca68 writable?
If not, add fullaccess(70ca68,4) to the top of your script |
it shoulds be writeable because I was using writeBytes('0070ca68',0x4) before and it works.
more info: the game's address starting at 00400000 and the module (d3d8.dll) that got the function here is starting at 10000000.
How to add fullaccess(70ca68,4) ?
|
|
| 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
|
|