42 11 4211 Sign in to rate

Anki Habitica (formerly Anki HRPG) for Anki 2.0

0.08MB. Updated 2019-06-06. Only supports Anki 2.0.x.

The author has shared 1 other item(s).

Description

Anki 2.0 add-on for use with Habitica. Anki 2.1 version is here: Do not download the Anki 2.1 version from this page... there doesn't seem to be an option to delete just the 2.1 files, so I uploaded a 'plugin' that does nothing. Use the link above if you need the version for 2.1. Sorry! Update 2019-05-24: Github user 71e6fd52 has converted this for use with Anki 2.1 Update 2018-05-30: Habitica has not fixed their avatar export feature. This is a known bug that has been around for a long time; the problem is not with the addon. Because of this, I have added support for using a static image instead. Update 2017-08-13: Problems with new Habitica API should be fixed. (Problem was we couldn't score habit) Update 2017-02-15: Code changed to avoid slowdowns encountered by users with large numbers of decks. New in Version 2.0: Anki Habitica now supports reviews done on any device! Ankiweb, ankimobile, ankidroid, another computer... Anki Habitica will find those points. This addon creates a progress bar on the bottom of the review screen. As you answer questions, reach timeboxes, and clear decks, the progress bar advances. When it gets all the way, it scores an Anki Points habit at When the addon scores your habit on Habitica, a pop-up box tells you how many XP, HP, Mana, and Gold points you have/earned. It also tells you when you've leveled up and if you've received any items. For use with Habitica (formerly HabitRPG): Please don't post bug reports here. I can't reply to you in this forum, I don't get messages when you've posted here, and I don't check this page. If you're having trouble with this add-on, post an issue on add-on for use with Habitica. Anki 2.1 version is here: Anki Habitica for 2.1 ... there doesn't seem to be an option to delete just the 2.1 files, so I uploaded a 'plugin' that does nothing.. Sorry! Update 2019-05-24: Github user 71e6fd52 has converted this for use with Anki 2.1 Update 2018-05-30:. This is a known bug that has been around for a long time; the problem is not with the addon. Because of this, I have added support for using a static image instead. Update 2017-08-13: Problems with new Habitica API should be fixed. (Problem was we couldn't score habit) Update 2017-02-15: Code changed to avoid slowdowns encountered by users with large numbers of decks.Anki Habitica now supports reviews done on! Ankiweb, ankimobile, ankidroid, another computer... Anki Habitica will find those points. This addon creates a progress bar on the bottom of the review screen. As you answer questions, reach timeboxes, and clear decks, the progress bar advances. When it gets all the way, it scores an Anki Points habit at Habitica.com (which it will create).When the addon scores your habit on Habitica, a pop-up box tells you how many XP, HP, Mana, and Gold points you have/earned. It also tells you when you've leveled up and if you've received any items.For use with Habitica (formerly HabitRPG): http://habitica.com Inspired by: https://github.com/Pherr/HabitRPG-Anki-Addon Special thanks to: Tim Wilson for the database code. See https://github.com/eshapard/AnkiHRPG/wiki for a more detailed description.. I can't reply to you in this forum, I don't get messages when you've posted here, and I don't check this page. If you're having trouble with this add-on, post an issue on GitHub

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

This add-on previously supported Anki 2.0. You can download the last version supporting 2.0 here. As Anki 2.0 has been discontinued, no support is available for this version.

All Anki 2.1.x Add-Ons

Reviews

Amazing add-on. Returned using Habitica because of it, unfortunately the avatar don't show because of the Habitica itself

Not working on 2.1 .

Fabulous!! Working great for v2.1.12 (Windows X)

Been hoping this would be updated for well over a year, thanks so much!!

Not working on 2.1.13 - macOS



An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.



When loading 'Anki Habitica formerly Anki HRPG':

Traceback (most recent call last):

File "aqt/addons.py", line 80, in loadAddons

File "/Users/------/Library/Application Support/Anki2/addons21/954979168/__init__.py", line 26, in <module>

from . import db_helper, habitica_class

File "/Users/-------/Library/Application Support/Anki2/addons21/954979168/db_helper.py", line 8, in <module>

from .ah_common import AnkiHabiticaCommon as ah

File "/Users/------/Library/Application Support/Anki2/addons21/954979168/ah_common.py", line 4, in <module>

import logging.handlers

ModuleNotFoundError: No module named 'logging.handlers'

pls we need ver.2.1!!

求2.1 更新。。。

Can you please update it fo anki 2.1? Please!

2.1 ????????

2.1 = invalid code

Update for 2.1

什么时候支持2.1啊...

Please release latest vision for users of Anki2.1 ~

Traceback (most recent call last):

File "aqt\progress.py", line 69, in handler

File "aqt\main.py", line 110, in setupProfile

File "aqt\main.py", line 244, in loadProfile

File "anki\hooks.py", line 26, in runHook

File "C:\Users\Adrina Adam\AppData\Roaming\Anki2\addons\ankihabitica.py", line 718, in grab_profile

if ah.settings.check_db_on_profile_load and ah.settings.configured and ah.habitica.grab_scorecounter('Anki Points') and compare_score_to_db():

File "C:\Users\Adrina Adam\AppData\Roaming\Anki2\addons\AnkiHabitica\habitica_class.py", line 336, in grab_scorecounter

if self.missing[habit]:

KeyError: 'Anki Points'



Anybody fixed it or know a way around this yet?

一个插件发生了错误。

请把它报告在插件的论坛上:

https://anki.tenderapp.com/discussions/add-ons



Traceback (most recent call last):

File "aqt/progress.pyc", line 69, in handler

File "aqt/main.pyc", line 110, in setupProfile

File "aqt/main.pyc", line 244, in loadProfile

File "anki/hooks.pyc", line 26, in runHook

File "/Users/nju/Library/Application Support/Anki2/addons/ankihabitica.py", line 717, in grab_profile

if ah.settings.check_db_on_profile_load and ah.settings.configured and ah.habitica.grab_scorecounter('Anki Points') and compare_score_to_db():

File "/Users/nju/Library/Application Support/Anki2/addons/AnkiHabitica/habitica_class.py", line 332, in grab_scorecounter

if self.missing[habit]:

KeyError: 'Anki Points'

Thank you

lots of error and no avatar

Awesome add-on, really gives you motivation to keep studying!



However, is there a way I can modify the code so that the score pop-up only appears at the end of my study session?

Cool, works with my Habitica account and helps me earn XP and gold!

Love the integration. Just searched for it to request a feature from the Habitica people and found this.



"Many thanks. Much wow." -- goldsteal

It's awesome. "Study cards to get points and develop your character"

The only thing is that there is no avatar.

traceback error, no avatar and no habitica status bar (they used to display norm



Traceback (most recent call last):

File "aqt\preferences.py", line 46, in reject

File "aqt\preferences.py", line 42, in accept

File "aqt\main.py", line 436, in reset

File "aqt\main.py", line 388, in moveToState

File "aqt\main.py", line 416, in _reviewState

File "aqt\reviewer.py", line 54, in show

File "anki\hooks.py", line 58, in repl

File "C:\Users\Administrator\AppData\Roaming\Anki2\addons\ankihabitica.py", line 560, in hrpg_realtime

if compare_score_to_db():

File "C:\Users\Administrator\AppData\Roaming\Anki2\addons\ankihabitica.py", line 349, in compare_score_to_db

ah.config[ah.settings.profile]['oldscore'] = ah.config[ah.settings.profile]['score'] # Capture old score

KeyError: 'score'

一个插件发生了错误。

请把它报告在插件的论坛上:

https://anki.tenderapp.com/discussions/add-ons



Traceback (most recent call last):

File "aqt/progress.pyc", line 69, in handler

File "aqt/main.pyc", line 110, in setupProfile

File "aqt/main.pyc", line 244, in loadProfile

File "anki/hooks.pyc", line 26, in runHook

File "/Users/nju/Library/Application Support/Anki2/addons/ankihabitica.py", line 717, in grab_profile

if ah.settings.check_db_on_profile_load and ah.settings.configured and ah.habitica.grab_scorecounter('Anki Points') and compare_score_to_db():

File "/Users/nju/Library/Application Support/Anki2/addons/AnkiHabitica/habitica_class.py", line 332, in grab_scorecounter

if self.missing[habit]:

KeyError: 'Anki Points'

一个插件发生了错误。





Great addon



It works great! .. it would be nice if there is a party on habitica for Anki users :)

error



Unhandled exception in thread started by <bound method Habitica.save_avatar of <AnkiHabitica.habitica_class.Habitica object at 0x03D09E70>>

Works Great!



Really well made add on, appreciate how it shows my progress as a bar and how it shows my current avatar when it adds points :) But I really love how well it syncs, and how if there's no internet connection it saves the points properly and syncs them later. Love this add on and strongly recommend!

error



一个插件发生了错误。

请把它报告在插件的论坛上:

https://anki.tenderapp.com/discussions/add-ons



Traceback (most recent call last):

Unhandled exception in thread started by <bound method Habitica.save_avatar of <AnkiHabitica.habitica_class.Habitica object at 0x0469A490>>

File "aqt\progress.py", line 69, in handler

File "aqt\main.py", line 110, in setupProfile

File "aqt\main.py", line 244, in loadProfile

File "anki\hooks.py", line 26, in runHook

File "C:\Users\dell\Documents\Anki\addons\ankihabitica.py", line 702, in grab_profile

if ah.settings.check_db_on_profile_load and ah.settings.configured and ah.habitica.grab_scorecounter('Anki Points') and compare_score_to_db():

File "C:\Users\dell\Documents\Anki\addons\AnkiHabitica\habitica_class.py", line 332, in grab_scorecounter

if self.missing[habit]:

KeyError: 'Anki Points'

Great add-on



Great add-on, it however makes my Anki unusably slow (I'm on a gigabit connection so it can't be because of internet speed).



In between reviews, and when answering a particular question, there is a long pause that basically breaks the review flow. Any ideas on how to speed this up? I'm talking 5-7 seconds here.

Works as advertised



Great add-on. Does what it's supposed to, and really beefs up your Habitica experience! If the rate of experience growth is too high for you, you can modify the add-on easily.



With version 2 there's pretty much nothing else you could ask for!

Great!



It's great, but is there some way to avoid the information windows to pop up while you're studying? I would preffer to see it when I finish studying :S

Great add on!



Fantastic add on, well designed and works well. Upgrade coming in july too apparently which is exciting, and looking through the source on github it seems to be a big one!



My one suggestion would be to tick off anki as a to do list item in habatica (as well as points for a habit) because anki is a daily activity. It'd just need to do this once per anki 'session' to tick off having done it in habatica.



Other than that great addon, very useful!

could not install



An error occurred in an add-on.

Please post on the add-on forum:

https://anki.tenderapp.com/discussions/add-ons



Traceback (most recent call last):

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.addons", line 41, in loadAddons

File "c:\pyi\iu.py", line 436, in importHook

File "c:\pyi\iu.py", line 521, in doimport

File "C:\Users\Nery\Documents\Anki\addons\ankihrpg.py", line 36, in <module>

api_token = config['token']

KeyError: 'token'

Traceback (most recent call last):

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.addons", line 41, in loadAddons

File "c:\pyi\iu.py", line 436, in importHook

File "c:\pyi\iu.py", line 521, in doimport

File "C:\Users\Nery\Documents\Anki\addons\Anki_HRPG.py", line 36, in <module>

api_token = config['token']

KeyError: 'token'

Great



This addon is great. It's maker is active on github if you ever have any problems. :)