Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Code injection --- need help, please ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
excrazy
How do I cheat?
Reputation: 0

Joined: 11 May 2008
Posts: 4

PostPosted: Mon Jul 21, 2008 2:32 am    Post subject: Code injection --- need help, please ? Reply with quote

0041951F - cc - int 3
00419520 - 55 - push ebp
00419521 - 8b ec - mov ebp,esp
00419523 - 51 - push ecx
00419524 - c7 45 fc cc cc cc cc - mov [ebp-04],cccccccc
0041952B - 89 4d fc - mov [ebp-04],ecx
0041952E - 8b 45 08 - mov eax,[ebp+08]
00419531 - 8b 4d fc - mov ecx,[ebp-04]
00419534 - 8b 04 81 - mov eax,[ecx+eax*4] - HP that i need
00419537 - 8b e5 - mov esp,ebp
00419539 - 5d - pop ebp
0041953A - c2 04 00 - ret 0004
0041953D - cc - int 3

I need the HP address to read but i cant find static pointers, i heard there is a technology call codecave, so how can i use here ???
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Mon Jul 21, 2008 6:18 am    Post subject: Reply with quote

CE can allocate some memory for you.
alloc(pimpjuice,1024) or you can manually do it like i do.
In the memory region under tools/scan for code caves.
use that in your script. see tutorials

But why dont you just nop the whole instruction and see what happens first.
To use your code for future use.
open CE and press Ctrl+Alt+a

Auto Assemble screen will pop up. copy and paste this

[enable]
419534:
nop
nop
nop

[disable]
419534:
mov eax,[ecx+eax*4]

Then click file/Assign to current cheat table
If it works then save it to your PC

_________________
Back to top
View user's profile Send private message
excrazy
How do I cheat?
Reputation: 0

Joined: 11 May 2008
Posts: 4

PostPosted: Mon Jul 21, 2008 7:11 am    Post subject: Reply with quote

thank you for reply, but here i'm trying to defeat DMA (change to static) for some codes in C++,something i dont know that is : Which register i have to put static address on ? ( mov eax,[ecx+eax*4] - how can i put the value at ecx+ eax*4 on static address)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites