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 


simple question

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

Joined: 26 Apr 2008
Posts: 9

PostPosted: Tue Apr 29, 2008 1:43 pm    Post subject: simple question Reply with quote

how do i change this code from decreasing by 1 and make it increase by 2 code is here

00456c13 - ff 8b 0c 03 00 00 - dec [ebx+0000030c]
Back to top
View user's profile Send private message
Chase Payne
Grandmaster Cheater
Reputation: 1

Joined: 20 Mar 2008
Posts: 533

PostPosted: Tue Apr 29, 2008 2:21 pm    Post subject: Reply with quote

add [ebx+0000030c],2
I can give you entire script if you give me pass for step 7.
Back to top
View user's profile Send private message
marine7000
How do I cheat?
Reputation: 0

Joined: 26 Apr 2008
Posts: 9

PostPosted: Tue Apr 29, 2008 2:30 pm    Post subject: Reply with quote

its 090453
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Tue Apr 29, 2008 2:37 pm    Post subject: Reply with quote

Chase Payne wrote:
I can give you entire script if you give me pass for step 7.


You can make one with the information you got now.
00456c13 - ff 8b 0c 03 00 00 - dec [ebx+0000030c]
Thats all you need.

Very simple solution would be to do this.
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

456c13:
jmp newmem
returnhere:

newmem:
inc [ebx+0000030c]
inc [ebx+0000030c]

originalcode:

exit:
jmp returnhere

[DISABLE]
456c13:
dec [ebx+0000030c]
dealloc(newmem)


Last edited by Labyrnth on Tue Apr 29, 2008 3:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
marine7000
How do I cheat?
Reputation: 0

Joined: 26 Apr 2008
Posts: 9

PostPosted: Tue Apr 29, 2008 2:42 pm    Post subject: Reply with quote

ok ty i jus need 2 get back there now
Back to top
View user's profile Send private message
Chase Payne
Grandmaster Cheater
Reputation: 1

Joined: 20 Mar 2008
Posts: 533

PostPosted: Tue Apr 29, 2008 2:50 pm    Post subject: Reply with quote

Lab... your script didn't work Shocked step 7 is 013370
Code:
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

00456c13:
jmp newmem
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
//place your code here


originalcode:
add [ebx+0000030c],2

exit:
jmp returnhere
this should work
Back to top
View user's profile Send private message
marine7000
How do I cheat?
Reputation: 0

Joined: 26 Apr 2008
Posts: 9

PostPosted: Tue Apr 29, 2008 3:18 pm    Post subject: Reply with quote

holy aww crud now i gotta do step 8 lol
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Tue Apr 29, 2008 3:28 pm    Post subject: Reply with quote

Agh yes, Chase i didnt change dec to inc. Now check it out.
It will work now lmfao.......
Back to top
View user's profile Send private message
marine7000
How do I cheat?
Reputation: 0

Joined: 26 Apr 2008
Posts: 9

PostPosted: Tue Apr 29, 2008 3:29 pm    Post subject: Reply with quote

thanx chase im new 2 this so thnx
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Tue Apr 29, 2008 3:40 pm    Post subject: Reply with quote

Dude Chase dont do your scripts like this man. You could overwrite bytes of following instructions and cause a complete crash of th target.
Your code needs to be under "newmem:"
If the bytes of this instruction is the same number of bytes as the original then you can do it similar to this without allocating a cave.
Right now you have a cave allocated and didnt even use it.
originalcode:
add [ebx+0000030c],2

-----------------------------------

If the bytes are same size, which i doubt they are.
But you could do it like this if the bytes size matched.
[ENABLE]
00456c13:
add [ebx+0000030c],2
[DISABLE]
00456c13:
dec [ebx+0000030c]
Back to top
View user's profile Send private message
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Tue Apr 29, 2008 3:45 pm    Post subject: Reply with quote

Might as well save your breath Lab...
Back to top
View user's profile Send private message
Chase Payne
Grandmaster Cheater
Reputation: 1

Joined: 20 Mar 2008
Posts: 533

PostPosted: Tue Apr 29, 2008 3:50 pm    Post subject: Reply with quote

Yes you should do your scripts in newmem... I just wrote it in original code because it will work in tutorial
Dark Byte wrote:
In some games the original code can exist out of multiple instructions, and sometimes, not always, it might happen
that a code at another place jumps into your jump instruction end will then cause unknown behaviour. If that
happens, you should usually look near that instruction and see the jumps and fix it, or perhaps even choose to use a
different address to do the code injection from. As long as you're able to figure out the address to change from inside
your injected code.

And yes step 8 is the hardest, and most stressfull without help Wink... step 9 is a breeze Shocked
Back to top
View user's profile Send private message
marine7000
How do I cheat?
Reputation: 0

Joined: 26 Apr 2008
Posts: 9

PostPosted: Tue Apr 29, 2008 4:50 pm    Post subject: Reply with quote

can u lead me through it Smile
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