Search results

  1. nworbetan

    Files and maps and arrays, oh my!

    Yes, that's the output that I've jumped through a couple hoops to produce, and if it were packaged into an easier to use function I'd be happy. I could be the only one though, file output is a pretty niche activity. I hadn't considered any situations more complicated than the one I'm working...
  2. nworbetan

    Files and maps and arrays, oh my!

    Okay, the point about using a record is well taken, and there's a pretty good chance that I'll be able to use that to make the collection process simpler. But what I'm trying to accomplish is is collecting a large quantity of data that's both human and computer readable. Specifically with the...
  3. nworbetan

    Files and maps and arrays, oh my!

    I started on a spading project not too long ago, and found myself writing some code that's just silly: if (provisional_muscle != floor((barehanded ? .25 : 1) * my_buffedstat($stat[muscle])) || my_adventures() == 0 || error) { string [string, string, string, string, string, string...
  4. nworbetan

    Feature - Implemented "modernize" item manager tables

    Ah thanks, that preference is what I was looking for and I didn't even know it.
  5. nworbetan

    Feature - Implemented "modernize" item manager tables

    Before the PVP revamp, I did the exact same thing as you: take everything from Hagnk's and treat the closet as off-limits. But now that I'm keeping most of my items in storage and the closet, I'm noticing that hey, the closet actually does a really good job of making items inaccessible. >_<...
  6. nworbetan

    Feature - Implemented "modernize" item manager tables

    Yeah, I can imagine that the "select all in this column" button might be a bit more tedious than what you had in mind. But even the ability to do something to one item from one location would still be a welcome improvement if I didn't need to type the item name up to three different times to...
  7. nworbetan

    Feature - Implemented "modernize" item manager tables

    I kind of think that "mafia's native interface currently lacks the ability to provide a total picture" is a pretty compelling argument in and of itself, but I don't mind elaborating. The interface that I'm imagining is largely the same as any of the current general/recent/closet/storage tabs...
  8. nworbetan

    Feature - Implemented "modernize" item manager tables

    One thing I think would make life easier is typing an item name into a field and having the resulting table show you how many you have in inventory, Hagnks, and your closet, your mall store, etc. Having dedicated tabs for inventory, Hangks, and the closet could be useful too, but the combined...
  9. nworbetan

    Save items from pvp theft

    I added a few embellishments: int minimum_value = 1000; // Closet everything stealable worth more than this; 0 = closet everything stealable. boolean verbose = true; // false = Only print the items that gonna be or woulda been closeted. void main(string show_or_go) { boolean go =...
  10. nworbetan

    Feature Junkyard tool goals

    Oh wow, the thread that made me start building mafia from source in the first place. :) I still think updating the junkyard page to let people know when they're done collecting tools even when they're not in uniform is a nice thing to do.
  11. nworbetan

    Feature - Rejected add toshadow parameter to cli tower command

    I like the option in the gui, and would like to use it in the cli too.
  12. nworbetan

    Tracking Pirates: A Barrrney's Barrr Script

    Yeah, it's not something that I would ever do on purpose either, but I figure that one reason a person might want a script for this one specific quest is because they don't *quite* have all the details down to a science yet. It could happen. /me shrugs
  13. nworbetan

    Tracking Pirates: A Barrrney's Barrr Script

    Nice, I did that exact same thing in my boris script. ;) One thing in your script that might be an edge case issue once in a blue moon: in tryBeerPong(), if a person has failed at beer pong and decided not to try it again, and then runs your script before the 10 adventure refractory period is...
  14. nworbetan

    Feature - Implemented please add Clancy interface to ash scripts

    It's tested now. :thumbsup: boolean check_Clancy() { if (minstrel_quest()) { //if (contains_text(visit_url("charpane.php"), "_att.gif")) { string what_now = visit_url("main.php?action=clancy"); matcher m_choice =...
  15. nworbetan

    Bug - Fixed Using a tomb ratchet when the wheel hasn't been placed advances pyramidPosition

    I appreciate this fix, especially since I had given up hope of fixing it myself when I realized that the tomb ratchet use text was the same whether the wheel had been placed or not. As part of this fix, I think pyramidWheelPlaced probably should also set to true if mafia happens to see...
  16. nworbetan

    Feature - Implemented The Universal Screwdriver can replace the Untinker

    I've spent a few minutes looking into whether this is simple enough that I can fix it (it's not), and there's a case ItemPool.LOATHING_LEGION_UNIVERSAL_SCREWDRIVER: in UseItemRequest.java that looks like someone intended it to let you untinker things with the loathing legion universal...
  17. nworbetan

    Feature - Implemented improvements to quest tracking

    Just tested the patch with placeholders in game, and mostly everything checks good up to and including setting "step5" at the Luter. The one thing that didn't work at all was checking for KoLmafia.isAdventuring() in choice adventures that doesn't actually cost an adventure (i.e. #571-577 in...
  18. nworbetan

    how to detect Clancy status in ash?

    AfaIk, checking the charpane for _att.gif is currently the only way to tell if _att.gif is present in the charpane. :p I wouldn't call that crude, unless maybe you're checking it after every adventure or something?
  19. nworbetan

    Bug - Waiting for Info Track questL11Worship to "step3"

    And on a related note, the quest log entries used as step1 and step2 no longer appear in KoL, even if you open your quest log while you're in the middle of going through that chain of three adventures. I remember step3 being picked up as expected when I looked at the quest log one last time...
  20. nworbetan

    Feature - Implemented improvements to quest tracking

    I'm pretty happy with what I found (looking at QuestDatabase.findQuestProgress()), because it looks like adding an unmatchable placeholder string to questslog.txt (I used the form: "step1 placeholder", or maybe just an extra tab if you think that looks better) will work fine to set the various...
Back
Top