SICGames / TBChestTracker

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

App freezes if clan chests database is not present #81

Open dgrdragon opened 1 month ago

dgrdragon commented 1 month ago

I'm using [v2.0 Release Candidate 1.4]

I use a clean clan chests database every day, so before launching the app I normally simply delete clanchests.db and clanchests_temp.db, so it creates a new empty db after opening the clan database.

This used to work fine on previous versions, however with this release even though it creates the db file, the app freezes on the "Start Page" screen when opening the clan database. Workaround is to kill the app from Task Manager and re-launch it - now that the empty db is there, it opens without issues.

SICGames commented 1 month ago

Why delete clanchest.db file? You shouldn't need to do that. Allow it to build up.

On Thu, Oct 24, 2024, 5:36 AM dgrdragon @.***> wrote:

I'm using [v2.0 Release Candidate 1.4]

I use a clean clan chests database every day, so before launching the app I normally simply delete clanchests.db and clanchests_temp.db, so it creates a new empty db after opening the clan database.

This used to work fine on previous versions, however with this release even though it creates the db file, the app freezes on the "Start Page" screen when opening the clan database. Workaround is to kill the app from Task Manager and re-launch it - now that the empty db is there, it opens without issues.

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

dgrdragon commented 1 month ago

I have an external website\interface with my own database and code to process the raw clanchests.db data - I don't use the export functionality in the app, every day I process daily chests, load the json into my db and then reset the clanchests.db

SICGames commented 3 weeks ago

Are you using mysql? Php? So this is real time chest counting then?