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 how do i make a timer in auto assemble?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
darkfuryex
Expert Cheater
Reputation: 0

Joined: 09 May 2006
Posts: 100

PostPosted: Mon Oct 20, 2008 9:20 pm    Post subject: Help how do i make a timer in auto assemble? Reply with quote

hi there..i got a problem here...i have created a speed hack script and the server dc me if i dont change the speed frequently and stay at the same fast speed..so im trying to make this script that when i enable it it will change my speed to 5 which is the speed hack value...and after 3 seconds it will run the 2nd part of the script which is changing the current speed from 5 to 10..and then after 3 seconds it will change back the speed to 5 again and the script loops itself...is it possible in anyway?

help a newbie pls Sad

thanks in advance!~ Very Happy

heres an example of my script..

Code:


[enable]
004575DF:
mov [0042A812],00000005 //0042A812 is the value of my speed

[disable]
004575DF:
mov [0042A812],0000003e //3e which is 62 in dec is my normal speed

Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Wed Oct 22, 2008 7:53 am    Post subject: Reply with quote

Do a codecave and then first of all, preserve the flags and EAX/ECX/EDX by pushing them onto the stack. Then make calls to GetTickCount for the timer function. Ideally you would make a new thread and do it all in there. Best thing to do would be to code an external app to do this sort of thing actually or inject a DLL unless the codecave you choose will be constantly executed. By best, I mean easiest.
Back to top
View user's profile Send private message
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Wed Oct 22, 2008 8:00 am    Post subject: Reply with quote

You'd have to be careful not to delay gamecode execution at a critical place though. It would take some thought to make sure that opcode is ideal for the job...
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Wed Oct 22, 2008 9:20 am    Post subject: Reply with quote

[Psych] wrote:
You'd have to be careful not to delay gamecode execution at a critical place though. It would take some thought to make sure that opcode is ideal for the job...

If he uses a new thread it wouldn't collide with the game itself. Rolling Eyes

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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