Results 1 to 8 of 8

Thread: 18227: Add genie command, _genieFightsUsed

  1. #1
    Feed Reader RSS Bot's Avatar
    Join Date
    Jul 2009
    Posts
    11,381

    RSS 18227: Add genie command, _genieFightsUsed

    Add genie command, _genieFightsUsed

    by lostcalpolydude on 2017-10-03 14:27:59

    M /src/data/defaults.txt (view) (diff)
    M /src/net/sourceforge/kolmafia/KoLmafiaCLI.java (view) (diff)
    M /src/net/sourceforge/kolmafia/request/GenieRequest.java (view) (diff)
    A /src/net/sourceforge/kolmafia/textui/command/GenieCommand.java (view)
    Download the latest KolMafia build here.
    Every new revision posted within the hour.
    New EXE builds every Monday.

  2. #2
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,558

    Default

    Did I use this incorrectly?

    > help genie

    genie effect effectname | monster monstername | stat (mus|mys|mox|all) | meat | item (pony|pocket|shirt) | wish wish | freedom

    > genie stat mox

    [161] genie bottle
    You gain 248 Enchantedness
    You gain some Mysticality points!
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossna | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | Drag-n-Drop Inventories | CanAdv | Script Registry | Map Manager
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  3. #3

    Default

    I had the messages swapped, fixed in 18231. Apparently muscle/moxie/myst is the order someone decided would work for the wiki, and I failed to notice as I copy-pasted.

  4. #4
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,807

    Default

    Apparently muscle/moxie/myst is the order someone decided would work for the wiki, and I failed to notice as I copy-pasted.
    Originally Posted by lostcalpolydude View Post
    It's the order the lines appear in the referenced song.

  5. #5
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,558

    Default

    Thanks for the swift brown fix jumped over the laz-- wait. The swift fix!
    Last edited by zarqon; 10-04-2017 at 08:34 PM.
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossna | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | Drag-n-Drop Inventories | CanAdv | Script Registry | Map Manager
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  6. #6
    Junior Member
    Join Date
    Jun 2011
    Posts
    2

    Default

    Hello,
    The "genie stat all" command does not work because of a typo :
    (from line 106 in GenieCommand.class)
    else if (parameters.startsWith("mox"))
    {
    wish = "I was a baller";
    }
    else if (parameters.startsWith("mox"))
    {
    wish = "I was big";
    }
    "mox" should be "all", and since there is no fallback option after testing mus/myst/mox, there is no output message at all for "genie stat all".
    As a workaround, "genie wish i was big" does work, so it's not a critical issue.

    That said, I'm sorry to make my first post here about a bug, since Mafia is a wonderful tool that I've used for years !
    Thanks for creating and maintaining it !

  7. #7
    Developer
    Join Date
    Apr 2010
    Posts
    4,751

    Default

    Should ideally post in Bug Reports, as this forum is easy to overlook, but as I spotted this post, r18775 makes the fix.

  8. #8
    Junior Member
    Join Date
    Jun 2011
    Posts
    2

    Default

    Should ideally post in Bug Reports, as this forum is easy to overlook, but as I spotted this post, r18775 makes the fix.
    Originally Posted by Darzil View Post
    Sorry for the mispost, and thanks for the fix !

Posting Permissions

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