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 


Speedhack in autoassembler/trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> LUA Tutorials
View previous topic :: View next topic  
Author Message
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Sat Mar 01, 2014 6:16 am    Post subject: Speedhack in autoassembler/trainer Reply with quote

Just open autoassembler and paste this

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat

luacall(speedhack_setSpeed(0.30)) //Slow motion
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat

luacall(speedhack_setSpeed(1)) //Normal Speed


I was looking for an example like this and surprisingly there was none. Had to figure this out myself the hard way reading through the lua wiki.

Should help anyone else looking for this like me.


EDIT: Oh and just simply assign the autoassemble script to a hotkey to use this in a trainer and profit!! Cool

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Mar 01, 2014 7:01 am    Post subject: Reply with quote

"I was looking for an example like this and surprisingly there was none"
I'm sure there was an example. But it probably got buried.

Edit:
Found it:

http://forum.cheatengine.org/viewtopic.php?p=5420380#5420380
http://forum.cheatengine.org/viewtopic.php?p=5513183#5513183
http://forum.cheatengine.org/viewtopic.php?p=5489947#5489947

Anyway, this thread is still helpful.

_________________
Back to top
View user's profile Send private message MSN Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Mar 01, 2014 10:44 am    Post subject: Reply with quote

Yes, I used this before on Double Dragon...only because I couldn't find it in the game code. The game didn't like it very much, though.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Thu Jun 26, 2014 8:48 pm    Post subject: Reply with quote

mgr.inz.Player wrote:
"I was looking for an example like this and surprisingly there was none"
I'm sure there was an example. But it probably got buried.

Edit:
Found it:

thread1
thread2
thread3

Anyway, this thread is still helpful.


way to make a guy feel bad.

Google failed me that time or maybe i was too drunk to function but hey, i was being helpful. Gotta be careful next time Crying or Very sad

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
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 Tutorials -> LUA Tutorials 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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites