SICGames / TBChestTracker

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

Exports and OCR random errors #23

Closed akhilleusuggo closed 2 weeks ago

akhilleusuggo commented 2 weeks ago

1- Export as .txt is not working, exporting .csv works 2- When capturing the images, sometimes it does capture "from PlayerX". The word "from" is not part of the name, but does consider it as a new clanmate with the name "from player". Also some names are broken, some in arabic, when we don't have any with such names

1- the point 1 I can't demonstrate it 2- point 2 can be demonstrated, I will leave a copy here of what I get.

from Truth | 20
OrcChest | 20
from Mare | 20
from xxx | 20
Mare | 20
from ?معطم? | 20
from Radę | 20
from Mali | 20
from keen | 20
Wooden Chest | 0
Bronze Chest | 0
baba | 0
edred | 0
from mana21 | 0
Ancients' Chest | 0
Union Chest | 0
from Mika | 0
SICGames commented 2 weeks ago

It's currently patched in next update. I'm working on crash reporter. New features will be ability to customize how ocr handles the image. What type of chest data to export. Txt files will no longer be an option unless people only want totals to be included. Doesn't do well using tabbed fields in text. Csv file is the way. I have other things to do but majority of bugs that have been posted will be at least fixed in next update.

On Mon, Jun 10, 2024, 5:32 PM akhilleusuggo @.***> wrote:

1- Export as .txt is not working, exporting .csv works 2- When capturing the images, sometimes it does capture "from PlayerX". The word "from" is not part of the name, but does consider it as a new clanmate with the name "from player". Also some names are broken, some in arabic, when we don't have any with such names

1- the point 1 I can't demonstrate it 2- point 2 can be demonstrated, I will leave a copy here of what I get.

from Truth | 20 OrcChest | 20 from Mare | 20 from xxx | 20 Mare | 20 from ?معطم? | 20 from Radę | 20 from Mali | 20 from keen | 20 Wooden Chest | 0 Bronze Chest | 0 baba | 0 edred | 0 from mana21 | 0 Ancients' Chest | 0 Union Chest | 0 from Mika | 0

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/23, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAZ6JSL5JBSVPRPEZLCWLDZGYLNLAVCNFSM6AAAAABJDCTUDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DIOBWGIYTGNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

akhilleusuggo commented 2 weeks ago

Thanks. Seems like deleting the "from PlayerX" from clan mates list, also fixed my issue with OCR capturing.

akhilleusuggo commented 2 weeks ago

Limiting the amount of languages in the OCR options also improves performance and reduces the errors.

SICGames commented 2 weeks ago

fewer languages = less OCR errors. Interesting. Nevertheless, the next update will have better reading from OCR. Since I don't play this game anymore, However, it will allow users to customize how the OCR reads the input. So in your case, what's happening is it's reading junk data because the DPI isn't big enough. OCR text documents are generally 300 dpi. Next update should be soon

akhilleusuggo commented 2 weeks ago

Thank you for you time. Is a nice game but can burn one down. I hope you comeback from the break. The software is awesome definitely and you put some time into it, specially with a smooth and nice GUI. The most stable one I've seen so far, no errors and fully open is TBChestCounter . The down side is it counts 1 by 1 gift, slowing down a lot the process of chests counting, but it's very accurate. Also the logs are open so you can change things in case of mistakes. The citadels are categorized by cursed and elven, and time stamps are accurate.

I have a question, is related to the time zone. What time zone does the software uses? The local? Because only after reload it does update the time. Also doesn't update most of things. Also when I go to clan chests stats, the citadels doesn't seem to update when selecting a range date 'Start-End dates'. It is always the same numbers Not sure if this is also something that will be fixed, but the export from the stats is not working, the field for location export doesn't exists, and sometimes it just crashes. Sometimes there is a "CPU leak", 1core of the machine is maxed, and doesn't end, until I reload the software, like a memory leak, but CPU related. Would be good to provide the database as csv file (to check all the record, and even manually do changes (corrections)) etc.

Thank you for you time.

akhilleusuggo commented 2 weeks ago

@SICGames I want to confirm that reducing the languages, removed the errors for me.

OCRLang

3k+ without issues chests count

SICGames commented 2 weeks ago

v1.5 been released. Fixed OCR misreading names and Region Date. error.