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

[Old] XP Changes, Better Notifications and Fixes! #557

Merged
merged 8 commits into from
Mar 3, 2013
Merged

[Old] XP Changes, Better Notifications and Fixes! #557

merged 8 commits into from
Mar 3, 2013

Conversation

PhilipHow
Copy link
Contributor

Here are some changes to a few features, but it's focused on tasks, XP and notifications.

It's done in the style of a change-log, but everything is up for discussion, so please clone, test and discuss!

XP Changes

  • The TNL (To Next Level) Algorithm has been changed to the following:

CodeCogsEqn
Where x is equal to the current level.

  • Here are the XP values required to progress to the next level for the first 20 levels:
    Level XP Level XP
    1 100 11 1400
    2 140 12 1640
    3 200 13 1900
    4 280 14 2180
    5 380 15 2480
    6 500 16 2800
    7 640 17 3140
    8 800 18 3500
    9 980 19 3880
    10 1180 20 4280
  • The base XP gain for Tasks, Habits and Todos has been changed to 10 XP.

Habit and Task Changes

  • Habit degradation is now enabled for purely Up and Down Habits
  • Habit degradation is now uniform for both directions (up and down). The formulae for both are as follows:

CodeCogsEqn 2

  • Positive Habits are capped at 0.25s
  • Negative Habits are capped at -5 HP
  • Gold gained from, Todos, Habits and Dailies is no longer dependant on Strength from the Level and Weapon. This is to align the game with RPG elements but will facilitate Gold gaining mechanics in the future.

Notifications

  • Gold notifications now show Gold and SIlver earnings:
  • Death notifications!

Screen Shot 2013-03-02 at 22 20 07

Fixes

  • XP bars should not longer show rounded up values (i.e. no 100/100 XP exception through API triggered habits)
  • Checking and Unchecking a Todo or Daily should add and remove the same amount of Gold and XP

Code Changes

  • Ported some algorithms to algos.coffee
  • Swapped some functions in scoring.coffee
  • Items are now based on Strength and Defense

@Pandoro
Copy link

Pandoro commented Mar 3, 2013

Wow! Just saw this, great stuff :)

On Sat, Mar 2, 2013 at 11:28 PM, Philip How [email protected]:

XP Changes

  • The TNL (To Next Level) Algorithm has been changed to the following:

[image: CodeCogsEqn]https://f.cloud.github.com/assets/1628871/213462/518fd146-8386-11e2-8a86-8080598133ab.gif

  • Here are the XP values required to progress to the next level for
    the first 20 levels: XP Level XP Level 1 100 11 1400 2 140 12 1640
    3 200 13 1900 4 280 14 2180 5 380 15 2480 6 500 16 2800 7 640 17
    3140 8 800 18 3500 9 980 19 3880 10 1180 20 4280
  • The base XP gain for Tasks, Habits and Todos has been changed to 10
    XP.

Habit and Task Changes

  • Habit degradation is now enabled for purely Up and Down Habits
  • Habit degradation is now uniform for both directions (up and down).
    The formulae for both are as follows:

[image: CodeCogsEqn 1]https://f.cloud.github.com/assets/1628871/213468/c801d1c6-8386-11e2-8fee-1859f8ffddfa.gif

  • Positive Habits are capped at 0.25s
  • Negative Habits are capped at -5 HP
  • Gold gained from, Todos, Habits and Dailies is no longer dependant
    on Strength from the Level and Weapon. This is to align the game with RPG
    elements but will facilitate Gold gaining mechanics in the future.

Notifications

Fixes

  • XP bars should not longer show rounded up values (i.e. no 100/100 XP
    exception through API triggered habits)
  • Checking and Unchecking a Todo or Daily should add and remove the
    same amount of Gold and XP

Code Changes

  • Ported some algorithms to algos.coffee
  • Swapped some functions in scoring.coffee

You can merge this Pull Request by running

git pull https://github.com/MrConcept/habitrpg notifications

Or view, comment on, or merge it at:

#557
Commit Summary

  • Better notifications
  • Changes to XP and GP gain
  • Merge branch 'master' into notifications
  • Merge branch 'develop' of github.com:lefnire/habitrpg into
    notifications
  • Notification and Algorithim changes
  • Add death notification and algorithm fixes
  • Reset button
  • merge

File Changes

Patch Links:

lefnire added a commit that referenced this pull request Mar 3, 2013
XP Changes, Better Notifications and Fixes!
@lefnire lefnire merged commit e4b8742 into HabitRPG:develop Mar 3, 2013
@lefnire
Copy link
Contributor

lefnire commented Mar 3, 2013

Let's do it!

@switz
Copy link
Contributor

switz commented Mar 3, 2013

Love this. Nice job.

@PhilipHow
Copy link
Contributor Author

@ruddfawcett they were, apologies.

@reallux
Copy link

reallux commented Mar 3, 2013

Would it be possible to turn off habit degradation for some purely Up and Down Habits? My problem is the following: let's say you have the habit "work for 1 hour". Now it will degrade an won't be worth much at some point, which in my opinion doesn't make sense for some tasks.
Best regards.

@PhilipHow
Copy link
Contributor Author

The idea behind HabitRPG is that, as you do well in habits, the amount of Gold you receive lessens over time as it actually becomes a habit. This should encourage you to focus on other habits.

This change makes the degradation slower, but is it still not slow enough? I think a balance needs to be found.

@Pandoro
Copy link

Pandoro commented Mar 3, 2013

Personally I was never really thinking about changing my dailies to habits
:x Somehow stuff I do on a daily basis because I want them to do on a daily
basis should be dailies for me, no matter how bad or good they are
eventually :x

On Sun, Mar 3, 2013 at 8:41 PM, Philip How [email protected] wrote:

The idea behind HabitRPG is that, as you do well in habits, the amount of
Gold you receive lessens over time as it actually becomes a habit. This
should encourage you to focus on other habits.

This change makes the degradation slower, but is it still not slow enough?
I think a balance needs to be found.


Reply to this email directly or view it on GitHubhttps://github.com//pull/557#issuecomment-14353348
.

@lefnire
Copy link
Contributor

lefnire commented Mar 3, 2013

Elevating to critical, many people are experiencing this: #564 (Some users getting way too much GP / Exp with new algos)

@Pandoro
Copy link

Pandoro commented Mar 3, 2013

Oooh shit :-/ I feel a bit like it would be the safest to revert the
changes for now and rather test it on the test server first?

These errors to me seem a bit random though, maybe an uninitialized
variable which the new algos need?

On Sun, Mar 3, 2013 at 9:58 PM, Tyler Renelle [email protected]:

Elevating to critical, many people are experiencing this: #564#564


Reply to this email directly or view it on GitHubhttps://github.com//pull/557#issuecomment-14355192
.

@lefnire
Copy link
Contributor

lefnire commented Mar 3, 2013

@mrconcept do the changing plus/minus-only values go back to 0 over time? If not, we should probably restore that to what it was before - quite a few people chiming in about that bit

@lefnire
Copy link
Contributor

lefnire commented Mar 3, 2013

was updated just now

@derekantrican
Copy link

Could we change the minimum from .25 gp to .5 gp (per my post here: #326 )?

@checarlos87
Copy link

@mrconcept Is there a typo in the min function in the delta(down) computation?

0.95^x < 5 for all positive x

so 5 would never be selected as a minimum. Maybe you meant .5? But even so, because it is a min function rather than a max function, the effect of .5 would be to cap the degradation until 0.95^x <= .5, at which point it will degrade exponentially approaching 0.

@ghost
Copy link

ghost commented Mar 8, 2013

All you have to do is have it start at 4 or what ever value you want because anything raised to the 0 is 1. So the equation should be y= .95^x+4 if you want to start the minimum at 5. If you eventually want to remove that 4 and stuff just make the 4(0) after the first go around.

@PhilipHow
Copy link
Contributor Author

The algorithms have changed from these guys, I'll post an updated wiki
entry soon.
On 8 Mar 2013 18:58, "Wesley Pennock" [email protected] wrote:

All you have to do is have it start at 4 or what ever value you want
because anything raised to the 0 is 1. So the equation should be y= .95^x+4
if you want to start the minimum at 5. If you eventually want to remove
that 4 and stuff just make the 4(0) after the first go around.


Reply to this email directly or view it on GitHub.

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

Successfully merging this pull request may close these issues.

7 participants