Quote:
Originally Posted by lexxxxx
no, iam not.
this is "lol_air_client" window.
in game you will get "lol_game_client".
you don't need a BUTTON, you need only POSITION OF THIS BUTTON.
btw you can use not recursive algorithm of search of the size one-color area search method in depth to press at "INVISIBLE BLACK BUTTON".. btw i am so dumb to teach you...
one of func to seach "BIG BLCK INVISIBLE BUTTON  "
Code:
Func LolAreaSize(ByRef $aiField, $iStartX, $iStartY) ; alhoritm
Local $aiResult[$iNumCols * $iNumRows][2] ; number of tills
Local $iResultSize = 0
Local $afMap[$iNumRows][$iNumCols] ; flag1
For $iRow = 0 to $iNumRows - 1
For $iCol = 0 to $iNumCols - 1
$afMap[$iRow][$iCol] = False
Next
Next
$afMap[$iStartX][$iStartY] = True
Local $aiStack[$iNumRows * $iNumCols][2] ; active1
$aiStack[0][0] = $iStartX
$aiStack[0][1] = $iStartY
While $iStackSize > 0
$iStackSize -= 1
$iX = $aiStack[$iStackSize][0]
$iY = $aiStack[$iStackSize][1]
$aiResult[$iResultSize][0] = $iX
$aiResult[$iResultSize][1] = $iY
$iResultSize += 1
For $iDirection = 0 to 99 ; how much to check
Local $iNewX = $iX
Local $iNewY = $iY
Switch $iDirection
Case 0
$iNewY += 1
Case 1
$iNewY -= 1
Case 2
$iNewX += 1
Case 3
$iNewX -= 1
EndSwitch
If ($iNewX >= 0 And $iNewX < $iNumRows And _
$iNewY >= 0 And $iNewY < $iNumCols And _
Not($afMap[$iNewX][$iNewY]) And $aiField[$iNewX][$iNewY] = $aiField[$iStartX][$iStartY]) Then
$afMap[$iNewX][$iNewY] = True
$aiStack[$iStackSize][0] = $iNewX
$aiStack[$iStackSize][1] = $iNewY
$iStackSize += 1
EndIf
Next
WEnd
Return $iResultSize
EndFunc
but you still blame another ppl why try to help you.
good job.
|
You really didn't understood the problem of the black window. I will try to explain slower so you can "understand".
Sometimes after you click create game. Instead of going to the Champ Selection screen or AI selection screen (happens in both places).
The LoL air client "stucks" and stays on black screen
forever like you see in the picture. Now try to explain me how a autoit (user simulation) will unstuck the air client ? Do you think external scripts will fix bugs of the game? LOL
What you past there will do nothing. Why? Because the game is bugged!!!
Before speak think, I said already look to the game, do this manually, understood the problem before speak. You are trying to guess the problems but you didn't see that the main problem it's your "virtual machine".
The LoL client have bugs, this bugs happen more frequently depending on the machine you are running. Try to run this game with normal HDD sata disk and 256MB ram, that will be a funny thing to see the ammount of errors the game will generate.
And even sometimes with a good machine the bugs happen, because you are trying to join a gameserver and something goes wrong and get refused probably servers are overloaded.
But maybe you never played lol before, because this is one of the basic things that a LoL player knows.. sometimes servers are laggy and we got a lot of bugs when creating/joining games or in chat service.
But you make me laugh already today, trying to give a solution for an ingame bug when game stucks. You should go to riot and give them that. to see if it works lololol.
My solution is : kill process, run LOL. 2 and 3 lines and its fixed.
I have doubts your code will fix this "black window issue".