Jump to content
  • Announcements

    • Fliegerfaust

      Malicious and Banned Links   10/09/2016

      Please be careful of downloading ANY LINKS that are not originating from a MyBot.Run URL or another trusted URL (such as apkmirror.com, bluestacks, memu, xda-developers, etc).   We have banned ALL telegram links and other verified malicious links we have come across already. Users attempting to do this or get around this ban will be banned permanently.   Please report ANY suspicious links to MyBot Staff or pm me directly
    • monkeyhunter

      MyBot.run V7.6.4 RELEASED!   10/25/2018

      MyBot.run continues the legacy again with release of V7.6.4!!   This release supports the June 2018 game update and has some new features hidden inside as well   Get your copy in thread below!!   Click here to get to the release thread MyBot.run v7.6.4 Release
Sign in to follow this  
SithMaster

How to increase wait time for BS start

Recommended Posts

How to increase wait time for BS start

Hi, 

I'm on BS 3.56, Bot 7.6.2 . 

BS takes a bit long to start sometimes when multiple instances are attacking and the bot simply kills the attempt and tries opening BS again. It does this 3 times then Stops. How can I increase the wait time the bot waits for BS to start ? 

Thanks

 

Share this post


Link to post
Share on other sites

This is what is happening: 

 

[8:34:12 AM] Trying to locate Main Screen
[8:34:17 AM] Main Screen located
[8:34:18 AM] Shield has expired
[8:34:32 AM] Total Army Camp Capacity: 145/275 (52%)
[8:34:35 AM] Village Report
[8:34:35 AM]  [T]: 3 428
[8:34:35 AM]  [G]: 5 039 168 [E]: 2 019 602 [D]: 178 194 [GEM]: 3 120
[8:34:45 AM] Open Army Tab
[8:34:46 AM] Total Army Camp Capacity: 145/275 (52%)
[8:34:47 AM]  - 29 Balloons Available
[8:34:47 AM] Troops time: 20.00 min
[8:34:47 AM] Total Spell Factory Capacity: 4/11
[8:34:47 AM]  - 2 Rage Spells Brewed
[8:34:47 AM] Spells time: 18.00 min
[8:34:47 AM] Total Clan Castle Spells: 0/2
[8:34:47 AM] Total Siege CC Capacity: 1/1
[8:34:47 AM]  - 1 Wall Wrecker Available
[8:34:47 AM] Chief, is your Army ready? No, not yet!
[8:34:47 AM] Waiting for  Troops, Spells
[8:34:51 AM] Open Train Troops Tab
[8:34:52 AM] Training 29x Balloons
[8:35:01 AM] Training 3x Lava Hounds
[8:35:04 AM] Training 20x Minions
[8:35:07 AM] Open Brew Spells Tab
[8:35:08 AM] Brewing 3x Rage Spells
[8:35:10 AM] Brewing 5x Haste Spells
[8:35:24 AM] Upgrading Heroes
[8:35:24 AM] Not enough Builders available to upgrade the Archer Queen
[8:35:24 AM] Checking Upgrade Walls
[8:35:24 AM] No free builder, Upgrade Walls skipped..
[8:35:26 AM] Reboot BlueStacks2 (Android) due to configured run-time of 24h
[8:35:26 AM] Stopping BlueStacks2....
[8:35:26 AM] Please wait for full BlueStacks2 shutdown...
[8:35:32 AM] BlueStacks2 stopped successfully
[8:35:33 AM] Starting BlueStacks2 and Clash Of Clans
[8:35:33 AM] Please wait while BlueStacks2 and CoC start...
[8:35:34 AM] Please wait while BlueStacks2 and CoC start...
[8:35:50 AM] BlueStacks2 (Android) running in window mode
[8:36:36 AM] BlueStacks2 Loaded, took 62.64 seconds to begin.
[8:36:38 AM] Waiting for shared folder to get mounted...
[8:37:23 AM] Set BlueStacks2 Display Font Scale to normal
[8:37:27 AM] BlueStacks2 (Android) will be automatically rebooted in 0d 23h 59m
[8:37:27 AM] Launch Clash of Clans now...
[8:37:30 AM] Waiting for Main Screen after BlueStacks2 restart
[8:38:17 AM] Stopping BlueStacks2....
[8:38:18 AM] Please wait for full BlueStacks2 shutdown...
[8:38:23 AM] BlueStacks2 stopped successfully
[8:38:25 AM] Starting BlueStacks2 and Clash Of Clans
[8:38:25 AM] Please wait while BlueStacks2 and CoC start...
[8:38:25 AM] Please wait while BlueStacks2 and CoC start...
[8:38:42 AM] BlueStacks2 (Android) running in window mode
[8:39:27 AM] BlueStacks2 Loaded, took 62.36 seconds to begin.
[8:39:35 AM] Waiting for shared folder to get mounted...
[8:40:18 AM] Stopping BlueStacks2....
[8:40:18 AM] Please wait for full BlueStacks2 shutdown...
[8:40:24 AM] BlueStacks2 stopped successfully
[8:40:25 AM] Starting BlueStacks2 and Clash Of Clans
[8:40:25 AM] Please wait while BlueStacks2 and CoC start...
[8:40:25 AM] Please wait while BlueStacks2 and CoC start...
[8:40:42 AM] BlueStacks2 (Android) running in window mode
[8:41:33 AM] BlueStacks2 Loaded, took 67.45 seconds to begin.
[8:41:34 AM] Waiting for shared folder to get mounted...
[8:42:27 AM] Set BlueStacks2 Display Font Scale to normal
[8:42:31 AM] BlueStacks2 (Android) will be automatically rebooted in 0d 23h 59m
[8:42:31 AM] Launch Clash of Clans now...
[8:42:34 AM] Waiting for Main Screen after BlueStacks2 restart
[8:46:02 AM] Stopping BlueStacks2....
[8:46:03 AM] Please wait for full BlueStacks2 shutdown...
[8:46:08 AM] BlueStacks2 stopped successfully
[8:46:09 AM] Cannot open BlueStacks2, tried 3 times...

Share this post


Link to post
Share on other sites

I am not sure what script to modify in order to allow for a longer wait time before closing BS and trying again. However the advice I can offer since I also run multiple instances, have you tried just opening one MBR+BS combo at a time instead of trying to open them all at once?

Share this post


Link to post
Share on other sites

@Elysium6497 if you mean while starting the bot, then this error doesnt come up while just starting them all in the beginning. It can come any time when Bot tries to restart after Smart wait etc. 

Edited by SithMaster

Share this post


Link to post
Share on other sites

bump, I'm wondering this too.

I'm assuming when this error happens it is because of a built in timeout?

I get this a lot running bluestacks on a vps, would be great if this helps

Share this post


Link to post
Share on other sites

You could change timeout in COCBot\MBR Global Variables.au3, Line 354:

Global $g_iAndroidLaunchWaitSec = 240 ; Seconds to wait for launching Android Simulator

after that, recompile or as script 

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×