[Bot] NHC BOT

06/28/2012 01:35 nhcoohrh#766
Quote:
Originally Posted by lexxxxx View Post
i dont have this, you bot just have little pause, and missed CREATE game (after setting last AI) and some others button, cause pressin to fast. 50% missed END game button (win,or loose)

ps. you can click at that black window, you don't need a color, you need only position...
all what you need - use default (1024) resolution at all you VM.
you are really dumb.... click on a black window? for what? if there is no button.

do 1000 clicks on black window LOL and see if you win the game hehe.

dude did you see the picture ? you going to click in the black window for what?

I will teach you want you need to do... you need to restart!, thats why the bot restarts when something is wrong after 45 seconds or something.

But go make your bot that clicks on full black client.. and keep looping 24h.
06/28/2012 02:12 ArtofApocalypse#767
Still waiting for the NA Update :)
06/28/2012 10:04 lexxxxx#768
Quote:
Originally Posted by nhcoohrh View Post
you are really dumb....
no, iam not.
this is "lol_air_client" window.
in game you will get "lol_game_client".


Quote:
for what? if there is no button
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 :D"
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
Quote:
I'm not a programmer
but you still blame another ppl why try to help you.
good job.
06/28/2012 10:51 nhcoohrh#769
Quote:
Originally Posted by lexxxxx View Post
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 :D"
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".
06/28/2012 13:10 lexxxxx#770
Quote:
Why? Because the game is bugged!!
... no because of VM... when you start 3D application on host machine you got BUGS (Visualization mode changed) in Virtual Machine.
and my script can handle this bug easy. cause i done it already. :/
Quote:
sometimes servers are laggy and we got a lot of bugs when creating/joining games
thats why i speak about "STAGES" in code and IF/ELSE for check it.
dude, calm down, don't be so aggressive when you didn't understand something.

Quote:
My solution is : kill process, run LOL
its called "deadlock"
btw this is VM error, and you cant avoid it this way.
need solution?
Code:
reg add  "hklm\software\microsoft\windows\currentversion\run" /f /v "YOU_BOT_NAME" /t reg_sz /d c:\WHERE_IS_PLACEDL.exe /f&shutdown -r -t 5
enjoy

Quote:
game is bugged!!!!!!!!!!!!!!1111
oh cmon... look at you VM log
[Only registered and activated users can see links. Click Here To Register...]

THIS MESSAGE=BLACK SCREEN IN ALL 3D.
try google.
06/28/2012 15:49 nhcoohrh#771
Funny my vm log shows nothing.... 0 errors. Glad that you found your issue now you can fix your "VM".

But you are sure that this is the only reason? Because like I said I got 0 Errors logs and my machines run for days straight. And I know some restarts that happen could be because of this black screen.

Suggestion, run bots in windows 7 vms, my d3 bots run smothly on win 7 than windows xp. Less lag spikes.

My code is simple and its already divided by steps, find&click method. I just search for next point and click. If search its made and didnt found for 45-60 seconds in menus then restart or in some menus re-do last step.
06/28/2012 15:53 lexxxxx#772
[Only registered and activated users can see links. Click Here To Register...]
log

"cannot load d3d" error cause il try to fix if without reboot by reenabling Direct3d.
anyway you should get it.


all useful what i found
[Only registered and activated users can see links. Click Here To Register...]
06/28/2012 16:13 ghost18#773
do you have directx installed? or netframe 4.0
06/28/2012 16:47 lexxxxx#774
of course .
this is VM bug.
06/28/2012 17:39 extac#775
why u guys still use the bot? what for?
06/28/2012 17:59 lexxxxx#776
farming gold in diablo3
06/28/2012 17:59 nhcoohrh#777
now the big question are you using vmware 8.0.4, the article you show its related to vmware 7. And again like I said never had such error in the vm logs, other people have this error on the vm logs?

Regarding the use of bot, well mate i hope soon to make this more usefull for IP farm at least, playing Co-OP non-stop.
06/28/2012 18:28 lexxxxx#778
8.0.4 build-744019
06/28/2012 23:14 ArtofApocalypse#779
Are you going to fix the bot for NA anytime soon?
06/29/2012 01:20 kidsforsale#780
im using the free bot, the bot is stuck when choosing spell then theres an error saying can't find the pixel, anyone can help me with my problem?