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 


Minesweeper Auto Assembler - Need Help

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

Joined: 17 Dec 2005
Posts: 8

PostPosted: Wed Aug 22, 2007 1:01 pm    Post subject: Minesweeper Auto Assembler - Need Help Reply with quote

I am trying to create a trainer friendly code that will look for the time, compare it to "2", if not equal to 2, increase.. If equal to 2, descrease.

So basically the time will toggle between 1 and 2.

Here is my attempt at it.

Code:

[ENABLE]
label(return)

01002FF5:
jmp 010002EC
nop

010002EC:
mov eax,2
cmp [0100579C],eax
jne 01004A54
je 01005B94

01004A54:
inc [0100579C]
jmp return

01005B94:
dec [0100579C]
jmp return

return:

[DISABLE]
01002FF5:
inc [0100579C]
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Wed Aug 22, 2007 1:37 pm    Post subject: Reply with quote

Write to the cave first.

Steps:
[ENABLE]
0. Define label
1. Define the cave/caves
2. Write to the cave/caves
3. jmp label
4. Original address
5. jmp to cave 010002EC:
6. NOP
7. label
[DISABLE]
8. Original address
9. Write original code back

Try this and see what happens, "Not tested"
Code:

[ENABLE]
label(return)

010002EC:
mov eax,2
cmp [0100579C],eax
jne 01004A54
je 01005B94

01004A54:
inc [0100579C]
jmp return

01005B94:
dec [0100579C]
jmp return

01002FF5:
jmp 010002EC
nop
return:

[DISABLE]
01002FF5:
inc [0100579C]
Back to top
View user's profile Send private message
slipknot08f
How do I cheat?
Reputation: 0

Joined: 17 Dec 2005
Posts: 8

PostPosted: Wed Aug 22, 2007 7:53 pm    Post subject: Reply with quote

It works now. Thanks alot! I did not know you had to define the cave first.
Back to top
View user's profile Send private message
forthelulz
Newbie cheater
Reputation: 0

Joined: 27 Aug 2007
Posts: 15

PostPosted: Tue Aug 28, 2007 9:59 am    Post subject: Reply with quote

nice thanks
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