amakrkr Posted February 6, 2006 Posted February 6, 2006 Hi all ! 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 ...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
Valuater Posted February 6, 2006 Posted February 6, 2006 welcome to AutoIt post your code and maybe we can help 8)
amakrkr Posted February 6, 2006 Author Posted February 6, 2006 welcome to AutoItpost your code and maybe we can help8)yeah stupid me... here it ismy_script.au3
Valuater Posted February 7, 2006 Posted February 7, 2006 took a while... other things came up... anyway, try this expandcollapse popupOpt("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)
amakrkr Posted February 7, 2006 Author Posted February 7, 2006 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...
Valuater Posted February 7, 2006 Posted February 7, 2006 i am pretty sure it is mouseclickdrag() maybe you could try MouseDown("left") MouseMove() MouseUp("left") 8)
amakrkr Posted February 7, 2006 Author Posted February 7, 2006 i am pretty sure it is mouseclickdrag()maybe you could tryMouseDown("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...
Valuater Posted February 7, 2006 Posted February 7, 2006 i just noticed you use "right'... mouse drag should be "left"...no???? 8)
amakrkr Posted February 7, 2006 Author Posted February 7, 2006 i just noticed you use "right'...mouse drag should be "left"...no????8)No...i use "right" for a reason(its skill button ) mouse should just simply "scann" the whole screen and it should do it fast while holding right button down-...
jaenster Posted February 7, 2006 Posted February 7, 2006 (edited) You can try my mouse move real ..Edit : Here is the link http://www.autoitscript.com/forum/index.ph...l=mousemovereal Edited February 7, 2006 by jaenster -jaenster
amakrkr Posted February 7, 2006 Author Posted February 7, 2006 hmm that didnt help :/ but nice work man wery usefull but sadly not for me....
amakrkr Posted February 7, 2006 Author Posted February 7, 2006 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now