mmlm Posted August 22, 2006 Share Posted August 22, 2006 Hi every one. I need one more ting that's script is for enter in game found pixel give information quit and found other game. that's script is good now but after quitting game and give the information he stop. why ? I dont know I ask him to do not stop and loop after can someone look the script and tel me what's wrong whit it plz tank you ! [autoit]Global $Paused HotKeySet("{END}", "TogglePause") HotKeySet("{HOME}", "Terminate") HotKeySet("{INSERT}", "Start") While 1 Sleep(100) WEnd Func Start() Join() EndFunc Func Join() Sleep(7000) MouseClick("left", 710, 461) Sleep(3000) MouseClick("left", 490, 231, 2) Sleep(7000) serch() EndFunc Func serch() $coord = PixelSearch ( 544, 254, 544, 254, 2170913,) If $coord = 0 Then Join() ElseIf $coord = 1 Then talk() EndIf EndFunc Func TogglePause() $Paused = NOT $Paused While $Paused Sleep(100) WEnd EndFunc Func Talk() Sleep(5000) Send("{ENTER}") sleep(50) send("hi{ENTER}") sleep(500) Send("{ENTER}") sleep(50) send("hi{ENTER}") Sleep(1000) Send("{Esc}") Mouseclick("left", 402,267,) Sleep(10000) EndFunc Func Terminate() Exit 0 EndFunc Link to comment Share on other sites More sharing options...
Xenobiologist Posted August 22, 2006 Share Posted August 22, 2006 Hi, have a look at PixelSearch it returns an array or sets @error to 1. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
mmlm Posted August 22, 2006 Author Share Posted August 22, 2006 (edited) Hi, have a look at PixelSearch it returns an array or sets @error to 1. So long, Mega I dont know how set the command or the function. how can i set my pixel search for if he found the good one then talk() if not then loop to join () is it better like that ??? Func serch() $coord = PixelSearch ( 544, 254, 544, 254, 2170913,) If not @error Then talk() ElseIf @error Then Join() EndIf EndFunc ?? Edited August 22, 2006 by mmlm Link to comment Share on other sites More sharing options...
Xenobiologist Posted August 22, 2006 Share Posted August 22, 2006 (edited) Hi, maybe Func search() If IsArray(PixelSearch(544, 254, 544, 254, 2170913)) Then Join () Else talk () EndIf EndFunc ;==>search So long, Mega Edited August 22, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
mmlm Posted August 22, 2006 Author Share Posted August 22, 2006 ok then that's all the script.... where in the script Hi tel to the bot to restart to join an other game after have quit the last one the bot quit the game at the line 6 from the end. there : expandcollapse popupSend("{Esc}") Mouseclick("left", 402,267,) Sleep(10000) EndFunc Func Terminate() Exit EndFuncoÝ÷ ÚØZµ©e¶¬r¸©´Öµêí«ewêÞ²Ö«¶Ú-æÞéâÊ&zÞéi觶¦ÚºÚ"µÍÛØ[ ÌÍÔ]ÙYÝÙ^TÙ] ][ÝÞÑSI][ÝË ][ÝÕÙÙÛT]ÙI][ÝÊBÝÙ^TÙ] ][ÝÞÒÓQ_I][ÝË ][ÝÕZ[]I][ÝÊBÝÙ^TÙ] ][ÝÞÒSÑTI][ÝË ][ÝÔÝ ][ÝÊBÚ[HHÛY L BÑ[[ÈÝ BÚ[ B[[Â[ÈÚ[ BTÛY Ì B[ÝÙPÛXÚÊ ][ÝÛY ][ÝË ÌL JBS[ÝÙXÛXÚÊ ][ÝÛY ][ÝË ÌNK BÛY Ì B[ÝÙPÛXÚÊ ][ÝÛY ][ÝË LÌKBTÛY Ì BÙXÚ B[[Â[ÈÙXÚ BYÐ^J^[ÙXÚ M M M MMÌLLÊJH[Ú[ B[ÙB[È B[Y[[ÈÏOIÝÜÙXÚ[ÈÙÙÛT]ÙJ B ÌÍÔ]ÙYHÕ ÌÍÔ]ÙYÚ[H ÌÍÔ]ÙYÛY L BÑ[[[ÂB[È[Ê BÛY L BTÙ[ ][ÝÞÑSTI][ÝÊBÛY L BÙ[ ][ÝÚ^ÑSTI][ÝÊBÛY L BTÙ[ ][ÝÞÑSTI][ÝÊBÛY L BÙ[ ][ÝÚ^ÑSTI][ÝÊBÛY L BÙ[ ][ÝÞÑØßI][ÝÊB[ÝÙXÛXÚÊ ][ÝÛY ][ÝË Ë BÛY L B[[Â[ÈZ[]J B^][[ tank you ! Link to comment Share on other sites More sharing options...
nitekram Posted August 22, 2006 Share Posted August 22, 2006 you have nothing starting your script? 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
mmlm Posted August 23, 2006 Author Share Posted August 23, 2006 you have nothing starting your script?what i need for start that kind of script ? Link to comment Share on other sites More sharing options...
Helge Posted August 23, 2006 Share Posted August 23, 2006 (edited) Ok, I'm just curious.. What's the point of this script you want to make ? Is the point to make a bot that joins a game and just says "hi" twice and then leaves ? If this is correct then I don't understand the point. For me it would be just as stupid as if I ran to your house right now, opened your door, said "hi....hi" and then I ran back home. Another thing...are you one of those who are happy when you see that your mail-inbox is full of spam and shit, and goes moon-walking while you're doing Homer Simpson's "woohoo !" ? My point is...spam sucks. Edited August 23, 2006 by Helge Link to comment Share on other sites More sharing options...
mmlm Posted August 23, 2006 Author Share Posted August 23, 2006 Ok, I'm just curious.. What's the point of this script you want to make ?Is the point to make a bot that joins a game and just says "hi" twice and then leaves ? If this is correct then I don't understand the point. For me it would be just as stupid as ifI ran to your house right now, opened your door, said "hi....hi" and then I ran back home.Another thing...are you one of those who are happy when you see that your mail-inboxis full of spam and shit, and goes moon-walking while you're doing Homer Simpson's"woohoo !" ? My point is...spam sucks.no it's not realy that.. the Hi it's only for test the func and then if all work good other information will go in the texte. My point is.. first sometime bad information goes on site or on game or other time good information goes on site and on game. first it's not for email but only for game . second. yes it's like a spam script but it's other kind... the kind people will read and say wow ho yes we will try to found taht.. right nowIf you play a game and only 5% of the player know to do someting and all other one dont know and lost in that case it's more faire if someone like me can say hey guy... if you know that information you will have more chance in your quest. that's it.I cant realy tel exactly what i try to do.. but someting sure it's not negative... because if it was I am stupid at the point to ask in a furom how to do it. for bad ting many site have already all they need.. and like you can see I am not good inought for try to do bad ting. I hope that information can help some of you to ting better about what i try to do.I am bored to see yong kid stole and scame people in a game. I am bored to see honnest guy work and pay for item they want for a game they like and lost it before it poof or because someone have make a special script for they lost all .....I am honnest guy work hard I have family and I try to stay honnest the most time possible.tank you !Mario Meunier (if I say my real name it's because it's right, I'm honnest) 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