SICGames / TBChestTracker

Automatic chest counter program for the game Total Battle
GNU General Public License v3.0
23 stars 9 forks source link

What is the day range of "week" in the file? #64

Open MCFil22 opened 1 month ago

MCFil22 commented 1 month ago

Hello,

first of all, thanks so much for the terrific work on the chest counting automation. You have saved a lot of time of mine as my clan is now producing around 800-1000 boxes per day.

This is more like a question than an issue indeed. I started the program since last week (13-Sep) and i tried to generate files by today and by week ( of coz have to yet to get 1 week data until tmr end of day)

  1. however, i still not understand the day range in the report is from which day to which day?
  2. i would like to clarify, on the first few days, i used the "chest condition" mode but changed on 15-Sep with the chest points mode. I'm wondering would the data in the report (if i generate from 1st day until now) be included everything it captured?

Once again, thanks a lot with your terrrific work.

Thanks.

SICGames commented 1 month ago

Conditions only affect exporting to csv file. And the range counts from today - 7 days.it doesn't factor the time. 12am whatever your timezone is

MCFil22 commented 1 month ago

Thank you. sorry i have another issue... I have mistakenly run the automation between 23:45 - 00:15.... now seems some players chest total has been lost and some player gained double.... I'm still investigating. In the meantime, do you have any way that i can fix the issue? Please advise.

Thank you.

SICGames commented 1 month ago

It's not good to run before midnight. Replace file with a backup file before you ran automation. Will create a tool to restore chests if clanchest.db gets corrupted

On Thu, Sep 19, 2024, 1:00 PM MCFil22 @.***> wrote:

Thank you. sorry i have another issue... I have mistakenly run the automation between 23:45 - 00:15.... now seems some players chest total has been lost and some player gained double.... I'm still investigating. In the meantime, do you have any way that i can fix the issue? Please advise.

Thank you.

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/64#issuecomment-2361666106, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAZ6JSVRC42GH5FNM7EQ3TZXL7KRAVCNFSM6AAAAABONHVRMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRRGY3DMMJQGY . You are receiving this because you commented.Message ID: @.***>

MCFil22 commented 1 month ago

hello, thanks for confirmation that i should not run automation before midnight (19-Sep to 20-Sep). so i checked the db folder, are these backup file that i can replace the current record? or the database has been corrupted, i can't do anything but ignore the record? Please advise, and thanks in advance.

image

SICGames commented 1 month ago

Copy the backup from prior of the mishap to db folder. Rename clanchest.db to clanchest.old then rename the back up file from clanchestbackup to clanchest.db

On Thu, Sep 19, 2024, 5:56 PM MCFil22 @.***> wrote:

hello, thanks for confirmation that i should not run automation before midnight (19-Sep to 20-Sep). so i checked the db folder, are these backup file that i can replace the current record? or the database has been corrupted, i can't do anything but ignore the record? Please advise, and thanks in advance.

image.png (view on web) https://github.com/user-attachments/assets/0bc4d80a-ebda-4008-a075-8007abd0db65

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/64#issuecomment-2362271575, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAZ6JUKDAIYXXZMJU65BX3ZXNCBPAVCNFSM6AAAAABONHVRMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRSGI3TCNJXGU . You are receiving this because you commented.Message ID: @.***>

MCFil22 commented 1 month ago

thanks a lot. I toook out the duplicate one from the file but still some were missing. I just let it be. once again, thanks a lot. Good Friday and weekend. ;)

MCFil22 commented 1 month ago

Hello, Good day. I found an issue or I don't understand how it count the number and present it on a table. Tried to generate 3 days data covers 22/9 - 24/9, i found the below issues:

  1. the scores calculation is wrong. a player Dabrim jr got 3 common level 15 crypts but score 0. it should expects 45.
  2. the table only shows partial data, a player "Fil Lagertha" should have 56 (18+18+20) in total, but only 38 (sum between common to Heroic) on the table.

not sure if this is was lack of understanding or the system error. I attached the db file and the report i generated between 22-24/9. Would you please help me to understand?

Thanks in advance.

WeekResult2024092224_3.csv clanchests.zip

SICGames commented 1 month ago

Are you using the latest version? Also run clanmate validator to get rid of misspelled clanmates. Toy around with the similarity percentage to ensure your removing misspelled clanmates. In clanmate validator make sure you go to members view in game to create a validation list.

As far as your question, in clan insights if you select a week, it's from today and minus 7 days. You can now select custom range if you want to.

I'll look at what you sent when I get back home.

On Tue, Sep 24, 2024, 1:04 PM MCFil22 @.***> wrote:

Hello, Good day. I found an issue or I don't understand how it count the number and present it on a table. Tried to generate 3 days data covers 22/9 - 24/9, i found the below issues:

  1. the scores calculation is wrong. a player Dabrim jr got 3 common level 15 crypts but score 0. it should expects 45.
  2. the table only shows partial data, a player "Fil Lagertha" should have 56 (18+18+20) in total, but only 38 (sum between common to Heroic) on the table.

not sure if this is was lack of understanding or the system error. I attached the db file and the report i generated between 22-24/9. Would you please help me to understand?

Thanks in advance.

WeekResult2024092224_3.csv https://github.com/user-attachments/files/17117989/WeekResult2024092224_3.csv clanchests.zip https://github.com/user-attachments/files/17118066/clanchests.zip

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/64#issuecomment-2371849326, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAZ6JRJQGSI3OSPPPXM6HLZYGLR7AVCNFSM6AAAAABONHVRMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRHA2DSMZSGY . You are receiving this because you commented.Message ID: @.***>

MCFil22 commented 1 month ago

Hi, no rush. I'm having v2.0.0 preview 4. Tried to install preview 5.0, installed but it is still preview 4. Nothing changed except the system asked for setting up OCR again. If i get the latest version, i will try out your advise. thanks a lot. ;)

SICGames commented 1 month ago

You have to do fresh Uninstall https://youtu.be/3B_ZdXmP_jI?feature=shared

On Tue, Sep 24, 2024, 1:28 PM MCFil22 @.***> wrote:

Hi, no rush. I'm having v2.0.0 preview 4. Tried to install preview 5.0, installed but it is still preview 4. Nothing changed except the system asked for setting up OCR again. If i get the latest version, i will try out your advise. thanks a lot. ;)

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/64#issuecomment-2371894594, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAZ6JXFCAUGBSTOKJEU7U3ZYGOMXAVCNFSM6AAAAABONHVRMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRHA4TINJZGQ . You are receiving this because you commented.Message ID: @.***>

MCFil22 commented 1 month ago

Hello I uninstalled, followed the video and deleted folders. then installed the preview 5.0 exe. but i cannot launch the program. Thought i might have done something wrong. ...enclosed the crash file, PFA, thanks. crash.log

SICGames commented 1 month ago

Why not install the latest preview 5.6?

On Tue, Sep 24, 2024, 10:00 PM MCFil22 @.***> wrote:

Hello I uninstalled, followed the video and deleted folders. then installed the preview 5.0 exe. but i cannot launch the program. Thought i might have done something wrong. ...enclosed the crash file, PFA, thanks. crash.log https://github.com/user-attachments/files/17123331/crash.log

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/64#issuecomment-2372730185, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAZ6JVC3XREIVM7WSFICVLZYIKKLAVCNFSM6AAAAABONHVRMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSG4ZTAMJYGU . You are receiving this because you commented.Message ID: @.***>

SICGames commented 1 month ago

When you install the latest version. Go to windows explorer and type in %localappdata% head over to sicgames folder then TotalBattleChestTracker folder and delete folders temp and tessdata. Relaunch preview 5.6 and wait until the download is completed

MCFil22 commented 1 month ago

Good Day, thanks for the advise. (finally i have time to installed clear the stuff) I followed the guide and started again with v5.9. I'm now having the capturing issue and dont know when to look at. The automation stopped said some spelling mistake in the setting but i could not found out where. thanks Screenshot 2024-09-28 122943 Screenshot 2024-09-28 123550

MCFil22 commented 1 month ago

Hello, just now in the middle of automation, the program stopped. and i tried to start over again but the same popped up. Enclosed the crash report for your review. Thanks. crash.log

Apart from it, the automation is unable to capture the personal chest of Union of Truimph. The program would stop and have the error as per the above post. I need to stop and open the chests manually and start automation again.

Thanks.

MCFil22 commented 1 month ago

Hello, the system crashed again. i dont know how to fix that. Please help. thanks. crash.log

gregenspurger commented 3 weeks ago

Hi MCFil22, at OCR you must scroll down and change the thershold, till you see SORCE: and FROM: clear!

gregenspurger commented 3 weeks ago

ChestChecker01

SICGames commented 5 days ago

In addition, if your monitor is below 1080 pixels in height, it is better to select 3 rows instead of 4 rows inside OCR wizard. And make sure you select 3 clicks in the Settings -> Automation tab. Report back if this solves it.