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 


Basic hotkey question

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

Joined: 15 Jan 2017
Posts: 4

PostPosted: Sat Apr 08, 2017 5:57 pm    Post subject: Basic hotkey question Reply with quote

Hi guys so I'm super noob and after a few hours (omg noob) I finally figured this out:

Code:
openProcess("game.exe")
speedhack_setSpeed(24)
function functionThatSetsSpecificValue(sender)
openProcess("game.exe")
speedhack_setSpeed(24)
end
function functionThatSetsSpecificValue2(sender)
openProcess("game.exe")
speedhack_setSpeed(1)
end
createHotkey(functionThatSetsSpecificValue, VK_INSERT)
createHotkey(functionThatSetsSpecificValue2, VK_DELETE)


All I am wondering, is there anyway to make it a TOGGLE instead of two separate hot keys?

Thanks in advance!



P.S. A little side question.. why is it that when you set a game back to 1.0 speed, it still has a very very slight slow down? It's not exactly 1.0.. it's like .995 or something.. only way I can really remove it is by restarting the game and not using cheat engine. Is that as-intended?
Back to top
View user's profile Send private message
panraven
Grandmaster Cheater
Reputation: 62

Joined: 01 Oct 2008
Posts: 958

PostPosted: Sat Apr 08, 2017 6:20 pm    Post subject: Reply with quote

Try make a memory record of script type
Code:

[ENABLE]
luacall(speedhack_setSpeed(24))

[DISABLE]
luacall(speedhack_setSpeed(1))



then set a hotkey for this memory record (right click for option) with Toggle type.

@".. it's like .995 or something.. "

It may be some tiny speedhack overhead that detected by your super natural temporal sense Wink

_________________
- Retarded.
Back to top
View user's profile Send private message
blazeddd
How do I cheat?
Reputation: 0

Joined: 15 Jan 2017
Posts: 4

PostPosted: Sat Apr 08, 2017 7:14 pm    Post subject: Reply with quote

perfect, thank you very much.

lol dude I swear, I've even tested it. I open up the game, walk around, set speed to like 2.0 then back to 1.0 and walk around, and it's just not the same.
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