The month looks like it opened with all bots at 0 energy (instead of what we're used to - each bot starting with 1 hour of their EPH generator).
Wasn't sure if intentional or not, but thought it'd be worth raising :)
|
The month looks like it opened with all bots at 0 energy (instead of what we're used to - each bot starting with 1 hour of their EPH generator). Wasn't sure if intentional or not, but thought it'd be worth raising :) |
Administrator |
The expected behavior is that shortly after midnight (after end-of-month bookkeeping is complete, so around 12:03-12:04am probably, maybe a minute or two later), EPH should be given out to all bots. I did make some moderately invasive changes to the EPH script in May to add the data collection for the clan energy history chart, so it's very possible I broke something related to the initial post-midnight EPH tick, which is a bit of a special case since it doesn't run right at the top of the hour as it usually does. Can you tell me more about what you observed? Was this an observation of (a) actual energy on bots or (b) the new(-ish) clan energy history chart? I noticed (b) doesn't look as expected[*], but that doesn't narrow down whether there's an issue with the logic for snapshotting energy or the actual energy in the game. [*] There are a couple things off. It starts at 1am, but it should start at midnight. The 1am data set is also all 0s, but it should have the post-midnight energy reflected. |
Pixelated [162] |
Not a single bot on the game was awarded the midnight EPH tick. Everyone had 0 energy until 1am tick gave out EPH energy. |
ZoN [87] |
I logged in right before 1AM very briefly.and actually thought someone ran through a ton of the 101 targets (scrolled about 1/3 of way through) - went to HoF to see who was going ham... and no one had. By that time it was 1 and I just started hitting things myself (but it didn't seem to make sense). This explains it. Bots just didn't have energy at all until full hour passed. |
Administrator |
Thanks both, that helps - will investigate. Sounds like I broke something. I also moved this thread to the bugs subforum. |
Administrator |
This should be fixed now. I think I figured out how I broke this. I'd introduced a small typo into the EPH script that was causing it to die (yay for the sharp edges of PHP 😞), but only for the first hour of the month. Note it's harder to test this part of the game, so I'll be more sure of the fix after watching the first hour of July 1. I'll try to be around for that to observe. Thanks for the report. |