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 


Help finishing the script

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

Joined: 02 Dec 2009
Posts: 8

PostPosted: Wed Dec 02, 2009 11:04 pm    Post subject: Help finishing the script Reply with quote

I am trying to work on a cooldown hack, and I think I am very close. All I need now is to finish the script. I found the offset and did the code injection, added the ENABLE/DISABLE parts to it, and here is what I have:

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

00697E78:
jmp newmem
nop
nop
returnhere:

newmem:

originalcode:
mov ecx,[edx+64]
mov [esp+14],ecx

exit:
jmp returnhere

[DISABLE]
dealloc(newmem)
00697E78: // 8b 4a 64 89 4c 24 14
mov ecx,[edx+64]
mov [esp+14],ecx


As is, the script makes the cooldowns freeze, so I can only cast the skill once...so I thought ecx might have been the timer for cooldown and added mov ecx,0 below newmem, but that did the same thing as leaving newmem blank...

So can anybody explain what it is that I'm missing?
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