AutoHotkey Community

It is currently May 26th, 2012, 10:56 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: October 31st, 2009, 1:00 am 
Anonymous wrote:
what do u mean by "stop working"
did the Mbutton doesnt work?
is the AHK script still running?
is the AHK script not detecting Mbutton even u press Mbutton? (u can check by double clicking the icon shows the current running lines)
we need more information other than its not working
or how about make a settimer that makes the script reload every 5mins?
is that the whole script u are using?


mbutton is working
ahk script is still running
ahk script not detecting mbutton even i press mbutton but ONLY in the game i mean if i'm on windows it s working..

here is all script i'm currently using :

Numpad1::a
Numpad2::z
Numpad3::w
AppsKey::,
Numpad4::;
Numpad5:::
Numpad6::i
Numpad7::p
Numpad8::o
Numpad9::u
RShift::y
RControl::r
Insert::l
Del::j
Rwin::e
NumpadSub::F7
NumpadEnter::q
MButton::
Send {F2}
Send {F3}
Send {F4}
Send {F6}
Send {F8}
return


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2009, 2:13 am 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5480
Location: the tunnel(?=light)
Here are the two pieces of information that seem to be the most important (to me):

ben75 wrote:
i press mbutton but ONLY in the game i mean if i'm on windows it's working..

..if i'm using delay then i got another problem , my mouse bug and doesn't move fluently


That tells me that your game may be having a problem processing keystrokes that SetKeyDelay is now making the game recognize (when before it just skipped them without buffering).

You could try adjusting the priority of the game's process, other than that I don't know.

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2009, 3:00 am 
sinkfaze wrote:
Here are the two pieces of information that seem to be the most important (to me):

ben75 wrote:
i press mbutton but ONLY in the game i mean if i'm on windows it's working..

..if i'm using delay then i got another problem , my mouse bug and doesn't move fluently


That tells me that your game may be having a problem processing keystrokes that SetKeyDelay is now making the game recognize (when before it just skipped them without buffering).

You could try adjusting the priority of the game's process, other than that I don't know.


i don't have a clue how to do it even after reading it lol...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2009, 1:10 pm 
Also i have another question , i would like to introduce in my script the following idea :

i would like to launch 8 spells (so 8 keys) with a delay of 1 second between each of them and when i get to the end it's restarting over and over again. And if i could integrate a special button which will stop eventually only this part of the script , it would be perfect :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2009, 2:37 pm 
here is an example coming from actools , i need something like this for autohotkey if it's possible withing the script i'm currently using and with the possibility to choose the keys i will use :

SetActiveWindow Dark Age of Camelot, Copyright © 2001-05 Mythic Entertainment, Inc.

Constants
switch = false
End
Procedure End When {GlobalKeys} contains 114
ClearGlobalKeys
SetConst $switch = false
end

Procedure start When {GlobalKeys} contains 113
ClearGlobalKeys
SetConst $switch = true
end

While 1=1
if $switch = true
ProcessMessages // Checks for end
Keys 5
Delay 2000
ProcessMessages // Checks for end
Keys 6
Delay 2000
ProcessMessages // Checks for end
Keys 7
Delay 2000
ProcessMessages // Checks for end
Keys 8
Delay 2000
ProcessMessages // Checks for end
end

delay 500
ProcessMessages //checks for start
end



Once again , thanks for providing help guys =)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2009, 3:54 pm 
up, help needed guys pls on the second prob :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2009, 7:50 pm 
up


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2009, 7:50 pm 
up pls


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: hyper_, JSLover, Kirtman, Leef_me, Maestr0, Miguel, XstatyK and 60 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group