View previous topic :: View next topic |
Author |
Message |
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Wed Oct 12, 2016 7:45 am Post subject: do key press dont work to stimulate right click ? |
|
|
this code work
Code: | hk = createHotkey(function() doKeyPress(VK_F3) end, VK_RBUTTON) |
this code never work ?
Code: | hk = createHotkey(function() doKeyPress(VK_RBUTTON) end, VK_F3)
|
Is that bug or
is there any alternative method ?
Last edited by Twistedfate on Wed Oct 12, 2016 4:49 pm; edited 1 time in total |
|
Back to top |
|
|
Filipe_Br Master Cheater Reputation: 3
Joined: 07 Jan 2016 Posts: 272 Location: My house
|
Posted: Wed Oct 12, 2016 9:03 am Post subject: Re: do key press dont work to stimulate right click ? |
|
|
This script works, maybe you just confused. "VK_RBUTTON"
It is the law services mouse button. If you want the keyboard right key use "VK_RIGHT" |
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Oct 12, 2016 11:32 am Post subject: Re: do key press dont work to stimulate right click ? |
|
|
Twistedfate wrote: | this code work
Code: | hk = createHotkey(function() doKeyPress(VK_F3) end, VK_RBUTTON) |
this code never work ?
Code: | hk = createHotkey(function() doKeyPress(VK_F3) end, VK_RBUTTON)
|
| -They're the same. |
|
Back to top |
|
|
Filipe_Br Master Cheater Reputation: 3
Joined: 07 Jan 2016 Posts: 272 Location: My house
|
Posted: Wed Oct 12, 2016 12:42 pm Post subject: Re: do key press dont work to stimulate right click ? |
|
|
What exactly do you do? |
|
Back to top |
|
|
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Wed Oct 12, 2016 4:51 pm Post subject: Re: do key press dont work to stimulate right click ? |
|
|
Sorry I edited the post
I want to use F3 to stimulate right click |
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Oct 12, 2016 5:43 pm Post subject: |
|
|
Code: | if myhotkey then
myhotkey.Destroy()
myhotkey = nil
end
myhotkey = createHotkey(function()
mouse_event(MOUSEEVENTF_RIGHTDOWN)
mouse_event(MOUSEEVENTF_RIGHTUP)
end, VK_F3) |
|
|
Back to top |
|
|
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Wed Oct 12, 2016 5:54 pm Post subject: |
|
|
I love you ^^
mouse event is new in ce 6.6 ty man |
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Oct 12, 2016 6:02 pm Post subject: |
|
|
I guess you could do it with a single call too.Or left-click: |
|
Back to top |
|
|
alis959 How do I cheat? Reputation: 0
Joined: 07 Sep 2020 Posts: 4
|
Posted: Sat Jan 15, 2022 1:29 pm Post subject: |
|
|
Zanzer wrote: | I guess you could do it with a single call too.Or left-click: |
can u help me to do this code work
v = readInteger ("[Conquer.exe+DD2334]+A18")
ta=createTimer()
ta.Interval=1
ta.OnTimer=function(ta)
if v >= 99 then
doKeyPress(112)
end
ta.destroy()
end |
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Sat Jan 15, 2022 1:42 pm Post subject: |
|
|
alis959 wrote: | Zanzer wrote: | I guess you could do it with a single call too.Or left-click: |
can u help me to do this code work
v = readInteger ("[Conquer.exe+DD2334]+A18")
ta=createTimer()
ta.Interval=1
ta.OnTimer=function(ta)
if v >= 99 then
doKeyPress(112)
end
ta.destroy()
end |
Please do not bump a topic 6 year old _________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
|