Results 1 to 10 of 10

Thread: Why does my mood fail, saying that I doesn't have enough mana to cast the skill?

  1. #1
    Senior Member
    Join Date
    Dec 2008
    Posts
    593

    Default Why does my mood fail, saying that I doesn't have enough mana to cast the skill?

    "Not enough mana to cast Leash of Linguini.
    Mood failed to cast 10 Leash of Linguini: Not enough mana to cast Leash of Linguini."

    Mana restore is set to auto, and I have plenty of mp restorers.
    nvb_jW4sTLu5F37sZFF7pw.png

  2. #2
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    993

    Default

    I ran into some similar issues. It appears that Mafia believes it is Festival of Jarlsberg ( via ash holiday() ). Therefore, mp_cost() is returning smaller values than it should.

    It seems like when I looked at the main page in the browser earlier today that it did indeed say it was FoJ (although I can't absolutely swear to it). However, when I look at the main page now, there is no longer a holiday notice.

    Probably just a temporary glitch until tomorrow, I expect.

  3. #3
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    993

    Default

    I exited mafia then logged back in...

    Done checking allowed items.
    Session data refreshed.
    Refreshing stash contents...
    Stash list retrieved.
    Requesting store inventory...
    Store inventory request complete.
    Updating display case...
    Initializing chat interface...
    Festival of Jarlsberg, Muscle bonus today and yesterday.
    Using data override: data/mallprices.txt
    6836 prices updated from http://kolmafia.us/scripts/updatepri...?action=getmap

  4. #4
    Senior Member
    Join Date
    Dec 2008
    Posts
    593

    Default

    Ah, that would explain it. Thanks for the help

  5. #5
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    993

    Default

    It appears that this has returned today. I see r10182 specifically mentions January 2. That may be where this happens. But also, main.php did indeed say that it was FoJ when I looked at it earlier today...and that has now disappeared. Same as last year.

    https://kolmafia.us/showthread.php?8...ival+jarlsberg

  6. #6
    Developer
    Join Date
    Apr 2010
    Posts
    5,130

    Default

    So it looks like from 2017 January 2nd is no longer an extra Festival of Jarlsberg, if the wiki is correct : http://kol.coldfront.net/thekolwiki/...l_of_Jarlsberg, but it may now be occurring on January 1st.
    Last edited by Darzil; 01-02-2019 at 01:59 PM.

  7. #7
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    993

    Default

    It seems that January 2 is unique in that the FoJ is only lasting for part of the day?

  8. #8
    Developer
    Join Date
    Apr 2010
    Posts
    5,130

    Default

    Fun! And do we know what the logic is ?

  9. #9
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    993

    Default

    I sure don't. Same as last year, I had scripts suddenly start failing, which I tracked down to incorrect returns for mp_cost(). And eventually realized that mafia thought it was FoJ while main.php did not.

    It seems the simplest solution might be to eliminate mafia's belief that Jan. 2 is FoJ. At least that way, mp_cost() will be calculated in a manner where calculations for number of casts won't fail, but instead there will be unexpected MP left over (during the part of the day when FoJ is occurring). ?? I don't know.

    On the other hand, it's a once-per-year glitch and is probably caused by some timing thing on KoL's end of things...so it may not be worth messing with at all.

    I would think that more people would be reporting their mood triggers etc. not working as expected (as in the original post in this thread)...but so far that doesn't seem the case. Or they're just not reporting it. So, maybe it doesn't affect things enough to be noticed much?

  10. #10
    Senior Member
    Join Date
    Dec 2008
    Posts
    593

    Default

    A lot of my scripts are failing today as well, which is a bit of a pain as I don't have a lot of time to play today, and I was hoping for the scripts to get my turns done quickly. I tried searching for a property to change to convince mafia it is not the festival of jarlsberg today, but it appears there is no such thing visible to a casual user at least. I suppose the quickest fix I can come up with is setting the restore levels for mp ~10% higher than usual today, and hope that will fix it, so that it burns mp roughly to the usual level. Have you created some workaround for your scripts?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •