Auto It error in line 40 during the gameplay

Asked By 0 points N/A Posted on -

Hi there,

After I got a Game Over on this game this error appeared and closed the gamed after I pressed the OK button. This error appears every time I get Game Over and not when I make score. Any solution ? What is causing this error ?

Thanks !

AutoIt Error

Line 40 (File :C:UsersYekimDesktopGungameImageSearch.au3”):

If $result [0], ‘0’ then return 0

If $result ERROR

Error: Subscript used with non-Array variable.

Answered By 590495 points N/A #179676

Auto It error in line 40 during the gameplay


At first, I thought of searching the game and recommending on downloading it again. But after doing a little search, it turns out that there are many games with the same name or label. If this is really a game you started and not just an AutoIt script, try reinstalling the game. If you no longer have the installer but you still know where to download it, try downloading the game again.

Once downloaded, uninstall Gungame from your computer then click Start, All Programs, Accessories, System Tools then select Disk Cleanup. Select drive C then click OK. Check Setup Log Files and “Temporary files”, click OK and then click Delete Files. Restart the computer then navigate to the download folder and double-click the Gungame installer you downloaded.

Once Gungame is installed, try starting the game and see if this works. If you started the script file “ImageSearch.au3” or the game started this script file, try checking if you have the latest version of AutoIt. Since AU3 files are automated script file created using AutoIt version 3, you should have AutoIt on your computer.

If you don’t have it or you have an older version, download and install the latest version, AutoIt It requires Windows XP, Windows Vista, Windows 7, and Windows 8 as well as Windows Server 2003, Windows Server 2008, and Windows Server 2008 R2. After installing the latest version, try running the game again and see if it works.

Related Questions