
K3vin
Members-
Posts
13 -
Joined
-
Last visited
K3vin's Achievements

Seeker (1/7)
0
Reputation
-
Script that gives one random number.
K3vin replied to K3vin's topic in AutoIt General Help and Support
Wow, thanks people ! Now, I'm gonna try to understand what these commands are used for. If I have any question, I'll write it here :-) Thanks people: ) -
Hello, Here is the idea. I got the idea to make a script that would randomly give me a number (or better, a name) between 1 and 32 (each number for a name). But this script wouldn't give for example the number 1 once it has already been given! For example : 1 = Pipeline. The script randomly gives "Pipeline". I launch the script a second time and it gives "Pipeline" again! No!! I don't want that :-) Once one number/name has been chosen, it can't be given one more time UNTIL the 31 other numbers/names have been given after. Question : -What commands should I look for? (I mean on the AutoIt HelpFile) I already looked for the command "Random" but it didn't help me a lot :-s Thanks!
-
Yeah, well, I tried to do that but the problem is that the "downloading avatar list" is a bit short to do a ctrl+alt+f lol but anyway, I think I'm gonna try again, I got an idea to succeed:-) Ok, I wasn't sure about the screenshot I took about the "downloading avatar list" button so I didn't post it. Now that I confirmed it taking another one (they really look like the same except one number...), I think we are almost done :-) there we go : -Button server full : -Button downloading avatar list 1 : -Button downloading avatar list 2 : I really think we can make it now !
-
Ok, thanks, I wanted a confirmation, wasn't sure if I did the good things to make my script seeing hidden text. So now I can say there is no hidden text! 1) This is when I have to select a server. 2) Choosing my character (choosing your character means that you successfully joined a server). To jonnybravo : I think using the pixel color is a great idea as the color of the button to click to join a server changes of color due to its status (red = exceeded; yellow = full...). EDIT : errrr I'm wrong, it doesn't change! You gotta click on exceeded till you can join :-( Thanks for your help. I know someone made a AutoIt script to join ROSE online without hammering his left click :-s I'm gonna change the title of my post, maybe he'll come! EDIT 2 : too bad, we can't change it :-s
-
Thanks for answering that fast ;-) -The "781 click" is used to click on a channel. There are three channels and I set it to the first which is the "781 click"^^. You need to double click one of those channels, once that double click is done, it says "server full" and then "cancel" OR "downloading avatar list" which means "connection successful". So that double click is necessary if I want to join a server! -The "507 click" is used to close the "server full-cancel" button. But the problem is that the "downloading avatar list" and the "server full-cancel" buttons are are the same place!! But the script we made works for now, it has enough time to let the "downloading avatar list" to download the avatar list. -Yeah right, I only want to join a server automatically when I can't do it manually (The -3) step). -When the script is running, I'd like to go eat or something like that^^. I would walk away :-) -This is a game that you download, install and play online : a MMORPG called ROSE online. (get it there, it's a free beta http://www.roseon.com ) EDIT : Maybe I didn't use the AutoItSetOption ("WinDetectHiddenText", 1) like I should, can you tell me how you make it work with the AutoIt tool so that I can say if I used it badly. (sry for bad english)
-
Hehe lol nice history of your nickname :-) Yeah, I did a mistake, I wrote "I can" but I meant to write "I cant", sorry; so I can't see the texts :-( I changed the script according to what you wrote : AutoItSetOption ("WinDetectHiddenText", 1) AutoItSetOption ("WinTitleMatchMode", 3 ) AutoItSetOption ("MouseCoordMode", 0 ) While 1 = 1 WinWait ("ROSE online") WinActivate ("ROSE online") WinWaitActive ("ROSE online") MouseClick ("left", 781, 346, 2, 25) MouseClick ("left", 507, 367, 1, 25) MouseMove (0, 0, 25) Sleep (5000) If WinExists ("ROSE online" , "unknown" ) Then ExitLoop EndIf WEnd >>MouseClick ("left", 507, 367, 1, 25) that line is a necessary line to join the server, forgot to add it first! >>An error told me that the While didn't have a Wend, so I added it. >>I compared the screens of the AutoIt tools and unfortunately, there's no text nor hidden text But to help you understanding my case, I must say that there are four steps to play that game : -1)Launch the game by clicking "play online" (checks updates and stuff). -2)Fill in my password and my ID and then enter. -3)Joining a server by clicking on one of them. -4)Choose your character And then you are ingame! From 2) to 4), windows' names are the same and I can't see any text :-( >>I added the AutoItSetOption ("WinDetectHiddenText", 1) to the top part of my script but couldn't figure how it works :-s Anyway, I'm gonna try again.
-
Thanks herewasplato :-) you are the best teacher I could have ;-) Don't worry, what you say can't offend me as I'm a newbie! So I can only take what you say; and even if I know some little things, it's always good to keep saying things are like that etc. Like "Sleep (5000) ; this should make the script wait 5 seconds - but you knew that" It's all good ;-) Ok, now I'm gonna read again and again your post to catch the way on how to make my script; thanks again
-
Argh, thanks for the idea but there is no text Alright, I think I understood the way you think herewasplato!!! AutoItSetOption ("WinTitleMatchMode", 4 ) AutoItSetOption ("MouseCoordMode", 0 ) While >IDUNNOWHATTOPUTHERE< WinWait ("ROSE online", "Unknown" ) WinActivate ("ROSE online") WinWaitActive ("ROSE online", "Unknown" ) MouseClick ("left", 781, 346, 2) Sleep (5000) If WinExists ("ROSE online" , "unknown" ) Then ExitLoop WEnd I tried to follow exactly what you said but there's a problem : what can I do when the name of the windows are the same and when I can't see their text with the au3 tool?
-
Hum, sorry for double posting but I don't understand everything! :-( I started with that WinActivate ("ROSE online") ;doubleclick on "join channel 1" MouseClick ("left", 781, 346, 2) ;click on "server full, ok" MouseClick ("left", 500, 371, 1) And then, even if I read all those commands, I dunno how to say to my script that if the answer to the double click on "join channel 1" is a no it has to loop until it says yes... I keep reading to understand what you were planning to do though :-s EDIT : ok, I think there's a problem : what if the window for joining the name and the one once you joined got the same name?
-
How to launch a clic @ a precise time?
K3vin replied to K3vin's topic in AutoIt General Help and Support
Lol, you are right, I totally forgot that there was a scheduler on XP lol! Thanks for reminding me that! -
Cool, thanks for answering, I looked at the help files globally but didn't read it. I'll do that then :-) thanks for answering.
-
Hello, I'm gonna make a script that I'll launch when I go to bed; and @ 7AM (i'll go sleep @ 5AM)a clic on an application will be done, so that the application will load when I'm sleeping. But I got one question : how can I set a precise hour to that script? For now, I got that ; Double click at the current mouse pos MouseClick("left") MouseClick("left") MouseClick("left") MouseClick("left") ;launch azureus MouseClick("left", 645, 456, 2) What and where should I add a line? Thanks :(
-
Hello, I'm totally new to AutoIt and it seems really interesting but I need to understand the logic on how I can make it work as I want. So I'd like to make a script from an online game : sometimes when you wanna join a server, it's full and you gotta click on that server till there's a free place in it! And I know I can make a script with AutoIt to do it auto with AutoIt . So I'd like to know three things : 1)I will need to know how to send a message to a window, especially where do I say that I want a message for a specific window. 2)The coordinates of the button I'd like to click. 3)How to say in the script : "Keep it on until you joined the server!" I'm taking any help, any tutorials, anything ;-) Thanks for that w00t program.