Recent content by nworbetan

  1. nworbetan

    Does Mafia not log HTML output?

    I actually specifically use print_html() over print() whenever I don't want to clutter and bloat my log files with things that there's no reason to log.
  2. nworbetan

    New Content - Implemented GameInformerPowerDailyPro magazine & new Phat Loot Token items

    Can you elaborate on this a little? I could be mis-interpreting it, but it looks to me like you're saying they aren't affected by the space trip headphones and nasty rat mask?
  3. nworbetan

    Bug Location input keeps overwriting clipboard

    I can reproduce this, or something pretty similar at least, in 3 easy steps: 1. start mafia 2. log in 3. middle clicking now pastes this: Pasting the currently selected text with a middle click is pretty normal behavior in Linux. I've used that functionality in a Linux system that didn't even...
  4. nworbetan

    Feature - Implemented Account for The Lost Glasses in monster_defense()

    If you want to see monster variance happen before the lost glasses effect, the easiest way I can think of is to fight monsters whose unmodified defense is 21 or 22. You should see their defense drop below 20 with glasses, yet still vary. You should also see pretty much the same thing on both...
  5. nworbetan

    Feature - Implemented Account for The Lost Glasses in monster_defense()

    Just out of curiosity, has anyone that owns a pair of Chester's sunglasses checked to see if they stack with The Lost Glasses or not?
  6. nworbetan

    missingManuel.ash - Yet Another Manuel Script!

    I've gotten a lot of use out of this script, but as usual, I'm completely incapable of not tinkering with it... So I've added the ability to check just the monsters from a single zone, which saves a bunch of time and server hits. boolean is_alphabetic(string chr) { matcher alpha =...
  7. nworbetan

    Feature - Implemented Add fail-safe price detection to mallsell cli command

    Absolutely. But automatically selling the items at 100 meat when it wasn't possible to sell them at 11 meat was not the safest way to handle my mistake. And that's why I called it a feature request instead of a bug. ;)
  8. nworbetan

    Feature - Implemented Add fail-safe price detection to mallsell cli command

    I wanted to sell some things in the mall, and I tried to cautious and careful not to misplace any digits, but my plan backfired and I ended up offering them for sale for 100 meat instead of 11,111,111 meat. > mallsell 11 carrot claret @ 11,111,111 [111] has no matches. Skipping '111'. [111]...
  9. nworbetan

    playing around with new maximize()

    I apologize if it seems like I'm moving the goalposts. To me it still feels like I'm looking for an easier way to work with $effects[], and I'm trying to be flexible about what the best solution might be, and learning things as I go. It looks like the .skill and .item fields (along with...
  10. nworbetan

    playing around with new maximize()

    foreach it in $effect[eff].items { if (it.duration > 0) { etc... } } That problem is much easier to solve than parsing the source from $effect[eff].all. I'm not saying that numeric_modifier() isn't easy, I'm saying that it's possible to create much simpler and more...
  11. nworbetan

    playing around with new maximize()

    I can't disagree with that at all. But the impetus for my request was the desire to start with any arbitrary $effect and retrieve the duration without needing to parse text to decide how to retrieve the duration. So the duration added to $items[] and $skills[] would get half-way there, and...
  12. nworbetan

    playing around with new maximize()

    It's looking like what I really want is a new proxy record added to $effects. Just because it's possible to return a duration from maximize() doesn't mean that's the correct place to ask for that information to be added.
  13. nworbetan

    playing around with new maximize()

    Except for the spells that aren't items, and the ballpit, and the tea party, and the mysterious island arena, and the summoning chamber, and the telescope, and the buffs that come from using free rests when you have an appropriate dwelling and...
  14. nworbetan

    playing around with new maximize()

    I can think of a couple reasons for duplicating it in the record: a) The new maximize() returns a list of X cli commands that will provide Y benefit, and Y feels like a vector to me, with both a magnitude (i.e. rec.score) and a direction (i.e. rec.duration), and both the magnitude and the...
  15. nworbetan

    playing around with new maximize()

    So the fact that the durations are already available in mafia looks like good news to me. Does that mean that you're more or less likely to add a duration field to the record? I still think adding that field to the record would be very worthwhile, because of the wide variety of sources of...
Top