my bot have worked all day today but suddenly it stopped and when I try to run it I get an error message:
--------------------------------------------------------------
Line 309 (File "C\...........\LoLEtal\LoLEtal.exe"):
Error: Array variable has incorrect number of subscripts or subscript demension range exceeded.
----------------------------------------
Please help, I havent changed ANYTHING and I have tried to reinstall it but it didnt work...
I had several Problems with the bot:
1.It didn't surrender
*solve: If you have finished the Tutorial, set it to "False" in the config, then it will surrender
2.It didn't buy boost, also i wanted to buy the 3 day xp boost
*solve: Turn it off, and buy the boosts manually.
As you want the accounts on lvl 10 and this takes some time, you don't have to do the boost stuff that often....
I scanned through the script and I'm pretty sure it's the Func logincheck() that is failing, it's causing $loginsum = True, and initiating the Func summonername() which doesn't seem to exit loop.
I have no clue what I'm talking about because up until today, I had no clue how to read AutoIt script, but I think that's whats wrong. I might be completely off, but by changing the If $loginsum variable, and making them False, the AFK blank screen problem would be fixed but newly created summoner won't have create their own summoner names.
edit: Since I have absolutely no clue on how to write scripts, I'm going to merely make all cases of $loginsum = false, and manually make the summoner names myself.
edit: I think this check
$findplay = PixelSearch(((($windowcurrent[2] / 1024) * 455) + $windowcurrent[0]), ((($windowcurrent[3] / 640) * 10) + $windowcurrent[1]), ((($windowcurrent[2] / 1024) * 565) + $windowcurrent[0]), ((($windowcurrent[3] / 640) * 55) + $windowcurrent[1]), 9437184) fails and causes @error to have a value of 1, triggering "Else $loginsum = true"
edit. I'm probably wrong about the reason, I tried to implement a basic PixelSearch instead of your one which takes into account of resolution (I think that's what it does), it still fails to not $loginsum = True
my bot have worked all day today but suddenly it stopped and when I try to run it I get an error message:
--------------------------------------------------------------
Line 309 (File "C\...........\LoLEtal\LoLEtal.exe"):
Error: Array variable has incorrect number of subscripts or subscript demension range exceeded.
----------------------------------------
Please help, I havent changed ANYTHING and I have tried to reinstall it but it didnt work...