ChrisNZL / Tallowmere2

Changelog, issue tracker, and development knowledge for Tallowmere 2.
https://tallowmere2.com
13 stars 0 forks source link

Leaderboards: An erroneous pending entry prevents other entries from being submitted #1124

Closed ChrisNZL closed 1 year ago

ChrisNZL commented 1 year ago

From the 0.3.7 Steam comment thread, one user has submitted a bug report (feedback ID 0.3.7_20221028-RFS8D) of leaderboard score entries not being submitted.

Investigating their Account.t2 file, one entry has no score, no seconds elapsed, and no player count. Not sure why.

Tasks:

Not sure how or why this got added at all.

ChrisNZL commented 1 year ago

Fixed in 0.3.7a.

When the game launches, game removes any zero-score entries from the pending queue.

Also added checks in a couple places to not add zero-score entries at all.

This was probably some weird serialization issue. Haven't been able to reproduce having zero-score entries be created.