kulvind3r / GamingGaiden

Gameplay Time Tracker for PC and Emulator games
GNU Affero General Public License v3.0
90 stars 3 forks source link

Game time being saved as negative values #4

Closed thestuckster closed 8 months ago

thestuckster commented 8 months ago

Problem

One of my games was being tracked with negative time values. ex: -3 hours 20 minutes.

Work Around

Manually removed the - from the values in the db tables.

kulvind3r commented 8 months ago

If the overall time is still adding up after every gaming session and value is increasing, then it might be some formatting problem which is adding - sign in front of the time value.

Share your log file, it is in the root folder of application.

Log captures the time recorded in the current gaming session before adding it to the already recorded time and updating the final total.

However if you have restarted the application then the log file is cleaned completely and started fresh. So i can only debug if the log still has entries for the game that is giving you problem.

thestuckster commented 8 months ago

Unfortunately I restarted my PC so the log file is lost forever :cry:

kulvind3r commented 8 months ago

I am closing the issue in that case.

I cannot reproduce it on my end and since it happened only for one game for you, there must be some edge case that is going wrong.

We will need an example to identify the edge case.

Feel free to open a new issue if you see this problem again and please capture the log immediately then. :-)