 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
icewd Advanced Cheater
Reputation: 0
Joined: 27 Dec 2006 Posts: 71
|
Posted: Fri Jun 08, 2007 7:56 am Post subject: how to codecave this script? |
|
|
[ENABLE]
alloc(CodeCave,32)
alloc(Pointer,32)
registersymbol(CodeCave)
registersymbol(Pointer)
label(ReturnHere)
CodeCave:
push ecx
mov ecx,Pointer
mov [ecx],esi
pop ecx
mov [esi+00000114],edi
jmp ReturnHere
00691202:
jmp CodeCave
nop
ReturnHere:
[DISABLE]
00691202:
mov [esi+00000114],edi
dealloc(CodeCave)
dealloc(Pointer)
unregistersymbol(CodeCave)
unregistersymbol(Pointer)
This is CRC script but I want to learn how to convert a CRC scripit to the Codecave script, can anyone help me?
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Fri Jun 08, 2007 9:10 am Post subject: |
|
|
Ehh, I don't think that's a CRC script--it looks more along the lines to be Auto Assembler to me.
Two things, FYI:
1) type [ code ] and [ /code ] around your code, without the spaces and it makes it look like this:
2) I think your script is a little bad, you don't register the value of Pointer. You need to add something along the lines of this somewhere in there:
|
|
| Back to top |
|
 |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
Posted: Fri Jun 08, 2007 10:44 am Post subject: Re: how to codecave this script? |
|
|
well you need to find some codecave address first.
search for codecaves 32 bytes
you will get a few, then use some of them after 007 (i think)
then replace all the labels with codecave addresses
same with symbols
| Code: |
label(CodeCave)
alloc(Pointer,32)
registersymbol(CodeCave)
registersymbol(Pointer)
label(ReturnHere)
CodeCave: //first codecave address
push ecx
mov ecx,Pointer //second
mov [ecx],esi
pop ecx
mov [esi+00000114],edi
jmp ReturnHere //third
00691202:
jmp CodeCave //first
nop
ReturnHere: //second
[DISABLE]
00691202:
mov [esi+00000114],edi
label(CodeCave)
dealloc(Pointer)
unregistersymbol(CodeCave)
unregistersymbol(Pointer) |
i dont think its a CRC script, i dunno what it is, but doubt it works anyway, but thats how you codecave
heres an example (not real codecave addresses)
| Code: |
00001234:
push ecx
mov ecx,00001235
mov [ecx],esi
pop ecx
mov [esi+00000114],edi
jmp 00691204
00691202:
jmp 00001234
00691203:
nop
|
_________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"
Sign up today and receive your free "I Hate x0r Badge" |
|
| Back to top |
|
 |
icewd Advanced Cheater
Reputation: 0
Joined: 27 Dec 2006 Posts: 71
|
Posted: Fri Jun 08, 2007 12:03 pm Post subject: |
|
|
Thank you two for helping, I desire to say that.
I am so glad I made it works, I cannot describe how happy i am. I cannot achieve this without your help
dont take it as spam, i just want to say a TAHNK YOU!
|
|
| 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
|
|