Guest shaggy2k7 Posted April 22, 2004 Share Posted April 22, 2004 ok well here is the code i got the x and y coords read the directions and came with this with no luckSleep(6000)While 1 = 1HotKeySet("{Esc}", "MyExit")MouseClick("left", 0, 535, 22)Sleep(2000)MouseClick("Left", 302, 323)Sleep(700)MouseClick("Left", 296, 394)Sleep(2500)MouseClick("Left", 568, 22)Sleep(2000)MouseClick("Left", 302, 323)Sleep(700)MouseClick("Left", 296, 394)Sleep(2500)MouseClick("Left", 635, 22)Sleep(2000)MouseClick("Left", 302, 323)Sleep(700)MouseClick("Left", 296, 394)Sleep(2500)MouseClick("Left", 664, 22)Sleep(2000)MouseClick("Left", 302, 323)Sleep(700)MouseClick("Left", 296, 394)Sleep(2500)MouseClick("Left", 694, 22)Sleep(2000)MouseClick("Left", 302, 323)Sleep(700)MouseClick("Left", 296, 394)Sleep(2500)MouseClick("Left", 726, 22)Sleep(2000)MouseClick("Left", 302, 323)Sleep(700)MouseClick("Left", 296, 394)Sleep(2500)WendFunc MyExit() Exit EndFuncPLEASE HELP ME OUT I"M NEW!!!!! Link to comment Share on other sites More sharing options...
scriptkitty Posted April 22, 2004 Share Posted April 22, 2004 (edited) I would make a few changes, first I would move the mouse very fast, so I put the default click of 1 and the speed of 1. ( Meaning that it moves very very fast) I would also look at if you are doing it full screen or in a window. Last I like to declare my hotkeys once, not on every pass. Your code seemed to work, but because you move your mouse so slow, I think your times might be way off. expandcollapse popupHotKeySet("{Esc}", "MyExit") Opt("MouseCoordMode", 1) ;1=absolute, 0=relative Sleep(6000) While 1; same as what you did. MouseClick("Left", 535, 22,1,1); figured you didn't want 22 clicks of it. Sleep(2000) MouseClick("Left", 302, 323,1,1) Sleep(700) MouseClick("Left", 296, 394,1,1) Sleep(2500) MouseClick("Left", 568, 22,1,1) Sleep(2000) MouseClick("Left", 302, 323,1,1) Sleep(700) MouseClick("Left", 296, 394,1,1) Sleep(2500) MouseClick("Left", 635, 22,1,1) Sleep(2000) MouseClick("Left", 302, 323,1,1) Sleep(700) MouseClick("Left", 296, 394,1,1) Sleep(2500) MouseClick("Left", 664, 22,1,1) Sleep(2000) MouseClick("Left", 302, 323,1,1) Sleep(700) MouseClick("Left", 296, 394,1,1) Sleep(2500) MouseClick("Left", 694, 22,1,1) Sleep(2000) MouseClick("Left", 302, 323,1,1) Sleep(700) MouseClick("Left", 296, 394,1,1) Sleep(2500) MouseClick("Left", 726, 22,1,1) Sleep(2000) MouseClick("Left", 302, 323,1,1) Sleep(700) MouseClick("Left", 296, 394,1,1) Sleep(2500) Wend Func MyExit(); nice and clean :) Exit EndFunc Edited April 22, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Guest shaggy2k7 Posted April 22, 2004 Share Posted April 22, 2004 i'm making this for SWG the game and i have it in windowed mode and it wont click on the resources and macro tabs. any help? ast school atm so when i get home i'll try that code. Link to comment Share on other sites More sharing options...
Valik Posted April 22, 2004 Share Posted April 22, 2004 A lot of people have said they can't get AutoIt to work with that game. You can probably find some of the posts in the now read-only gaming forum if you search for "Star Wars" or "SWG" or "Galaxies". There might be something helpful in one of them. Link to comment Share on other sites More sharing options...
Azores Posted March 13, 2006 Share Posted March 13, 2006 I have this exact same problem! my clicks work sometimes but not all the time(like the server isnt reading it) its very wierd....Sleep(9000)Send(3)Sleep(1200)MouseClick("right", 60, 80, 1, 1)Sleep(500)Send(2)Sleep(1200)MouseClick("right", 500, 500, 1, 1)Sleep(2000)MouseClick("left", 50, 55)Sleep(110)MouseClick("left", 50, 55)Sleep(110)MouseClick("left", 50, 55)Sleep(110)MouseClick("left", 50, 55)Sleep(110)MouseClick("left", 50, 55)Sleep(110)MouseClick("left", 50, 55)Sleep(110)MouseClick("left", 50, 55)Sleep(110)MouseClick("left", 50, 55)Sleep(110)MouseClick("left", 50, 55)Sleep(500) Link to comment Share on other sites More sharing options...
greenmachine Posted March 13, 2006 Share Posted March 13, 2006 Stop posting this same thing everywhere. If you had read the post above yours (Valik's), you would know your answer already. Link to comment Share on other sites More sharing options...
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