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 


Disabling hotkeys by default

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
StarfireTBT
Advanced Cheater
Reputation: 1

Joined: 15 Aug 2015
Posts: 59

PostPosted: Sun Apr 21, 2024 12:18 pm    Post subject: Disabling hotkeys by default Reply with quote

I loved the fact that cheat engine can speedhack and I have keyboard keys assigned to speedhacking as hotkeys but most of the time I don't want cheat engine to speedhack which means most of the time I have to open a file, copy getHotkeyHandlerThread().State=1 and paste it in cheat engine to disable the hotkeys that slow down or pause the game.

This is really annoying and I was wondering if there is a way to set hotkeys to be disabled by default and instead enable them with getHotkeyHandlerThread().State=0 when I need them to.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Apr 21, 2024 12:47 pm    Post subject: Reply with quote

put getHotkeyHandlerThread().State=1 in main.lua
_________________
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
StarfireTBT
Advanced Cheater
Reputation: 1

Joined: 15 Aug 2015
Posts: 59

PostPosted: Mon Apr 22, 2024 4:13 pm    Post subject: Reply with quote

Thank you for your response, I just want to make sure I put that line in correctly, this is what I see in "main.lua"

--This lua script gets loaded when Cheat Engine loads
--You can use this to define some often used functions and libraries you'd like to use

require("defines")

--for documentation read celua.txt

And you want me to change it to

--This lua script gets loaded when Cheat Engine loads
--You can use this to define some often used functions and libraries you'd like to use

require("defines")

--for documentation read celua.txt
getHotkeyHandlerThread().State=1 in main.lua

I'm asking because I'm worried if I do it wrong I might screw it up and may not even know it. Sometimes computer programs can get ruined and you don't even know because they won't tell you. I might have trouble finding values and can't find them and not know why.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Apr 22, 2024 7:22 pm    Post subject: Reply with quote

yes should be fine
_________________
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
StarfireTBT
Advanced Cheater
Reputation: 1

Joined: 15 Aug 2015
Posts: 59

PostPosted: Tue Apr 23, 2024 4:26 pm    Post subject: Reply with quote

It says I don't have permission to change it. I tried right clicking, properties, security tab, "to change permission, click edit," then choosing everyone or administrator and clicking okay, then okay again but I still can't change it.
Back to top
View user's profile Send private message
StarfireTBT
Advanced Cheater
Reputation: 1

Joined: 15 Aug 2015
Posts: 59

PostPosted: Wed Apr 24, 2024 5:19 pm    Post subject: Reply with quote

I figured it out, turns out I needed to change the permission of everyone. For some reason I thought I needed to change the file to administrative, it's been a while since I've had to alter permission of a file.
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