Question on ApocalypsePolly's EgoFeeder

05/04/2011 01:24 roflalaa#1
Original thread: [Only registered and activated users can see links. Click Here To Register...]

Sorry, I hope it's right to make a new thread instead of necroing that one :<

I got an issue with the script and would appreciate any help a lot

Errors:
when using the script in compiled form:
Line 7 (Apocalypse Feeder.exe):
Error: Subscript used with non-Array variable

when simply using it as script:
Line 40 (ImageSearch.au3):
if $result[0]="0" then return 0
if result^ ERROR
Error: Subscript used with non-Array variable.

all I found is that this might happen when the .dll isn't in the same folder then the script, yet it is.
I don't know much about such stuffs, so any ideas or help would be welcomed :<
Thanks alot, roflala
05/04/2011 01:53 tbstewa#2
image search.au3 should be in the autoit includes folder and the dll in the system32 folder not sure about system32.... might be a different folder... been years since I had a use for these
05/04/2011 03:17 Blade3575#3
Quote:
Line 40 (ImageSearch.au3):
if $result[0]="0" then return 0
if result^ ERROR
Error: Subscript used with non-Array variable.
This error is caused by running a 64-bit system (Vista/Win7). You can try running it with AutoIt3.exe instead of AutoIt3_x64.exe (untested by me but I think I read somewhere it should work) or you can compile the program with options and for "Output arch:" click "Use X86 version." This should solve that problem.
05/04/2011 16:15 roflalaa#4
thanks both of you for replying :)
running it in the x86 compilation worked (*facepalm for my ignorance*)
the .dll is fine in the folder where the script is btw
Greetings, roflala^^