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 


WinMine increase flags every second

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Aqua Regia
Advanced Cheater
Reputation: 0

Joined: 12 May 2009
Posts: 51
Location: Sweden

PostPosted: Sun May 17, 2009 5:16 am    Post subject: WinMine increase flags every second Reply with quote

I wrote the following:

Code:

[enable]
alloc(nykod, 2048)

01002FF5:
call nykod
nop

nykod:
inc [01005194] //increase flags
inc [0100579c] //increase time
ret

[disable]
dealloc(nykod)
01002FF5:
inc [0100579c] //increase time


Which kinda works, I know it calls "nykod" because if I remove the second line of code there the timer freezes when I tick the box. But my flags don't increase, why's that?

EDIT: Okay it does change, but it doesn't update. I guess I'll have to find the code for that as well.

EDIT2: Found it, here's the working code:

Code:

[enable]
alloc(nykod, 2048)

01002FF5:
call nykod
nop

nykod:
inc [0100579c] //increase time
inc [01005194] //increase flags
call 01002801 //update flags
ret

[disable]
dealloc(nykod)
01002FF5:
inc [0100579c] //increase time


I'd like some comments on the code 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