CommunityBridge

15.5k Downloads

Error Syncing Game Time

CoolV1994 opened this issue ยท 2 comments

commented

When using the game time tracker feature there is this error:
24.08 12:42:45 [Server] ERROR Error in UpdateStatistics() during retrieval: Invalid value for getInt() - '0 seconds'
24.08 12:42:45 [Disconnect] User Player1 has disconnected, reason: Disconnected
24.08 12:40:32 [Multicraft] Player1 ran command Message of the Day
24.08 12:40:32 [Connect] User Player1 , IP xxx
24.08 12:40:32 [Server] INFO UUID of player Player1 is xxx
24.08 12:40:24 [Server] ERROR Error in UpdateStatistics() during retrieval: Invalid value for getInt() - '0 seconds'
This error is the same for every player except ones it already synced, in which case it will say:
24.08 12:58:28 [Server] ERROR Error in UpdateStatistics() during retrieval: Invalid value for getInt() - '16306 days, 13 hours, 1 minute, 42 seconds'
The times vary but are inaccurate.

commented

From the errors, I'd suspect you've mixed up the formatted field with the normal field. Make sure you have two separate fields one for the number (which if you prefer can be hidden on the web application) and one for the formatted text.

The numeric one is required as the statistics module uses it to store the value.

commented

Yeah, that was the problem.
I didn't realize that there needed to be 2 different columns for the stats.
Thanks for clarifying.