WittyUsername Posted January 10, 2017 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
Relive Posted January 10, 2017 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.
water Posted January 10, 2017 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 2024-07-28 - Version 1.6.3.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 (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
Recommended Posts