AnkiWarrior - making Anki more addictive (plug-in)

Index » Learning resources

bizarrojosh Member
From: Shiga Registered: 2009-08-22 Posts: 219

Thanks for the tips. If I change the picture the way that harhol suggested will it change everyone's picture? I want to help add the pictures to alleviate some of the work, but I guess I can't since I'm not a dev. Would i have to send you, proxx, and then you would include it in an update for it to effect everyone?

also, I like the idea that harhol has with becoming famous people. In fact, it's what I thought this plug in was (it was that way in the beginning). If we could someone how conquer cities while also leveling a character that would be freaking awesome.

e.g.,
if you conquer 5 cities your character levels up.


Also, thanks for the google map of all the conquered cities. It makes my accomplishment feel a bit bigger.

Proxx Member
From: ドイツ Registered: 2007-01-26 Posts: 149 Website

bizarrojosh wrote:

Would i have to send you, proxx, and then you would include it in an update for it to effect everyone?

Yes. Currently AnkiWarrior works completely offline. You download the plugin and all the image files once; after that, there is no internet connection needed.
Best solution would be some website where users can upload and input their own data. Unfortunately that's quite some work and can't be implemented in a day. But ultimately I would like it to be this way.

bizarrojosh wrote:

if you conquer 5 cities your character levels up.

I agree smile . I used cities because there was an easy way to get all necessary data (there was a table on wikipedia). But if someone can provide another list with different ranks, implementing it is no problem.

bizarrojosh wrote:

Also, thanks for the google map of all the conquered cities. It makes my accomplishment feel a bit bigger.

I am playing a little bit with the possibilities. I did this primarily to learn about the google maps api and to see what I can do with it. tongue Glad you like it smile

Reply #78 - 2010 October 29, 2:24 am
mpacheco Member
From: Tokyo Registered: 2009-04-10 Posts: 79

Proxx wrote:

mpacheco wrote:

If you Undo Answer Card (ctrl-z) and answer the same card twice, three times, four times, etc. then you can get population points for each time answering the same card.

Fixed in the new version. I guess the support of one undo operation should cover most cases? If it's necessary I could support more then one consecutive undo operation and redos.

Once is fine, I think. smile

Proxx wrote:

mpacheco wrote:

Also, having a mode for sentence study vs. vocabulary study would make the app friendlier to a wider audience.

That's a little bit difficult... how do I measure audio cards for example? The current implementation decreases your experience after studying more than 150 cards a day. That should have a similar effect... I don't know if there is an optimal solution.

Ahhh, your current implementation seems satisfactory.. if it's a big project implementing my idea for two modes, then don't bother. I think dev time would be better spent expanding on the "fun" aspects of this... smile

Advertising (register and sign in to hide this)
JapanesePod101 Sponsor
 
Reply #79 - 2010 October 30, 1:25 am
Nuriko Member
From: CA Registered: 2008-01-07 Posts: 603

I used to feel relieved when I was done with my reps for the morning/afternoon/evening. Now that I use Anki Warrior, I get sad and throw a little fit when it's over.

Reply #80 - 2010 October 30, 2:24 pm
Shiki New member
Registered: 2010-10-30 Posts: 5

Thank you for your hard work. This project sounds interesting !

Thanks for the report! Might be fixed now. Could you download the update and try again?

It's probably not the same problem but I still have this :

Traceback (most recent call last):
  File "ankiqt\ui\main.pyc", line 739, in loadDeck
  File "ankiqt\ui\main.pyc", line 294, in moveToState
  File "ankiqt\ui\main.pyc", line 262, in updateViews
  File "ankiqt\ui\status.pyc", line 54, in setState
  File "anki\hooks.pyc", line 56, in repl
  File "C:\Users\\AppData\Roaming\.anki\plugins\AnkiWarrior.py", line 263, in showExpInStatusBar
  File "C:\Users\\AppData\Roaming\.anki\plugins\AnkiWarrior.py", line 282, in updateExpBar
  File "ankiqt\ui\main.pyc", line 2094, in getTranslation
  File "gettext.pyc", line 404, in ugettext
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 14: ordinal not in range(128)

and then :
Traceback (most recent call last):
  File "ankiqt\ui\main.pyc", line 1266, in
  File "ankiqt\ui\main.pyc", line 758, in loadDeck
  File "anki\hooks.pyc", line 26, in runHook
  File "C:\Users\\AppData\Roaming\.anki\plugins\AnkiWarrior.py", line 310, in onLoadDeck
    enabled = mw.deck.getBool('plugin.ankiwarrior.enabled')
AttributeError: 'NoneType' object has no attribute 'getBool'

Last edited by Shiki (2010 October 30, 2:48 pm)

Reply #81 - 2010 October 30, 3:17 pm
KMDES Member
From: Canada Registered: 2009-09-28 Posts: 306

Is there a way to leave anki warrior auto enabled so I don't have to keep reenabling it every time I change decks and such?

Reply #82 - 2010 October 30, 7:17 pm
bizarrojosh Member
From: Shiga Registered: 2009-08-22 Posts: 219

KMDES,

anki warrior is already auto enabled for every deck. At least in the version I have been using (did I upgrade or not? I can't remember). But at least in the last versions it was always auto enabled and there is a small link you can click when you are in a deck that allows you to turn it off and on.

Reply #83 - 2010 October 31, 2:04 am
Proxx Member
From: ドイツ Registered: 2007-01-26 Posts: 149 Website

Nuriko wrote:

I used to feel relieved when I was done with my reps for the morning/afternoon/evening. Now that I use Anki Warrior, I get sad and throw a little fit when it's over.

Is that a good or a bad thing? wink

@Shiki: Thanks for the bug report, I'll look into it. Could you tell me what operating system and what default language you are using on your computer? And which version of Anki are you using in which language? Thanks smile

KMDES wrote:

Is there a way to leave anki warrior auto enabled so I don't have to keep reenabling it every time I change decks and such?

I think you don't like that the "Help"-Panel is closing every time you change decks? Actually that is the default behaviour in Anki for every help-panel. I'll look into it if it can be overridden somehow.

Last edited by Proxx (2010 October 31, 8:59 am)

Reply #84 - 2010 October 31, 8:21 am
mpacheco Member
From: Tokyo Registered: 2009-04-10 Posts: 79

Found a bug/feature request:

Description: Today I ran into a string of cards that I've been struggling with and wanted to see card statistics as I was studying them. However, every time I advanced to a new card, my "Card Statistics" panel was replaced by the Anki Warrior panel.

Expected behavior - Anki Warrior panel only comes up when I click the Anki Warrior menu item in the Tools menu.

Reply #85 - 2010 October 31, 1:12 pm
Shiki New member
Registered: 2010-10-30 Posts: 5

@Proxx
Thanks.
The problem appears when I'm using anki 1.0.1 with windows Vista (French).
By the way, I tried using Anki in Japanese with Applocale and it's working like a charm.

Reply #86 - 2010 October 31, 2:23 pm
Proxx Member
From: ドイツ Registered: 2007-01-26 Posts: 149 Website

mpacheco wrote:

Expected behavior - Anki Warrior panel only comes up when I click the Anki Warrior menu item in the Tools menu.

Thanks for your bug report; it's fixed if you download the updated version.

@Shiki: Could you please try the updated version and post the error message if an error message appears? I changed something but I can't try if that fixed the problem. Thanks.

Update:
v. 1.1.1:
- attempt to fix a bug with the locale settings
- fixed a bug where the AnkiWarrior panel overloaded other (i.e. Kanji statistics) panels

Reply #87 - 2010 October 31, 2:35 pm
Nuriko Member
From: CA Registered: 2008-01-07 Posts: 603

Proxx wrote:

Nuriko wrote:

I used to feel relieved when I was done with my reps for the morning/afternoon/evening. Now that I use Anki Warrior, I get sad and throw a little fit when it's over.

Is that a good or a bad thing? wink

Good thing! smile

Reply #88 - 2010 October 31, 3:27 pm
Shiki New member
Registered: 2010-10-30 Posts: 5

@Proxx
Thank you very much
but, sadly it doesn't change anything for me.

Last edited by Shiki (2010 October 31, 3:27 pm)

Reply #89 - 2010 October 31, 4:39 pm
Proxx Member
From: ドイツ Registered: 2007-01-26 Posts: 149 Website

Shiki wrote:

@Proxx
Thank you very much
but, sadly it doesn't change anything for me.

Hi Shiki,
thank you a lot for trying! smile
I think I've found the problem. Would you try and download the plugin again? I think at least the first error should be gone now. If not... I am quite clueless hmm

Reply #90 - 2010 October 31, 5:06 pm
Shiki New member
Registered: 2010-10-30 Posts: 5

Thanks again !
First error is gone but when I try to launch AnkiWarrior with the tool menu I have another one :
Traceback (most recent call last):
  File "C:\Users\\AppData\Roaming\.anki\plugins\AnkiWarrior.py", line 182, in onViewAnkiWarrior
    txt += '
Population convinced: %s of %s
' % (locale.format("%d", int(exp), 1), locale.format("%d", popul, 1) )
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 58: ordinal not in range(128)

Reply #91 - 2010 October 31, 5:23 pm
Proxx Member
From: ドイツ Registered: 2007-01-26 Posts: 149 Website

Thank you for your fast feedback!
I don't understand why it's working on my, but not on your system. Maybe Windows 7 handles Unicode differently from Windows Vista... whatever.
I changed something which i think caused the error. So if you don't mind to download it again smile

Now I am going to do my reviews and if it's still now working I am going to look into it tomorrow smile

Good night and thanks for your patience!

Reply #92 - 2010 October 31, 5:47 pm
Shiki New member
Registered: 2010-10-30 Posts: 5

Still not working
but I'm sure you'll end up solving the problem!
Thanks again and good night.

Reply #93 - 2010 October 31, 8:25 pm
mpacheco Member
From: Tokyo Registered: 2009-04-10 Posts: 79

Proxx wrote:

mpacheco wrote:

Expected behavior - Anki Warrior panel only comes up when I click the Anki Warrior menu item in the Tools menu.

Thanks for your bug report; it's fixed if you download the updated version.

Less than 24 hour turnaround? Now THAT is what I call service.  smile

Tykkylumi Member
From: England Registered: 2009-07-08 Posts: 144

It works now, except there's no panel at the side for me hmm is there something I have to enable?

EDIT: Nevermind, just me being silly. Got it! All working (:

Last edited by Tykkylumi (2010 November 02, 9:43 am)

jettyke Member
From: 九州 Registered: 2008-04-07 Posts: 1194

A BUG

When I rate my knowledge and then press ctrl z , and return to the previous flashcard, the population convinced doesnt change back to what it was in the first card. It stays the same as if I had already rated the 1st card.

Other than that, thanks a lot, I hope this will be useful^^!

Proxx Member
From: ドイツ Registered: 2007-01-26 Posts: 149 Website

Thanks for your report, I fixed this in the latest release, please upgrade by downloading AnkiWarrior again :-)

I will be busy and won't be able to work on the plugin for at least the next two weeks. I hope to implement some new features after that.

mpacheco Member
From: Tokyo Registered: 2009-04-10 Posts: 79

Any progress on coming up with ranks/photos/etc?

Would be a shame if this project died. I'd volunteer my time if I had more of it.

wemaydance Member
From: Massachusetts, USA Registered: 2010-11-17 Posts: 34 Website

Thanks for creating this plugin! I downloaded it and have started using it; it's made my reviews more fun to do smile I too am somewhat sad when I'm done for the day and haven't finished conquering the city!

Proxx Member
From: ドイツ Registered: 2007-01-26 Posts: 149 Website

Hi,
I moved and started to work this week. I still don't have internet in my new place (using McDonalds hot spot at the moment).
As soon as I have internet and got accustomed to work I'll continue the development :-)

Reply #100 - 2010 November 28, 8:49 pm
julianjalapeno Member
From: Tokyo Registered: 2010-09-13 Posts: 128

I just got to level 100:)  Most cities so far have been in the 140k range but it should be interesting when I get to the 1 million+ areas.

Thanks again for this!