habitica icon indicating copy to clipboard operation
habitica copied to clipboard

Enough exp to level up, enough damage to get killed

Open robertoschiavone opened this issue 8 years ago • 10 comments

General Info

  • UUID: a05dda3d-3343-4633-8853-05426ffa951b
  • Browser: Mozilla Firefox 51.0.1
  • OS: macOS Sierra 10.12.2

Description

Quest: Vice Part 3: Vice Awakens (1000 exp, 100 gold, other stuff) My level before finishing the quest: 52 When the boss was killed, I got enough experience to level up to level 53, but also enough damage to get killed. As result, I lost all my gold and my level dropped to 51 (0 exp). I think the outcome should have been one of the following two:

  • I get all the rewards and level up to level 53, then die and go back to level 52;
  • I die and go back to level 51, then get the rewards and end up with 1000 exp and 100 gold.

Console Errors

robertoschiavone avatar Jan 30 '17 00:01 robertoschiavone

The correct order of operations should be:

  1. The player dies, loses a level, and loses all their current gold.
  2. The player receives the benefits for the quest, including XP and gold, and gets to keep those going forward.

lemoness avatar Dec 07 '17 06:12 lemoness

This is pretty old, but I'll see if I can repro this/fix it if it's still there.

Germlord avatar May 17 '19 01:05 Germlord

My first attempt to reproduce this with debug resulted in killing the boss, but not inflicting any damage for missing dailies at all--it appears that part of Cron might have been skipped? It's worth mentioning that this was after I manually set Cron, on the same day that the account was created. Unfortunately, I won't have time to further investigate, so I would encourage any other volunteers to go ahead and make their own attempts at this bug.

tl;dr: Bug couldn't be reproduced, might have been masked by other, related bugs. Will be leaving this issue to the next volunteer.

Germlord avatar May 20 '19 08:05 Germlord

@Germlord Was the Start Date of the Dailies set to be in the past? If it wasn't, then cron would have correctly ignored them. I.e., if you created a test Daily today, it's default start date would have been today. If you did not change the Start Date to yesterday or earlier, then when you caused cron to run today, cron would have seen that the test Daily was not due yesterday, and so it would have ignored it.

Alys avatar May 20 '19 11:05 Alys

I'll try fixing this

lilithi avatar Apr 14 '21 12:04 lilithi

@lilithi Thanks! Please go ahead and post here if you have questions.

Alys avatar Apr 17 '21 08:04 Alys

@lilithi Hi there! Are you still working on this one? If not, or if you don't reply within a week, we're going to mark this as "help wanted" again to make sure people know it's available to work on. Thanks!

shanaqui avatar Jul 26 '21 13:07 shanaqui

Go ahead and change it to help wanted. Unfortunately I've not had the time to mess with it

lilithi avatar Jul 29 '21 09:07 lilithi

Hello, still need help with this issue?

Bokoness avatar Dec 17 '21 11:12 Bokoness