Axor Posted July 14, 2016 Share Posted July 14, 2016 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 More sharing options...
water Posted July 14, 2016 Share Posted July 14, 2016 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 - 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