Jump to content

Terraria Fishing script help


Axor
 Share

Recommended Posts

Hi! 
I tried to wrote one autofishing script on terraria but did't work.

This is the code:

Sleep (5000)

$scan = 0
$i = 0

Do
   MouseClick ("left", 263, 334)
   Sleep (3000)
   Local $Color = PixelGetColor(471, 399)
   Do
      If $Color = 2104857 Then
         $scan = 0
      Else
         $scan = 1
      EndIf
   Until $scan = 1
   MouseClick ("left")
   $scan = 0
   Sleep (2000)

Until $i = 1

 

I think the pixel scanner part don't work.

I hope you can help me.

Link to comment
Share on other sites

Welcome to AutoIt and the forum!
Seems you missed to read the forum rules on your way in. Please do so now.
You will then see that game automation of any kind is not permitted here.
Hope to see you soon with a legitimate question :)

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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