HabitRPG / habitica

A habit tracker app which treats your goals like a Role Playing Game.
https://habitica.com
Other
11.81k stars 4.05k forks source link

Cron did not run (no quest progress, no damage from incomplete Dailies, Dailies still checked from yesterday) [$270 awarded] #1057

Closed impr closed 9 years ago

impr commented 11 years ago

When I logged in this morning my dailies from yesterday were still showing as checked. I tried reopening habitrpg, I tried logging out and logging back in, and I tried waiting (it's been an hour now). No luck, my dailies still show as checked even though I haven't gotten out of bed yet today...

I do have two dailies which I was not supposed to do yesterday (MWF dailies) and they are now showing as tickable so my account clearly knows that it is Monday. Maybe this is just the site's way of telling me those are the only dailies I should do today and I should take the day off from everything else...


edit by admin:

If you experienced some effects of cron but not all of them, then you actually were hit by this bug: https://github.com/HabitRPG/habitrpg/issues/4313 (for example, if some of your Dailies became unticked but not all of them, or if you took Damage from your Dailies even though they remained ticked, or if your Party page shows a quest message for you from overnight).

What to do if your Dailies are still ticked from yesterday:

Go to the Tavern to see if you are Resting in the Inn. If the left-hand column has a large green button that says "Check Out of the Inn", click that, and your Dailies will reset tomorrow (more information about Resting in the Inn). If you didn't see that button, then either wait until tomorrow because your Dailies will almost certainly reset correctly tonight, or:

  1. Record your current values for HP (health), XP (experience), GP (gold), and MP (mana).
  2. Untick all your Dailies.
  3. Go to Settings -> Site and use Fix Character Values to put your values back to the correct settings.
  4. For each Daily, edit it and go into the Advanced Settings to increase the streak count by one.

The $270 bounty on this issue has been claimed at Bountysource.

mendingwall commented 11 years ago

also having this problem, complete with the daily that didn't apply to yesterday being tickable.

wc8 commented 11 years ago

Just to confirm, you're not by any chance resting in the inn?

impr commented 11 years ago

Nope, not resting in the inn. In fact, I've never used the inn. I've worked around it for today by making todos for all of my dailies and checking them off as I go but this will be a pain long term... I'm hoping the dailies reset properly for tomorrow.

mendingwall commented 11 years ago

I've never used the inn. I've put my account on hold before, when that was a separate feature, but not in a long time.

ArlieS commented 11 years ago

This might be related to my bug 1062 - except with me, some of the ones I did yesterday are available today.

impr commented 11 years ago

Update: So things have gotten even weirder. First, my HP, XP, level, and gold reset about an hour ago to what they were this morning. I lost a level and about 20 gold as I had been doing a lot of old red tasks today. The tasks are still gone from my todo list (ie. marked as done) but the HP, XP, and gold I should have gotten for them have all disappeared (of note, the panda egg I got today is still in my inventory).

At the same time as I noticed that, I saw that my rewards column had completely disappeared so I only had three columns on my page. This lasted for about an hour before it reappeared (complete with loss of gold). While that column was gone I was also unable to check any new todos as done. They would show as checked for about 30 seconds but I wouldn't get any XP or gold for them and then the check mark would disappear. This resolved when the rewards column came back.

In general, today has also just been a really bad day for the normal "error" bug where I can't even access habitrpg. I have been getting an error page >50% of the time today.

Thanks for any help y'all can offer on this!

gatorshoes commented 11 years ago

I am also having this problem today, and I've had it once before. I discussed my issue with it over in this thread: https://github.com/lefnire/habitrpg/issues/983.

traceyourshadows commented 11 years ago

My dailies aren't resetting daily either. Instead they seem to be resetting once every two days. In addition the day itself seems to be confused; for example, a task that is supposed to be gray every day but Sunday was gray on Sunday and is its normal color today.

impr commented 11 years ago

So all had been fine for the last two weeks but then this happened again today. Seems to be the exact same issue (dailies that were checked yesterday still showing as checked).

kriscrat commented 11 years ago

I am having this problem for the first time today. I thought it might be of note that I also recently changed my reset time from midnight to 2am. Perhaps they are related?

wizonesolutions commented 11 years ago

So, I have a hypothesis to what is happening here in the case of the issue where dailies sometimes, but not always reset. First, some background:

However, on a couple of busy days recently I didn't open Habit until after midnight. I think this is key. If the reset representing Tuesday morning actually happens after midnight early Wednesday morning, then the system doesn't seem to understand that it should reset the dailies again after the custom day start (in my case, 7am).

So the play style where you're busy and you update your dailies for the day mostly all at once (after midnight) seems to cause this problem.

I might take a look at this for my own benefit. Can anyone else who has experienced this behavior confirm or deny this behavior?

@ahoebeke @Alys @dfjkla @Silverai @jaybers @mihakuu

impr commented 11 years ago

My custom day start is 3am. I am generally in bed by 9.30pm and up around 5am so my last Habit log-on of the evening is pretty much always around 9pm and my first log-on of the morning is just after 5am. As far as I can remember, there was no change in this schedule either of the two times that my dailies have failed to reset. I can also say with pretty much complete certainty that I did not log on to Habit after midnight on either of those nights. Might be that I'm experiencing a slightly different bug from you...

Silverai commented 11 years ago

I figured out I had/have two separate bugs.
The first, HRPG thinks I didn't tick the dailies and I lose health. That one I solved by refreshing the page, waiting for the tab graphic to flicker, then waiting a bit longer until both the tab graphic flicker and my pet flickers at the same time. Then when I check off things, the checks stay right through, with HRPG still recognising they were checked and no health lost. For confirmation, I then wait a bit after checking, and refresh to make sure the ticks held, again waiting until after both the tab and pet flicker together. The second, I never bothered to report because at least no health lost. It is as wizonesolutions says. I have my day start at 4am. If I check all dailies off after midnight (or at 11:40pm one time), they will still be greyed out the next day. I had an exception to this one night where I had 4/6 dailies checked off at about 10pm, then checked the last two off at 1am, and all of them were available again the next day.

wizonesolutions commented 11 years ago

Thanks for the feedback. If I keep running into this and decide to try fixing it, then this will be useful.

traceyourshadows commented 11 years ago

My day reset time is midnight, so I don't believe wizonesolution's hypothesis applies to me, unfortunately.

Sonoris commented 11 years ago

I'm having the same issue today - did most of my dailies after 12am (my custom day start is 8am lol) but they're all checked as of 2:45pm the next day. Don't know if I lost health though... I'm not that observant. ^^;;

lefnire commented 11 years ago

just about there on the framework upgrade. if that doesn't fix the issue i'll revisit this ticket as top priority, but unfortunately i'm not going to debug it before then as I don't think it's anything in habit code

wc8 commented 11 years ago

647 might well be related.

CountPacula commented 11 years ago

I've been having a lot of similar problems myself, which usually seem related to checking off dailies at the end of the day, after midnight but before my 4AM custom start-of-day.

I have to wonder if this might be related to the small floods of 'rollback' reports showing XP/gold -loss- that I've often been getting lately when I first log in for the day (#1313).

devarops commented 11 years ago

I'm experiencing the same problem. Dailies for today are grayed out (not "active").

lefnire commented 11 years ago

dupe of #1057, follow up there

paglias commented 11 years ago

This is #1057 :))

paglias commented 11 years ago

And @lefnire give a look to my comment at #1457

lefnire commented 11 years ago

haha! woops. Was mass-closing, so many "dailies not resetting" tickets.

paglias commented 11 years ago

Everyone experiencing this bug could report if in their country the week starts on Sunday or monday, (or another day)

gatorshoes commented 11 years ago

The week starts on Sunday for me.

lefnire commented 11 years ago

Possibly related: https://github.com/lefnire/habitrpg/issues/1470

paglias commented 11 years ago

For me at least this is gone today, it works perfectly both on the server and on the my local installation. What about others?

meganstrickland commented 11 years ago

I seem to be having this issue, both with the website and the Android app. When I originally registered, I was in the Eastern Time zone (GMT -5). My custom day start has been set to 5am. I didn't use HabitRPG for quite a while, but have just started using it again. I am now in Pacific Time zone (GMT -8) and am experiencing this issue with dailies remaining gray. I don't know yet if I would lose XP/HP for not checking them. Is anyone else still having this problem?

paglias commented 11 years ago

The mobile app has a known bug which has just been fixed so an update should roll out in a few days

imymia commented 11 years ago

Yesterday I checked 4 of my dailies around 11 PM, today they were still checked and I had lost HP and my streaks. I have no custom setting for reset time. I'm using Chromium on a mac, if that's of any help.

meganstrickland commented 11 years ago

This seems to be resolved for me now. I'll report back if that changes. Big thanks to the HabitRPG team!

AnastasiaStabie commented 11 years ago

I'm noticing an issue in "Dailies"

I have "1h Japanese Study" as one of my "Daily" quests and want to have it setup to be a goal only on mondays, wednesdays, and fridays. I set it up originally on my computer browser(Chrome Version 29.0.1547.66 m paired with Windows 7.) However, when I checked the same task on the mobile version the days (on/off) had been switched. It was now enabled for S.T,TH,Su.

I have used this specific example, but all of my tasks set to certain days show as switched between the mobile and desktop versions of the site. I have included screenshots for you and can give additional info if needed.

User ID: f68ff456-0833-44df-b895-0d7e384c8fc4

paglias commented 11 years ago

If you're are using the iOS version of the app an update which should fix you're issue is being processed by apple and should arrive in some days. On android it should already be fixed. Il giorno 19/set/2013 00:26, "AnastasiaStabie" notifications@github.com ha scritto:

I'm noticing an issue in "Dailies"

I have "1h Japanese Study" as one of my "Daily" quests and want to have it setup to be a goal only on mondays, wednesdays, and fridays. I set it up originally on my computer browser(Chrome Version 29.0.1547.66 m paired with Windows 7.) However, when I checked the same task on the mobile version the days (on/off) had been switched. It was now enabled for S.T,TH,Su.

I have used this specific example, but all of my tasks set to certain days show as switched between the mobile and desktop versions of the site. I have included screenshots for you and can give additional info if needed.

User ID: f68ff456-0833-44df-b895-0d7e384c8fc4

— Reply to this email directly or view it on GitHubhttps://github.com/lefnire/habitrpg/issues/1057#issuecomment-24704543 .

lefnire commented 11 years ago

went out today, so should update today / tomorrow

onlysal commented 10 years ago

Have a custom day start/end of 3 a.m. (3 on the 24 hr clock) If I go in after midnight they don't reset for the next day. And they used to...

bre333 commented 10 years ago

I continue to have issues with this. Logging in and out doesn't change anything. This is so frustrating, and happens to me very regularly. Why can't we just have a button that forces a new day to start? my userid is 7e75ed15-7682-4d7f-8e23-8535d5c3327b

ghost commented 10 years ago

Same issue for the first time. My day start was at 4am. Yesterday, I've been offline all day long, so I checked all my dailies after midnight. Today, everything was still checked, no health loss.

meganstrickland commented 10 years ago

I thought this was resolved for me, but it happened again. The problem does seem to occur when I check dailies after midnight but before my custom day start time. Not being able to use that time window rather defeats the purpose of a custom day start.

Otherwise, HabitRPG is absolutely awesome and has made a huge difference in my life. Huge. I don't have the expertise to fix bugs, but I'd like to bribe reward anyone who fixes this one! Homemade cookies, perhaps?

lefnire commented 10 years ago

Speaking of bribes, we might be adding BountySource in the near future as further incentive for a dev to tackle these boring, painful, hair-pulling bugs

paglias commented 10 years ago

Just to be sure and delimitate the issue, points for missing dailys are deducted when this happens? @lefnire I think we'll have to give really big bribes to get this fixed, then probably we'll find out it's something trivial that went unnoticed

meganstrickland commented 10 years ago

@paglias I'm not positive. I will try to take more careful note of my stats tonight and will report back.

mojganin commented 10 years ago

@paglias When I encounter this problem (every time I log in after midnight), I do not lose points for my dailies. That's the issue: they're already checked, so I can't NOT get credit for them.

meganstrickland commented 10 years ago

Hmm... we seem to be describing two slightly different situations, though it may still be the same underlying problem. What happens for me is this: Most days, I check my dailies before midnight and there are no problems. Some days, however, I don't get to it until after midnight, and for that reason I have set my custom day start to 5am. When I check my dailies between midnight and 5am, they are still checked when I look again after 5am. I don't know for certain whether I am losing points for unchecked dailies when this happens. I think so, but I will have to observe more carefully to be sure.

ghost commented 10 years ago

It gets weirder: since 4 days ago, when I had this issue, even if I'm able now to check items, I only experience health loss when I check a negative habit. I have orange and red to-dos, but they cause no harm at all! Before experiencing the checked dailies problem, it never happened.

mojganin commented 10 years ago

I've encountered both variations (post-midnight, dailies are already checked from the previous day; post-midnight check-off doesn't clear at end-of-day), but lately it's been more the former. Either way, I don't lose health.

mojganin commented 10 years ago

@PaolaScorpio To-Dos are not supposed to cause harm. From the FAQ: "You can set a deadline, but missing the deadline or letting the todo turn red won't lose you health. Todos actually become more valuable over time and earn you more experience and gold the longer they languish. This, hopefully, will encourage you to wrap up stale tasks."

ghost commented 10 years ago

Really? Too red to-dos used to cause me harm before...

paglias commented 10 years ago

@PaolaScorpio todos doesn't cause health loss.

@mojganin I think here we're talkin abouth the former of your issues (post midnight they don't reset), I don't remember if there's an issue about the other one, if there isn't feel free to open it.

@lefnire if we assume that algos.cron is run and I don't see why it shouldn't then I would say the issues is probably here https://github.com/HabitRPG/habitrpg-shared/blob/master/script/algos.coffee#L370-L371

onlysal commented 10 years ago

For me is that you "just" lose a day of accountability. Although to be fair I didn't notice if I got penalized re health loss for the preceding day... Sigh...   Sally B. Sedgwick sbsedgwick@yahoo.com

On Wednesday, November 20, 2013 2:11 PM, Matteo Pagliazzi notifications@github.com wrote:

@PaolaScorpio todos doesn't cause health loss. @mojganin I think here we're talkin abouth the former of your issues (post midnight they don't reset), I don't remember if there's an issue about the other one, if there isn't feel free to open it. @lefnire if we assume that algos.cron is run and I don't see why it shouldn't then I would say the issues is probably here https://github.com/HabitRPG/habitrpg-shared/blob/master/script/algos.coffee#L370-L371 — Reply to this email directly or view it on GitHub.