Jump to content
Sign in to follow this  
ogwonder

Bot doesn't work after update

Recommended Posts

  

15 hours ago, PoH98 said:

Locate MainScreen HotFix

Download the ImgXml.zip below and direct paste to the MyBot folder and extract at there. Or put the files into mybot's folder accordingly.

Request Troops Hotfix**

Edit1: If someone used the first fix, remove the Click(335, 235, 1, 0, "#0254") in RequestCC.au3 and use the code below! Sorry for confusing guys!

Edit2: Just found out MyBot have color detection on send request button. Tried to modify it and see if you guys can use it now. Mine is just running fine or is it my bot is buggy now?😂😂

MyBot\COCBot\functions\Config\ScreenCoordinates.au3

Line 63, 64

Original:

Global $aCancRequestCCBtn[4] = [340, 250, 0xCC4010, 20] ; Red button Cancel in window request CC
Global $aSendRequestCCBtn[2] = [524, 250] ; Green button Send in window request CC
Global $atxtRequestCCBtn[2] = [430, 140] ; textbox in window request CC

Change To:

Global $aCancRequestCCBtn[4] = [340, 320, 0xFDDC75, 20] ; Red button Cancel in window request CC
Global $aSendRequestCCBtn[2] = [524, 320] ; Green button Send in window request CC
Global $atxtRequestCCBtn[2] = [335, 235] ; textbox in window request CC

 

MyBot\COCBot\functions\Village\RequestCC.au3

Original:

While Not _ColorCheck(_GetPixelColor($aSendRequestCCBtn[0], $aSendRequestCCBtn[1], True), Hex(0x5fac10, 6), 20)

Change To:

While Not _ColorCheck(_GetPixelColor($aSendRequestCCBtn[0], $aSendRequestCCBtn[1], True), Hex(0xE0F989, 6), 20)

or if above is not working.

While Not _ColorCheck(_GetPixelColor($aSendRequestCCBtn[0], $aSendRequestCCBtn[1], True), Hex(0xdef884, 6), 20)

Below is provided by @Nytol

Posted at here:

Recompile after you done!

Again for lazy people, download COCBot.zip below and compile yourself. If you don't know compile:

Let me know if you can't use it! I will try my best to fix it. Tested on MEmu 3.6.9 with DirectX

imgxml.zip 23.92 kB · 932 downloads

COCBot.zip 10.14 kB · 371 downloads

 

Share this post


Link to post
Share on other sites
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.

Sign in to follow this  

×
×
  • Create New...