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] Why does this not work?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue May 29, 2007 8:03 pm    Post subject: [Minesweeper] Why does this not work? Reply with quote

Ok, well I've done my fair share of leeching, and I've decided to learn how to develop my own hacks and such (I play Maplestory ftw), and we all have to start somewhere, right?

I've completed the CE Tutorial (Last step took a guide, but I fully understand it.), and I have decided to create a script for Minesweeper.

Code:

[enable]
alloc(waffles,512)
registersymbol(waffles)

0100579C:
mov eax, [waffles]
mov [0100579C], eax

[disable]
dealloc(waffles)
unregistersymbol(waffles)

0100579C:
inc [0100579C]


This works, but not how I want it to. What happens is as follows:

1. Search untill the address for time is gotten (0100579C)
2. Find out what write to the address (01002FFS: inc [0100579C] )
3. Add script to CT
4. Tick AA Script
5. Add Address Manually (Address: waffles)
6. Change "waffles" value to w/e
7. The first address (0100579C) changes to w/e I put for "waffles"

However, I have to minimize the Minesweeper program in order for the time to change to what I put for "waffles".

It will carry out the simple opcode such as "dec [0100579C]", without me having to minimize, but not this. Is there a reason?

p.s. I'm going to try changing the opcode to a "mov" instruction, and see how that turns out.

Edit: Ok, I think that it's just what I'm trying to do. I changed the opcode to a "mov" instruction, and the time froze (as before), and I had to minimize, and bring back up in order to see the desired time.
Back to top
View user's profile Send private message
HamletMan
Expert Cheater
Reputation: 0

Joined: 04 Apr 2007
Posts: 179

PostPosted: Wed May 30, 2007 6:44 pm    Post subject: Reply with quote

Is the address you found that writes this address a green (static) address?
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Thu May 31, 2007 11:11 am    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?t=91052

Go here and look how DarkByte wrote the script for Pinball.
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