Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Pantogram.ash -- add a "pantogram" command to your CLI

  1. #11
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,636

    Default

    Ah, the script foreaches the key => value pairs to build the query string, so they'd be in alphabetical order. If it's too much work to make mafia's detection order-agnostic, I can change the script to submit the bits in that order.

    EDIT: And... changed. It just means 25 map lookups instead of 5 temporary variables so it will run 200ns slower. Will wait a day so I can test and then upload the mafia-compliant version.
    Last edited by zarqon; 02-02-2019 at 01:28 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!

  2. #12
    Developer
    Join Date
    Apr 2010
    Posts
    5,043

    Default

    Submitting in the same order as KOL so the detection works would be preferred, by me at least. If KOL was doing them in any order then we'd definitely update mafia.

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

    Default

    > pantogram silent

    Pantalones summonated.

    > ash numeric_modifier($item[pantogram pants],"Combat Rate")

    Returned: -5.0
    Looks fixed! Have updated the first post with the version that submits in the order KoLmafia is looking for.
    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!

Posting Permissions

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