Axor

Terraria Fishing script help

2 posts in this topic

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.

Share this post


Link to post
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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.