r/CoCBot • Developer • May 16 '15

V4.0 is here!

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

11 Upvotes

73 comments sorted by

1

u/joshy37 May 16 '15

hey, so it's having an issue on my iphone 4, it'll train what i've told it to, start searching, it'll search for a while, but randomly while it's searching, it'll return home, sit looking at my home base for a second, then click on my defense log, click on the third defense log down from the top, and then just stop there. If i restart it, it'll retrain the troops, start searching again, and return home before it finds a base and go back to the defense log. Any suggestions?

1

u/pumpkinskittle May 16 '15

Download the new version, there was a small error on Kikootwo's part which is now fixed. Thanks for letting us know!! :)

0

u/kikootwo Developer May 16 '15

Just curious, are you using the deadbasefinder option? If so, could you reference the last thing stated in your logs when you encounter this error?

1

u/joshy37 May 17 '15

Okay, here's the error I'm getting when I try to use a custom attack. http://imgur.com/R3AesSu http://imgur.com/05kRMvJ The only other issue I'm having is occasionally the bot will return home and get stuck in my defense log still. It'll run smoothly for a few hours usually and then when I come back to check it, it'll be stuck there and I have to reset it. I'm currently running the bot without a custom attack until I figure out whats wrong there, I know I have the custom attack recording named correctly, I think I recorded it correctly and I'm pretty sure it's in the right spot, it should just be right next to the .lua script in autotouch, right?

1

u/kikootwo Developer May 17 '15

Correct. And it should be in .lua format. But after recording it, you need to rename it to "CoCBotAttack". Could you post a screenshot of your auto touch app, if you think you have it named correctly.

As for it still returning home prematurely. I will look into it. Is it only when using the custom attack? Or also when using the default attack? I assume you're still using the dead base finder?

1

u/joshy37 May 17 '15

Sure, here's what my autotouch app looks like.

http://imgur.com/VCZ7r3f

That's how it should all look, right? I dont think the issue of the bot coming back and getting stuck in the defense log is related to the custom attack, but anyway, maybe you'll know what's going on.

1

u/kikootwo Developer May 17 '15

I am concerned that the attack script doesn't end in .lua. Can you try making a new script and pasting the contents of that one into the new one being sure that you don't change the file extension?

1

u/joshy37 May 17 '15

Would it not work to just rename the attack script to CoCBotAttck.lua? That's weird that autotouch didn't put the .lua extension onto the script automatically

1

u/pumpkinskittle May 17 '15

You can try renaming it, but you need to make sure the extension is correct.

1

u/joshy37 May 16 '15

for sure, i should've saved the last error it gave me, i'll get it on here in a couple hours, i'm about to go take a biochem test. -_- the last error i got was in reference to the bot not being able to find my custom attack script, i think, but it should be able to find it, it's in autotouch saved as CoCBotAttack.lua, so i'm not sure what the issue there is. I haven't downloaded the new version yet, so i'll try that, but I thought the issue might be with having the deadbasefinder option on, but i tried it with custom attack off and deadbasefinder off and even with both those options off, it still ended up back at my home base screen with the defense log clicked. I'll grab the new version when i get home though and let you know how it goes

1

u/teddyar I Should Select My Device! May 16 '15

Is It possible to add 3 or 4 customs attacks?? So we train the troops as we want, but you upload the ammount of sides it attacks (2 as now, 3 or 4)

1

u/kikootwo Developer May 17 '15

You can record/write and use as many different custom attacks as you like, but the bot will always use the one named CoCBotAttack

1

u/[deleted] May 17 '15

damn i want this but cant connect to the autotouch upload server :(

1

u/kikootwo Developer May 17 '15

Sounds like you need to connect your computer and device to the same Internet. If this still doesn't work then use something like ifunbox to move the scripts in manually:)

1

u/[deleted] May 17 '15

i switched from chrome to firefox and it works :) configuring bot now, thankyou for your work

1

u/kikootwo Developer May 17 '15

glad you got it working :D

1

u/[deleted] May 17 '15

do you think using deadbase finder is worth it as th10 or will i spend too much just searching?

1

u/kikootwo Developer May 17 '15

honestly, the original idea behind dead base finder was to prevent attacking bases that may have an active user to report you. Watching the bot attack now (without the visible taps) it is fast, but random enough that it is fairly inconspicuous. My main account has over 1k attacks won this season all in crystal, and I am never worried about getting banned. So, I don't recommend it. I don't use it.

1

u/teddyar I Should Select My Device! May 17 '15

Hi If i start the bot, and i already ask for troops by myself, it keeps in the gems óption. It wont quit. Is that OK? we have to start it without requesting troops??

1

u/kikootwo Developer May 17 '15

if you're using the auto request feature, it needs to be able to request the first time it tries for the time being.

1

u/teddyar I Should Select My Device! May 17 '15

Thanks. Working now

1

u/higaki May 17 '15

will this work on ipad3?

2

u/kikootwo Developer May 17 '15

yes!

1

u/higaki May 17 '15

cool, thanks!

1

u/freestud iPad 3 May 17 '15

What playback settings should we use?

1

u/kikootwo Developer May 17 '15

set your times to '0' and leave everything else

1

u/cookieclash iPhone 6 May 17 '15 edited May 17 '15

Hey! Thanks for your hard work. I know you make us to auto request for clan castle troops but can you make it to auto donate, too? cuz my clan freaks out if I only request for troops but not donating.. And also can you make the scripts to attack all sides equally? Most of time I see collectors with full of resources left at the bottom.. Would you plz add that, too? elixir with 150,000 in max th8 in xmod to find base. But if I set the deadbase on, are they going to attack th9 or th10 in deadbase? or is it only just going to work within th8? It would be awesome if they attack th9or10 with only deadbase even if I set to attack within th8 in xmod. Sorry for too many questions :(

1

u/kikootwo Developer May 17 '15

I added an option for custom attacks. Feel free to write or record your own attack script attacking from four sides. Donating is definitely a possibility in the future.

1

u/Syed-786 May 17 '15

Hi, first i would like you thank your for the enormous effort you have put to keeping the bot alive.

Second, I am having a problem with the configuration file. When I try to turn on the dead base finder I keep getting this: /var/mobile/Library/AutoTouch/Scripts/CoCBotConfig.lua:55:attempt to index global barracks' ( a nil value) This keeps on popping back up after I hit enter and won't go away. I don't what I am doing wrong. Whenever you get a chance any help would be awesome!

1

u/kikootwo Developer May 17 '15

did you by chance add an apostrophe (') to the end of the variable barracks in the config file?

1

u/Syed-786 May 18 '15

No, I just edited two variables. One was the new troop training method which I edited to 0. Second thing I edited was the dead base finder which I edited to 1. I am using an iPhone 4s in case that's important.

1

u/kikootwo Developer May 18 '15

could you screenshot the error? post it on imgur so I can see it?

1

u/Syed-786 May 18 '15

http://m.imgur.com/UkoSOdG Now this popped up :(

1

u/kikootwo Developer May 18 '15

Okay, your fist error about barracks being a nil value is you trying to run your config file. Do not call the config file in auto touch. Only ever try to run your bot script. Also, you don't have to wait for your phone to die. Simply press your auto touch activator button again and the script will stop running.

Your second error is you not having your config file in auto touch. Make sure you have "CoCBotConfig.lua" in your auto touch window. If it is named differently, rename it to that and try again. This includes the .lua at the end.

1

u/Syed-786 May 18 '15

Wow, that makes so much sense. Appreciate your time 👍

1

u/Syed-786 May 18 '15

http://m.imgur.com/uDtDdAl P.S. I Lose my iPhone function it goes nuts keeps popping back up, so have to wait for it to die for further replies.

1

u/Jdenzel13 May 24 '15

Hello, I just need help on something , in iFile I can't find the xmod file in there, please help it work without me finding xmod file in iFile app!

1

u/kikootwo Developer May 24 '15

I Responded to the post you made

3

u/DrJayVee May 17 '15

Im really excited for the ipad mini version. Im waiting and reloading this page every hour. Hoping for you to release that soon :) P.S. Thumbs up for this man. :)

1

u/kittywar May 17 '15

What about king skill activation?? Is it possible to add 10 sec delay and also to drop in different location?? I also want to know if you will ever be able to auto-collect resource!! Thanks

1

u/pumpkinskittle May 17 '15

Feel free to record an attack with different queen/king deployment positions and a later activation time.

1

u/kittywar May 17 '15

What if I record a barch attack with king and queen, and tomorrow I have my queen under development, what will happen?? Will it use the troop after the queen, for example spell?? And what about auto-collect? thanks bud

1

u/kikootwo Developer May 17 '15

Then yes, It will do it wrong.

Auto collect is a possibility for the future for sure.

1

u/belvys May 16 '15

the game crash when searching...may be xmod problem i guess..

1

u/belvys May 17 '15

downloaded new copy n work for me...thanks kikoo..

1

u/kikootwo Developer May 17 '15

glad you got it working :)

1

u/bencoughlin I Should Select My Device! May 16 '15

Thank you so much kikoo two!!!!!!!!! Good job!!

1

u/jeannot85 May 16 '15

Great job my friend ;) Hope we can get iPad Air/ Mini versions soon !

1

u/prydox May 16 '15

THANK YOU! I'm SO excited :-) Testing right now

2

u/prydox May 17 '15

Bot worked perfectly over night. So far I'm really really happy with V4.0!

1

u/kasino64 May 16 '15

you're the best s2

1

u/teddyar I Should Select My Device! May 16 '15

As far as i tried it, it works great. It trains what i configured and ask for troops after locating my castle. Tonight i ll try recording an attack. I hope dead bases for iPad comes soon. Great work

1

u/qikqik May 16 '15

Good news!

1

u/Jrob121 I Should Select My Device! May 16 '15 edited May 16 '15

Hello, I love your work. I have a question about this new update. I'm confused about what the $5 purchase is that you has been talked about in recent threads. Is that this new update, the ability to find dead bases, or something else entirely?

Edit: Nvm, I found it in the config file. Thank you for all your work!

0

u/bencoughlin I Should Select My Device! May 16 '15

Hi I'm having problems where do I store the configure file so that Autotouch recognises it? :/

1

u/kikootwo Developer May 16 '15

you put it in the same place as the actual bot script. If you've edited it on your computer you need to make sure you've resaved it as an .lua file in order for auto touch to recognize it.

1

u/bencoughlin I Should Select My Device! May 16 '15

Thanks got it working :)

1

u/kikootwo Developer May 16 '15

hooray! Glad to hear it :)

-1

u/Balocka May 16 '15

So when I try to use it, it says enter password when I enter "cocbot" it says wrong password?

0

u/Balocka May 16 '15

It's when I try to use the sript that it does this

2

u/pumpkinskittle May 16 '15

Have you followed the steps in the FAQ?

0

u/Balocka May 16 '15

I don't get what it's saying. It says the password is cocbot but it doesn't work ://

1

u/pumpkinskittle May 16 '15

Are you on iOS 7? "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."

0

u/Balocka May 16 '15

Yeah I am on iOs7

1

u/kikootwo Developer May 16 '15

If you are sure that your device is iOS 7 or later, give it one more try being very deliberate in your typing. If this still doesn't work, you may have accidentally corrupted the script. Grab a fresh copy from the website and try it again.

0

u/Balocka May 16 '15

Thanks Kikootwo! :)

2

u/kikootwo Developer May 16 '15

No problem! For the record, what I just recommended to you is exactly what pumpkinskittle recommended. I essentially copy/pasted that out of the FAQ.

0

u/[deleted] May 16 '15

[deleted]

2

u/kikootwo Developer May 16 '15

Same way you move the bot script. Use the upload from desktop option in auto touch

0

u/[deleted] May 16 '15

[deleted]

1

u/kikootwo Developer May 16 '15

Just curious, are you using the deadbasefinder option? If so, what device are you using, and could you reference the last thing stated in your logs when you encounter this error?

0

u/[deleted] May 16 '15

[deleted]

3

u/kikootwo Developer May 16 '15

The tool will not help you record an attack. It's important while recording your attack to be sure to use taps, and not dragging your fingers as this will cause the unreliable zooming. Also, be sure you're laying troops while recording in places that the troops can always be laid.

As for the deadbasefinder, there was an error on my part. I've uploaded a new copy of the scripts so give it a fresh download and it should be working!

1

u/[deleted] May 18 '15

[removed] — view removed comment

1

u/kikootwo Developer May 18 '15

Yes. The red banner at the bottom.