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 


Cheat Engine Step 7.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
patsmokeswii
Grandmaster Cheater Supreme
Reputation: 0

Joined: 26 Aug 2007
Posts: 1039
Location: Perth Amboy, NJ

PostPosted: Sun Oct 28, 2007 6:05 pm    Post subject: Cheat Engine Step 7. Reply with quote

How Do I do it?

I can't get past it, I got to this part so far.

Code:
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

0045673B:
jmp newmem
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
//ADD [0045673B],2


originalcode:
//ADD [0045673B],2

exit:
jmp returnhere

But I don't know what to do, or whats wrong.

I get the HP to stop decreasing, but I can't get it to increase.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Kizluk
How do I cheat?
Reputation: 0

Joined: 28 Oct 2007
Posts: 1
Location: Undefined

PostPosted: Sun Oct 28, 2007 6:06 pm    Post subject: Reply with quote

you have the added code in comments
Code:

alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

0045673B:
jmp newmem
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
ADD [0045673B],2


originalcode:
//ADD [0045673B],2

exit:
jmp returnhere

Try this

_________________
MiSQL es TuSQL
Back to top
View user's profile Send private message AIM Address
patsmokeswii
Grandmaster Cheater Supreme
Reputation: 0

Joined: 26 Aug 2007
Posts: 1039
Location: Perth Amboy, NJ

PostPosted: Sun Oct 28, 2007 6:14 pm    Post subject: Reply with quote

Kizluk wrote:
you have the added code in comments
Code:

alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

0045673B:
jmp newmem
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
ADD [0045673B],2


originalcode:
//ADD [0045673B],2

exit:
jmp returnhere

Try this

Didn't Work.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sun Oct 28, 2007 6:49 pm    Post subject: Reply with quote

Code:

code :0045673b - ff 8b 0c 03 00 00  - dec [ebx+0000030c]

^ This is the original code of step:7

inc: increases the instruction by 1
So if you add it 2 times you get a increase by 2.
Surly you can understand this simple injection.
This is a very simple way of doing it, it can be done a number of ways.

Code:

alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

0045673B:
jmp newmem
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
inc [ebx+0000030c]
inc [ebx+0000030c]

originalcode:
//dec [ebx+0000030c]

exit:
jmp returnhere

Back to top
View user's profile Send private message
patsmokeswii
Grandmaster Cheater Supreme
Reputation: 0

Joined: 26 Aug 2007
Posts: 1039
Location: Perth Amboy, NJ

PostPosted: Sun Oct 28, 2007 7:07 pm    Post subject: Reply with quote

Hey Thx.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Qwertymana
How do I cheat?
Reputation: 0

Joined: 05 Nov 2007
Posts: 1

PostPosted: Mon Nov 05, 2007 2:41 am    Post subject: Reply with quote

Labyrnth wrote:
Code:

code :0045673b - ff 8b 0c 03 00 00  - dec [ebx+0000030c]

^ This is the original code of step:7

inc: increases the instruction by 1
So if you add it 2 times you get a increase by 2.
Surly you can understand this simple injection.
This is a very simple way of doing it, it can be done a number of ways.

Code:

alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

0045673B:
jmp newmem
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
inc [ebx+0000030c]
inc [ebx+0000030c]

originalcode:
//dec [ebx+0000030c]

exit:
jmp returnhere


How exactly would you export such codes to somewhere other than cheat engine? Say, if you wanted to make a trainer
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Nov 05, 2007 6:35 am    Post subject: Reply with quote

You would either have to write your own script interpretor like Cheat Engine has, or convert the opcodes into bytes and write them to memory.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Tinaki
How do I cheat?
Reputation: 0

Joined: 11 Aug 2007
Posts: 8

PostPosted: Mon Nov 05, 2007 3:08 pm    Post subject: Reply with quote

Eh, Same problems here.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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