The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

🧱 5.4.2.5.2 - Better Troops Deployment (LF Style), Fixed Train Troops

Started by safar46 · Jan 25, 2015

546 replies7,799,713 viewsLocked
Jan 31, 2015#181

Update link for createspell function

@bushido-21 i will do the best what i can do 😉

Jan 31, 2015#182

@safar46 thanks dude 🙂

Jan 31, 2015#183

@safar46 dude for now i dont know what can i say it just WoW LoL...

Jan 31, 2015#184

I pmed you recently

Hope you reconsider that

Thanks

Ill test the update later

+reputation

Jan 31, 2015#185

This mod dosent work, attack all th without considers the gold , elixir, livel

Jan 31, 2015#186

Great Job @safar46 😉
I made a little modification in your last Update because error:
Error cannot check for Dead Base, Attacking...

Add this and compiled to x64 , and currently i´m testing :

Switch @OSArch
Case "X64"
If IsString($findImage) Then
$result = DllCall("COCBot64.dll", "str", "ImageSearch", "int", $x1, "int", $y1, "int", $Right, "int", $Bottom, "str", $findImage, "ptr", $HBMP)
Else
$result = DllCall("COCBot64.dll", "str", "ImageSearch", "int", $x1, "int", $y1, "int", $Right, "int", $Bottom, "ptr", $findImage, "ptr", $HBMP)
EndIf
Case "X86"
If IsString($findImage) Then
$result = DllCall("COCBot32.dll", "str", "ImageSearch", "int", $x1, "int", $y1, "int", $Right, "int", $Bottom, "str", $findImage, "ptr", $HBMP)
Else
$result = DllCall("COCBot32.dll", "str", "ImageSearch", "int", $x1, "int", $y1, "int", $Right, "int", $Bottom, "ptr", $findImage, "ptr", $HBMP)
EndIf
EndSwitch

Can u tell why did u remove the X64 option ?

Jan 31, 2015#187

the problem still there at first it attacks with full troops on camp. but the next time it attacks the bug appeared attacking with not full troops in camp.

Also the dropping trophies has bug, maybe because the delay function should be adjust to a bit slower..

still trying to observe this updated bot.

Jan 31, 2015#188

sir, i can't download the file from Zippyshare whould you mind uploading it on MF or SS? thank you sooo much in advance your Bot is a huge help 🙂

Jan 31, 2015#189

[2:39:37 PM] Error cannot check for Dead Base, Attacking...
[2:39:37 PM] Another device is logging in, wait for 10 minutes...

What is this?! I've been freaking trying bots for the last two days and I can't get ANYTHING to work. There is a problem with this bot with the x64 version. There is only one .dll for it and I think it is for x32. I can't get ANY version of your bot to work. This is starting to be frustrating.

Jan 31, 2015#190

@promac, it because x64 cocbot.dll not work i the background!!

@General Sam try to run/compile script as x86. im using x64 windows too, and it perfectly worked for me

This discussion is closed.