r/CoCBot • u/kikootwo Developer • Dec 16 '15
TUTORIAL [TUTORIAL] Remote Control CoCRaidingBot
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:
- The Bot
- A working apple ID for imessage. (I prefer to use one specifically for the botting device that isn't linked to any other devices)
- 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
- Open your Activator app.
- Tap 'Anywhere'
- Tap 'Build'
- Tap Received Message
- 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.
- Complete steps 1-4 from the previous action
- 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.
- Complete steps 1-2 from the first action
- Tap 'Locked' under the 'Device' category (you can really tap anything, we just need to build an action rather than a listener.)
- Tap 'Build' in the top right corner.
- Tap 'Run Command'
- 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.homebuttonTap 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
- Open Auto Touch
- 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)
- Tap 'Playing Settings'
- Toggle Play Directly 'ON'. Set 'Times' to '0'. Tap on 'Trigger with Activator'
- Tap 'Triple Press Home'
- Return Back to the home screen of Auto Touch
You Finished the Auto Touch Settings!
Step 3 - Setting Activator Actions
- Open your Activator app.
- Tap 'Anywhere'
- Scroll down, find, and tap '"Reboot" in Message'
- Scroll down, find, and tap 'Reboot'
- Scroll down, find, and tap '"Launch" in Message'
- Scroll down, find, and tap Your Launch Script
You Finished the Activator Settings!
Step 4 - Setting the bot settings
- For Pro Users: When generating your config file select 'ON' for the remote control option.
- 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
- 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!
- 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.
- 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
1
u/LucasMTZM iPad Mini 2 Dec 16 '15
This is so great! Hell,cant wait to do it when i get home! Also,i would i need to have IMessage's notifications on?
1
u/SupremeCheat iPhone 5s Dec 16 '15
So if I'm using Xmod, then I still select the Clash of Clans app? Then bot will auto restart with xmod?
1
u/PearlDrummer iPhone 5 Dec 16 '15
So my question for you is this. If xmod is being used clash of clans has to be launched through the xmod application for the bot to work correctly. So how do I get the remote to launch clash of clans through xmod with the "start" function of the remote?
1
u/cocbotter1023 iPhone 4 Dec 16 '15
I got it working on my iPhone 4 iOS 7 :) When my phone reboots, will it also stop activites in AutoTouch? Because it doesn't show the playing finished alert
1
u/_Boonie_ iPod 6 Dec 16 '15
My device freezes saying something like oops we couldn't launch clash of clans because the icon is level. I can't screenshot or do anything apart from the reboot using sleep button and home button. Is there a way I can avoid this because this is preventing the bot from using clash of clans.
1
u/cocbotter123 I Should Select My Device! Dec 16 '15
Thanks kik, I'll give that a try later on!
Any chance to change the Gamecenter account remotely as well (and skip through the confirmation dialog inside CoC to change accounts)?
That way, people who don't own half a dozen iDevices could at least cycle through different accounts while on vacation or at work.
1
u/SupremeCheat iPhone 5s Dec 16 '15
Okay so from my understanding:
In the new update, instead of having the script start when I unlock my phone manually, it will only start if I text message "Launch"? And by sending the "launch" it will open CoC, and activate the script via "triple home click" but the CoC Bot Cydia tweak automatically does that for me right? So now I can unlock my device without having script start?
1
u/bencoughlin I Should Select My Device! Dec 16 '15
Just curious. Someone like me who bots over night, would I need to use this feature? Will it benefit me if I did? :p
1
u/cocbotter1023 iPhone 4 Dec 17 '15
I followed these instructions exactly but I texted the bot "Launch", it opens the game then nothing happens for 1 minute then when I tried the old instructions with the unlock as the trigger activator, it runs normally. Is there another way as side from these steps? I don't to use "Unlock" as the trigger activator because I have to stop the auto touch every time I open my phone. Thanks :)
1
u/_Boonie_ iPod 6 Dec 17 '15
Would it be possible to just use respring instead of reboot?
1
u/godzdude I Should Select My Device! Dec 18 '15
I've found that if you have notifications turned off for "messages" this will NOT work. If people are having trouble getting the iMessages to start the script, have them check if they have notifications turned off in the settings app.
1
u/Bpkyle iPhone 5 Dec 18 '15
Hi. I think i did everything right but after the Launch message my iphone5 opens coc and switch to home screen.
3
u/TheNobleKing16 I Should Select My Device! Jan 13 '16 edited Jan 13 '16
When i try to do step 2.4, my ipad crashes once i click Trigger with Activator. Anything i can do? Ipad mini 1 ios 9.0.2
1
u/cocbots iPad 2 Dec 16 '15
As someone going on vacation in 2 days this is awesome.
1
u/cocbots iPad 2 Dec 18 '15
Any way to text the iPad from an android?
1
u/mike3009 I Should Select My Device! Jan 28 '16
After the new update, when I click "Trigger with Activator" it always crashes the app. Doesn't open anything, it just crashes it.
It was working fine, the new update crashes it. Any suggestions how to fix this? Thanks!
1
u/Dogga1988 iPhone 5 Feb 08 '16 edited Feb 08 '16
I'm having problems with the remote, it seems to only work when I'm close to the phone which is weird. I leave my JB phone with the bot at home on charge and periodically log in to coc while at work to make sure my storages aren't full. Sometimes when I log on I see that the bot is not active so I send the command 'reboot', then 'launch' 5-10 mins later and it doesn't matter how many times I reboot and launch it never starts up until I get home and do it. The frustrating thing is when I'm home I test the remote and it works fine!! Anyone else having problems?
1
u/Dogga1988 iPhone 5 Feb 15 '16
I've currently got the bot and remote control setup on my iPhone 5 with imod. The bot is smooth as a baby's bum however I'm struggling with the remote control. I've put 'apptocheck = "net.imodgame.coc.jb";' at the end of the run command, but all I get when I send 'launch' to the iPhone with the bot is 1 of 3 things. 1st - nothing happens. The phone receives the message but fails to do anything. 2nd- the phone receives the message, unlocks and opens coc but doesn't start the bot. Or 3rd - the phone unlocks, opens coc and then only performs a double home tap and gets stuck in the app selector page. Any help is appreciated as I'm often at work til late and I miss out on about 10+ hours of botting. Thanks in advance..
0
u/SupremeCheat iPhone 5s Dec 16 '15
Wtf??? Nothing happens when I send "Launch" command I did everything correctly plz help
0
u/[deleted] Dec 16 '15
[deleted] — view deleted comment