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 


AA Problem

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

Joined: 14 May 2007
Posts: 568

PostPosted: Thu May 20, 2010 7:28 pm    Post subject: AA Problem Reply with quote

Im trying to get the minesweeper time to hit 99 after it hits 10 seconds so whats the problem with this code?

Im getting an error that says Error in Line 9 (ChiliDog:): This address specifier is not valid .. =(

Healp Ploox This stuff is really fun but kinda confusing

Code:
[enable]
alloc(newmem,2048)
alloc(newmemt,2048)
label(returnhere)
label(exit)
label(originalcode)
registersymbol(ChiliDog)

ChiliDog:
dd 0a

01002ff5:
jmp newmem
nop
returnhere:

newmem:
push eax
mov eax,[0100579C]
mov [ebx],eax
pop eax
cmp [ebx],[ChiliDog]
jne originalcode
je newmemt

newmemt:
mov [0100579C],63
jmp returnhere


originalcode:
inc [0100579C]

exit:
jmp returnhere

[DISABLE]
dealloc(newmem)
dealloc(newmemt)
unregistersymbol(ChiliDog)
01002FF5:
inc [0100579C]
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Thu May 20, 2010 7:34 pm    Post subject: This post has 1 review(s) Reply with quote

you'll also need an alloc(ChiliDog,4)

Or move chilidog after and use it as a label

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
wunder312355
Grandmaster Cheater
Reputation: -1

Joined: 14 May 2007
Posts: 568

PostPosted: Thu May 20, 2010 7:48 pm    Post subject: Reply with quote

Thanks for the quick reply DB love you!

I got the code working much more efficiently

Code:
[ENABLE]
alloc(newmem,2048)
alloc(newmemt,2048)
alloc(increaser,2048) //2kb should be enough
label(returnhere)
label(exit)
label(originalcode)



01002ff5:
jmp newmem
nop
returnhere:

newmem:
mov eax,[0100579C]
cmp eax,0a
jne originalcode
je newmemt

newmemt:
mov [0100579C],63
jmp returnhere



originalcode:
inc [0100579C]


exit:
jmp returnhere

[DISABLE]
dealloc(newmem)
dealloc(newmemt)
01002FF5:
inc [0100579C]
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