Search results

  1. MCroft

    quick SVN primer (for scripters)

    I'm not sure there's a better place for this, but if so, we can move it. I'm trying to debug an issue with SVNKit for someone, and it turns out there there is logging built in to the damn thing, and you can turn it on from your java command line (or set up a run/debug config in your IDE for...
  2. MCroft

    My personal Meat farming script

    This may be unrelated to the Meat Farming script. One of the things I saw recently on another discussion was a bit about telling KoLmafia "adventure in the Shrine for 4 turns" with the "Don't count free adventures" checkbox checked. If you have an ancient machete equipped, your first 3...
  3. MCroft

    Can't Get Mafia/Java to work together

    I thought they were broken, but I just tried the jsmooth target and it worked.
  4. MCroft

    Bug - Fixed r20705 broke creatable_amount

    I had a similar issue with autoscend failing to create a Horizontal Tango, even though I had the ingredients and made it successfully in the GUI. OTOH, it also failed to consume a bottle of gin, which I had in inventory and didn't need to create. In any case, this seems like a good candidate...
  5. MCroft

    Mafia source code formatting

    I think we determined that editorconfig was good in that it was cross-tool, but not very good because it didn't support very much. IIRC, the main thing people used to care about was cuddling curly braces.
  6. MCroft

    Mafia source code formatting

    I am in favor of this, in principle.
  7. MCroft

    Mafia source code formatting

    I put that IJ file on the wiki, based on Veracity sending me her first pass at it and me documenting how to install it. It's totally updatable and I'd be happy to take a new version if you want to make and publish it
  8. MCroft

    Feature - Implemented Terminal color output

    If you’re using IntelliJ, there’s a syntax file on the wiki. There may be files for other IDEs. Otherwise, I agree with heeheehee. I would be happy to add an ANT target to format modified source pages if I had a tool with that feature.
  9. MCroft

    Feature - Implemented Terminal color output

    Have you tried messing with the undocumented but in the source code properties for jansi? JansiLoader.java says ... private static File getTempDir() { return new File(System.getProperty("jansi.tmpdir", System.getProperty("java.io.tmpdir"))); }
  10. MCroft

    Question about the wiki's Master Function List

    I'm fine with the font, what I was preferring was the single link without a link to data types for the parameters. It's not a hard preference, especially since I don't use it. Mostly I wanted to understand the motivation. I like the idea, but I don't want the users to have two different...
  11. MCroft

    Requesting help with KoLmafia wiki login

    Also, I spoke with Fewyn, and he fixed a misconfiguration and email confirms and password resets should be working again. Thanks for reporting it!
  12. MCroft

    Question about the wiki's Master Function List

    I see that there are typos, but mostly 464 Flink macro and 27 FunctionEmbed macros. There's code in the Talk page Frono mentions to generate a list, which could probably be enhanced to actually generate the page and added to the milestone release process (with ad-hoc runs if we need/want it)...
  13. MCroft

    Requesting help with KoLmafia wiki login

    There was a gigantic reset last november. There's no user named Aventuristo, but there are also only about a dozen active users. The reset was part of an under-the-hood overhaul that included this forum getting new software. I'd recommend trying to register again.
  14. MCroft

    Thoughts on renaming OCD-Cleanup?

    I support renaming. While questionable names are a KoL tradition, this is one we can retire. I was not joking (or not much) when I suggested "MarieKondo.js". The point of the script is "The Life-Changing Magic of Tidying Up", so that's something. I was joking when I suggested...
  15. MCroft

    yet another auto-updater (for Windows)

    Windows only (at this time), before anyone asks.
  16. MCroft

    Feature - Implemented Reducing number of warnings: Resource leak, "checkpoint" is never closed

    This was my favorite comment in that whole class file. But now I wonder if there are other similar comments about "change this when we upgrade to Java 1.8".
  17. MCroft

    Feature - Implemented Reducing number of warnings: Resource leak, "checkpoint" is never closed

    Do we always want to restore the prior checkpoint state? That was my concern when Fred and I were looking at this.
  18. MCroft

    Something seems to be wrong with Mafia/SVN tonight.

    I never want to discourage someone from reporting things. Well, almost never. And now you (and anyone who finds this later via search) has an idea what to look for in the debug log to see if it's likely a Mafia problem when svn fails. tl;dr -- you're good! thanks for reporting!
  19. MCroft

    Feature - Rejected <shout>SPRING CLEANING!!</shout> -- whitespaces

    gonna jump on the bandwagon and say that I prefer incremental fixes with other changes. It absolutely leads to inconsistency between files, but it means that the scope of the change is such that it's at least getting developer testing and maybe review before being integrated. When you fixed...
  20. MCroft

    Something seems to be wrong with Mafia/SVN tonight.

    looking at the debug log, you're exactly right, the issue is in ScriptManager.updateRepoScripts. But the very top of the log is Connection timed out. I think this is probably the first call to get the svnrepo.json text. (Un)fortunately this isn't a problem in Mafia. It's most likely a...
Top