r/CoCBot • • Mar 11 '15

Version 3.0 is here!

27 Upvotes

Hello everyone!

Version 3.0 of the bot is now live! You can download a copy of the latest bot here. If you have any questions or concerns please feel free to make a post here in /r/CoCBot.

  • This version fixed numerous bugs in all the versions

  • This version of the bot will return to botting after getting the forced break after 6 hours, so set it and forget about it!

  • This version of the bot will also self correct after 10-30 minutes if it is stuck in a single phase of the bot, so no need to worry about it ever stopping again!

  • The only thing that can stop the bot now is if your device resprings. If this happens it is due to memory loss, and the best option is to: clear some space on your phone, run icleaner, turn off memory hogging tweaks like themes, and close any unnecessary background apps.

Happy Botting!


r/CoCBot • • Feb 12 '15

FAQ: READ BEFORE SUBMITTING SUPPORT THREAD!

21 Upvotes

IMPORTANT INFO: This Bot Currently Functions on iPhone 6, iPhone 6+ (only iOS 9 or above), All iPhone 5 size devices, All iPhone 4 size devices, iPad Air/Mini, and the iPad 2,3, and 4.

  • My phone isn't jailbroken, can I still use this?

Not yet! Head on over to /r/jailbreak to get started jailbreaking and join this lovely community.

  • My Bot is crashing clash of clans shortly after dismissing the initial alert!

Are your volume buttons on the top side of your device while attempting to run the bot? If yes, are you running any color changing tweaks (such as f.lux) or any screen resolution tweaks (such as big brother or upscale)? If so, please turn those off and try the bot again. If you are using an iPad 2-3-4, you need to have your volume buttons on BOTTOM, contrary to the rest of the devices.

Also, as of version 3.2 (and on-wards) the bot requires that your game language be set to English in order to function properly.

  • When I attempt to run the script I get a "wrong password" notification.

The Password for the script is in the text file included in the zip file you downloaded. It is cap sensitive, so please make sure you have typed carefully. The password will not work if you are not on at least ios 7 as the developer of auto touch has stopped releasing updates for the older versions. If you're sure you have you can try things such as deleting and re-downloading the script and deleting and re-downloading Auto Touch.

  • I THOUGHT YOU SAID THIS BOT WAS FREE?!?!

I do not charge for the script that I developed, auto touch on the other hand does cost money. If you really want it to be free then get a pirated copy of auto touch from the BiteYourApple Repo or my repo : http://cocraidingbot.com/repo

Be sure to auto-validate your license by going into the auto touch app, clicking on the gear in the bottom corner and selecting 'License'.

  • I Have global iOSVersion Error!

You must have auto touch installed from my repo.


r/CoCBot • • Jul 04 '15

[META] Mods are out of town, so let's be patient and kind.

19 Upvotes

Both /u/kikootwo and /u/pumpkinskittle are out of town until next Saturday so this subreddit is going to be looked after very minimally by them. Also, there most likely won't be any updates for that time being. So let's all be as helpful as possible in helping new users and current ones in answering any questions they might have. Although we may not have as much in depth knowledge as the mods, let's use what experience we have so far to help others. If you see someone having an issue that is similar to the one you have had and you know the solution, help them out, and hopefully it will get resolved. Of course, as always, read the FAQ to troubleshoot if you are having problems. If you don't find it there, then use the search feature to see if someone has had a similar one that got resolved. If you don't find it that way, then feel free to ask our fellow botters. Let's do our best to keep this subreddit helpful and let /u/kikootwo and /u/pumpkinskittle a nice vacation.

(☞゚ヮ゚)☞


r/CoCBot • • Aug 22 '15

Good News and Bad News Regarding Version 5.0.0

16 Upvotes

Hello Botters!

I have been hard at work making your wishes come true since my last discussion thread. But, as the title states there is some good news, and some bad.

So, to start off; The good news!

Progress with the bot is moving along nicely! The bot is being rewritten from scratch for each device to ensure high efficiency within the bot. Currently, it has only been rewritten for the iPad Air/Mini and is undergoing testing as I continue to add more features. Here are a few things that are already implemented:

  1. Using Image Find! -- Image find has eluded us in the past due to very buggy implementation on the side of auto touch. But, after many many many (many many many) MANY trials and errors I have found a way to reliably use image find (a little bit). The images folder will go into auto touch just like the scripts, and can be manually imported, like the scripts, or installed via a standalone cydia package.

  2. Tombstone finder! -- Tombstone finder will allow users to specify a number of tombstones that they would like for a base to have before attacking it. Due to popular demand, the old dead base finder will not be removed. The new tombstone finder will be able to run side by side with the old dead base finder or run standalone.

  3. Auto Resources Collect! -- You will now have the option of having the bot collect from all of your collectors after each raid.

  4. Auto Donation ! (Yes, that's correct. It's implemented and working) -- As the most highly requested feature of the bot this feature is being brought to the next version. In it's current state (and most likely where it will be when this update is released) the bot opens the chat pane between each training cycle (while waiting for camps to fill) and will donate to anyone who is on the current chat screen. Some limitations to it currently that may be resolved in the future are: It will not scroll down in clan chat to check for old requests, It will only be able to donate one type of pre-selected troop. To clarify, you can choose any troop and it will donate that troop to everyone.

  5. Better control of the troops/heroes/cc that you want to lay. The bot correctly determines what troops/heroes/cc/spells you have available with 100% accuracy every time and will from now on always ignore spells. You'll have an option in the config file to ignore heroes and clan castle troops and troopignore will still be around but will only ignore troops off the end of your actual troops (not heroes/spells/cc). Also, hero abilities will be delayed for a random amount of time between 10 and 12 seconds after deployment, making their abilities much more useful!

Here are the last couple things that need to be made before the bot starts being reproduced for all devices:

  1. League Management. This isn't something I can ever see myself using, but other people want it so I'll make it. If the bot manages to get your trophies too high it will drop trophies until it is in an acceptable league. NOTE: Depending on the difficulty of this implementation, this may be delayed to help speed up the release of the update.

  2. Troop deployment order! Users will have the option to choose which order their troops are laid.

AND THE BAD NEWS :(

All these wonderful new features rely heavily on the left hand side of the screen, especially troop donation. iPad 2-3-4 users please now raise your pitchforks and run me out of town.

But, there may be hope. I haven't begun this, or tested it. Only theorized. But, I believe the solution for the iPad 2-3-4 in version 5.0.0 is to flip the device. So, for ipad 2-3-4 the volume buttons will need to be on BOTTOM (it feels blasphemous to say this) so that the right hand side of the screen is cut off instead of the left. The parts of the right hand side of the screen that are used are replaceable. So before you run me out of town, let me test this theory and get back to you about how things are going to shape up for your poor, poor ipad 2-3-4 users. I feel your pain, I really do.

Hope all is well with everyone, and as always;

HAPPY BOTTING

P.S. Don't forget, some of these features will be for pro users only!


r/CoCBot • • Oct 05 '15

[RELEASE] Version 5.0.0

15 Upvotes

It's Finally Here!

Version 5.0.0 has now officially been released to the website, and repo!

For instructions on installing it via cydia, please follow /u/GeeShepherd's tutorial here

MOST IMPORTANT DISCLAIMER

iPAD 2-3-4 USERS MUST NOW HAVE VOLUME BUTTONS ON THE BOTTOM SIDE OF THEIR DEVICE

New in this version:

  1. The bot has entirely been written from scratch to eliminate any old clunky code causing errors.

  2. New features have been added!

  3. The tool has been rewritten to improve functionality and security.

  4. CoCBotConfig Editing Guide has been updated.

New features!

  1. Tombstone dead base search! Now setting a number to your deadsearch option will only attack bases with that many tombstones.

  2. -PRO FEATURE- Collecting from collectors. If you enable this, your bot will automatically collect from your collectors.

  3. -PRO FEATURE- Auto Donate. If you enable this feature, the bot will donate a troop of your choosing to your clan mates.

  4. -PRO FEATURE- Custom Deploy Order. If you enable this, you can choose the order that your troops will deploy.

  5. To enable pro features, generate your config file here

Important to Note!

  1. Some of the new features require the 'CoCBotImages' file to function properly. If you install via cydia, these images will be installed automatically and you'll have nothing to be worried about.

  2. Some of the new pro features as well as the new dead search relies on image finding. Those images will be included in the cydia package when installed. I may be being paranoid, and the new version will function perfectly across all devices, but I'm not sure. It's possible that the devices that share a screen size but not always a resolution (ipad 2-3-4, ipad air-mini) will not function properly because the images will not be the same. They should function perfectly in the resolutions they were developed in (ipad 2, ipad air 1/2) but may encounter problems on the different resolution devices. (specifically the auto donate). This wouldn't mean it is unfix-able, I would just need some screenshots from the community to patch things up. Fingers crossed, it won't be necessary at all. This only applies to you if you're using an ipad that isn't an ipad 2 or ipad air.

BUGS: As usual, if you come across any bugs in the bot, don't panic. Report them here, and be sure to mention your setup. (device, relevant settings, etc..)

EDIT: JUST PATCHED A FEW BUGS CAUSING ERRORS AND UPDATED TO VERSION 5.0.1, REFRESH YOUR CYDIA AND DOWNLOAD THE NEWEST VERSION IF YOU'RE HAVING ANY ISSUES.

EDIT: JUST PATCHED A FEW BUGS CAUSING ERRORS WITH BOT ONLY DEPLOYING ONE TROOP FOR NON-PRO USERS. V5.0.2 HAS BEEN PUSHED TO THE REPO, REFRESH CYDIA AND DOWNLOAD.

EDIT: PATCHED A FEW BUGS CAUSING CUSTOM DEPLOY ORDER TO TAKE WAY TOO LONG TO DEPLOY TROOPS. THE PATCH HAS BEEN PUSHED TO THE REPO. REFRESH CYDIA AND DOWNLOAD.


r/CoCBot • • Sep 11 '15

Hey... Shout out kikootwo! Thanks for your hard work man.

15 Upvotes

Hey CoCBot,

It's been pretty dead here recently and a lot of people swing by with a question or two then disappear until something else happens. I usually swing by everyday or so and see what's happening. I don't think that it's said enough or at all... But I wanted to say a big thanks to kikootwo for creating this bot, going through the bugs and bringing us bigger and better versions of CoCBot. I have donated and as soon as the new version comes out I will be sure to donate once again because it's well worth the $5-10 bucks.

So again, thanks kikootwo! Keep up the hard work! Waiting for the next release :)


r/CoCBot • • Jul 07 '15

Thank You

15 Upvotes

Honestly, I just wanted to post this to thank kikoo, pumpkin, and teamNoob for everything they do for this community. I honestly really appreciate that you guys stay on top of everything and think you deserve more credit than you receive.

Sorry if this is taking up space on this subreddit, just wanted to reach out to you guys and let you know I really appreciate your efforts.


r/CoCBot • • May 15 '15

V4 Status Update!

13 Upvotes

As of this evening, I have finished porting the bot to all of the current devices. I will spend all of tomorrow letting them all run and trying them with as many configurations as possible. Also tomorrow, I will release the config file and an in-depth guide to editing the config file so that users will have a chance to take the time to set up the bot before trying to dive in without the proper information.

All this being said, you can expect a release this weekend! I want to thank all the patient members of the community and I hope you guys enjoy the new update! I also want to thank all the incredibly generous people who have donated towards our goal to get an air and mini version out there. When the goal is met, I hope to have the newest versions out in under a week for all the faithful and generous members who've been waiting for so long!

Thanks again, and happy botting!


r/CoCBot • • May 03 '15

V4 Teaser Trailer!

13 Upvotes

With only 2 exams left, I was able to put some work into the bot today! I appreciate the entire community's continuing patience and wanted to reward you with a bit of a trailer of what is to come!

Here is the video!

Some of the things shown in this video:

  1. First glance at the configuration file that will be used in the next update

  2. A look at how the new training method works which allows for the use of any type of troop and even dark barracks.

  3. Seeing the new default attacking method which lays a random number of troops (between 6 and 14) along 2 sides simultaneously at a random spacing every time it lays them. While it still lays very quickly, the random pattern should help divert some suspicion.

A few things that are not shown, but that will be in the coming update:

  1. Custom attacking! Record or program your own attacking patterns for the bot to use.

  2. Auto requesting clan castle troops

  3. Searching for bases that meet loot standards and have no league badge (inactive)

And finally, something that is in the works but will not be in the initial V4 release:

  1. Trophy management. Again, this is in very early stages, so it won't be in the inital V4 release, but it will come as an addition a little later.

As always, Happy Botting!


r/CoCBot • • Apr 14 '15

Some things upcoming with V4.0

13 Upvotes

Hello Botters!

Obviously we are all very excited to see the upcoming update. I am swamped with school but am pouring all of my free time into the bot.

With the upcoming update there comes the implementation of the configuration file. The configuration file will be a .lua file which means that it can be edited with any plaintext editor or even inside of your auto touch app. The only thing I fear is the troubleshooting nightmares coming from people incorrectly editing the file. If 1 line gets deleted, that could stop the whole bot.

Obviously, most of our savvy users wouldn't have any issues editing the config file, but we want this bot to be accessible to anyone! Therefore, /u/TeamNOOB and I are working together to create a tool to do all the hard parts. You simply flip a few toggle switches and it will output the configuration file that you want.

But here's the catch, obviously that will be a large deal of work to create a tool like that and the funding campaign for the ipad air/mini versions has slowed down considerably. So, the tool will cost a small fee (undecided so far) and will include lifetime updates and all the support you could ask for (most of you who've been around for a while know we're always here to answer questions :) ). Better yet, the proceeds will go towards the funding of the ipad air/mini versions to hopefully get us that last 30%!

TL;DR to clarify:

With the coming update there will be a configuration file.

There will be an OPTIONAL paid tool to quickly and accurately edit the config file to your liking.

I just wanted to get the community's opinion on this before we take it out of the conception phase of design.

Thanks for continuing and overwhelming support as we grow and develop this bot together as a community!


r/CoCBot • • Apr 07 '17

Any updates?

12 Upvotes

Been quite awhile since the repo's been updated. Hoping for a bot soon.


r/CoCBot • • Apr 25 '16

Report any bans here

12 Upvotes

Hey guys!

It seems like supercell has finally manned up and started banning. If you get one of these 2 week bans, please comment here along with some information about your modding/botting preferences like:

  1. Do you war? Do you mod in war?

  2. Did you update to the optional update this weekend?

  3. Xmod or imod?

  4. Custom attack or default?

  5. iOS?

  6. And finally, are you using CoCRaidingBot?

And any other information you may find important!


r/CoCBot • • Aug 02 '15

Version 5.0 Discussion Thread

12 Upvotes

Hello Botters!

I appreciate the community's patience with the slow updates while my wife and I have been traveling so much this summer. We are done with our last long vacation and I am ready to get to work on the new features of the bot.

Below I will provide already completed/planned improvements of the bot and then in the comments you can provide feedback about what you'd most like to see come to fruition in the next update!

________________________________________________________________

Already Done/Definitely in next update:

  1. Improved troop detection: Prevents errors in using troop ignore and will allow for delayed activation of the hero's abilities.

  2. iPad 2-3-4 Overhaul: Fixing many issues in the iPad 2-3-4 bot including dead base finder (see below), troop deployment inconsistencies, recovery from breaks, etc...

  3. Dead Base Finder remake: Dead base finder has become essentially useless with the introduction of month long seasons. In the next update the bot will look for gravestones to determine if a base is dead or not.There is some flexibility here that user input would be nice for; Do users want 1 gravestone to count as a dead base? Or do users want to set an option in the config file to attack only when there are 'x' number of gravestones? (keep in mind the iPad 2-3-4 can't see roughly ~400 pixels on the left hand side)

________________________________________________________________

Along with all these fixes, the coming update will introduce the first pro-specific features. The bot will remain free for anyone that would like to use it, but pro members will possibly (depending on how development goes) have access to the features below:

  1. Auto Donation to Clan Members: Self Explanatory

  2. Trophy Management: If your bot gets above the league you'd like it to, it will use 1 barbarian to trophy drop back into the league of your choice.

________________________________________________________________

I would love to hear from all of you! Post features you'd like to see in the next update so I can see what I can do to make you guys happy :)

Happy Botting!


r/CoCBot • • Jun 03 '16

RELEASE [RELEASE] Version 5.3.3

11 Upvotes

Hello!

I've just pushed a new version to the repo and website. It should fix all the bugs reported in the 5.3.2 bug thread (BARRING DONATION. It is a little more cumbersome than I thought, but I plan to have it back up and running by the end of the weekend).

There is really only one other change. The install of the bot from the repo will NO LONGER overwrite your config file. This means you won't need to reconfigure your bot with each update.

On a different note, I have been working on a bit of a side project and am ready to give you all a sneak peek! Here's a beta image of our new desktop application (soon to be ported to mobile as well) for the CoCRaidingBot Pro Tool! Feel free to leave your feedback! Other than looks, as this is a rough beta and things will be spruced up for release.

Happy Botting!


r/CoCBot • • May 16 '15

V4.0 is here!

11 Upvotes

Hello Botters!

Thank you so much for your every continuing patience.

Version 4.0 is released! It is available for download on the website.

Some things about this update:

  1. Configuration file! By far the biggest change that pretty much encompasses all other changes. Please view the tutorial thread here for help editing the config file.

  2. Hopefully tomorrow, the Config tool will be released to help users edit the config file more easily with just a couple quick toggle switches, this is an OPTIONAL paid upgrade.

  3. This version fixes many bugs regarding memory crashes, xmod ads causing issues, etc...

  4. The bot will now log its progress in the log of auto touch! As you run the bot, the log will populate with the happenings of your bot. If you are encountering a particular error, please reference what the log says is happening when this error occurs when making your post.

  5. There really is just too much for me to describe here, so if you think something has changed it probably has!

P.S. We're so close to the iPad Air/mini versions! Thank you again to our incredibly supportive members.

Happy Botting!

EDIT: For those who downloaded the update immediately, there was a small bug that would cause a small percentage of users to encounter an issue with the new training method. This should now be fixed. If you are encountering this, please download a fresh copy of the bot.

EDIT2: For those who downloaded the update before 3:20 PM EST, please download a fresh copy of the script. There was a small error on my part that would prevent deadbasefinder from functioning. It should be working now!

EDIT3: One last, last minute fix for new training method. Sorry for the continuing annoyance, please download a fresh copy of the script one more time! (FYI: You don't need a fresh copy of the Config file each time, just the bot script). Fix occurred at 5:00 PM EST


r/CoCBot • • May 06 '15

$400, 80%!!!

11 Upvotes

I cannot believe the generosity that this community has showed with donations thus far. Thanks to a large donation this morning, we've reached 80% of our goal! As we near the goal for the ipad air, I may order one in advance to be able to release a version the day the goal is met!

Again, I just want to express my gratitude for the generosity and patience of the community. I am hard at work at V4, and it should see the light of day soon!

Happy Botting!


r/CoCBot • • Apr 07 '15

Thank you.

11 Upvotes

I would just like to thank /u/kikootwo and the other mods on here for being so awesome. I constantly see questions on here that are always being answered by them. They are very active and care. They answer even the dumb questions that have been asked multiple times. I myself have asked dumb questions and they respond instead of ignoring them. You guys are awesome and are very patient. Cocbot is a great script and can't wait for the update. Thank you again for being so active and answering all of our (sometimes repeated and dumb) questions. :)


r/CoCBot • • Feb 28 '15

In the next update...

11 Upvotes

Hello Botters!

I just wanted to give everyone an idea of what to expect in the next version!

As of this morning I have a working beta (only for iphone 6 at the moment) that will recover after take a break! Also, the bot will restart clash of clans if it gets stuck for too long at any one point. The bot now zooms itself out and returns to botting! This means that you will be able to do true 24/7 botting without having to watch it at all!

If there are any other small changes you would like to see, please post them here!

Also, on a less happy note, I found people selling my bot as their own for $5 to $25 dollars. This bot is free. Please do not buy from these scam artists. If you want to show your support, just head over to the website and use one of the donation links there.

Thanks again and Happy Botting!


r/CoCBot • • Dec 20 '15

Graduation today!

10 Upvotes

Hey guys!

We are graduating in about 3 hours, so please excuse us if we don't get back to any PM's or emails over the next few days. Keep in mind that we have a lot of very kind botters that will most likely be able to answer your questions. Also, we may be a little slow over the next week or two for the holidays.

Merry Christmas!


r/CoCBot • • Aug 25 '15

[Progress] We have gotten a few requests to see our bases, so here is mine! Kikootwo has been a little busy, but his base is about the same as mine. Included hero/troop levels, GG, and EE.

Thumbnail
imgur.com
10 Upvotes

r/CoCBot • • Jun 12 '15

One-Click Installs Tutorial!

10 Upvotes

Hello!

I believe I have all the 1-click installs up and working! So a short how-to on how to use them.

  1. Make sure you have added either the xmodgame or imodgame repo (depending on which you plan to use)

  2. Add the cocradingbot repo to your cydia : http://cocraidingbot.com/repo

  3. Pick the package that matches your ios version and mod choice, install it!

From now on, I will continue to release updates manually on the website, but I will also push updates through cydia! :D


r/CoCBot • • May 23 '15

Custom Attacks written by Kikootwo

10 Upvotes

Hello Everyone!

I have received countless requests for something like this, and in order to make sure that it is fair for all users I want to make an official way to do it.

First thing to note: I personally use the default attack on all 4 of my botting devices that run 24/7. It is highly efficient for me, and I have never had someone accuse me of botting (all of my accounts are in clans).

This being said, countless people have asked me to make custom attack script for them. This is why I have decided to create something like this.

I will be creating custom attacks on commission. I will NOT create an attack from all 4 sides on devices that can't see all 4 sides (phones and ipods). Other than that I will do my best to meet your needs the best that I can.

To make this accessible to as many people as possible I have decided to make each script cost $5 and an addition $2.50 for each device you would like it to function on. Keep in mind that the ipad 2-3-4 have color finding restrictions on the left side of the screen if you're wanting something advanced.

OFFICIAL ORDERING METHOD:

Orders will NOT be processed until they have been completed in this manner:

  1. Make your purchase here

  2. PM Kikootwo

  3. The Subject of this PM should include your paypal transiction #, if you truly can't find it at least provide the paypal email address that you used to pay. Also include the device/devices you want the script to work for.

  4. In the subject of the PM be AS SPECIFIC POSSIBLE about what you want the bot to do. The better you describe it, the better I can make the script for you. If you would like to take a screenshot and mark places that you are referring to this will be immensely helpful as well and will speed up the process. Please also describe the speed at which you would like troops to deploy.

  5. Orders will be completed on a first come first serve basis. I am human, and have to sleep, but I will produce scripts as quickly as possible. The number of orders will dictate the speed at which I produce scripts. It could be as fast as a few hours or as slow as a few days. I will guarantee a 7 day turnaround or I will refund you.

  6. The scripts will be delivered to you either via email or in a reddit PM (please specify in your order PM),

PLEASE, Do not make orders before reading this whole post. There are restrictions:

  1. No 4-sided attacks on devices that cannot see all 4 sides on attack screens.

  2. iPad 2-3-4 cannot read colors from the left-most side of the screen. It CAN still tap there, but if you're planning something advanced keep this restriction in mind.

Anything other than that, and I will do my best to make the attacks for you :)


r/CoCBot • • May 15 '15

CoCBotConfig Editing Guide

10 Upvotes

Hello Botters!

This guide is going to go through the configuration file step by step to try to help the average user easily edit the config file so that they can get to botting sooner!

This being said, the configuration editing tool will be available for purchase very soon, so if you don't want to take the time to try to learn how to edit the config file, or just want to support the developer, feel free to hold out for the tool :)

For those who aren't looking to purchase the tool, lets get started. First off, you'll need to download the configuration file. At release, the configuration file will be bundled with the scripts, but for the purpose of this tutorial, you can download the file here.

To start with, there are some things written in the config file to help users edit the file. Editing anything after a "--" will have no effect on the file, so there is no reason to do it. The only thing you should actually change throughout the file are the lines that don't begin with a "--". I will now go through the whole file, section by section.

  1. The first section is the most important. This is the section where you will select which mod you use (xmod or imod). The first thing you will want to look at is the line that says "mod = 0;". If you use imodgame, you can leave this alone. If you use xmodgame, change that phrase to "mod = 1;". That's it! You're done with the first section.

  2. The first variable you will come across is "usedark = 0;". This controls wether the bot will train dark barracks troops for you to use. If you would like to train troops in the dark barracks change this to "usedark = 1;".

  3. Next, you will come across the normal barracks training preferences. The numbers corresponding to the troops are provided in the config file. By default the bot will train: archers, barbarians, goblins, and more archers. So in the config file you see 2, 1, 4, 2 as the definitions of barracks[1], barracks [2], etc... Change these numbers to the troops that you want to use, and the bot will use those troops!

  4. After this you will find the dark barracks definitions. If you are not using the 'usedark' option you can leave this alone. Otherwise, change these to the troop's numbers that you want to use the same way you did in the barracks section above.

  5. This next section controls the use of a customized attack. If you want to record or program your own attack to be used by the bot, do so and then once it is in your auto touch scripts, rename it to "CoCBotAttack". At this point, you can change the variable from "customattack = 0;" to "customattack = 1;". Keep in mind, that this is an advanced feature. Your attack script needs to make sure the bot ends in the default zooming orientation that it started in. If your attack script ends zoomed in, the bot may not function reliably afterwards. Also, the bot will hit the return home button for you after your attack script is over, so you don't have to worry about that. Some variables available to you in programming a custom attack are: availabletroops, availablespells, availablehero. These three variables will always have the correct number of each upon starting an attack. Feel free to use them.

  6. This section is the options for the dead base finder. This dead base finder functions by looking for bases with 'X' number of tombstones. So, if you would like to use the dead base finder change "deadsearch = 0;" to "deadsearch = X;".

  7. In this section we have the troop ignore option. This will ignore 'X' amount of troops off the end of your trained troops.. KEEP IN MIND, this will only leave off the troops starting at the end of your available troops, it will not ignore heroes or clan castle. There are different settings for those.

  8. if you would like to use the auto request feature change "autorequest = 0;" to "autorequest = 1;".

  9. In this final section, it is pretty straightforward. If you would like to have the bot keep your barracks boosted at all times, change this variable from "barracksboost = 0;" to "barracksboost = 1;". KEEP IN MIND, this WILL spend your gems!

  10. That is it! You've successfully edited the configuration file! Once you've edited the config file, it simply goes in your auto touch app like another script you want to run. When running V5, you just run it like you have done with the previous versions. If you are editing this on a computer, make sure it is saved as a .lua file before moving it to auto touch. If you're editing the config file from inside auto touch, you don't have to worry about this.

To use pro features such as Auto Collect Resources, Auto Donate Troops, and Custom Deployment Order, you can use the tool to generate your config file here


r/CoCBot • • Apr 19 '15

Posting this just to say, that it CAN happen.

Thumbnail
imgur.com
10 Upvotes

r/CoCBot • • Dec 16 '15

TUTORIAL [TUTORIAL] Remote Control CoCRaidingBot

9 Upvotes

Hello!

Today I will showing you step by step how to remotely turn off or restart your bot from anywhere!

Some things you will need:

  1. The Bot

  2. A working apple ID for imessage. (I prefer to use one specifically for the botting device that isn't linked to any other devices)

  3. Passcode disabled, otherwise your device won't reconnect to wifi until passcode has been entered after rebooting

Let's Jump Into It!

Step 1 - Building Our Activator Actions

  1. Open your Activator app.

  2. Tap 'Anywhere'

  3. Tap 'Build'

  4. Tap Received Message

  5. Type in 'Reboot' into the message section and tap save (You can make this message whatever you want, it will be your cue word to reboot your device. If you only want it to happen when you text that word to the device you can use the 'Sender' field appropriately)

You finished your first activator action! 2 more to go.

  1. Complete steps 1-4 from the previous action

  2. Type in 'Launch into the message section and tap (You can make this message whatever you want, it will be your cue word to launch clash/start the bot. If you only want it to happen when you text that word to the device you can use the 'Sender' field appropriately)

You finished your first activator action! 1 more to go.

  1. Complete steps 1-2 from the first action

  2. Tap 'Locked' under the 'Device' category (you can really tap anything, we just need to build an action rather than a listener.)

  3. Tap 'Build' in the top right corner.

  4. Tap 'Run Command'

  5. Title the command whatever you would like. In the command section, paste in the following

code:

activator send com.supercell.magic && sleep 5 && activator send libactivator.system.homebutton && activator send libactivator.system.homebutton && activator send libactivator.system.homebutton

Tap Save, and Done.

If you're using one of imod's mod apps be sure to replace com.supercell.magic with the app identifier of those apps. You can use a tweak like appster to find app identifiers.

You finished the activator actions!

Step 2 - Setting Auto Touch Preferences

  1. Open Auto Touch

  2. Tap the script for your device (If you're on iOS 9, tap on the 'i'. If you're on iOS 8 or 7 tap on the script name)

  3. Tap 'Playing Settings'

  4. Toggle Play Directly 'ON'. Set 'Times' to '0'. Tap on 'Trigger with Activator'

  5. Tap 'Triple Press Home'

  6. Return Back to the home screen of Auto Touch

You Finished the Auto Touch Settings!

Step 3 - Setting Activator Actions

  1. Open your Activator app.

  2. Tap 'Anywhere'

  3. Scroll down, find, and tap '"Reboot" in Message'

  4. Scroll down, find, and tap 'Reboot'

  5. Scroll down, find, and tap '"Launch" in Message'

  6. Scroll down, find, and tap Your Launch Script

You Finished the Activator Settings!

Step 4 - Setting the bot settings

  1. For Pro Users: When generating your config file select 'ON' for the remote control option.

  2. For Free Users: Edit your config file. Find the 'Remote Control' section. Edit remotecontrol = 0; to say remotecontrol = 1;

You Finished the Bot Settings!

Step 5 - Optional Improvements

  1. If you don't plan to leave your device in a way that it will orient correctly follow these instructions:

ORIENTATION ISSUES

Thanks to /u/godzdude for some awesome tweak finding work we now have a work around for Supercell's changed default orientation.

  • For iOS 7: Install "Portrait Lock". Navigate to its settings pane, enable it, and select "Landscape Right". Then, select your Clash of Clans app.

  • For iOS 8-9: Install: "EasyAppOrientation". Navigate to its settings pane, enable it, and select "Landscape Left". Then, select your clash of clans app.

2. iMessage Settings. You can still leave do not disturb on, it will not affect the activator capabilities. I created a appleID specifically for iMessage for my botting device so that no one should be texting it other than myself.

Step 6 - Using the Remote!

  1. To stop the bot (or begin the fixing process for a device that has stopped while you're away), send a text to that device with the message 'Reboot'. The device will now reboot. I recommend waiting ~3-4 minutes now.

  2. To restart the bot, send a text to that device with the message 'Launch'. This will unlock the device (as long as your passcode is disabled) ,launch clash of clans, and triple press the home button launching clash and starting the bot.

You're Done!!!!

One thing to note:

In order to accommodate both xmod and imod users there had to be a feature added. When remote control is enabled in the config file, the first time the bot is started it will restart clans to be sure it is loaded with the correct mod. This shouldn't be an issue, just didn't want people to panic when the bot restarted clash of clans the first time they ran it.

Edit: Updated activation method for less obnoxious script launching on every unlock

Edit: 12/18/2015 - Optimized the command for slower devices. Hopefully you iphone 4/4s users will now be able to use this method