Search results

  1. R

    Bug - Fixed You have free rests available but KoLmafia thought you had none.

    This is the inverse of https://kolmafia.us/threads/mafia-setting-timesrested-to-0-on-login.29268/, but I still haven't figured out how to get it to work correctly.
  2. R

    Bug Mafia setting `timesRested` to 0 on login

    Okay, so it looks like whether free rests are available is updated for Chateau or Campground rests, but not Campaway rests. I can look into adding that.
  3. R

    Bug - Fixed Sidepane no longer shows inebriety limit until refresh

    The compact side pane bug is different (though it looks similar) -- I think the fix for that one just wants a "KoLCharacter.updateStatus()" call after the session is initialized. This one is about modifiers being computed incorrectly at first login.
  4. R

    Bug - Fixed Sidepane no longer shows inebriety limit until refresh

    I ran through some tests with ASH: have_skill and item_amount return the right values, but inebriety_limit returns the wrong one -- until the first recalculateAdjustments (e.g. "modtrace liver capacity" will do one -- though that also adds debug behaviour). I tried adding some...
  5. R

    Bug - Fixed Missing 1 Drunk Capacity starting with 27601

    You could: click the "refresh" button run "refresh all" run "modtrace liver capacity" open the relay browser and any of those should fix it. It needs to run recalculateAdjustments, and to be aware of your skills. Again, I'm surprised that you're able to adventure (presumably gaining stats or...
  6. R

    Bug - Fixed Fullness Counter is bugged

    r27610, thanks for the report.
  7. R

    Bug Mafia setting `timesRested` to 0 on login

    Some other comments on https://kolmafia.us/threads/sidepane-no-longer-shows-inebriety-limit-until-refresh.29265/, which is the same issue. Specifically, this is because you have free rests available on logon, but Mafia calculates how many free rests you have incorrectly, so it sets the number...
  8. R

    Bug - Fixed Sidepane no longer shows inebriety limit until refresh

    It looks like it doesn't properly set the skills while initially setting session data (in refreshSessionData in KoLmafia.java). However, this doesn't make any sense to me -- because at the top of the function it calls GenericRequest request = new CharSheetRequest()...
  9. R

    Bug - Fixed Sidepane no longer shows inebriety limit until refresh

    Probably something to do with the order things run in. The same problem occurs with the daily deeds for free rests. I guess something needs to prompt it to update after the first recalculateAdjustments of the session. Or we extract the static initializer from modifiers and move it to the main...
  10. R

    Bug - Fixed can't cast Disco Nap in r27606

    Fixed as of r27608. Thanks for the report!
  11. R

    Bug - Fixed Missing 1 Drunk Capacity starting with 27601

    27601 switched to reading liver from modifiers instead of a custom method, but Hollow Leg is a passive skill so I don't understand why this isn't working.
  12. R

    Bug Trainbots are non-copyable

    They couldn't be copied during Crimbo, but they were marked as copiable after Crimbo. They can't be fought using Genie wishes because they have an "executeonwin" function. You can Rain Man them if you have factoids, and they're faxable.
  13. R

    Bug - Fixed Debug log printed with arrays containing nulls (or undefined)

    I hit this while passing a function with an invalid return -- e.g. "[1].map(x => x.key)" would output [undefined], but trying to print this on the GCLI crashes. > js null Returned: null > js undefined Returned: org.mozilla.javascript.Undefined@7fadecaf > js [null] Unexpected error...
  14. R

    New Content - Implemented Sparkling Orb

    Nice find! It would need to be added to src/data/monsters.txt I'll PFC the rate tomorrow.
  15. R

    Feature - Implemented Accessing `zone` effects listed in `modtrace` with `numericModifier`

    Try: ash numeric_modifier("Zone:Shadow Rift", $modifier[Item Drop]) You could also set_location($location[none]); to avoid the zone modifier entirely.
  16. R

    Bug - Fixed Javascript toJson leaves object keys in underscore_format rather than camelCase

    Given > js toJson({"underscore_thing": "other_thing"}) Returned: {"underscore_thing":"other_thing"} I think this is going to be a bit annoying to fix: you want it so that if you pass in a proxy record, the keys are transformed similarly to the way the JavascriptRuntime transforms the keys...
  17. R

    Feature Collect Untradable Pulls

    Sure, can do. How do you want the list to work? You've said the Shore shouldn't appear unless you have adventures / meat (and aren't overdrunk, I guess). For the cookbookbat foods, you want them to not appear if you don't know the recipes? For item availability, currently it buys the ingredients...
  18. R

    Feature Functions as first-class objects in ASH

    All the functions coincidentally take two parameters, but I assume that's not necessary ;) A useful function can take any number of parameters, including zero. A motivating use-case for JavaScript at the moment is chaining filter, sort, map on arrays for quick CLI queries. An example is: js...
  19. R

    Bug Offhand remarkable is incorrectly applying to weapons equipped in offhand

    Thanks for the report, should be fixed in r27552.
Back
Top