Jump to content

please help me coders! my scrip wont work as i want...


Recommended Posts

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 code

While 1
Local $aCoord = PixelSearch(560,717,593,736,0x2F89A5,40) ;suche nach fisch angebissen
If Not @error Then
MouseClick("left",578,727,3,1) ;angeln stoppn
EndIf
WEnd


wenn ich masgboxen einbau

if i insert msgbox

While 1
Local $aCoord = PixelSearch(560,717,593,736,0x2F89A5,40) ;suche nach fisch angebissen
If Not @error Then
msgbox("""""""")
MouseClick("left",578,727,3,1) ;angeln stoppn
EndIf
WEnd

gibt 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 by Melba23
Code removed
Link to comment
Share on other sites

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 - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

  • Melba23 locked this topic
  • Jon unfeatured this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...