Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inexplicable death mid-day while using mobile app #3056

Closed
Reesachan opened this issue Mar 12, 2014 · 23 comments
Closed

Inexplicable death mid-day while using mobile app #3056

Reesachan opened this issue Mar 12, 2014 · 23 comments

Comments

@Reesachan
Copy link

My ID is 4c076644-3805-45e4-98e5-686f43d3d541

An hour ago, I was at 49 out of 50 health. I was somewhere between a third and halfway through level 59, I've had a perfect day, and I had a bit over 1500 gold. I have no clue which piece of equipment I had at that point and no longer have.

Fifteen minutes ago, I opened up the mobile app to enter an item on my to do list and immediately afterward it informed me that I'd died. I'm in the middle of a quest, so I went and checked my party to see whether someone there had been incredibly lax and if that had caused my death, but there's no new activity there.

I didn't find anything else in the current list of issues that sounded quite like this - all of them seemed to start a new day dead, for instance, rather than a random reset mid-day - so I thought it better to open a new thread.

@Ratcoon2
Copy link

To better assist with this one, can you also provide the following to help others with isolating this bug:

OS and Mobile App used: Was it the official App for iOS/Android or one of them other 3rd party ones (could be a API issue)
Based on the information you provided it sounds like there issue may be related to the to do item, as you stated you marked an item complete and noticed the death. Do you recall the settings for that to do item and if any status indicators listed at the time of death (-2000 health for example)

[Not currently a coder, just trying to help narrow down where the issue may have occurred]

@Reesachan
Copy link
Author

Thanks for helping me come up with good information to add!

I have an Android phone, and I believe I'm using the official app.

I was adding a new item to the to do list, not marking something
complete, and I didn't do anything special to it, I just typed in the
task and hit enter.

On 3/13/14, Ratcoon2 [email protected] wrote:

To better assist with this one, can you also provide the following to help
others with isolating this bug:

OS and Mobile App used: Was it the official App for iOS/Android or one of
them other 3rd party ones (could be a API issue)
Based on the information you provided it sounds like there issue may be
related to the to do item, as you stated you marked an item complete and
noticed the death. Do you recall the settings for that to do item and if
any status indicators listed at the time of death (-2000 health for
example)

[Not currently a coder, just trying to help narrow down where the issue may
have occurred]


Reply to this email directly or view it on GitHub:
#3056 (comment)

@deilann
Copy link
Contributor

deilann commented Mar 13, 2014

I'm going to guess adding the new item triggered a sync, and for some
reason, the server thought to kill you. I think this is the same issue --
was this the first time you'd used the app that day?

On Thu, Mar 13, 2014 at 6:31 AM, Reesachan [email protected] wrote:

Thanks for helping me come up with good information to add!

I have an Android phone, and I believe I'm using the official app.

I was adding a new item to the to do list, not marking something
complete, and I didn't do anything special to it, I just typed in the
task and hit enter.

On 3/13/14, Ratcoon2 [email protected] wrote:

To better assist with this one, can you also provide the following to
help
others with isolating this bug:

OS and Mobile App used: Was it the official App for iOS/Android or one of
them other 3rd party ones (could be a API issue)
Based on the information you provided it sounds like there issue may be
related to the to do item, as you stated you marked an item complete and
noticed the death. Do you recall the settings for that to do item and if
any status indicators listed at the time of death (-2000 health for
example)

[Not currently a coder, just trying to help narrow down where the issue
may
have occurred]


Reply to this email directly or view it on GitHub:
#3056 (comment)

Reply to this email directly or view it on GitHubhttps://github.com//issues/3056#issuecomment-37532590
.

@Reesachan
Copy link
Author

No, I'd been using it off and on all day. I believe I'd been using the
computer to access the site an hour earlier, though, and that this was
the first time using the app since then if that makes a difference.

On 3/13/14, deilann [email protected] wrote:

I'm going to guess adding the new item triggered a sync, and for some
reason, the server thought to kill you. I think this is the same issue --
was this the first time you'd used the app that day?

On Thu, Mar 13, 2014 at 6:31 AM, Reesachan [email protected]
wrote:

Thanks for helping me come up with good information to add!

I have an Android phone, and I believe I'm using the official app.

I was adding a new item to the to do list, not marking something
complete, and I didn't do anything special to it, I just typed in the
task and hit enter.

On 3/13/14, Ratcoon2 [email protected] wrote:

To better assist with this one, can you also provide the following to
help
others with isolating this bug:

OS and Mobile App used: Was it the official App for iOS/Android or one
of
them other 3rd party ones (could be a API issue)
Based on the information you provided it sounds like there issue may be
related to the to do item, as you stated you marked an item complete
and
noticed the death. Do you recall the settings for that to do item and
if
any status indicators listed at the time of death (-2000 health for
example)

[Not currently a coder, just trying to help narrow down where the issue
may
have occurred]


Reply to this email directly or view it on GitHub:
#3056 (comment)

Reply to this email directly or view it on
GitHubhttps://github.com//issues/3056#issuecomment-37532590
.


Reply to this email directly or view it on GitHub:
#3056 (comment)

@deilann
Copy link
Contributor

deilann commented Mar 13, 2014

That certainly does make it unique. I was thinking if it was the first time
you'd used it since cron, it might not have recognized you'd checked off
your dailies and then reapplied cron, killing you. But that seems not to be
the case here, if you'd used the app on and off all day.

Just want to make sure you know you can go to Site > Settings > Fix
Character Values (on the web app) to restore your gold (and gold for lost
equipment) and XP.

On Thu, Mar 13, 2014 at 6:36 AM, Reesachan [email protected] wrote:

No, I'd been using it off and on all day. I believe I'd been using the
computer to access the site an hour earlier, though, and that this was
the first time using the app since then if that makes a difference.

On 3/13/14, deilann [email protected] wrote:

I'm going to guess adding the new item triggered a sync, and for some
reason, the server thought to kill you. I think this is the same issue --
was this the first time you'd used the app that day?

On Thu, Mar 13, 2014 at 6:31 AM, Reesachan [email protected]
wrote:

Thanks for helping me come up with good information to add!

I have an Android phone, and I believe I'm using the official app.

I was adding a new item to the to do list, not marking something
complete, and I didn't do anything special to it, I just typed in the
task and hit enter.

On 3/13/14, Ratcoon2 [email protected] wrote:

To better assist with this one, can you also provide the following to
help
others with isolating this bug:

OS and Mobile App used: Was it the official App for iOS/Android or one
of
them other 3rd party ones (could be a API issue)
Based on the information you provided it sounds like there issue may
be
related to the to do item, as you stated you marked an item complete
and
noticed the death. Do you recall the settings for that to do item and
if
any status indicators listed at the time of death (-2000 health for
example)

[Not currently a coder, just trying to help narrow down where the
issue
may
have occurred]


Reply to this email directly or view it on GitHub:

#3056 (comment)

Reply to this email directly or view it on
GitHub<
https://github.com/HabitRPG/habitrpg/issues/3056#issuecomment-37532590>
.


Reply to this email directly or view it on GitHub:
#3056 (comment)

Reply to this email directly or view it on GitHubhttps://github.com//issues/3056#issuecomment-37533123
.

@Reesachan
Copy link
Author

Okay, correction, I have a third party client - the one by MagicMickey,

Side note: When I went looking for the HabitRPG app through the Google
Play store, it was impossible to tell which one was the official one,
and even now the only way I was able to figure it out was to find a
link through the HabitRPG blog to take me there. It might not be a bad
idea to throw a note up on the app page saying that that one's the
official one.

On 3/13/14, deilann [email protected] wrote:

That certainly does make it unique. I was thinking if it was the first time
you'd used it since cron, it might not have recognized you'd checked off
your dailies and then reapplied cron, killing you. But that seems not to be
the case here, if you'd used the app on and off all day.

Just want to make sure you know you can go to Site > Settings > Fix
Character Values (on the web app) to restore your gold (and gold for lost
equipment) and XP.

On Thu, Mar 13, 2014 at 6:36 AM, Reesachan [email protected]
wrote:

No, I'd been using it off and on all day. I believe I'd been using the
computer to access the site an hour earlier, though, and that this was
the first time using the app since then if that makes a difference.

On 3/13/14, deilann [email protected] wrote:

I'm going to guess adding the new item triggered a sync, and for some

reason, the server thought to kill you. I think this is the same issue

was this the first time you'd used the app that day?

On Thu, Mar 13, 2014 at 6:31 AM, Reesachan [email protected]
wrote:

Thanks for helping me come up with good information to add!

I have an Android phone, and I believe I'm using the official app.

I was adding a new item to the to do list, not marking something
complete, and I didn't do anything special to it, I just typed in the
task and hit enter.

On 3/13/14, Ratcoon2 [email protected] wrote:

To better assist with this one, can you also provide the following
to
help
others with isolating this bug:

OS and Mobile App used: Was it the official App for iOS/Android or
one
of
them other 3rd party ones (could be a API issue)
Based on the information you provided it sounds like there issue may
be
related to the to do item, as you stated you marked an item complete
and
noticed the death. Do you recall the settings for that to do item
and
if
any status indicators listed at the time of death (-2000 health for
example)

[Not currently a coder, just trying to help narrow down where the
issue
may
have occurred]


Reply to this email directly or view it on GitHub:

#3056 (comment)

Reply to this email directly or view it on
GitHub<
https://github.com/HabitRPG/habitrpg/issues/3056#issuecomment-37532590>
.


Reply to this email directly or view it on GitHub:
#3056 (comment)

Reply to this email directly or view it on
GitHubhttps://github.com//issues/3056#issuecomment-37533123
.


Reply to this email directly or view it on GitHub:
#3056 (comment)

@Reesachan
Copy link
Author

Also, the official one is apparently incompatible with my Motorola
XT557 in case that makes a difference regarding what's going on.

On 3/13/14, Reesa [email protected] wrote:

Okay, correction, I have a third party client - the one by MagicMickey,

Side note: When I went looking for the HabitRPG app through the Google
Play store, it was impossible to tell which one was the official one,
and even now the only way I was able to figure it out was to find a
link through the HabitRPG blog to take me there. It might not be a bad
idea to throw a note up on the app page saying that that one's the
official one.

On 3/13/14, deilann [email protected] wrote:

That certainly does make it unique. I was thinking if it was the first
time
you'd used it since cron, it might not have recognized you'd checked off
your dailies and then reapplied cron, killing you. But that seems not to
be
the case here, if you'd used the app on and off all day.

Just want to make sure you know you can go to Site > Settings > Fix
Character Values (on the web app) to restore your gold (and gold for lost
equipment) and XP.

On Thu, Mar 13, 2014 at 6:36 AM, Reesachan [email protected]
wrote:

No, I'd been using it off and on all day. I believe I'd been using the
computer to access the site an hour earlier, though, and that this was
the first time using the app since then if that makes a difference.

On 3/13/14, deilann [email protected] wrote:

I'm going to guess adding the new item triggered a sync, and for some

reason, the server thought to kill you. I think this is the same issue

was this the first time you'd used the app that day?

On Thu, Mar 13, 2014 at 6:31 AM, Reesachan [email protected]
wrote:

Thanks for helping me come up with good information to add!

I have an Android phone, and I believe I'm using the official app.

I was adding a new item to the to do list, not marking something
complete, and I didn't do anything special to it, I just typed in the
task and hit enter.

On 3/13/14, Ratcoon2 [email protected] wrote:

To better assist with this one, can you also provide the following
to
help
others with isolating this bug:

OS and Mobile App used: Was it the official App for iOS/Android or
one
of
them other 3rd party ones (could be a API issue)
Based on the information you provided it sounds like there issue
may
be
related to the to do item, as you stated you marked an item
complete
and
noticed the death. Do you recall the settings for that to do item
and
if
any status indicators listed at the time of death (-2000 health for
example)

[Not currently a coder, just trying to help narrow down where the
issue
may
have occurred]


Reply to this email directly or view it on GitHub:

#3056 (comment)

Reply to this email directly or view it on
GitHub<
https://github.com/HabitRPG/habitrpg/issues/3056#issuecomment-37532590>
.


Reply to this email directly or view it on GitHub:
#3056 (comment)

Reply to this email directly or view it on
GitHubhttps://github.com//issues/3056#issuecomment-37533123
.


Reply to this email directly or view it on GitHub:
#3056 (comment)

@deilann
Copy link
Contributor

deilann commented Mar 13, 2014

@lefnire I agree with @Reesachan -- marking the "official" app is probably a good idea, so people can tell the difference.

It's really hard for us to troubleshoot third party issues (none of the devs here worked on that code) -- is there any way you could bring up the issue with the developer of the app and report back to us/keep in touch so we can know what's going on?

@Reesachan
Copy link
Author

I'm looking into that as we speak :-)

On 3/13/14, deilann [email protected] wrote:

@lefnire I agree with @Reesachan -- marking the "official" app is probably a
good idea, so people can tell the difference.

It's really hard for us to troubleshoot third party issues (none of the devs
here worked on that code) -- is there any way you could bring up the issue
with the developer of the app and report back to us/keep in touch so we can
know what's going on?


Reply to this email directly or view it on GitHub:
#3056 (comment)

@deilann
Copy link
Contributor

deilann commented Mar 13, 2014

Awesome-- thanks. I'm going to keep this open, even though I'm pretty sure it's a third-party problem. But it might give us some insight into other things.

@MagicMicky
Copy link
Contributor

Hi there ! I'm the developer of the third party application!

I was currently investigating the issue (thanks @Reesachan for your mail), and was looking into what I was doing and what were the problem.

My application hasn't been modified for quite a long time, and may not be up to date with the latest API changes. My guess would be that I might have had the death popup shown where the user wasn't dead, and the user clicking "revive" lead to an API call on /user/revive. I would believe that there is some protection around /user/revive where I can't revive a user that isn't dead. Is there such security?

About which app is the "official" one, I'm really sorry. My application has been out there for a long time (even before you guys had finished yours), and I don't know why I never put an unofficial tag there. I will do so immediately. :)

Edit : Could it be linked to #2601 ? @Reesachan did you see some kind of error just before dying? Anything like a red bar on the top saying an error happened?

@planetaryalien
Copy link

I thought I might tag my bug onto this one because it's very similar. With or without a mobile app (magicmickey's) me and my party (two others in it) keep dying at random. We take critical health hits out of nowhere. There are no neglected tasks for any of us, no damage taken form boss (we are on quest though) and we keep losing a level, all the acquired gold and sometimes piece of equipments. So actual complete deaths but completely uncalled for. We are not taking that much damage in boss fights, and as said, we keep up with our dailies/tasks and shouldn't be getting more than a few HP down.

Anyone has any idea what is causing this, it's happened a few times now and is a bit discouraging.

User ID: 568445a8-ce63-430a-88d1-b8950f91cf0b

@planetaryalien
Copy link

For clarity's sake: I occasionally use the mobile app but haven't with the last death occurred. Party members both don't use a mobile app at all.

@deilann
Copy link
Contributor

deilann commented Mar 15, 2014

planetaryalien, are you losing any of your streaks when this happens? Also,
is this happening during the middle of the day, or when you log in after
cron?

On Sat, Mar 15, 2014 at 9:15 AM, planetaryalien [email protected]:

For clarity's sake: I occasionally use the mobile app but haven't with the
last death occurred. Party members both don't use a mobile app at all.

Reply to this email directly or view it on GitHubhttps://github.com//issues/3056#issuecomment-37729928
.

@planetaryalien
Copy link

Nope, don't lost any streaks...
First death was upon first sign in of a new day, but this latest one was in the middle of the day when I'd already been on to check off tasks earlier in the day.

@deilann
Copy link
Contributor

deilann commented Mar 16, 2014

Can you do me a favor and refresh the party page, just to make sure the
boss isn't dealing you damage? I believe you, but I know I've misread the
party page due to not refreshing.

On Sat, Mar 15, 2014 at 5:28 PM, planetaryalien [email protected]:

Nope, don't lost any streaks...
First death was upon first sign in of a new day, but this latest one was
in the middle of the day when I'd already been on to check off tasks
earlier in the day.

Reply to this email directly or view it on GitHubhttps://github.com//issues/3056#issuecomment-37743965
.

@planetaryalien
Copy link

Oh god. You're right. Massive refresh fail, it only popped up after I deleted my cookies and refreshed. So sorry for taking up your time! ;__;

@deilann
Copy link
Contributor

deilann commented Mar 16, 2014

Don't worry about it. :) I'm glad we all found out what it was.

On Sat, Mar 15, 2014 at 6:13 PM, planetaryalien [email protected]:

Oh god. You're right. Massive refresh fail, it only popped up after I
deleted my cookies and refreshed. So sorry for taking up your time! ;__;

Reply to this email directly or view it on GitHubhttps://github.com//issues/3056#issuecomment-37744836
.

@MagicMicky
Copy link
Contributor

Hi there. I'm commenting around here, because I found something interesting.

It seems that I'm able to call the /user/revive API, even if the user isn't dead. The expected implementation would be either a message saying you can't, or at least not doing anything. Right now it seems to reset user's gold, set his life to 50 and removing an item from his inventory.
Is this the wanted implementation ?
cc @lefnire & others.

Cheers,

@lefnire
Copy link
Contributor

lefnire commented Jun 10, 2014

Not desired implementation, good catch

@MagicMicky
Copy link
Contributor

I'm not sure, but I guess it could be the origin of issues like this. Do you want me to open a new issue about it?

@lefnire
Copy link
Contributor

lefnire commented Jun 12, 2014

Sure, that would be good!

@Alys
Copy link
Contributor

Alys commented Aug 12, 2014

I'm closing this because planetaryalien's issue was solved, MagicMicky logged a new issue for the revive problem, and we don't have any responses for the questions MagicMicky asked of Reesachan. @Reesachan, we can open this if it's still happening for you.

@Alys Alys closed this as completed Aug 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants