WittyUsername Posted January 10, 2017 Share Posted January 10, 2017 (edited) Hello, I am currently working on a bot for Runescape. It's not completed yet, however I'm confused as to why it always errors on this line. When I first put the line in and ran the script it ran fine for about 20 minutes, then after a restart of my computer, the script always errors on this line. Here's the error it gives me. <snip> Thanks in advance for your help Edited January 10, 2017 by Melba23 Code removed Link to comment Share on other sites More sharing options...
Relive Posted January 10, 2017 Share Posted January 10, 2017 Welcome to the forums! I've noticed you misused PixelSearch()'s return value which is an array, so you need to access the array properly. Your error is related to array problems. Link to comment Share on other sites More sharing options...
water Posted January 10, 2017 Share Posted January 10, 2017 Welcome to AutoIt and the forum! Seems you missed to read the forum rules on your way in. Especially the section about game automation. That's why you won't get any help on this subject. 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