Comments (15)
Hey @vewong, I think I know exactly what's happening - which is definitely a bug. Where heavy data manipulation in the browser is present, Derby takes a bit (as in like 5s, which is a lot) to sync the data to the server. This happens for example when "cron" is run on the browser (1s after a refresh), leveling up, etc. It takes time for that data to sync up to the server, and if any actions are performed between that phase it causes wonky data screwup. My solution will be to perform complex data manipulation on the server using racer-server-request
In the meantime, the janky solution is to wait a good 5 seconds to make sure big changes get synced to the server (reviving, leveling up, loosing points at the beginning of each day, etc)
from habitica.
I think Racer has undergone some major improvements to mitigate this issue, tell me if it's still having issues. Otherwise, my notes here on the progress.
from habitica.
ok, this should be fixed now. if not, reopen
from habitica.
I'm not sure if this is the same problem, but it seems like it.
When I leveled up to Level 4, my hit points momentarily went to 50/50, but then a few seconds later dropped (I don't remember exactly to what value, as it caught me off guard). I just leveled up to Level 5. This time, same thing...hit points momentarily went 50/50, then immediately dropped to 35/50. What was even weirder though, is that my experience jumped to 70 something/100.
Again, not sure if this is the same problem, or something new.
from habitica.
Do these numbers correspond to the values before leveling up? Or are they
random?
Have you tried refreshing the site? If so what happened then?
On Sat, Feb 2, 2013 at 1:25 PM, demizach [email protected] wrote:
I'm not sure if this is the same problem, but it seems like it.
When I leveled up to Level 4, my hit points momentarily went to 50/50, but
then a few seconds later dropped (I don't remember exactly to what value,
as it caught me off guard). I just leveled up to Level 5. This time, same
thing...hit points momentarily went 50/50, then immediately dropped to
35/50. What was even weirder though, is that my experience jumped to 70
something/100.Again, not sure if this is the same problem, or something new.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-13028604.
from habitica.
Now that you mention it, those numbers "may" correspond to the previous values before I leveled up. I've refreshed multiple times, and the numbers remain at the current values (currently 35/50, 78/100...I completed a couple of tasks).
from habitica.
I'll reopen this then, so that @lefnire can take a look at it.
from habitica.
@demizach Their has been some code pushed so can you advise if this is still an issue at your end?
from habitica.
It's still being a bit erratic. I leveled up yesterday, and my HPs stayed at 39/50, which I believe was the level before leveling up. So, as of yesterday, it would appear that the problem is still occurring.
from habitica.
@demizach I'm really sorry for the continuing frustration on this one :( You haven't been forgotten though! Did it occur again? There have again been major changes, so I am not sure if that might have changed something for you as well?
from habitica.
Thanks for the follow up. No worries...fully understand that this is in the "testing" stage, and as such, there will be bugs to be worked out.
Haven't leveled up for a while. Should level up in a day or two. Will let you know who it goes.
Cheers!
from habitica.
@demizach How did things go?
from habitica.
Just leveled up yesterday. So far, so good. Nothing wacky going on with hit points. Only losing points for uncompleted dailies. Looks like the latest changes did it. Cheers!
from habitica.
I think I am experiencing a related bug. After login, my health drops (as it should, because I have unfinished tasks) by 19 HP. After you see the animation it "resets" to the value before the substraction; in my case it is 40.
And this phenomenon has now occurred for 2 day in a row .
So I am invincible; but I really don't think it should be this way.
(User ID a404a7b2-e38f-4a57-9735-e6317bf3385e )
edit:
Today everything went back to normal without leveling up. I am happy 👍
from habitica.
Closing this for now to clean up the list. Feel free to comment if the bug crops up again!
from habitica.
Related Issues (20)
- Bug Report: Request to Update Twitter Icon to X - HACKTOBERFEST HOT 3
- User with stale data in preferences.tasks.mirrorGroupTasks cannot set preference for new group
- "Show Bailey" option isn't available anymore HOT 2
- How to solve JavaScript heap out of memory? HOT 2
- why so many outdated dependencies? HOT 1
- Why not update the node version?
- Habitica CalDav Sync? HOT 1
- Lack of Security file
- Sorting options in party member list fail during use of transformation item HOT 6
- 'habitica' should be listed in the project's dependencies. HOT 2
- BUG: No Checklists in To-Do's on Challenges HOT 5
- Need more feminine hair options!!!!! HOT 2
- How to know which version I'm running locally? HOT 2
- Need a Desktop app for tracking progress, synced with mobile apps HOT 2
- Need a notice with daily on! HOT 2
- Feature requirement: calendar view HOT 2
- Mongo error on startup HOT 4
- Docker compose fails to build at step 5 HOT 8
- Item purchased at Seasonal Shop gone HOT 1
- No positive integration tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from habitica.