Jump to content

LookMomImOnTheWeb

Member
  • Content Count

    30
  • Donations

    0.00 GBP 
  • Joined

  • Last visited

Community Reputation

16 Good

1 Follower

About LookMomImOnTheWeb

Recent Profile Visitors

170 profile views
  1. Not the case of MEmu or bluh bluh. Not even the DLL error as there are no errors in log Make sure you have files in \COCBot\Team__AiO__MOD++\Bundles\OCR\MainScreen If you have, uncompressed PNG image is welcome so @Boldina can check it with the OCR GUI application or whatever.
  2. AIO Mod++ has level 14 elixir collectors support so it can detect dead bases with level 14 Elixir collectors.
  3. Updated the first post with Dissociable.Matching.dll v.1.0.0.3: + Debug Images are now saved in Sub-folders for each Bundle file/dir to be more organized (bundles with small file name/dir name will have some sub-folders name in folder name).
  4. Hello Just the same Dissociable.OCR not going to talk so much LOL But it's a bit more complicated and needs more information than that one lol Here we go. I have coded a DLL file in C# to do Image Matching, Yes it is Dissociable.Matching.dll . But why? why not just simply use ImgLoc? Here we go for some reasons: Alpha Channel support (Ignore Transparent Pixels). Three Pixel Comparison algorithms, Simple per-channel difference comparison, CIE1976 comparison and CIE2000 Boosted Multi-Threading. not processing several template files using Parallel, but processing pixels in a Multi-Threaded manner. Smart! It detects if it costs less time by processing several template files using Parallel instead of Multi-Threaded Pixel Processing. like when the Source Image Height is less than 200. GUI available to debug bunch of Images. Bundling and Bundle extraction. Dependency free! However, ImgLoc also was/is the result of @trlopes's hard work with so many functions that the BOT relying on. Q&A: Q: How can i get all these fantastic things? A: Just click the text below! Dissociable.Matching.GUI.zip Q: I'm getting a message regarding the name. why? A: Because. never rename my boy's name. --- End Q&A --- Documentation Find The 'Find' function has 11 parameters! Parameters and defaults: IntPtr sourceHandle, string templatePath, ushort levelStart = 0, ushort levelEnd = 0, ushort regionX = 0, ushort regionY = 0, ushort regionWidth = 0, ushort regionHeight = 0, ushort threads = 32, ushort limit = 0, bool saveDebugImage = false sourceHandle: hBitmap of source image you willing to search images in. templatePath: The Path to Directory or Bundle (.dmat) file containing template images to search in Source Image. levelStart: The Starting level that the dll will start searching for. Default: 0 = No level limit levelEnd: The Highest level that the dll can search for. Default: 0 = No level limit regionX: The X point that the dll will start from in Source Image. Default: 0 = 0 regionY: The Y point that the dll will start from in Source Image. Default: 0 = 0 regionWidth: The Width of the Rectangle that the dll will search in within the Source Image. Default: 0 = Source Image's Width. regionHeight: The Height of the Rectangle that the dll will search in within the Source Image. Default: 0 = Source Image's Height. Threads: The amount of the threads that the dll will create to search within the pixels. Default = 32 - NOTE: Will not process pixels in a Multi-Threaded manner for Source Images with Height lower than 200. Limit: Limit the number of matches. Improves the performance by not processing leftover template images or the leftover pixels if reached to the limit. Default: 0 = No limit. saveDebugImage: Save Debug Images. If true, two images will be Saved in 'Dissociable.Imaging.DebugImages' Folder located in dll folder. The first one is the Source Image used to search templates in. The second one also is the Source Image, but with marked up found points. NOTE: Second Debug Image will be Saved "ONLY" if it get any matches. NOTE2: Debug Images are saved in Sub-folders for each Bundle file/dir to be more organized (bundles with small file name/dir name will have some sub-folders name in folder name). NOTE: All parameters has to be passed to 'Find' function, but you can use their defaults. GetVersion The 'GetVersion' function has no parameters. this function returns the dll version. CreateBundle / ExtractBundle There are also 'CreateBundle' and 'ExtractBundle' functions. but i recommend you use the GUI. NOTE: GUI also uses those functions of the dll. but you don't need coding 🙂 Template Files They must be a 32-bit png files. Their names must be in this format: ObjectName_MaxDiff_PixelComparisonAlgo_Level.png Defaults: "_0_S_0.png" After the level, you can include anything. doesn't make changes. Available Pixel Comparison Algorithms: CIE76 CIE2000 S (NOTE: S Stands for Simple, anything else than CIE76 (or CIE1976)/CIE2000 will be compared by Per-Channel Difference Comparsion) NOTE: S is so Simple, Fastest comparison. then we get CIE76, it has a few math BUT then we have CIE2000 comparison, its complicated so it is slowest. Examples Example .au3 file and bundle has included within the download archive. Let me know if you have found issues or bugs right in here. Impossible🤴. The GUI Mapping Files Q&A: Q: What is that?! A: GUI can load a 'map' file so you can map your images to it. --- Q: Whats the point of having map files and mapping images?! A: The GUI will always check if that objects and that amount is found. then it will tell you if it Is a Match or Not. Matches are Colored green while NotMatches are Red! --- Q: Wow! so it helps me debug thousands of images within a minute! right? A: Yes! You don't need to see every image's points and debug image. --- Q: Wait what? Debug Image? I still want to see that! where's it? A: Click on the Source Image you want which is listed in the Grid. Surprise. --- Q: How can i create map files? A: place a 'dmat.map.txt' file in the same folder as your Source Images folder. --- Q: Just that? will i have a map file by just creating that txt file? A: No! Map files must have a line 'Per' Source Image, The line format is: FileNameWithExtension:ObjectName|ObjectLevel|ObjectCount --- Q: Can you tell me an example of a line of a map file? A: Why not. SourceImage.png:Elix-14-7|Inferno-6-2 --- Q: What if i don't care to the level or count of the objects? A: Make it like Inferno-0-0 --- Q: Do i need to map all Source Images? A: No, you can even map just one image! the others will have 'NoMap' in their Status column --- Q: Is it even necessary, all these map file things? A: No! It will get you the matches and debug images and all. but just it will not tell you if all required things been found or not, you will get 'NoMap' in status column. --- Q: I'm amazed of all the works you did! what can i do for you? A: Buy me a beer! 16Sod3Ak914m5kHWdDyshgf9k92qLKuCFY (BTC)
  5. @trizolex123 Make sure you have at least 3 files at MyBot\lib\adb folder adb.exe AdbWinApi.dll AdbWinUsbApi.dll Then run the BOT as Administrator
  6. First of all, It's https://github.com/MyBotRun/MyBot/releases/download/MBR_v7.8.4/MyBot-MBR_v7.8.4.zip BUT there's an exception for this release, there is a hotfix so it's not placed in GitHub v7.8.4-Hotfix https://mega.nz/file/sFdj3CiK#uZhYWcwj__sGxwHgumpUwPVSv2jM62dmzjWJsKcsMbI (Temporarily using Mega for the hotfix release)
  7. Updated the first post with GUI v.1.0.0.1: - Fixed the "Extract Bundle" button. -- Updated the first post with GUI v.1.0.0.2: + Added 'Status' Column to the Grid view to make it possible to sort by Status (NotChecked, IsMatch, NotMatch)
  8. It's fixed once @Boldina release the modded 7.8.4. Thanks for the detailed error reporting. Sorry for that! that's checking for the Official version, @Boldina has not released his MOD for 7.8.4 'yet'!
  9. Updated the first post with v1.0.3.0: + Slightly performance improvement + Target Framework is now .NET Framework 4.5 (as MBR minimum requirement)
  10. Wassup ProMac? You can use compilation versions like the ChacalGyn's MOD or Boldina's MOD ChacalGyn's mod is just stable as Official, but Boldina's MOD might be a bit unstable sometimes in some specific features because it's a big AIO mod. You can also ask Mod makers features you want because of the CoC updated things. That way you will get a 'Free' and working Bot as always.
  11. Hello, Hmm, not going to make so many lines to Introduce it all. I have made a new toy that can be used by everyone who needs to add some Text Recognition parts to this BOT. This toy is at least 2X faster than the Official toy (i mean the Official Developers only limited one) according to the benchmark comparison tests we got. This is a simple, small and lightweight .dll file that can be used in AutoIt by DllCall. The .dll itself is not open-sourced yet! i mean it might be, who knows...?! How-To An example .au3 file has been included to the Archive to let you know what parameters it takes and how to use it in AutoIt. How-To make Bundles/OCR files Easily, Crop the Char you want to recognize from an Image Erase (Make transparent) the pixels of the cropped image that usually has different colors in another scenes and images Your cropped image file will be something like the below, save that as a 32-bit png file. The ocr file name has a template! that is: Char_MaxDiff_SomeNumber.png Char: The value that will be returned if it recognize. MaxDif: The Maximum Difference that the Red, Green, Blue or Alpha that is allowed to have in comparison to the Source image, If Source image's first pixel is (Red: 200, Green: 215, Blue: 217) and the OCR image's first pixel has (Red: 180, Green: 200, Blue: 200), with a MaxDiff of 20, it will be a match! Note: Transparent pixels are matches anyway. SomeNumber: Used to make it possible to have multiple files with same char and maxdiff. NOTE: I didn't made it like it delete Duplicated matches in same positions, But why?: That way you're forced to make your bundle carefully and not with bunch of useless ocr files for the same char, results less Ocr files which means a faster recognition It can also read a long width image and delimit the OCR values with " | " I have also made a GUI application for the library to simplify testing bunch of Source images to an OCR Bundle, Creating Bundle files and Extracting them. Everyone can use this toys to extend the OCR functionality of the BOT or their MOD. Thanks to the AIO-MOD team for testing this, they have also implemented this all in their MOD so you can use their Github repo. to see how to implement it in your own MOD or Compilation. Download Dissociable.OCR.GUI.zip Let me know if you have found issues or bugs right in here.
  12. Builder Base attack not working [XX] The Versus Battle begins NOW! [XX] Minion, (110,674), Slot: 0, Count: 10 [XX] Minion, (182,674), Slot: 1, Count: 10 [XX] Minion, (254,674), Slot: 2, Count: 10 [XX] Minion, (326,674), Slot: 3, Count: 10 [XX] Witch, (390,679), Slot: 4, Count: 2 [XX] Witch, (462,680), Slot: 5, Count: 2 [XX] Attack using the [TH5-6]_GiCart script. [XX] Available 6 Camps. [XX] Incorrect troop On Camp 1 - Minion -> BoxerGiant [XX] Click Switch Button 0 [XX] Selected Boxer Giants X:| 245 Y:| 558 [XX] Incorrect troop On Camp 2 - Minion -> BoxerGiant [XX] Click Switch Button 1 [XX] Selected Boxer Giants X:| 301 Y:| 558 [XX] Incorrect troop On Camp 3 - Minion -> CannonCart [XX] Click Switch Button 2 [XX] Selected Cannon Cart X:| 610 Y:| 552 [XX] Incorrect troop On Camp 1 - CannonCart -> BoxerGiant [XX] Click Switch Button 0 [XX] Selected Boxer Giants X:| 245 Y:| 558 [XX] Incorrect troop On Camp 3 - BoxerGiant -> CannonCart [XX] Click Switch Button 2 [XX] Selected Cannon Cart X:| 610 Y:| 552 [XX] Incorrect troop On Camp 1 - CannonCart -> BoxerGiant [XX] Click Switch Button 0 [XX] Selected Boxer Giants X:| 245 Y:| 558 [XX] Incorrect troop On Camp 3 - BoxerGiant -> CannonCart [XX] Click Switch Button 2 [XX] Selected Cannon Cart X:| 610 Y:| 552 [XX] Incorrect troop On Camp 1 - CannonCart -> BoxerGiant [XX] Click Switch Button 0 [XX] Selected Boxer Giants X:| 245 Y:| 558 [XX] Incorrect troop On Camp 3 - BoxerGiant -> CannonCart [XX] Click Switch Button 2 [XX] Selected Cannon Cart X:| 610 Y:| 552 [XX] Incorrect troop On Camp 1 - CannonCart -> BoxerGiant [XX] Click Switch Button 0 [XX] Selected Boxer Giants X:| 245 Y:| 558 [XX] Incorrect troop On Camp 3 - BoxerGiant -> CannonCart [XX] Click Switch Button 2 [XX] Selected Cannon Cart X:| 610 Y:| 552 [XX] Incorrect troop On Camp 1 - CannonCart -> BoxerGiant [XX] Click Switch Button 0 [XX] Selected Boxer Giants X:| 245 Y:| 558 [XX] Incorrect troop On Camp 3 - BoxerGiant -> CannonCart [XX] Click Switch Button 2 [XX] Selected Cannon Cart X:| 610 Y:| 552 [XX] Incorrect troop On Camp 1 - CannonCart -> BoxerGiant [XX] Click Switch Button 0 [XX] Selected Boxer Giants X:| 245 Y:| 558 [XX] Incorrect troop On Camp 3 - BoxerGiant -> CannonCart [XX] Click Switch Button 2 [XX] Selected Cannon Cart X:| 610 Y:| 552 [XX] Incorrect troop On Camp 1 - CannonCart -> BoxerGiant [XX] Click Switch Button 0 [XX] _WaitForCheckXML Error at Camps! [XX] Incorrect troop On Camp 1 - CannonCart -> BoxerGiant [XX] Click Switch Button 0 [XX] _WaitForCheckXML Error at Camps! [XX] ===================== Bot Stop ====================== Boost Everything - Potion boost also not working, i mean not even trying to boost lol Boost Everything - Potion boost fix: MyBot.run.au3 line 808, remove the ; at the start of the line.
×
×
  • Create New...