svenjatzu Posted August 9, 2015 Share Posted August 9, 2015 (edited) ich habe ein script für ein spiel geschrieben. Aber irgendwie will das script nicht das machen was ich will das es macht.hier ist mein code, wäre echt nett wenn ihr mal drüber schaut und ihn so verändern könnt das er zuverlässig läuft.i wrote a script, but it doesnt work ass i want. heres my code, please check it and fix the errors if there are some.<snip>wo hängt das teil..... in folgendem code:where does the code stop? in following codeWhile 1Local $aCoord = PixelSearch(560,717,593,736,0x2F89A5,40) ;suche nach fisch angebissenIf Not @error ThenMouseClick("left",578,727,3,1) ;angeln stoppnEndIfWEndwenn ich masgboxen einbauif i insert msgboxWhile 1Local $aCoord = PixelSearch(560,717,593,736,0x2F89A5,40) ;suche nach fisch angebissenIf Not @error Thenmsgbox("""""""")MouseClick("left",578,727,3,1) ;angeln stoppnEndIfWEndgibt er msgbox aus aber klickt nicht auf den button @ angeln stoppen...it runs the msgbox, but doesnt go ahead and not klicking on @ angeln stoppen...habe ich da fehler im code oder liegt es dadran das dieses hackshild das verhindert? was mich aber irritiert ist das der code vorher @ mouseclicks funktioniert, und nur diese eine zeile nicht.is there a error in the script or is it cuz hackshild stopps it? but it makes me wounder cuz the code before works @ mouseklicks and only this line crashes Edited August 9, 2015 by Melba23 Code removed Link to comment Share on other sites More sharing options...
water Posted August 9, 2015 Share Posted August 9, 2015 Welcoem to AutoIt and the forum!Unfortunatel you have missed to read the forum rules on your way in.Game automation of any kind is not allowed on this forum. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts