Search results

  1. S

    Bug Max Drunkenness drops when equipping weapon/off-hand

    When I unequipped my weapon & offhand slots, my liver capacity would return to the normal 19, but when I re-equipped something in either of those slots (admittedly I wasn't paying attention to the effects those items had, it *seemed* like the item didn't matter but I only tried a couple...
  2. S

    Bug Max Drunkenness drops when equipping weapon/off-hand

    Unfortunately because running modtrace once seemed to fix it totally, I can't test this now.. I do tend to bounce between characters with "login <char>" a lot, but I'm fairly positive I quit out (with the "exit" command) at least at some point. Come to think of it - I do just about everything...
  3. S

    Bug Max Drunkenness drops when equipping weapon/off-hand

    Hmm ah okay, thank you! Hopefully the details above might help troubleshoot. I didn't know about the modtrace command, and while logging off & back on wouldn't fix it, running "modtrace liver" with a weapon equipped did. I've unequipped & re-equipped a few times and the fix seems to have stuck...
  4. S

    Bug Max Drunkenness drops when equipping weapon/off-hand

    This is very strange & might not be reproducible, but I'm going to give all the information I can. On one of my characters, with liver of steel & after breaking the prism, equipping anything in either my Weapon or Off-hand slot seems to suddenly reduce my max drunkenness by 5 within Mafia, down...
  5. S

    Example script: acquire_familiars

    Thanks for this info; I'm not going to bother to update this - it's a teaching script, and I just wanted to let new people know how I got there and why - this is good to understand. I might do that in some other scripts of my own. But since buy_limit is literally just the autoBuyPriceLimit...
  6. S

    Example script: acquire_familiars

    I was writing a script to obtain any mall-purchasable familiars I was missing, and realized that while it was fairly short and simple it was also using a fairly wide array of functions and would make a great example script. I noticed a couple people here lately who seem new to coding/scripting...
  7. S

    chatbotScript

    record note { string sender; string message; string channel; int date; }[int] ChatLog; File_to_Map("ChatLog.txt",ChatLog); /* int NE= count(ChatLog); while (ChatLog[NE].sender != "") NE=NE+1; */ // Get the actual upper bound int NE = 0; foreach i in ChatLog { NE = i; } ChatLog[NE].sender=...
  8. S

    Handling choices

    This sounds really nice, thanks! I think it'll also be super helpful for automating the spacegate noncoms.
  9. S

    Writing to file?

    Oh ffs, yes apparently the search adds some text for people with pvp enabled for some damn reason so the regex doesn't work in those cases. Here, fixed. record playerdata { string name; string id; string cclass; int level; string clanname; string clanid; }; playerdata[int]...
  10. S

    New Content - Implemented Spacegate access badge

    KoLmafia v17.6 r17954 Unknown item found: complex alien plant sample (9418, 754099238) -------------------- 9418 complex alien plant sample 754099238 dna.gif none d 25 # Item complex alien plant sample: Worth 10 pages of Spacegate Research --------------------
  11. S

    Writing to file?

    so, extracting player info from a search seems like a generally useful thing so I made this, not sure if you're already satisfied with what you've got but here it is anyway. I wasn't even thinking about using searchplayer.php before which is much better than using the profile page. heeheehee...
  12. S

    Writing to file?

    looking back at it it's clear the my_list[i] in the last kmail line should've been changed to temp
  13. S

    Writing to file?

    FYI, if you're going to be parsing pages for information, it would probably behoove you to pick up some regex, which is supported by mafia. I whipped up the below script which, if you save this as "showplayer.ash" in your mafia relay\ folder, will parse out the player's name, id, level, and...
  14. S

    New Content - Implemented Spacegate access badge

    The following ash code dropped in choice.ash parses and tracks the various characteristic of your current planet. Posting here to hopefully save someone time building regexes. Haven't tested with multiple environmental hazards yet, or in the response right when you first choose the planet; will...
  15. S

    Noobsorb: A relay script to help track your absorptions.

    That makes sense. My PVP experience is basically my ascension script smashing the stone and running "swagger" just before jumping the gash. I wonder if I have enough by now to afford anything...
  16. S

    Noobsorb: A relay script to help track your absorptions.

    Sorry, I had a holy hell of a headache yesterday and just kinda threw changes in there and threw it out there. As for storage; are there people that keep stuff in hagnks in aftercore? I don't even think about that, my prismbreak script just grabs everything. But yeah it should be fixed, and I...
  17. S

    Noobsorb: A relay script to help track your absorptions.

    These fixes are now implemented, thanks Theraze!
  18. S

    Vlad's Familiar Changing Frankenscript

    What Theraze posted isn't code, it's the output of the CLI "ashref" command showing you what functions you're probably looking for. You can frequently take a guess or three at what words might be in the function you need and find it this way. I don't know exactly what your logic is in choosing...
  19. S

    Noobsorb: A relay script to help track your absorptions.

    Thanks, I could've sworn the "absorb" command was auto-retrieving stuff before but when I tried it recently it wasn't. Might have to do with Mafia settings, I didn't check to verify. In any case noob.ash as well as the relay will now retrieve the necessary item if it needs to. It also will also...
  20. S

    Changes: Monitor property changes.

    The use case is in script authorship where you need to know when a particular property changes so you can react to it in your own script. Like if you're building an ascension script and need to know exactly when the questL07Cyrptic changes and what causes it and - oh look, cyrptAlcoveEvilness...
Back
Top