Recent content by Malurth

  1. M

    yet another auto-updater (for Windows)

    https://github.com/Malurth/KoLMafia-Updater my old one someone else made stopped working, so I made a new one it was only after making a new one did I realize there are already a lot of new ones oh well, here's another one for you I guess
  2. M

    Bug - Not A Bug Update faxbots?

    Hm. I see. I was unaware of this limitation, though in retrospect it makes sense. I suppose I'll have to scour cc_ascend to figure out how to work around it, then. Thanks for the info.
  3. M

    Bug - Not A Bug Update faxbots?

    The faxbot command is, in a sense, bugged, in that nowadays it almost never works. It pings EasyFax, waits 60 seconds, and then times out, approximately 99% of the time. Technically it is not bugged, as it is doing what it is supposed to do and really EasyFax is the one dropping the ball, but...
  4. M

    Why doe mafia fail to buy items from the mall sometimes?

    Yeah, ideally it would display an error based on why it failed, but in the meantime perhaps you could add a hint with all of those reasons? Something like "(autoBuyPriceLimit may be too low, or you're out of meat, or that amount isn't available for you to buy in the mall)," if those are indeed...
  5. M

    Why doe mafia fail to buy items from the mall sometimes?

    I see. Thank you. I think it would be really helpful if it would display that reason in the CLI, though.
  6. M

    Why doe mafia fail to buy items from the mall sometimes?

    For example: Searching for "drive-by shooting"... Search complete. Desired purchase quantity not reached (wanted 1, got 0) You need 1 more drive-by shooting to continue. ??? This keeps messing up my scripts and it's a real pain in the ass. It doesn't explain anywhere why it failed...
  7. M

    Feature Expose Encounter Listing for use in scripts?

    Yeah, but there's a lot of things you can obtain from parsing session logs that are built-in functionality. It goes back to my 'this would be a lot easier if' point, not that it's impossible without it. Although, honestly, with dice modifiers, it probably would have been for me. At the time I...
  8. M

    Feature Expose Encounter Listing for use in scripts?

    Ah, that's a good point. I suppose as it stands now just exposing the encounter listing would not be particularly helpful, then. A daily detailed encounter listing would be, but at that point it's something entirely different, and I'm not sure if KoLMafia even stores any daily things outside of...
  9. M

    Feature Expose Encounter Listing for use in scripts?

    Hence why I said "Ideally it would also return whether you won/lost a fight and what choice you made in a noncombat," but you can also peek session logs to find that out (although that runs into similar issues as before with clingy/1337/hilarious monsters). Making a more fleshed-out encounter...
  10. M

    Feature Expose Encounter Listing for use in scripts?

    Ah, _frMonstersKilled is precisely what I was after, didn't know it existed, thanks. Still, I think having the Encounter Listing accessible for scripting would be useful in the general case, and would make it so you probably wouldn't have to implement daily variables like that in the future.
  11. M

    Feature Expose Encounter Listing for use in scripts?

    This would make my life a lot easier. I'm trying to automate adventuring in FantasyRealm while having dice gear equipped (aka with random monster modifiers) while also trying to kill 5 monsters and then leave before triggering the noncombat (which sadly still consumes an adventure even if you...
  12. M

    Way to access Encounter Listing in script?

    Dang, clingy monsters are still a pain since both pre-adv and post-adv scripts won't run between stages in multi-stage fights, and you'd have to peek potentially the whole log since they can chain, and also have to avoid double-counting the same clingy monsters. I've yet to think of a...
  13. M

    Clan Fortune Script

    Just popping in to say I made a little code snippet based off this script, which pretty cleanly handles auto-responding to all clannies awaiting a consultation response from you. Mafia already has built-in functionality for sending out requests, and has built-in preferences for what words to use...
  14. M

    Way to access Encounter Listing in script?

    Well, I found this code snippet in another thread, from user "darkcodelagsniper": string LastAdvTxt() { string lastlog = session_logs(1)[0]; int nowmark = max(last_index_of(lastlog,"["+my_turncount()+"]"),last_index_of(lastlog,"["+(my_turncount()+1)+"]")); return substring(lastlog,nowmark)...
  15. M

    Is there built-in functionality for responding to clan fortune teller requests?

    buffer page = visit_url("clan_viplounge.php?preaction=lovetester"); string [int][int] request_array = page.group_string("(clan_viplounge.php\\?preaction=testlove&testlove=\\d*)\">(.*?)</a>"); foreach i in request_array { string response_url =...
Top