Jump to content
Sign in to follow this  
ProMac

[3.0.4] Error is DONATION

Recommended Posts

Errors:

• Stuck in Donation

• Don´t read requests ( please first follow the fix : FIX LINK )

• Just give 4 archers instead of 5 ..

the Stuck in donation chat ...  guys do you wanna help!!? we need to be objective , the developers needs to simulate the error for a debug log and try to resolve the error ...

Example : error occurs in Donation .... stuck ....  go to the DonationCC.au3 and edit adding  extra setlog in all code ...

setlog ( " start the function " )

Let´s start with Donation stuck ..... replace my file DonationCC.au3 with extra logs .... after the error sent me the Log for PM please.

This is a regular/normal log :

2015-05-11 00:14:47 : ====== Waiting for full army ======
2015-05-11 00:14:47 : Start : FUNC DonateCC
2015-05-11 00:14:47 : Start - While $Donate :
2015-05-11 00:14:48 : Start While $ClanString:
2015-05-11 00:14:48 : GetString at y:133
2015-05-11 00:14:48 : GetString at y:147
2015-05-11 00:14:49 : Chat Request: ArqueirasMagos Servos
2015-05-11 00:14:49 : Start the Donation Troops :
2015-05-11 00:14:49 : Start of FUNC CheckDonateTroop
2015-05-11 00:14:49 : Start loop General Blacklist ....
2015-05-11 00:14:49 : Start loop Keyword Blacklist ....
2015-05-11 00:14:49 : Start loop found words ....
2015-05-11 00:14:49 : Archers Keyword found: arqueiras
2015-05-11 00:14:49 : STAR FUNC DonateTroopType :
2015-05-11 00:14:49 : click Donation pixel...
2015-05-11 00:14:49 : Capture Region
2015-05-11 00:14:49 : Start loop While NOT
2015-05-11 00:14:49 : End loop While NOT
2015-05-11 00:14:49 : Color Check Donation Pixel... OK
2015-05-11 00:14:49 : Donating Archers
2015-05-11 00:14:50 : Click on slot donation OK
2015-05-11 00:14:50 : Start loop FOR assign the troops quantity :
2015-05-11 00:14:50 : - Arch
2015-05-11 00:14:50 : Start loop FOR assign the Dark troops quantity :
2015-05-11 00:14:50 : click (1,1)
2015-05-11 00:14:50 : END FUNC DonateTroopType
2015-05-11 00:14:51 : END - While $Donate
2015-05-11 00:14:51 : color check (331,330) and click

All posts that have nothing to do with this topic will be deleted

DonateCC.au3

Share this post


Link to post
Share on other sites

Did you replace the file  DonateCC.au3   in the folder :  \COCBot\functions\Village\

and is not the file for fix , is the file to extract more log texts to help developers to find the error ...

Share this post


Link to post
Share on other sites

Here are what I get :

[4:20:25 PM] Start : FUNC DonateCC

[4:20:25 PM] Start - While $Donate :

[4:20:26 PM] Start While $ClanString:

[4:20:26 PM] GetString at y:133

[4:20:27 PM] GetString at y:147

[4:20:28 PM] Chat Request: J ai besoin de troupes de renfort

[4:20:28 PM] Start the Donation Troops :

[4:20:28 PM] Start of FUNC CheckDonateTroop

[4:20:28 PM] Start loop General Blacklist ....

[4:20:28 PM] Start loop Keyword Blacklist ....

[4:20:28 PM] Start loop found words ....

[4:20:28 PM] Archers Keyword found: renfort

[4:20:28 PM] STAR FUNC DonateTroopType :

[4:20:28 PM] click Donation pixel...

[4:20:28 PM] Capture Region

[4:20:28 PM] Start loop While NOT

[4:20:29 PM] Loop N:1

[4:20:29 PM] Loop N:2

[4:20:29 PM] Loop N:3

[4:20:30 PM] Loop N:4

[4:20:30 PM] Loop N:5

[4:20:30 PM] Loop N:6

[4:20:30 PM] Loop N:7

[4:20:31 PM] Loop N:8

[4:20:31 PM] Loop N:9

[4:20:31 PM] Loop N:10

[4:20:32 PM] End loop While NOT

[4:20:32 PM] No Archers available to donate..

[4:20:43 PM] ==================== Bot Stop ====================

[4:20:43 PM] Waiting for Main Screen

[4:20:43 PM] Waiting for Main Screen

[4:20:43 PM] Waiting for Main Screen

[4:20:44 PM] Waiting for Main Screen

[4:20:44 PM] Waiting for Main Screen

[4:20:44 PM] END - While $Donate

10 seconds after the : [4:20:32 PM] No Archers available to donate.., I stopped the bot, and then it bluestack goes to start screen / coc / start screen / coc.

And of course, I had 100+ archers lvl 6.

And if I don't stop the bot, the bot will restart coc after many minutes.

Share this post


Link to post
Share on other sites

[2:06:15 AM] Start : FUNC DonateCC

[2:06:15 AM] Start - While $Donate :

[2:06:16 AM] Start While $ClanString:

[2:06:16 AM] GetString at y:133

[2:06:16 AM] GetString at y:147

[2:06:16 AM] Chat Request: arch farm archers pana

[2:06:16 AM] Start the Donation Troops :

[2:06:16 AM] Start of FUNC CheckDonateTroop

[2:06:16 AM] Start loop General Blacklist ....

[2:06:16 AM] Start loop Keyword Blacklist ....

[2:06:16 AM] Start loop found words ....

[2:06:16 AM] Archers Keyword found: archers

[2:06:16 AM] STAR FUNC DonateTroopType :

[2:06:16 AM] click Donation pixel...

[2:06:17 AM] Capture Region

[2:06:17 AM] Start loop While NOT

[2:06:17 AM] Loop N:1

[2:06:17 AM] Loop N:2

[2:06:17 AM] Loop N:3

[2:06:18 AM] Loop N:4

[2:06:18 AM] Loop N:5

[2:06:18 AM] Loop N:6

[2:06:19 AM] Loop N:7

[2:06:19 AM] Loop N:8

[2:06:19 AM] Loop N:9

[2:06:20 AM] Loop N:10

[2:06:20 AM] End loop While NOT

[2:06:20 AM] No Archers available to donate..

[2:06:49 AM] ==================== Bot Stop ====================

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:51 AM] Waiting for Main Screen

[2:06:51 AM] Waiting for Main Screen

[2:06:51 AM] END - While $Donate

stuck in donating... this happens when there is no trained troops.. it's weird because in previous version it would just continue to train troops.. but in this 3.0.4 its just stuck

Share this post


Link to post
Share on other sites

I resolve this by changing

In file DonateCC.au

SetLog("Donating " & NameOfTroop($Type), $COLOR_GREEN)

Click(237 + ($Slot * 82), $DonatePixel[1] - 10 + $YComp, 8, 100)

in

PureClick(237 + ($Slot * 82), $DonatePixel[1] - 10 + $YComp, 8, 100)

and in RequestCC.au

i change all click by PureClick

and request work for me

Share this post


Link to post
Share on other sites

I resolve this by changing

In file DonateCC.au

SetLog("Donating " & NameOfTroop($Type)' date=' $COLOR_GREEN)

Click(237 + ($Slot * 82), $DonatePixel[1'] - 10 + $YComp, 8, 100)

in

PureClick(237 + ($Slot * 82), $DonatePixel[1] - 10 + $YComp, 8, 100)

and in RequestCC.au

i change all click by PureClick

and request work for me

Seems to work for two or 3 donations. But after that it still unable to read the rest of the donation request.

Edit:

Well this will work while dev finding some solution... It donate for 2 to 3 times then unable to rest of the request but i forgot that the process will loop again and this time it read the request that is unable to read earlier

Thanks for this.

Share this post


Link to post
Share on other sites

[2:06:15 AM] Start : FUNC DonateCC

[2:06:15 AM] Start - While $Donate :

[2:06:16 AM] Start While $ClanString:

[2:06:16 AM] GetString at y:133

[2:06:16 AM] GetString at y:147

[2:06:16 AM] Chat Request: arch farm archers pana

[2:06:16 AM] Start the Donation Troops :

[2:06:16 AM] Start of FUNC CheckDonateTroop

[2:06:16 AM] Start loop General Blacklist ....

[2:06:16 AM] Start loop Keyword Blacklist ....

[2:06:16 AM] Start loop found words ....

[2:06:16 AM] Archers Keyword found: archers

[2:06:16 AM] STAR FUNC DonateTroopType :

[2:06:16 AM] click Donation pixel...

[2:06:17 AM] Capture Region

[2:06:17 AM] Start loop While NOT

[2:06:17 AM] Loop N:1

[2:06:17 AM] Loop N:2

[2:06:17 AM] Loop N:3

[2:06:18 AM] Loop N:4

[2:06:18 AM] Loop N:5

[2:06:18 AM] Loop N:6

[2:06:19 AM] Loop N:7

[2:06:19 AM] Loop N:8

[2:06:19 AM] Loop N:9

[2:06:20 AM] Loop N:10

[2:06:20 AM] End loop While NOT

[2:06:20 AM] No Archers available to donate..

[2:06:49 AM] ==================== Bot Stop ====================

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:49 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:50 AM] Waiting for Main Screen

[2:06:51 AM] Waiting for Main Screen

[2:06:51 AM] Waiting for Main Screen

[2:06:51 AM] END - While $Donate

stuck in donating... this happens when there is no trained troops.. it's weird because in previous version it would just continue to train troops.. but in this 3.0.4 its just stuck

I resolve this by changing

In file DonateCC.au

SetLog("Donating " & NameOfTroop($Type)' date=' $COLOR_GREEN)

Click(237 + ($Slot * 82), $DonatePixel[1'] - 10 + $YComp, 8, 100)

in

PureClick(237 + ($Slot * 82), $DonatePixel[1] - 10 + $YComp, 8, 100)

and in RequestCC.au

i change all click by PureClick

and request work for me

Seems to work for two or 3 donations. But after that it still unable to read the rest of the donation request.

Edit:

Well this will work while dev finding some solution... It donate for 2 to 3 times then unable to rest of the request but i forgot that the process will loop again and this time it read the request that is unable to read earlier

Thanks for this.

other than donation issues, lately my crappy PC keep shutting down after several hours due to some overload. now it's safe to say that loops is the cause of it. but i still figuring out what cause of the loops.

i have an idea, maybe the donation should behave like this:

-open chat > delay 1 second > donate.

-instead of open chat > donate.

Share this post


Link to post
Share on other sites

I confirm with 5 donations that follows , the last does not work and is still blocked . as if the dialog is not positioned in the same way.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...