If you are using some sort of network time protocol to set your system clock at boot (or periodically, or whatever) and your hardware clock is accurate enough to keep you closely in-synch between updates and (any number of other assumptions) ...
The method I mentioned uses nothing but time values that KoL itself sends us and requires nothing of the accuracy of your local time. KoL itself tells us when rollover has passed and a new day has begun.
I just stayed logged in for (more than) thirty minutes after rollover had presumably finished. I clicked the "refresh" button on the inventory page, which does api.php?which=inventory.
It submitted that api.php request, got redirected to login.php, did the timin, detected that rollover had happened, reset counters and did a few more requests, and then resubmitted the inventory refresh.Code:Updating inventory... Installing default certificate validation... Sending login request... *** slot acc1: KoL has (none) but KoLmafia has Draftsman's driving gloves Loading character status... Synchronizing moon data... 2 days until Festival of Jarlsberg, Moxie bonus tomorrow (not today)
Which is what I expected.
I'll sleep on it and look more tomorrow and see what it would take to make it like the first full login of the day. EVen without counting breakfast (which I do not run automatically) and SVN update (ditto), it needs to look at garden progress, and who knows how much else.