tangokilla Posted October 10, 2006 Posted October 10, 2006 My goal in this bot is to have my cursor move to (x,y) position. I have gotten the details to do this by the "SmoothMouse" movement post in the other thread. But now I need the commands to make it Right-click, and Left-click and to make it wait for about 10secs. Any help? Thanks in advance.
hearurscream Posted October 10, 2006 Posted October 10, 2006 (edited) MouseClick("Right", x, y) MouseClick("Left", x, y) Sleep(Time in ms) ;10 seconds would be 10000 Try searching first next time Edited October 10, 2006 by hearurscream Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.
NTBM Posted October 10, 2006 Posted October 10, 2006 MouseMove(861,213) MouseDown("left") MouseUp("left") MouseDown("right") MouseUp("right")
Helge Posted October 10, 2006 Posted October 10, 2006 You say your goal is to move your mouse, but you don't mention that it should move it smooth. If smoothness isn't important you wouldn't really need that SmoothMouse thing, instead you could have just called the mouse-moving function directly, who's name and documentation is hidden well inside the almighty helpfile. Also, for the clicking-part, you wouldn't have much difficulties finding information about that in the helpfile either. Searching for the most obvious, "mouse" and maybe even the word "click", would have given you the answer within 100 milliseconds.
hearurscream Posted October 10, 2006 Posted October 10, 2006 The code you use very much depends on what you want AutoIt to do. Using: MouseClick("Right",x,y)oÝ÷ Ùh¥j/y©ÝrXØ^¬y»Ü"Yè¶%v+]£ ÚºÚ"µÍ[ÝÙS[ÝJJB[ÝÙQÝÛ ][ÝÓY ][ÝÊBÛY L B[ÝÙU ][ÝÓY ][ÝÊB That will move the mouse and click, but will hold the mouse down for 1 second. It all depends on what your objective is. Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.
tangokilla Posted October 10, 2006 Author Posted October 10, 2006 Oh...first of all, my apologizes for not using the search function, second thanks a lot for the fast replies.
hearurscream Posted October 10, 2006 Posted October 10, 2006 Hey, that's what we're here for. As for the searching before you post. Hey, at least you know now. I didn't know what to do when I first started on AutoIt, I just sat back and watched and learned about how things go on the forums. Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.
WikiView Posted October 10, 2006 Posted October 10, 2006 if ur making a wow bot u dont need to have it smoothen ur mouse. WoW´s warden dont search after how smooth ur mouse is but if anything is in ur RAM to alter WoW. (like mousemovement programs) most ive known that have been banned have been it because they had been spotted by a GM
jinxter Posted October 10, 2006 Posted October 10, 2006 my official standpoint... why not play the game, it's too damn good to let the computer do it for you... wow ftw! > there are 10 types of people in the world, those who understand binary and those who don't.
Zephir Posted October 11, 2006 Posted October 11, 2006 because u cannot play for 24/7 . and in the hours when u sleep u can run ur bot. well i would not recommend that because 95% of all bot users are banned due to player reports.
Zephir Posted October 11, 2006 Posted October 11, 2006 @tangokilla i am working on a autoit bot as well. y dont u contact me and we do it together? ICQ: 176-892-882 www.connection-to-underground.de.vu
jinxter Posted October 12, 2006 Posted October 12, 2006 Who needs to play 24/7 ? I hardly think you can bot your way through MC or AQ40, so it can't be for finding gear... > there are 10 types of people in the world, those who understand binary and those who don't.
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