Botit Megathread

Yaskashije

PMT Elite Modder
Original poster
Staff member
Modding-Team
Sep 9, 2018
4,413
838,272
1,213
Minkowski Space
Last edited:

Yaskashije

PMT Elite Modder
Original poster
Staff member
Modding-Team
Sep 9, 2018
4,413
838,272
1,213
Minkowski Space
Some days ago, I posted some info about BotIt since I found it really interesting. Decided to learn a bit about how the code works, and after asking for some tutoring and features to Arazu (member of the developing team), he gladly created them for further improvement of the projects, and to allow the creation of this bot.


For this tutorial, I'll be using the Fate/Grand Order Botit stance, process is the same for any other Botit stance, just changing some names.

So, without further ado, lets start with setup tutorial:


Things we will need:
>Any device that can run the game
>paint.net
>The bot itself
>Less than 30 minutes in set up time (only the 1st time)


Setting up:
We decompress the .rar in the folder we want to have it. Location in itself is not important, but we have to keep track of it.
Content inside the folder should look like this:
1596882841113.png

We open BotitFGO.exe, in the window that opens, press IMG Installer . Now we should have these 2 windows:
1596882872618.png
1596882878339.png

We enter inside img folder, click on the directory and copy it.
1596882895672.png

We go back to Clipper Tool, we click on Core 1, and then Image Maker.
1596882919078.png

We copy img directory into Demo Path
And we fill the empty spaces (except Multi Image) with the following:
>Image Name: with names of those Images that are in the image folder that are not of the form Botit1-10. (This is a Must)
>Button Name & INI Name: Some keyword that will help you remember what image is linked with it. (You can use same as Image Name if you want)
(C or G at the end must not be placed, since they are automatically assigned)
Once they are filled, we press the save button one time, and proceed to refill with the next img info.
Some examples:
1599673520992.png

Once we're done, we close Clipper tool and reopen it.
Now core1 should look like this:
1596882997504.png

(I forgot I had already made one for BotitAtk and have it twice in this example. There's no problem if this happens, but it occupies space in the window, and it can be latter edited)


Now we open the emulator stance and F/GO.
Let's proceed with the image installation process:
If we click on one of the buttons we just added to Clipper tool, a small popup window should appear.
1596883093280.png

(We will ignore AutoScreen and Close gui) We will click the button (in this case BotitAtk). We will then left click on the Emulator stance. Screen will turn yellowish. This means we can now scan the image we will want to save. To get the img, we will visualize a rectangle that should be contained in the click area, we will hold right click on one of its vertices and we will drag the mouse through the diagonal of that rectangle until the opposed vertice. Once we reach it, we stop holding the finger, and screen should return to normal.
1596883116493.png
1596883126773.png

(Sorry for bad quality, but can't take screenshots of this process)

(Don't worry, while you drag, you will be able to see the rectangle that will be screenshoted). If we're not happy with the reult, we can retake it. If we're happy with it, we can proceed to the next one by pressing Close Gui, and going to the next img scan.
(What images should be scanned will be posted in this thread)
Beware, Botit doesnt support size change, so make sure you're always using the same screen size. Even the slight change can screw all the images saved, forcing you to retake them.

>For AutoScreen supportedbot stances, go to the window where the scan has to be done and press AutoScreen. Image will be automatically taken.
(The 1st time you use it, the window will be resized to fit the scans. If after resizing, bot scans but no click is made, restart computer. Everything should perfectly work.)
(AutoScreen is coord based, so it might not fit your Mirror or Emulator stance if it's not the same as the mentioned. This means some imgs might not be taken properly)
1599673580026.png



Paint.net part:
Some buttons have changing backgrounds, and our Rectangles aren't good for that kind of scans, thus, we have to edit them. We proceed by doing the normal scan as it should. For example, in this case, the RESULT that appears once battle ends.
We open BotitEndC on paint.net:
1596883263654.png

We tap on the magic wand that is in the tools panel (or press "S" on your keyboard ). This will allow us to only select similar colors when we click on a pixel. We then click on a pixel of the border we want to delete. We then change the tolerance until it grabs the maximum zone we want it to detect without intruding too much into the zone we want to have scanned (if it intrudes too much, it could trigger the click on places it shouldn't):
1596883339260.png

This one is a fine selection. all background is selected, and there's not a deterring intrusion into the important scan image. Once we have it, we pres "supr" key, and then we save it.
1596883376651.png

(We proceed to repeat the same process with the same botit with the other letter [aka. If we modified BotitEndC, we now modify BotitEndG])
Congrates, all images are set up, and your bot is ready to go.


Starting the bot:
We left click the packman in Botit, a popup window will appear. Once it disappears, we left click the window we want it to attach to. If it worked, that window's name should appear on it.
1596883412489.png
1596883422664.png

We click on the Grind button:
1596883502331.png

There we can modify the timings. Time is in ms (1sec = 1000ms), so if your game and internet connection are fast, you can feel free to modify the timers. We can also choose between GrayScale and Color for scans. I find no difference, so pick whichever you fancy.

Once we're done we press the save button. Botit will restart with the config and the grab window we had the moment we saved.

We click on Mode, and then we select AutoBattle.
1596883475612.png

If game has checkboxes, left option will be chosen when chekmark is empty, right option will be chosen when checked. For example, in the follow example, with both checkboxes unchecked, bot would automatically follow the loop to search for co-op room and wouldn't consume stamina pots.
1596885949761.png


Congrates, the bot is ready, just tap the play button, and it will start doing its thing. If you want to pause it, press the pause button. Press the Pause button again to resume.
1596883554316.png



Showcase:


Enjoy!!
 
Last edited:

TheLGL

Awesome Active Platinian
Skilled
Feb 19, 2020
156
4,192
193
UK
Wow this is really amazing work.
I saw similar bots for facebook games but this is more advanced
great job!
 
  • Like
Reactions: Yaskashije

Yaskashije

PMT Elite Modder
Original poster
Staff member
Modding-Team
Sep 9, 2018
4,413
838,272
1,213
Minkowski Space
Botit F/GO Img set-up:

(As of now, Node farming using normal attacks and autimatic combat are supported)

Botit1: Please tap on the screen, found when you get a reward for clearing some stages.
Botit2, Botit3: That level you want to clear. In my case example there's the next button that appears when doing campaign, and the previous that appears when a chain of stages are in the same spot
Botit4: The skip button when there's dialogue (has to be edited with paint.net because backgrounds change)
Botit5: The yes button in the popup that appears after skip is pressed
Botit6: servant, that appears when you pick a support unit before you start combat.
Botit7: Use them for error popups, like conexion loss or for item chose on some events (like chosing gas in the actual event)
Botit8: Start Quest, for those non-combat quests.
Botit9: Start Combat, that one you tap once you have already chosen a support servant
Botit10: Bonus button, will explain its work later.
BotitA/B/Q: The combat cards. (its still not quite prefected, so sometimes it wont tap on enough cards, or might tap twice on the same. Don't worry since it will end up tapping the 3 cards needed)
BotitAttack: That button you press before chosing the cards
BotitEnd: That big Result I showed in the example that appears when you clear a level.
BotitLevelup: Same as result that appears when your master levels up.
BotitClose: The close button that appears when the support you chose is somebody you don't have in friends list
BotitNext: The next that appears when you get rewards from a level you just cleared
BotitStuck1: if some scan activates when it shouldn't, and there's no way to solve it, you should scan some part of the screen that will only appear when you're stuck. For example, in my case, it sometimes gets stuck in servant selection.
BotitRet1: That button that will allow you to leave the stuck (in my case, a close or return)
Botit10: That button that should be pressed in the screen before the stuck (in my case, Battle start)


Download:
https://github.com/DizzyduckAR/BotIt/raw/master/BotIT Games/FGO V0.1.0.zip
 
  • Like
Reactions: Kazka

Yaskashije

PMT Elite Modder
Original poster
Staff member
Modding-Team
Sep 9, 2018
4,413
838,272
1,213
Minkowski Space
Botit Overlord Mass for the Dead Img set-up:

Video Tutorial for some scans:

(As of now, Co-op, and Event/Story clear are supported on the same stance)
Auto Img Install is also supported for all imgs (not BotitRND) that don't change between users (for example, CIcon Img is not supported, since everyone will place the game's icon in different places) and on Nox stances. You may try it anywhere else, but there's no guarantee scans will be taken properly.

Botit1: Some Return button I can't recall when it appears
Botit2: Quest completed (must crop background)
Botit3: Connection lost popup
Botit4: Cancel button when Game Over occurs.
Botit5: Pandora's Actor face when he gives your daily connection rewards
Botit6-10: Misc scans. No stablished purposes. You may use them as BotitRND (Some examples: Aqua'sface for this event's daily login rewards, the cross at the news window that appears after daily rewards are claimed, Game got Data update popup...)
BotitAuto: When somebody pays revive in a co-op, your auto status is disabled. This reenables it.
BotitCIcon: Icon game has on your wallpaper, game may crash.
BotitCJR: Join a room for co-op farming
BotitCMulti: Button in main screen to join co-op.
BotitCOK: A popup OK button that might appear
BotitCResume: If your game crashes in the middle of a level, a resume popup will appear
BotitCSingle1: Same as CMulti, but for event farming
BotitCSingle2: Scan of the event we want to farm
BotitCSingle3: Some event have a previous screen which shows your progress. We want to scan the To Quest
BotitCStart1: When game is starting, the animation is slow af on some devices, we want to skip it, so scan a part of it
BotitCStart2: Startup screen. Since it has some animated particles, scan the Mass
BotitCTitle: Sometimes, game will send you to title screen after some issue on the co-op match
BotitGO: When Game Over, we scan there to proceed with the game
BotitNextSect2: Once a group of quests is cleared, we need to proceed further. We scan the rightmost diamond of the section.
BotitNextStage/2/3: To advance to the next quest, scan something unique to uncleared stages, like 3 empty stars, or the reward for clearing. On several tests, each device seemed to have it easier on one but problems with the other. You decide what fits better. (There are issues when quest has combat and doesnt, so I left 3 scans to ensure you can proceed in both cases)
BotitNrgRef: If you want to use your stamina pots, scan the use (Havent testd with 0 pots, so beware, Idk if gem spending has the same design)
BotitNrgRef2: The OK popup after you consume an stamina pot
BotitRefresh: The refresh button on co-op room search.
BotitSkip: That skip story popup that appears when starting a quest
BotitStage/2: When you want to join a room, you scan the tags or anything you prefer.(Since Idc and I'm joining any room that appears, I scanned the recommended)
BotitStart: That start that appears in your team customization before you start the actual quest

Note:
This game has bad and erratic load times, and Co-op room search can get stuck in a room is already full loop. I advice testing the Sleep time after click so that refresh button is pressed after the loading time, and not during.

Download:
https://github.com/DizzyduckAR/BotIt/raw/master/BotIT Games/MASS FOR THE DEAD V0.8.0.zip
 
Last edited:

Yaskashije

PMT Elite Modder
Original poster
Staff member
Modding-Team
Sep 9, 2018
4,413
838,272
1,213
Minkowski Space
Botit Grand Summoners Img set-up:

Video Tutorial:

As of now, it supports Arena and Coop farming.

Botit1: When you sign-in for the first time in a day, you will recieve the rewards. Scan the same img there's in the preview.
Botit2, Botit3: Close buttons that will appear afterwards, like news, etc.
Botit6: The game's icon before you open the app.
Botit7: The starting screen
Botit8: If Manage equipment is accidentally pressed, scan the Finish equiping
Botit9: Some OK popup I can't recall now.
BotitArena1: The arena button in the main screen
BotitArena2: Arena battle, from the screen that appears after tapping BotitArena1
BotitArena3: The ready that appears in the screen after tapping BotitArena2. (Beware, this Ready looks really similar, but its different to the other Ready that will be scanned)
BotitArenaR: That Arena that appears below your player rank before a combat in arena is started (appears in the same screen where you scan BotitArena3)
BotitBattle1: In the screen after BotitArena3, you scan the battle button (avoiding to scan the orbs)
BotitBattle2: Before arena battle starts, A VS symbol appears, scan the S
BotitBattleR: The OK button that appears when you recieve the rewards after wining/losing the arena combat
BotitBattleW: The symbol that appears after you win a battle in arena (it will appear before the OK)
BotitCancel: When you're asked to fill the Arena Orbs, scan it.
BotitFood: When you're in a pvp room, scan the assign button option.
BotitFoodSG:Cancel ready button. Sometimes, host hasn't chosen any food yet, and you can't assign it while on ready status.
BotitNoFood: If you don't have same food as host,a popup will appear.
BotitJoin: The Join Multi that appears in main screen.
BotitTeamcoop: The Manage Parties in the screen after tapping Join Multi.
BotitReady1: The ready button that appears in the screen after tapping Join Multi. (Same screen as BotitTeamcoop) (Beware, this Ready looks really similar, but its different to the other Ready that will be scanned)
BotitJoinParty: When you are invited to join a farming party, scan to join or reject (I advice for joining tho)
BotitKick: If you get kicked orroom is cancelled, scanthe ok in the popup.
BotitNext-4: Once a stage is cleared, scan one for every click you have to do.
BotitNext3b: When a new item/unit is acquiered, scan the pitch black zone below.
BotitReady2: The ready that appears inside the Co-op room. (Beware, this Ready looks really similar, but its different to the other Ready that will be scanned)
BotitRefresh: The refresh button in case no interesting Co-op Room appears.
BotitStage: When looking for a coop room, scan for the keyword of the room you want to join (Like the event's name and difficulty)


Notes:
>Once Cancel button in the recharge arena orbs is pressed by the bot, it will stop working for about 30 minutes to let enough time for the next orb to be recharged, this allows for protection against possible bot detection. If you want to keep the bot going, just restart it.
>In order to optimize the bot by minimizing loop time and amount of images, there are some conditionals for some taps to be made.Me sure all scans are properly done, or bot will get stuck (As example, the ready button changes colors, so several scans are to be made for it to be properly tapped, but, several scans increase overall loop time without some conditionals, BotitFood, BotitArenaR, BotitTeamcoop...)

Download:
https://github.com/DizzyduckAR/BotIt/raw/master/BotIT Games/BotIt Grand Summoners V0.2.1.zip
 
Last edited:

Yaskashije

PMT Elite Modder
Original poster
Staff member
Modding-Team
Sep 9, 2018
4,413
838,272
1,213
Minkowski Space
Botit Fire Emblem Heroes Setup:

Video Tutorial:

As of now, it supports HM farm at Rival Domains and Event node farming.

Botit1: Fight button that appears when battle starts and you have the chance to reposition your units.
Botit2: Auto Battle button.
Botit3: AutoBattle popup after you press the previous Auto Battle.
Botit4,5: The Combat finished from Rival Domains. (Requieres paint.net cropping to work properly)
Botit6: Combat finished from event quests (Stage Clear) (Requieres paint.net cropping to work properly)
Botit7: Sip Dialog or story from events/story itself
Botit10: SOK button after you clear a Rival Domains stage.
BotitBattle: The Battle button that appears below (If game doesn't crash, and there's chances bot will get stuck when farming Rival Domains, delete it, even though flow is configured so it doesn't happen)
BotitEvent: The Event swril that appears after pressing the Battle button
BotitEventZ: Which event node you want to farm.
BotitFight1: The fight in the choose team for Rival Domains' popup
BotitFight2: The fight in the choose team for the event stage's popup (both Fight1 and Fight2 are similar but are not for the scan)
BotitGO: Game over screen
BotitGU: Give up option after Game Over screen is tapped (Revivng won't be supported. If you want to consume them, use botitrnd scans at your own risk)
BotitIcon: FEH app icon you press to start the game.
BotitNode: The stage you want to farm in the event section.
BotitNrgRef: The stamina refill popup.
BotitNrgRefC: The close popup after you use up an stamina pot.
BotitRewardI: When you obtain items from an event.
BotitRewardP: When it's not items but is points from Forging bonds (RewardI and RewardP are similar but are not)
BotitRewardR: When yo claim a first time clear of Rival Domains. (This one is optional since its only one click every 5 days)
BotitRivDom: The Rival Domains event afteryou press Special Maps.
BotitSelectS1: Select stage option from some events like TT and Forging Bonds.
BotitSpecMap: The Special Maps in the same screen as Event swirl.
BotitStageRD: The node you want to farm in Rival Domains.
BotitStart: Start Screen. (Requieres paint.net cropping to work properly)




Notes:
>It's advised to use GrayScale
>If game crashes, bot has no scroll option, so it wont be able to enter Rival Domains.

Download:
https://github.com/DizzyduckAR/BotIt/raw/master/BotIT Games/BotIt FireEmblem Heroes V0.1.0.zip
 
Last edited:

Yaskashije

PMT Elite Modder
Original poster
Staff member
Modding-Team
Sep 9, 2018
4,413
838,272
1,213
Minkowski Space
Bot-It Blank.

This is a simple version that comes withan inbuilt flow of 10 images. It is not optimized for any game, but can be used almost everywhere.

Setting it up is really simple. Check where clicks should be made, and scan it assigning an img scan to every click. If you run out of inbuilt img scans, then you can just start using BotitRND.
If some button has dynamic background, use paint.net.
If some button is dynamic in itself, scan it once using botitRND once, and copy-paste it 4 or 5 times in the same folder, renaming each new with a different consecutive number (Aka, if you have botitrnd10c, then the next copy should be botitrnd11c, etc) to have good chances of it being scanned by the bot.

Simple example video tutorial:



Download:
Bug has been found. TBR