Jump to content

a little question about mouse


amakrkr
 Share

Recommended Posts

Hi all ! :king:

I got 1 problem , i am trying to make my mouse move from 1 coordinate to another wery fast , i use MouseClickDrag (and holding right click down)....

....so problem is that mouse aint moving fast enough :lmao: ...it allways pauses for few seconds after reaching 1 coordinate.

I put MouseClickDragDelay to 1, but still it aint helping ....

So anyone have any idea how to speed it up? ;)

thx in advance o:)

Link to comment
Share on other sites

took a while... other things came up... anyway, try this

Opt("SendKeyDelay", 1)
Opt("WinTitleMatchMode", 4)
Opt("SendKeyDownDelay", 10)
Opt("MouseClickDownDelay", 1)
Opt("MouseClickDragDelay", 1)
Opt("MouseClickDelay", 1)


HotKeySet("{F8}", "Bot")
HotKeySet("{F7}", "Stop")


;********** Left Click **********

Func Left_Click()
    While 1
        
        MouseClick("Left")
        WinActivate("Classname=Shell_TrayWnd")
        MouseUp("Left")
        Send(" ", 1)
        
    WEnd
EndFunc  ;==>Left_Click 


;********Klic******************

Func Bot()
    While 2
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 160, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 160, 0, 0)
        
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 218, 0, 0)
        
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 218, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 264, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 264, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 312, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 312, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 360, 0, 0)
        
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 360, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 390, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 390, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 430, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 430, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 470, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 470, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 510, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 510, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 550, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 550, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 590, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 590, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 166, 630, 0, 0)
        
        
        WinActivate("Classname=Shell_TrayWnd")
        Send(" ", 1)
        Send("5 ")
        MouseClickDrag("right", 828, 630, 0, 0)
        
        
    WEnd
EndFunc  ;==>Bot 


;********** Stop **********

Func Stop()
    
    While 3
        Sleep(10)
    WEnd
    
EndFunc  ;==>Stop 


;************************

While 4
    Sleep(20)
WEnd

;***********************

8)

NEWHeader1.png

Link to comment
Share on other sites

hmm thx for the helm m8 ... but thi still doesnt work like i wanted it too

mouse is still moving too slow....like there was a delay or something it just pouses at every coordinate it reaches....

....and yes i thought too that maybe too many functions and that while loop is too slow or something...

....i really dont know....kinda ran out of ideas...

Link to comment
Share on other sites

i am pretty sure it is mouseclickdrag()

maybe you could try

MouseDown("left")

MouseMove()

MouseUp("left")

8)

hmm i tried but i dont know why douse down aint detected in game....well i put

MouseClickDrag("right", 828, 550, 0, 0,2) it speeds up the movement of the mouse between 2 coordinates but it still pouses when it reaches one...

Link to comment
Share on other sites

i just noticed you use "right'...

mouse drag should be "left"...no????

8)

No...i use "right" for a reason(its skill button :lmao: )

mouse should just simply "scann" the whole screen and it should do it fast while holding right button down-...

Link to comment
Share on other sites

well this will kinda(hope so) be a bot for an mmorpg called MU, and u have to hold down right click to "attack mob with skill" so if u move mouse from 1 end of the screen to another and u pass over a mob skill activates.....and here is the problem cos mouse aint moving fast enough....i tried all sorts of things to "random" put some coordinates in but its not effective as i would like it to be >.<

and its strange because i put all possible delay i know of in these functions i used to minimum....i just dont get it...maybe my idea aint that good and i should try some other way? Or maybe some1 can give me a hint how to make this working some other way?

gah i hate my english!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...