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 


i can hotkey delay?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
nicebro2
Newbie cheater
Reputation: 0

Joined: 07 Jun 2016
Posts: 22

PostPosted: Thu Mar 12, 2020 7:23 pm    Post subject: i can hotkey delay? Reply with quote

i want change value 500ms delay

ex) F9 click > 500ms later > change value 4294967295

it is possible?



code.png
 Description:
 Filesize:  5.17 KB
 Viewed:  2312 Time(s)

code.png


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

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Fri Mar 13, 2020 5:48 am    Post subject: Reply with quote

In Lua:

Code:
function sleepNchange()
 sleep(0.500)  -- 0.500ms, try change to 1000 or 5000 to test
 showMessage("change value 4294967295")
 -- or change value of the address here
end

if key1 then key1.destroy(); key1=nil end
key1 = createHotkey(sleepNchange, VK_F9)

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
nicebro2
Newbie cheater
Reputation: 0

Joined: 07 Jun 2016
Posts: 22

PostPosted: Fri Mar 13, 2020 7:16 am    Post subject: Reply with quote

Corroder wrote:
In Lua:

Code:
function sleepNchange()
 sleep(0.500)  -- 0.500ms, try change to 1000 or 5000 to test
 showMessage("change value 4294967295")
 -- or change value of the address here
end

if key1 then key1.destroy(); key1=nil end
key1 = createHotkey(sleepNchange, VK_F9)


thank for your answer !
but i see only message box Crying or Very sad
nothing change value
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Fri Mar 13, 2020 8:10 am    Post subject: Reply with quote

Because I assumed you already knew how to changed the value on an address.

Code:
local al = AddressList or getAddressList()
local mr1 = al.getMemoryRecordByDescription("Blablabla")  --> CHANGE Blablabla to YOUR HACK DESCRIPTION HERE
if not mr1 then error("Memory record doesn't exist") end

function sleepNchange()
 sleep(0.500)
 mr1.Value = 4294967295
 showMessage("Value has changed to 4294967295 on 0.500ms")
end

if key1 then key1.destroy(); key1=nil end
key1 = createHotkey(sleepNchange, VK_F9)

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
nicebro2
Newbie cheater
Reputation: 0

Joined: 07 Jun 2016
Posts: 22

PostPosted: Fri Mar 13, 2020 8:36 am    Post subject: Reply with quote

Corroder wrote:
Because I assumed you already knew how to changed the value on an address.

Code:
local al = AddressList or getAddressList()
local mr1 = al.getMemoryRecordByDescription("Blablabla")  --> CHANGE Blablabla to YOUR HACK DESCRIPTION HERE
if not mr1 then error("Memory record doesn't exist") end

function sleepNchange()
 sleep(0.500)
 mr1.Value = 4294967295
 showMessage("Value has changed to 4294967295 on 0.500ms")
end

if key1 then key1.destroy(); key1=nil end
key1 = createHotkey(sleepNchange, VK_F9)


Thank you very much.
this is perfect
I Can add this to the cheat table?
and mr1.Value = (description)
i can this?
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Fri Mar 13, 2020 10:20 am    Post subject: Reply with quote

sysy5024 wrote:

Thank you very much.
this is perfect
I Can add this to the cheat table?
and mr1.Value = (description)
i can this?


I am not understand what you mean about.

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
nicebro2
Newbie cheater
Reputation: 0

Joined: 07 Jun 2016
Posts: 22

PostPosted: Fri Mar 13, 2020 10:37 am    Post subject: Reply with quote

Corroder wrote:
sysy5024 wrote:

Thank you very much.
this is perfect
I Can add this to the cheat table?
and mr1.Value = (description)
i can this?


I am not understand what you mean about.


can follow description value? (with delay)
(blabla)

function sleepNchange()
sleep(400)
mr1.Value = (blabla)
end

is not work Smile



code.png
 Description:
 Filesize:  10.52 KB
 Viewed:  2235 Time(s)

code.png


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