Pages (104):    134 35 36 37 38104   
Antidote   12-24-2014, 06:45 AM
(12-24-2014, 05:56 AM)AlexXxuTzZu Wrote: I just tried the bot now and my first search was just dropped 1 barb and then nothing... I returned home and bot start himself, checked the troops and then he start searching for enemy with succes just that i only had 3 giants and rest barbs and archs.
Keep it up!
Yes for a very small amount of search (2 or 3 for me after 6 hours run), it will fail to read gold and stuck in search check. I will look into it but I'll have to ask GkevinOD if he can figure that out, in the mean time I will add some check to bypass to the next village.
GkevinOD   12-24-2014, 07:01 AM
Antidote   12-24-2014, 07:30 AM
GkevinOD   12-24-2014, 07:38 AM
I manage to fix it I believe. It will just skip the base if gold is not found. I will make it more efficient later, but this should also work:

Code:
Func CheckSearch()
    Sleep(2000)
    Local $countY = 0
    Local $countExit = 0
    $GoldCheck = getGold($x_default, $y_default + $countY)
    While $GoldCheck = ""
        If $countY >= 5 Then $countY = 0
        $countY += 1
        $countExit += 1
        $GoldCheck = getGold($x_default, $y_default + $countY)
        Sleep(200)
        If $countExit >= 50 Then
            ControlClick ($HWnD, "","", "left", "1", 715*$x_ratio, 405*$y_ratio) ;Click Next
            $countExit = 0
        EndIf
        If $RunState = False Then
            ExitLoop
        EndIf
    WEnd
   ;GUICtrlSetData($Results, "Finish check" & @CRLF, -1)
EndFunc
mikypark   12-24-2014, 08:02 AM
why the bot is not skipping bases? no search
GkevinOD   12-24-2014, 08:05 AM
GkevinOD   12-24-2014, 08:07 AM
korpsx   12-24-2014, 08:25 AM
There's so many changes and updates! This is amazing hah. Hard to keep up. Anyone have the most up to date changes ?
GkevinOD   12-24-2014, 08:39 AM
mikypark   12-24-2014, 09:19 AM
(12-24-2014, 08:07 AM)GkevinOD Wrote: @mikypark Can you list the steps that the bot takes?

For Example:
1. Start bot
2. Zoom Out
3. Train Troops
4. Start Search

Also tell us what code you added or used so we can specifically tell what the problem may be.

Ok so,since my english is not good,i made a screenshot for explain my problems,hope you can help me,thank you and keep it up.

[Image: 111nz47.png]

Sometimes it just doesn't search opponents,sometimes skip forever,last time i saw 270000 gold 100k elisir and the bot just skipped.

Im using the last version of the bot.
Pages (104):    134 35 36 37 38104   
  
Users browsing this thread: 8 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.