Search results

  1. H

    Bug IO Exception almost daily on manual adventuring.

    If that were the case, then ~every request would result in a GOAWAY. We do not have our own hand-rolled HTTP codec, as we're relying on Java's standard library implementation. As such, I'm very skeptical of the notion that Mafia is doing something that's standards-noncompliant. We have seen...
  2. H

    Way to recover old stored passwords?

    As xKiv points out, you're probably best off updating Mafia to a more recent build. That said... The passwords are stored in settings/GLOBAL_prefs.txt as saveState.<your username> as a number, after having gone through a couple of encoding steps. Let's suppose you find...
  3. H

    JSON

    It looks like the URL has moved to https://museum.loathers.net/api/player/2115655?routes/player.$id._index (as @Ryo_Sangnoir pointed out in May) let kolmafia = require("kolmafia") let results = {}; for (let playerId of [1, 354981]) { let url =...
  4. H

    Bug You are too drunk to continue

    Hm. I wonder if this is related to being locked in a chain of choice adventures at the time we're trying to refresh our list of skills.
  5. H

    Bug You are too drunk to continue

    I don't suppose you can share any maximization strings or details re: exactly what got equipped when? If you can find a sequence of actions (beyond "run a specific script that adventures and otherwise depends a lot on current player state") that reproduces the bad state consistently from a...
  6. H

    Bug Meat amount is not detected

    Anyways, let us know if you still see this problem with r28033 (or later). I can't test readily because I don't think I have access to an account with > 2 billion meat on hand.
  7. H

    Bug Meat amount is not detected

    CharSheetRequest still uses StringUtilities.parseInt in this and a few related contexts, which results in clobbering the value we parse from api.php / charpane.php. edit: https://github.com/kolmafia/kolmafia/pull/2416
  8. H

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

    I see the same error on r28030 (i.e. before my dependency bump). It seems nominally benign, although I believe it's tied to the greclipse() line in the spotless stanza.
  9. H

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

    I saw that too. It's probably related to at least one of the dependencies I bumped. When I tried upgrading spotless, that yielded some actual diffs, so I held off for the time being. I'll look into it some more.
  10. H

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

    > NOTE: This plugin changed the core maintainer and has new coordinates:https://plugins.gradle.org/plugin/com.gradleup.shadow https://plugins.gradle.org/plugin/com.github.johnrengelman.shadow I'll send a PR in a bit.
  11. H

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

    Looks like the shadow plugin. https://github.com/GradleUp/shadow/issues/924
  12. H

    Automatically download the newest daily build

    I make no promises about the attached file (slightly edited source plus exe), but it seems to run just fine for me using various compatibility tools on Linux. I continue to have no real experience with C#. (edit: this apparently lost matt.chugg's change to enable TLS 1.2 back on page 8. If for...
  13. H

    Bug toJson fails for nullish values

    I forgot that I had a branch that tinkered with this, but I've now created https://github.com/kolmafia/kolmafia/pull/2381.
  14. H

    Support for Java 21 (new LTS)?

    I upgraded Gradle to 8.8, and Spotless no longer finds any violations with openjdk21. However, I'm seeing several test failures due to Mockito being unable to mock certain standard library classes. It seems that for some strange reason, mockito-inline in the central maven repo is stuck on 5.2.0...
  15. H

    Bug toJson fails for nullish values

    IMO, debug logs should not be generated by a script unless there really is a bug in Mafia. That said, my inclination would be to make any function call from JS to ASH that passes an unrepresentable value to throw a JS exception, rather than passing null to some ASH function (whether...
  16. H

    Bug Maximizer Unequips Main Hand Then Complains Nothing in Main Hand

    Okay. I've sort of managed to reproduce: - Have two of a weapon in inventory. - Run a maximization query in the Modifier Maximizer tab that would select both weapons. - Put both items in the closet. - Click execute to run that query on both of the weapons. - Observe "Why bother putting a weapon...
  17. H

    Bug Maximizer Unequips Main Hand Then Complains Nothing in Main Hand

    Supposedly the maximizer has logic to support this case: https://github.com/kolmafia/kolmafia/blob/main/src/net/sourceforge/kolmafia/maximizer/Maximizer.java#L1654-L1766 But, as the comment suggests, it would be good to confirm that it still works.
  18. H

    Bug Maximizer Unequips Main Hand Then Complains Nothing in Main Hand

    It is possible that we're seeing: - Maximizer wants to equip a yule hatchet in the main hand. In doing so, it invokes retrieveItem() to pull the hatchet. - Maximizer then wants to equip a yule hatchet in the offhand. It theoretically could pull a second, but it's easier (and uses fewer...
  19. H

    Bug - Fixed Mafia Auto Updater Broken

    As I mentioned last month, the auto-updater referenced in this thread switched to using the Github API, so it should work today.
Back
Top