The Bytecode Club - Reverse Engineering Forum
v 5.4.0 - Printable Version

+- The Bytecode Club - Reverse Engineering Forum (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97)
+--- Thread: v 5.4.0 (/showthread.php?tid=221)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


RE: v 5.4.0 - k3iroll - 01-05-2015

Bugs that I encountered after running the bot for 2-3 hours:

1- Cannot locate next button, restarting bot, checking main screen - nothing happens. The bot just sits there doing nothing.

2- White screen


RE: v 5.4.0 - missileplatypus - 01-05-2015

White screen after a few hours as well.


RE: v 5.4.0 - blindpick - 01-05-2015

try this https://the.bytecode.club/showthread.php?tid=221&pid=2619#pid2619


RE: v 5.4.0 - dinobot - 01-05-2015

Can people really try to read post before posting... also for bug reporting. Please use title format and post them in Bug Reporting Section.... So that every can keep track and see the solution easily...

Some has been doing so... thank you... rest please do so...


RE: v 5.4.0 - harshil0014 - 01-05-2015

[1:45:50 PM] ~~~~Welcome to COC Bot Pre-Alpha v5.4!~~~~
[1:45:50 PM] Au3 Script running on X64 system
[1:45:50 PM] Bot is starting...
[1:45:51 PM] Locating Barracks...
[1:46:08 PM] -Locating Complete-
[1:46:08 PM] -Barrack 1 = (467,179)
[1:46:08 PM] -Barrack 2 = (527,200)
[1:46:08 PM] -Barrack 3 = (604,229)
[1:46:08 PM] -Barrack 4 = (634,293)
[1:46:10 PM] Training Troops...
[1:46:12 PM] Barrack 1 is not available
[1:46:16 PM] Barrack 2 is not available
[1:46:19 PM] Barrack 3 is not available
[1:46:23 PM] Barrack 4 is not available
[1:46:24 PM] Training Troops Complete
[1:46:25 PM] ~~~Waiting for full army~~~
[1:46:56 PM] Training Troops...
[1:46:58 PM] Barrack 1 is not available
[1:46:58 PM] Bot has stopped
[1:47:01 PM] Bot has stopped


RE: v 5.4.0 - dinobot - 01-05-2015




RE: v 5.4.0 - Antidote - 01-05-2015

You can test this quick fix for locating train troop button issue (Barrack not available message)

Change this line in Func Train()
    AUTOIT Programming
  1. Local $TrainPos = _PixelSearch(390, 580, 665, 665, Hex(0x687DA1, 6), 10) ;Finds Train Troops button



Or refer to this post: https://the.bytecode.club/showthread.php?tid=236


RE: v 5.4.0 - hervianzhou - 01-05-2015

Dear GKevinOD & Antidote,
i have test your bot v 5.4.0
i have some issue that dropping tropies does not work in hide mode, as far just that the issue i get beside dead base search is also not working,
and also antidote fix is working like charm to my barracks when its not at boost mode,
and i also change vilagesearch() function to make it show for searching a dead base, but i think you can do better,
Code:
Func VillageSearch() ;Control for searching a village that meets conditions
While 1
SetLog("===============Searching For Base===============")
$SearchCount = 0
While 1
If _Sleep(1000) Or $RunState = False Then ExitLoop (2)
GetResources() ;Reads Resource Values
If $Restart = True Then ExitLoop (2)
If CompareResources() Then
If $iradAttackMode = 0 Then
;==================hervian
If $Hide = true Then
GUICtrlSetData($btnHide, "Hide")
WinMove("BlueStacks App Player", "", $botPos[0], $botPos[1])
;$Hide = true;"====
EndIf
;==============hervian
If ZombieSearch() Then
SetLog("~~~~~~~Dead Base Found!~~~~~~~")
If $Hide = true Then
GUICtrlSetData($btnHide, "Show")
$botPos[0] = WinGetPos("BlueStacks App Player")[0]
$botPos[1] = WinGetPos("BlueStacks App Player")[1]
WinMove("BlueStacks App Player", "", -32000, -32000)
$Hide = True
EndIf
ExitLoop
Else
SetLog("~~~~~~~Not dead base, skipping~~~~~~~")
Click(750, 500) ;Click Next
If $Hide = true Then
GUICtrlSetData($btnHide, "Show")
$botPos[0] = WinGetPos("BlueStacks App Player")[0]
$botPos[1] = WinGetPos("BlueStacks App Player")[1]
WinMove("BlueStacks App Player", "", -32000, -32000)
$Hide = True
EndIf
EndIf
Else
ExitLoop
EndIf
Else
Click(750, 500) ;Click Next
EndIf
WEnd
SetLog("===============Searching Complete===============")
ExitLoop
WEnd
EndFunc ;==>VillageSearch

i already that, its only show a sec then back to hide, maybe its distrubing, but still can use while browsing or something else,

Best Regrads,
Hervianzhou


RE: v 5.4.0 - marvinPRO - 01-05-2015

Locate Barracks and Train Troops are Fixed now.
But I found another problem about the "Hide" feature
When the bot is running, I tried to click the "Hide" button and then after few seconds click "Show"
Then, click one of my barracks, then "Boost all"
Then after, this happens on the bot.
The behavior of Bluestacks was like automatically minimizing the actual COC App in Bluestacks.
Then after few seconds, it maximize the COC Window.
Then after few minutes, the bot is NOT actually running.
That's why I decided to "Stop" the bot.
[9:07:53 PM] ~~~~Welcome to COC Bot Pre-Alpha v5.4!~~~~
[9:07:53 PM] Executable running on X64 system
[9:07:53 PM] Bot is starting...
[9:07:53 PM] Trying to get to main screen
[9:11:38 PM] Bot has stopped
[9:11:38 PM] Bot has stopped
In this case, I need to restart the BS and BOT.
I guess the problem was in Background feature.

---------
This is another scenario, hope you can reproduce this.
After I restarted the BS and Bot from the scenario above.
I ran the bot and bs normally.

Then, train() loops, full army, the village search and attack.
After returning home.
The problem above was happened again (Note: I didn't click the "Hide" button in this scenario)
[9:18:04 PM] Training Troops...
[9:18:24 PM] Training Troops Complete
[9:18:25 PM] ~~~Waiting for full army~~~
[9:18:55 PM] Training Troops...
[9:19:08 PM] Training Troops Complete
[9:19:10 PM] Trying to get to main screen
[9:22:48 PM] Bot has stopped
[9:22:51 PM] Bot has stopped

I think, it's better to report this to Bugs section. I'll make new thread for this.


RE: v 5.4.0 - saxmydix - 01-05-2015

tried implemented king drop and working but request trop not working.

here im attach if anyone want to use.

5.4 with king drop