Comments (15)
Lol! Don't you people know the Konami code? Jk, i'll fix this thanks.
from habitica.
When you get all that wonderful negative gold... and buy everything...
There's a blank for armor and weapons above gold level.
That was fun...
from habitica.
If this is still an open issue I'll tackle it tomorrow.
from habitica.
It is. All I think that needs to be done is to remove being able to add a negative number as a reward.
from habitica.
@Andrew565 check out https://github.com/chriso/node-validator while you're in there.
from habitica.
We could use:
money -= Math.abs(taskObj.value)
in the scoring.coffee file to have the reward always cost gold until we work out the validation.
Edit: OK. I think I uploaded the files correctly. That should fix it and stop any more free gold from getting out.
from habitica.
I hope @lefnire can get a look at this. The question is though, will this also work if we put in "asdfs" ?
So far this caused the GP counter to become NaN and this means buy whatever you like until a day reset ;)
It would also be nice to have something like this while setting the value. I don't know about the syntax but something like:
money = Math.abs(taskObj.value)
if(money ==NaN){
//display some error
}else{
// create task
}
from habitica.
It reverts back to the unedited value if a non-number is entered and gives a tooltip with an error when a negative value is entered.
from habitica.
Is this included in your pull request :) ?
from habitica.
Yes. My update should fix it.
from habitica.
Cool :) Well then I hope Tyler can take a look at your pull request soon :)
Although I must say the negative gold is Very useful when testing on the
test server ;)
On Mon, Feb 4, 2013 at 11:18 PM, Sabin144 [email protected] wrote:
Yes. My update should fix it.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/47#issuecomment-13103031.
from habitica.
merged, will go out with the next push. @Pandoro, once I get some proper accessControl in I'll build some debug tools for us - maybe activated by the Konami Code ;)
from habitica.
Checking and unchecking a daily will produce infinite gold, albeit in small increments.
from habitica.
Adding to what tjwds said, you can also keep all the item drops from clicking and unclicking the dailies. Includes pets, food, crits, and hatching potions. (Crits meaning that critical hits will keep the difference in exp too.)
from habitica.
That's not an issue wrt drops, considering there's a drop cap. I'm also not
really concerned about this simply because well, if people are that into
button clicking and missing the point of Habit... they should enjoy their
gold? It would be a lot easier to go into Fix Character Values.
On Thu, Apr 24, 2014 at 10:23 PM, lcnv [email protected] wrote:
Adding to what tjwds said, you can also keep all the item drops from
clicking and unclicking the dailies. Includes pets, food, crits, and
hatching potions. (Crits meaning that critical hits will keep the
difference in exp too.)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/47#issuecomment-41359885
.
from habitica.
Related Issues (20)
- Server errors on https://habitica.com/party and when trying to submit a bug report via Help -> Report a Bug HOT 1
- Bug Report: Request to Update Twitter Icon to X - HACKTOBERFEST HOT 2
- 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 1
- 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
- Item purchased at Seasonal Shop gone 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.