bugs

Ender [1]
Administrator
2022-01-26 00:06:50
[2 years, 302 days ago]

(Recording some notes here for myself to investigate later - this was reported over bmail and I wasn't able to quickly figure out what was going on.)

Apparently the global played time has been stuck at a specific value ("5147 years, 35 days, 3 hours, 14 minutes, 7 seconds") for at least a couple months. The "per day" value has been steadily decreasing:

  • 2021-11-22: 15 years, 130 days, 2 minutes per day
  • 2021-11-25: 4 years, 8 days, 11 hours, 21 minutes, 54 seconds per day
  • 2022-01-26: 1 year, 98 days, 15 hours, 53 minutes, 36 seconds per day

No obvious explanations: Played time for individual bots seems to be increasing as expected. Nothing special about the global number of seconds played (somewhere between 2^37 and 2^38 seconds). The data looks okay AFAICT, so I'm guessing something wrong is happening in the PHP layer.

Have a theory of what's happening? Share here - if your theory is correct, or if it even points me in the right direction, I'll give you a free star!


 
Gpof2 [131]
2022-01-26 14:11:26
[2 years, 302 days ago]

Ahh I found the thread that looks related, and one linked within there as well. I have the same suspicions as I conveyed in there.


 
Ender [1]
Administrator
2024-06-24 21:18:15
[152 days ago]

This should be fixed now as part of fixing http://bots4.net/forum/3/7157.

Here's what the documentation page said a few minutes ago:

4750 years, 195 days, 5 hours, 11 minutes, 50 seconds [351 days, 12 hours, 6 minutes, 10 seconds per day]

And here's what it says now after manually clearing out the cache and reloading the page:

120 years, 49 days, 6 hours, 6 minutes, 35 seconds [8 days, 21 hours, 19 minutes, 47 seconds per day]

In hindsight, the 15/4/1 years of playtime per day mentioned in the first post doesn't come close to passing the smell test. Those durations are completely unreasonable for the size of our playerbase and how there are typically at most 20-30 bots online at the same time. 8 days per day sounds a lot more reasonable.

As another check, there were 34 bots affected by that bug, and 2^32 seconds = ~136.2 years. 34 * 136.2 years = 4,630.8 years, which is ~120 years short of 4,750 (the global played time was higher up at 5,147 years when I made this thread - this is almost surely from some bots in the "136 year club" resetting, which resets their played time).

And thanks for pointing me in the right direction once again Gpof, I've sent you a star.