Search results

  1. A

    ZLib -- Zarqon's useful function library

    rnum() seems to insert commas only for numbers with more than four digits before the decimal point, so you get: > ash import <zlib.ash>; rnum(5000) Returned: 5000 > ash import <zlib.ash>; rnum(55000) Returned: 55,000 > ash import <zlib.ash>; rnum(5000.01) Returned: 5000.01 > ash import...
  2. A

    Feature - Implemented [patch] Tea Party command + Daily Deeds entry

    Ah, I thought it was a design decision. EDIT: The logic for the Daily Deeds panel was flipped.
  3. A

    Feature - Implemented [patch] Tea Party command + Daily Deeds entry

    Merged it with the ‘hatter’ command and removed the dependency on the VIP key. > hatter turtleban Searching for ""drink me" potion"... Purchasing "DRINK ME" potion (1 @ 290)... You acquire an item: "DRINK ME" potion Purchases complete. Using 1 "DRINK ME" potion... You acquire an effect: Down...
  4. A

    Feature - Implemented [patch] Tea Party command + Daily Deeds entry

    Gah, not sure what’s going on. The patch was only supposed to be attached to the first post.
  5. A

    Feature - Implemented [patch] Tea Party command + Daily Deeds entry

    Huh, odd, it was listed in the attachments when I was posting. I figured they were conceptually different. That said, what Bale posted makes sense to me, so I’ll update the patch later today. I edited in the missing original meanwhile for posterity. :)
  6. A

    Feature - Implemented [patch] Tea Party command + Daily Deeds entry

    This patch adds a simple ‘teaparty <hat>’ command that uses a "DRINK ME" potion if necessary, equips the hat, gets the buff and re-equips whatever you were wearing earlier. It also adds an entry in the Daily Deeds panel indicating whether you’ve gotten the buff today. Sample output: > help...
  7. A

    Feature - Implemented Pick pumpkins

    Thanks!
  8. A

    Feature - Implemented Pick pumpkins

    I wanted to check whether I had correctly understood the new preferences, so I tried this: > set harvestGardenHardcore = pumpkin harvestGardenHardcore => pumpkin > set harvestGardenSoftcore = pumpkin harvestGardenSoftcore => pumpkin > breakfast Visiting Crimbo Tree in clan VIP lounge I was...
  9. A

    Bug - Fixed [patch] Stick-on eyebrow piercing breakage not detected

    Thanks for the fix! Hmm, odd. I use NetBeans, which is correctly configured to use tabs for Mafia (just tested it to be sure), and the patches I’ve included as attachments in the past seem okay here. Maybe the ones I include inline lose their tabs because I copy/paste from a command prompt...
  10. A

    Bug - Fixed [patch] Stick-on eyebrow piercing breakage not detected

    It seems that Mafia doesn’t recognize when a stick-on eyebrow piercing breaks (cheap studded belts are handled correctly). This should probably fix it: diff -r f99b1b49c918 src/net/sourceforge/kolmafia/objectpool/ItemPool.java --- a/src/net/sourceforge/kolmafia/objectpool/ItemPool.java Fri...
  11. A

    Best Between Battle Script Ever -- formerly AutoMCD

    I’m not really one for using it, but the familiar cycling seems like a neat addition. One question: have you considered going 1-1-1-1-1, 2-2-2-2-2 etc.? That is to say, swap in familiar 1 till you get drop 1; then familiar 2 until you get drop 1; and so on until familiar 5 is done, at which...
  12. A

    Bug - Fixed Mugs of pumpkin juice not removed from inventory when consumed

    Pumpkin juice is missing its plural in Mafia’s data files, so the mugs are considered separate items altogether. This should fix it: diff -r 5deb0b4832e5 -r 21d97f97db6a src/data/itemdescs.txt --- a/src/data/itemdescs.txt Fri Nov 05 13:07:03 2010 +0530 +++ b/src/data/itemdescs.txt Fri Nov 05...
  13. A

    Bug - Fixed nulls in chat

    Grotfang: Thanks for the quick fix. It wasn’t exactly critical, it just triggered my irrational need for symmetry. :p Theraze: Thanks for trying!
  14. A

    Bug - Fixed nulls in chat

    I’m seeing nulls instead of timestamps next to non-messages in chat. I think it must have been r8692 or r8693 that did it, since everything was fine before I rebuilt today. Here’s what it looks like: EDIT: Just to clarify, this is in the Mafia chat, not the Relay Browser.
  15. A

    Bug - Fixed First semi-rare counter is now about 70-90 turns

    This just happened to me on the first SR itself. With 28 turns played: Eating 1 fortune cookie... You gain 1 Adventure Lucky numbers: 158, 227, 46 Lucky number 227 ignored - too large to be a semirare. Finished eating 1 fortune cookie. The 158 should be ignored too, shouldn’t it?
  16. A

    Bug - Fixed First semi-rare counter is now about 70-90 turns

    You’re right. I misinterpreted the existing code and thought I followed the pattern when in fact I went off on a tangent. :o And I’m having some trouble thinking about it too. I’ll give it another shot in the morning.
  17. A

    Bug - Fixed First semi-rare counter is now about 70-90 turns

    According to Hellion, the initial semirare window is 70–80. Here’s a tentative patch. It’s untested, mind—I probably won’t ascend for another couple of days, so I can’t test it myself.
  18. A

    Feature - Implemented Slimeling tracking improvements

    Sorry for the double post. I realized I forgot to reset the counters on ascension. Here’s the updated patch. EDIT: The patch wasn’t working properly for feeding more than one item at a time. Fixed.
  19. A

    Feature - Implemented Slimeling tracking improvements

    I’m happy to hear that they seem useful. :) I was unsure about the appearance myself: I wanted to create a table (like on the wiki), but (a) the HTML renderer is very rudimentary and (b) for more complicated recipes that becomes very wide very fast anyway. I tried lists of lists too, with the...
  20. A

    Feature - Implemented Slimeling tracking improvements

    I went ahead and put together a patch that tracks slime stacks separately from MP by going back to each item’s base components. I’m not entirely sure that the presentation is ideal: …but the functionality is there. :) Note that if no stacks are expected, that part of the annotation will be...
Back
Top