Jump to content

Cloud wait too long and bot not respond.


Recommended Posts

This is more likely a request...

Sometimes when network is weak, cloud waitting time can be very long when searching for opponents.

Like below:

[21:33:17]       Not a Dead Base
[21:34:16] Network Connection lost...
[21:34:21] Cloud wait time 1.0 minute(s)
[21:34:44] Network Connection lost, waiting...
[21:35:23] Cloud wait time 2.0 minute(s)
[21:35:24] Enabled bot controls due to long wait time
[21:36:22] Cloud wait time 3.0 minute(s)
[21:37:21] Cloud wait time 4.0 minute(s)
[21:38:01] Network Connection lost...
[21:38:21] Cloud wait time 5.0 minute(s)
[21:39:23] Cloud wait time 6.0 minute(s)
[21:40:22] Cloud wait time 7.0 minute(s)
[21:41:22] Cloud wait time 8.0 minute(s)
[21:42:22] Cloud wait time 9.0 minute(s)
[21:42:45] Network Connection lost...
[21:43:21] Cloud wait time 10.0 minute(s)
[21:44:20] Cloud wait time 11.0 minute(s)
[21:45:23] Cloud wait time 12.0 minute(s)
[21:46:03] Network Connection lost...
[21:46:22] Cloud wait time 13.0 minute(s)
[21:47:22] Cloud wait time 14.0 minute(s)
[21:47:58] Network Connection lost...
[21:48:23] Cloud wait time 15.0 minute(s)
[21:49:22] Cloud wait time 16.0 minute(s)
[21:50:18] Network Connection lost...
[21:50:21] Cloud wait time 17.0 minute(s)
[21:50:48] Network Connection lost, waiting...
[21:51:21] Cloud wait time 18.0 minute(s)
[21:52:22] Cloud wait time 19.0 minute(s)
[21:53:22] Cloud wait time 20.0 minute(s)
[21:54:21] Cloud wait time 21.0 minute(s)
[21:55:21] Cloud wait time 22.0 minute(s)


Is it possible to restart the game or restart Android player when cloud wait too long like reach 3 or 4 minutes?

 

Thank you.

 

Link to post
Share on other sites

IMHO - Need to fix your network problems, not change the wait time code.

 

The game app has very bad habit of getting lost when you constantly have network timeout issues.

End up with bot waiting for game app which is hung and will never respond until emulator is reboot to clear the communication errors created by network issues. 

 

Regardless, The bot will reset app/emulator after 90-240 minutes.  Bot has existing code to automatically reset the search after a random time, and for various reasons (but not consistent network errors).  The length of time varies based on league level and other parameters. You have the source code with every release.  If you want a different wait time, can edit the code as you please.  The $maxSearchCount & $maxLongSearchCount variables in \COCBot\functions\Search\WaitForClouds.au3 function sets the wait time.

 

Best Luck.

Link to post
Share on other sites
15 hours ago, DukeYin said:

This is more likely a request...

Sometimes when network is weak, cloud waitting time can be very long when searching for opponents.

Like below:

[21:33:17]       Not a Dead Base
[21:34:16] Network Connection lost...
[21:34:21] Cloud wait time 1.0 minute(s)
[21:34:44] Network Connection lost, waiting...
[21:35:23] Cloud wait time 2.0 minute(s)
[21:35:24] Enabled bot controls due to long wait time
[21:36:22] Cloud wait time 3.0 minute(s)
[21:37:21] Cloud wait time 4.0 minute(s)
[21:38:01] Network Connection lost...
[21:38:21] Cloud wait time 5.0 minute(s)
[21:39:23] Cloud wait time 6.0 minute(s)
[21:40:22] Cloud wait time 7.0 minute(s)
[21:41:22] Cloud wait time 8.0 minute(s)
[21:42:22] Cloud wait time 9.0 minute(s)
[21:42:45] Network Connection lost...
[21:43:21] Cloud wait time 10.0 minute(s)
[21:44:20] Cloud wait time 11.0 minute(s)
[21:45:23] Cloud wait time 12.0 minute(s)
[21:46:03] Network Connection lost...
[21:46:22] Cloud wait time 13.0 minute(s)
[21:47:22] Cloud wait time 14.0 minute(s)
[21:47:58] Network Connection lost...
[21:48:23] Cloud wait time 15.0 minute(s)
[21:49:22] Cloud wait time 16.0 minute(s)
[21:50:18] Network Connection lost...
[21:50:21] Cloud wait time 17.0 minute(s)
[21:50:48] Network Connection lost, waiting...
[21:51:21] Cloud wait time 18.0 minute(s)
[21:52:22] Cloud wait time 19.0 minute(s)
[21:53:22] Cloud wait time 20.0 minute(s)
[21:54:21] Cloud wait time 21.0 minute(s)
[21:55:21] Cloud wait time 22.0 minute(s)


Is it possible to restart the game or restart Android player when cloud wait too long like reach 3 or 4 minutes?

 

Thank you.

 

 

Hi, 

 

if you familiar with autoit you can edit file waitforcloud.au3

Find line saying SetLog("Cloud wait time

add following lines:

SetLog("Cloud wait time " & StringFormat("%.1f", $iSearchTime) & " minute(s)", $COLOR_INFO)
;----
If $iSearchTime > 10 Then 
$g_bIsClientSyncError = False ; disable fast OOS restart if not simple error and restarting CoC
	$g_bRestart = True
	CloseCoC(True)
	ExitLoop
EndIf
;----

 

it will looks like this:

aWAo05XZTy6SX0V_QwvFUA.png

 

you can adjust that 10 minute if you want

 

cheers 🙂

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...