- 15
- 42 718
DaDaDan
Приєднався 28 сер 2011
Just doing some Total Battle Stuff.
Battle Calculator & Troop Balancer!!
Should be fun.
Let me know in the comments how you feel about this!
This is the Google Docs version. The PC version with click boxes I am still working on, will take a bit.
docs.google.com/spreadsheets/d/1z4K4SozauwzKU42t_wf_D5LA34DjDfT5/edit?usp=drive_link&ouid=100420497078665341023&rtpof=true&sd=true
Let me know in the comments how you feel about this!
This is the Google Docs version. The PC version with click boxes I am still working on, will take a bit.
docs.google.com/spreadsheets/d/1z4K4SozauwzKU42t_wf_D5LA34DjDfT5/edit?usp=drive_link&ouid=100420497078665341023&rtpof=true&sd=true
Переглядів: 8 255
Відео
Clan Chest Counter
Переглядів 6 тис.Рік тому
Part 1: How it works. Part 2: Installing it (the tricky part). Download at: github.com/DaDaDan102/TB_Chests.git
Seasonal Kingdom
Переглядів 834Рік тому
This is what the Seasonal Kingdom is. It is not fun. If Beowulf wasn't so strong, I certainty would not do it.
Hide Might with Achivements
Переглядів 5 тис.Рік тому
You can "hide" your Might, by not collecting your Achievements. Also, use them to level up certain Captains.
DDD Troop Balance
Переглядів 10 тис.Рік тому
Balance your Troops, and you will be surprised at how much better you do!!!
DDD Hall of Fame
Переглядів 1,2 тис.Рік тому
Little bit about the Hall of Fame, and which Captains are best in Each Faction.
DDD Analytics
Переглядів 1,2 тис.Рік тому
A little bit of Math, and how Fights are Calculated. Using this, you can actually predict, down to the number of rounds and troops, exactly how a fight will go, before you even send your troops.
DDD Clan RSS
Переглядів 608Рік тому
Video about the importance of Clan Resources, and how we see donations.
You need a step by step installation process video
Works fairly well when installed correctly Needed code editing and a bug fix for use with firefox
Hi! i think the one you linked is not the updated one that you show in the video, but the previous one. Any update?
You don't have the spreadsheet for download do you? Would be helpful. Thanks for the video.
was this program developed?
can you do this on a mac?
Would you be able to add the video for installing and the steps to follow please?
Will there be a video on how to install everything correctly?
my run file looks nothing like yours. where is the PATH ? what am i doing wrong ?
your run file looks different than mine. where is the installation video ?
Got all the components, but cant figure out the install. Looked for it, but could not locate.
There is no install. You run the code like in the video. No installer.
Hola, muchas gracias por tu aporte yo pude hacer funcionar el programa sin ningún problema, ahora necesito agregar otros tipos de cofres que no están en los archivos de configuración, como por ejemplo los siguientes: Union of Triumph personal reward Rise of the Ancients event Mimic Chest Clan wealth Epic Ancient squad Summerfest tournament Alguien me puede ayudar o enviar los archivos de configuración para el reconocimiento de cofres con todos los cofres generados por el juego ?? Otra pregunta es, como llegaste a establecer esa puntuación por cofre?? cual es criterio utilizado?? Muchas gracias, un gran abrazo desde Chile...
If you don't know Python, where did the code come from?
So the bottom line is it makes sense to include lower level of troops in your army when attacking, so the cheaper guys get annihilated at first?
fixed by my side! Hi, is there a way to fix this? It is only a problem with the "Rise of the Ancients event". Perhaps to add a fix code into the script (line 696-726). To add all chests manually is too much work. * error * Processing chests from the capture... *** CAPTURED TEXT: Ancients‘ Chest From: Nico Source: ise of the Ancients event *** CAPTURED ROWS: Ancients‘ Chest From: Nico Source: ise of the Ancients event *** ERROR: The number of captured non-empty rows is not divisible by 3. *** * Processing of this capture segment will stop! * The captured rows will be copied to the clipboard so that they can be manually * pasted into the document in case there is a way to manually correct this. * Also note that the same correction should also be manually pasted into the * current archive file, otherwise that change will not be reflected there.
Does anyone know what format the dates should be in for passing with the command line date options?
I downloaded this today and got it working. I'll see how it goes over the next days and weeks but it looks good now.
@@tymenwouters8540 I've been using this one since my posts above. I've only used one other and it was a disaster. This one works fine but has it's quirks. It is written in Python which makes it easy to change. I was a software developer, I don't know Python but it's similar enough to what I do know. I've had to make changes to make it reliable. There's a part of the code where it corrects bad input from the OCR and most of the changes have been made there to handle new cases.
@@kevinverble6416 Thanks for the response ! I'm going to try it today. I can code a little bit so making some changes won't be a problem, I think...
I haven't done it yet, please support me
It looks good, I recommend you make an APP where you can capture this data more easily and indicate the troops to use for epics, you would earn a lot of money hahaha
Technicznie ten skrypt jest bardzo nie doskonały i wielu z klanów odeszło .DLACZEGO ----- gracze o małej sile mają mało badań więc są ograniczeni wielkością krypt np: krypta zwykła poziom 15 - 5 punktów =75 pkt. ------ gracze o większej sile mogą sobie skakać po np : krypta zwykła poziom 25 - 30 punktów = 750 pkt. Wychodzi 75 razy różnica .LIMITY zabijają graczy słabszych powinien być współczynnik siły do wydajności .POLAK to potrafi zajechać swojego..... Tylko jeden mądry Zwierzchnik (ważna osoba) napisał mi po skargach że program służy do liczenia skrzynek czyli chodziło o aktywność graczy i oddzielenie tych co nic nie robią -- Chwała koleżance - malinka w [ZCI] jest OK
Salut, je voudrais savoir comment obtenir ce logiciel pour compter les coffres pour mes deux clans dans lequel je suis merci
Svp aide moi rapidement car celui que nous avons actuellement va s’arrêter d’un jour à l’autre, est ce gratuit ?
Скоро будет новое сезонное и достаточно пятого уровня гвардейца для начатия сезонного королевства и будут новые награды и впечатления.
Is this finished?
This is good stuff. Any way you could share that excel spreadsheet since you are clearly an excel guru
is this the final version ? i put captains lvl and stars in set the captain to 1 and in strength an health appears #NAME?
Hi Dan, excellent video! My question is, how do you calculate what troop setup to use with any of the epic monsters, or do you have a video about troop balance for each epic monsters?
Thanks for the video...after some problems i got it working. just the citadells won't show..i get a report, but except for the titles it's empty. You have a solution for this by any chance?
Hi Dadadan, Je suis intéressé par votre fichier Excel. Est-il possible de l'avoir d'une façon ou d'une autre :o)) ?
great info one question since i did not hear u say it, the bonus to healts of the troops is not important for the balance? we use the bare stats right?
If I just take your might you added with a few clicks, that would make me #1 in my clan LOL and probably boost clan's might be 25% LOL It's new, closed kingdom. I came up with the idea of hiding might to skirt ROE rules before. But, i was doing it for just 2 weeks til COT. And then, I needed those level ups and resources and VP
Hello. I've installed everything, as explained, added Python and Tesseract to PATH, sorted out the correct paths in the config file. So, now, when I run the program, I get the message that it took the screenshot, that it has processed the image, but, when it switches to the OCR, I get the message that Tessaract is not installed, or not in the PATH. And it is installed and in the PATH. I am using Windows 11 Pro. Any suggestions? This is what I get when I run the program: PS C:\Users\pedro> py C:\Users\pedro\TB\bin\tb.py --config 'C:\Users\pedro\TB\config\UWS_FRA.cfg' --capture Enter the total number of chests you want to collect ('-' to exit): 40 Taking a screenshot... Done! Some image processing... Done! Performing OCR analysis... Traceback (most recent call last): File "C:\Users\pedro\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytesseract\pytesseract.py", line 255, in run_tesseract proc = subprocess.Popen(cmd_args, **subprocess_args()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\pedro\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\pedro\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] O sistema não conseguiu localizar o ficheiro especificado During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pedro\TB\bin\tb.py", line 1403, in <module> app2.run() File "C:\Users\pedro\TB\bin\tb.py", line 874, in run capture = self.screen.ocr_core(image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\pedro\TB\bin\tb.py", line 86, in ocr_core text = pytesseract.image_to_string(img, lang='eng', config='--psm 12 --oem 1') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\pedro\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytesseract\pytesseract.py", line 423, in image_to_string return { ^ File "C:\Users\pedro\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytesseract\pytesseract.py", line 426, in <lambda> Output.STRING: lambda: run_and_get_output(*args), ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\pedro\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytesseract\pytesseract.py", line 288, in run_and_get_output run_tesseract(**kwargs) File "C:\Users\pedro\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytesseract\pytesseract.py", line 260, in run_tesseract raise TesseractNotFoundError() pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your PATH. See README file for more information. Have tried to install Tesseract in several directories, updating the PATH in Windows. Always the same result. Ran site.py to make sure. Since it was not including the Tesseract Directory, I reinstalled Tesseract in the Python312 directory, to make sure it was included in the path, but the message remains the same. What am I missing?
Hallo... Gab es schon eine Antwort auf das Problem?
I love it! But in the hero talents, it wasn't acting like it had an effect for me
Thanks for share! Please do a video about strongholds
Hello Dan, I always get the following error after capturing 4 chests. Can you tell me what the problem could be? ㅤ *** ERROR: The number of captured non-empty rows is not divisible by 3. ***
I am not sure, but, for each chest, you have 3 text lines. Are you sure you calibrated correctly and are not catching any other line not related to the chests?
Hola hermano! Como puedo descargar el programa? Porque no se como descargarlo desde el link
Just found this - did you complete a working version?
а как можно перевести на русский вашу таблицу????
Hey, thanks for your work on that ! I've managed to install it, config and... there's a glitch :') When i run the capture, the process stops when it's supposed to open the chest (without any error message). If i hit enter, it continues like if it had opened the chest (but didn't). The mouse click is calibrated as it should so i don't understand where this comes from. When i get the summary afterwards, i have the right players but with a score of zero, which kinda makes sense but is pretty disppointing haha. Can you help ? :D
Are you using Firefox? It has problems.
Hi DaDaDan I've been trying to set this thing on my linux box but I can't it to properly run --calibrate (and there is no obvious errors). I'm using Debian/unstable (after running it I got no communication on screen and eventually some PS files on disk with names identical to ... names from lines like import at the begining of the tb.py)
What is game name?
Total battle
Hi Dan I keep getting a the below error, however I have installed all the modules, three times and clipboard is there Traceback (most recent call last): File "C:\TB Chest Counter\bin\tb.py", line 6, in <module> import clipboard ModuleNotFoundError: No module named 'clipboard'
are you using windows? Hit the windows-key + v (this should open your clipboard) if you don't have a clipboard, then doing thinks like print screen and screen captures and sure wouldn't work... on Windows. if you Click your Print Screen button, and then windows key + v, you should see what you have captured in your print screen.
@@DaDaDan_1 got it sorted thanks. Seems the chest counter does not want to work with the latest Python with modules. uninstalled and then installed an older version. It works great thanks On problem I have, the Citadles report runs with no errors but does not populate the report, although the EOD does have them in and scores allocated It only populates with the top row Header Names but does not populate with the data
@@derekturner8182 which error were you getting, and which version of Python did you get it to work with?
I think you said the AI prioritizes which of your stacks to attack based on the health of the stack, not the strength. Is that right?
the AI wants to do as much damage as possible. So they go for the highest health, and also go for whatever type they are strong againts.
any update>
Hey DaDaDan, I feel like I'm close to getting it to work, but it keeps giving me an error message. It says not able to read the configuration file. I did notice that your folder had a Tesseract folder among the others (bin, config, data, final, etc) that mine doesn't after downloading from the link you provided. I'm assuming I need to do something with Tesseract to get it to work right? I've added both Python, Python/Scripts and Tesseract to the Path, is there anything else I need to add to the path? Any quick advice? Thanks!
So you definitly need the bin, config, data, final folders. I really need to get on doing that "install" video. I hope I get time soon.
@@DaDaDan_1 Right, I figured I needed those for sure, but what I was wondering is where did the Tesseract folder come from. Anyway, thanks for the response, I hope you have time soon too. Im sure you're busy, and understand it takes a lot of time and effort to do videos. Even just a little more info on the install.txt file would probably help, but I'm Im sure its more complex than that.
@@user-fh9hk4ny5i I put the link to a githut .zip with all the info in it (in the description of this video). that should have all the files you need in it once you extract the .zip
@@DaDaDan_1 Thanks for that. I've got all of the files, and have python and tesseract installed and on the path. In your video, in your TB_Chests folder, there is an additional folder named Tesseract that isn't part of the zip on github. Is that just a mistake, or is that supposed to be there?
@@user-fh9hk4ny5i No, I just have it there because I downloaded it specifically for this, and wanted everything in the same folder. You download Tesseract separately.
I like where your head is on this project. Have you considered coding in Android? Or IOS? I would be most interested in a self populating Android version... We can dream, right? Go get yours!
Hi DanDan could you share this spreadsheet?
where did you download the software from? link?
This is amazing. I’d gladly contribute. Does the excel already do a battle calculator?
Hi Bill, Sorry I am no longer playing, however I was going to do a few little things to help the community out. The battle calculator was about 75% done, I may finish it some day, biggest issue I don't have time to input all the data of all the mobs and such, very very time consuming and I have new family commitments now that don't leave me with much free time.
@@DaDaDan_1 thanks for the reply. Can understand that. I can see how much work it entails. Good luck with the new family, and let me know if you ever do take it any further it would be a great help.
Hi Dan, how do i had a doc sheet for clan chest counter to the game?
how do i had a sheet calculator to count chests to the game?
Has there been any update on this?
no, nothing yet, I'm no longer able to play due to personal reasons unfortunatly.