 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Ind3siszive Cheater
Reputation: 0
Joined: 23 Apr 2009 Posts: 43 Location: in a glitch
|
Posted: Sun Jul 12, 2009 10:28 pm Post subject: Injecting script using c++ rather than the autoassembler? |
|
|
Ok I want to be able to inject code via a dll into a game. The dll is a d3d9 menu and that is already coded in c++. How can I achieve the same effect with c++ as in the auto assembler. Also i would still like to be able to enable and disable it, thats what the menu is for.
and i would also like to say that im a noob and don't expect me to know exactly what your talking about lol, but any help would be very much appreciated
Here is the auto assembly script
| Code: | [ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
00459D8D:
jmp newmem
nop
returnhere:
newmem:
originalcode:
mov edx,[eax+1c]
mov [ecx+20],edx
mov edx,540
mov dword ptr [eax+1C],edx
mov edx,99
mov dword ptr [eax+00],edx
mov edx,99
mov dword ptr [eax+04],edx
mov edx,99
mov dword ptr [eax+08],edx
mov edx,99
mov dword ptr [eax+10],edx
mov edx,99
mov dword ptr [eax+14],edx
mov edx,99
mov dword ptr [eax+18],edx
mov edx,99
mov dword ptr [eax+30],edx
mov edx,99
mov dword ptr [eax+38],edx
mov edx,00
mov dword ptr [eax+8c],edx
mov edx,00
mov dword ptr [eax+90],edx
mov edx,80
mov dword ptr [eax+3C],edx
mov dword ptr [ecx+20],edx
exit:
jmp returnhere
[DISABLE]
dealloc(newmem)
00459D8D: // 8B 50 1C 89 51 20 8B
mov edx,[eax+1c]
mov [ecx+20],edx |
_________________
|
|
| Back to top |
|
 |
Cheat Engine User Something epic
Reputation: 60
Joined: 22 Jun 2007 Posts: 2071
|
|
| Back to top |
|
 |
Ind3siszive Cheater
Reputation: 0
Joined: 23 Apr 2009 Posts: 43 Location: in a glitch
|
Posted: Mon Jul 13, 2009 12:13 am Post subject: |
|
|
lol looks confusing as hell, and ur avator icont thing is rly funny, i just realized that ur thing changes, btw the one with the guys in blue where one is thrusting is what i was talking about
_________________
|
|
| Back to top |
|
 |
Cheat Engine User Something epic
Reputation: 60
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Mon Jul 13, 2009 5:19 am Post subject: |
|
|
| Ind3sisziver wrote: | | lol looks confusing as hell, and ur avator icont thing is rly funny, i just realized that ur thing changes, btw the one with the guys in blue where one is thrusting is what i was talking about | You find this confusing when you hooked directx and made an external menu in the game using CE asm? Cool story bro. Also, stay ontopic.
|
|
| Back to top |
|
 |
Ind3siszive Cheater
Reputation: 0
Joined: 23 Apr 2009 Posts: 43 Location: in a glitch
|
Posted: Mon Jul 13, 2009 1:54 pm Post subject: |
|
|
the menu isnt in asm, and i never said i made it, its hans211 d3dbase, but i think im really close to getting this done.
_________________
|
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Mon Jul 13, 2009 3:36 pm Post subject: |
|
|
| Ind3sisziver wrote: | | the menu isnt in asm, and i never said i made it, its hans211 d3dbase, but i think im really close to getting this done. |
I don't actually think so. I thought I got a dxoverlay done too and it took me another 3 days to figure out everything.
|
|
| Back to top |
|
 |
Ind3siszive Cheater
Reputation: 0
Joined: 23 Apr 2009 Posts: 43 Location: in a glitch
|
Posted: Mon Jul 13, 2009 4:13 pm Post subject: |
|
|
.... i just said i didnt make it, and the menu injects and all, it works with a couple of problems , but for now im just working on getting the hacks in and making them work
_________________
|
|
| 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
|
|