Jump to content

Boldina

Senior Member
  • Content Count

    288
  • Donations

    0.00 GBP 
  • Joined

  • Last visited

Community Reputation

137 Outstanding

About Boldina

Recent Profile Visitors

4,086 profile views
  1. In "COCBot\Attack\GetAttackBar.au3:" Find ;Add found Stuff into our Arrays For $i = 0 To UBound($aAttackBarResult, 1) - 1 $aTempArray = $aAttackBarResult[$i] $aTempMultiCoords = decodeMultipleCoords($aTempArray[1], 40, 40, -1) For $j = 0 To UBound($aTempMultiCoords, 1) - 1 $aTempCoords = $aTempMultiCoords[$j] If UBound($aTempCoords) < 2 Then ContinueLoop If StringRegExp($aTempArray[0], "(AmountX)", 0) Then _ArrayAdd($aSlotAmountX, $aTempCoords[0] & "|" & $aTempCoords[1] & "|" & $iRow, 0, "|", @CRLF, $ARRAYFILL_FORCE_NUMBER) $aiOCRLocation[$iRow - 1] = $aTempCoords[1] Else If StringRegExp($aTempArray[0], "(King)|(Queen)|(Warden)|(Champion)", 0) Then _ArrayAdd($aSlotAmountX, $aTempCoords[0] & "|" & $aTempCoords[1] & "|" & $iRow, 0, "|", @CRLF, $ARRAYFILL_FORCE_NUMBER) Local $aTempElement[1][8] = [[$aTempArray[0], $aTempCoords[0], $aTempCoords[1], -1, -1, -1, -1, $iRow]] _ArrayAdd($aAttackBar, $aTempElement) EndIf Next Next Remplace ;Add found Stuff into our Arrays For $i = 0 To UBound($aAttackBarResult, 1) - 1 $aTempArray = $aAttackBarResult[$i] $aTempMultiCoords = decodeMultipleCoords($aTempArray[1], 40, 40, -1) For $j = 0 To UBound($aTempMultiCoords, 1) - 1 $aTempCoords = $aTempMultiCoords[$j] If UBound($aTempCoords) < 2 Then ContinueLoop If StringRegExp($aTempArray[0], "(AmountX)", 0) Then _ArrayAdd($aSlotAmountX, $aTempCoords[0] & "|" & $aTempCoords[1] & "|" & $iRow, 0, "|", @CRLF, $ARRAYFILL_FORCE_NUMBER) $aiOCRLocation[$iRow - 1] = $aTempCoords[1] Else $aTempArray[0] = (StringInStr($aTempArray[0], "Super") <> 0) ? StringTrimLeft($aTempArray[0], 5) : ($aTempArray[0]) ; Team AIO Mod++ SuperTroops fix If StringRegExp($aTempArray[0], "(King)|(Queen)|(Warden)|(Champion)", 0) Then _ArrayAdd($aSlotAmountX, $aTempCoords[0] & "|" & $aTempCoords[1] & "|" & $iRow, 0, "|", @CRLF, $ARRAYFILL_FORCE_NUMBER) Local $aTempElement[1][8] = [[$aTempArray[0], $aTempCoords[0], $aTempCoords[1], -1, -1, -1, -1, $iRow]] _ArrayAdd($aAttackBar, $aTempElement) EndIf Next Next ------------------------------- Find: ;Add found Stuff into our Arrays For $i = 0 To UBound($aAttackBarResult, 1) - 1 $aTempArray = $aAttackBarResult[$i] $aTempMultiCoords = decodeMultipleCoords($aTempArray[1], 40, 40, -1) For $j = 0 To UBound($aTempMultiCoords, 1) - 1 $aTempCoords = $aTempMultiCoords[$j] If UBound($aTempCoords) < 2 Then ContinueLoop If $bDoubleRow And $aTempCoords[1] >= $iYBelowRowOne Then $iRow = 2 If StringRegExp($aTempArray[0], "(AmountX)", 0) Then _ArrayAdd($aSlotAmountX, $aTempCoords[0] & "|" & $aTempCoords[1] & "|" & $iRow, 0, "|", @CRLF, $ARRAYFILL_FORCE_NUMBER) $aiOCRLocation[$iRow - 1] = $aTempCoords[1] ; Store any OCR Location for later use on Heroes Else If StringRegExp($aTempArray[0], "(King)|(Queen)|(Warden)|(Champion)", 0) Then _ArrayAdd($aSlotAmountX, $aTempCoords[0] & "|" & $aTempCoords[1] & "|" & $iRow, 0, "|", @CRLF, $ARRAYFILL_FORCE_NUMBER) Local $aTempElement[1][8] = [[$aTempArray[0], $aTempCoords[0], $aTempCoords[1], -1, -1, -1, -1, $iRow]] ; trick to get the right variable types into our array. Delimiter Adding only gets us string which can't be sorted.... _ArrayAdd($aAttackBar, $aTempElement) EndIf $iRow = 1 Next Next Remplace: ;Add found Stuff into our Arrays For $i = 0 To UBound($aAttackBarResult, 1) - 1 $aTempArray = $aAttackBarResult[$i] $aTempMultiCoords = decodeMultipleCoords($aTempArray[1], 40, 40, -1) For $j = 0 To UBound($aTempMultiCoords, 1) - 1 $aTempCoords = $aTempMultiCoords[$j] If UBound($aTempCoords) < 2 Then ContinueLoop If $bDoubleRow And $aTempCoords[1] >= $iYBelowRowOne Then $iRow = 2 If StringRegExp($aTempArray[0], "(AmountX)", 0) Then _ArrayAdd($aSlotAmountX, $aTempCoords[0] & "|" & $aTempCoords[1] & "|" & $iRow, 0, "|", @CRLF, $ARRAYFILL_FORCE_NUMBER) $aiOCRLocation[$iRow - 1] = $aTempCoords[1] ; Store any OCR Location for later use on Heroes Else $aTempArray[0] = (StringInStr($aTempArray[0], "Super") <> 0) ? StringTrimLeft($aTempArray[0], 5) : ($aTempArray[0]) ; Team AIO Mod++ SuperTroops fix If StringRegExp($aTempArray[0], "(King)|(Queen)|(Warden)|(Champion)", 0) Then _ArrayAdd($aSlotAmountX, $aTempCoords[0] & "|" & $aTempCoords[1] & "|" & $iRow, 0, "|", @CRLF, $ARRAYFILL_FORCE_NUMBER) Local $aTempElement[1][8] = [[$aTempArray[0], $aTempCoords[0], $aTempCoords[1], -1, -1, -1, -1, $iRow]] ; trick to get the right variable types into our array. Delimiter Adding only gets us string which can't be sorted.... _ArrayAdd($aAttackBar, $aTempElement) EndIf $iRow = 1 Next Next -------------------------- Paste In ImgXML\AttackBar AttackBar.zip Compile bot in (x86). @Fliegerfaust @Chilly-Chill
  2. because you shouldn't try attack now, because if you don't start the bot won't read the configuration because it doesn't refresh.
  3. Delete the message above so the user account above is not compromised.
  4. Sorry, I have no internet. You can download the latest git from github and compile it. It is a limitation of the image detection system, I am also working on that.
  5. Can't wait? Did you really set it up? They must check get troops from CSV.
  6. How do you want me to do that in less than 24 hours?! I don't even know how they work, not even unlocked. I am improving the zoom, I already tried it in 2.6 and it worked, yesterday I made some adjustments that I may publish today.
  7. Just wait a moment for me to create everything again.
  8. In a few minutes I upload the update with multiple corrections. New version babys. MBR MyBot v7.8.2 / AIO Mod+++ v3.3.2 / March 30, 2020 https://github.com/boludoz/AIO-Mod/releases/tag/v3.3.2
  9. Please I need your help, there is a user who is harassing me, I would need them to go with him and tell him to stop doing it. https://mybot.run/forums/index.php?/profile/410443-proficlasher/
  10. We are going to make an agreement, I take the disks from you, and you take the disks from me, you leave the dislike to the comment that started everything if you want, you have given me 5 dislikes in a row without reason. It is a fair agreement, if you want you can leave me 5 dislikes, I will remove all the disks, you just have to remove that reaction.
  11. A quick fix will be uploaded per day, now one is being uploaded, I am very sorry but it is a very big project for me alone: ** V3.3.1 ** »Improved: • Base builder: - CheckArmyBuilderBase only if is necesesary. »Fixed: • Auto update. • Base builder: - Fixed images. CSV Go now because the tolerance of the images has been solved. But Need more work. .
  12. check get troops froms csv Sorry, forget to change a tolerance for a couple of images. Thx, it is experimental, it is about everyone helping me to look for errors, we already have the complete bot we just need to repair it. fixed.
  13. Just wait a little longer, I use memu, please take the trouble to translate the text into English, don't take it wrong.
  14. I have a user who is harassing me just because I said that you can have all the kings to the maximum. https://mybot.run/forums/index.php?/profile/410443-proficlasher/ Can anything be done to hide my profile? This will become a snowball.
×
×
  • Create New...