Search results

  1. philmasterplus

    Bug "svn update" does not move files in local copy

    KoLmafia r20716 here, running under AdoptOpenJDK 11.0.10+9 on Windows 10. If I run "svn update" and the commits move file(s) to a different subdirectory, the files in the working copy are moved correctly, but those in the local copy are not. Since this is difficult to reproduce cleanly, I'll...
  2. philmasterplus

    Thoughts on renaming OCD-Cleanup?

    The poll has been closed--a bit later than intended, due to me being busy. Hope no harm done here. The results are directly viewable in the poll page, but I'll post them here as well: The winner goes to Philter, which received 15 out of 28 votes (2 choices per person). Thanks for your...
  3. philmasterplus

    OCD Inventory control

    I finally willed myself to create a discussion thread for the fork. Please join in the gossip!
  4. philmasterplus

    Philter, the inventory cleanup script

    This is the "home" thread for Philter. Report bugs, give hugs, and discuss features. We recently renamed from "OCD-Cleanup" to "Philter". For details, see the separate thread or the GitHub issue. A migration guide will be available soon. Philter is an inventory cleanup script. It is a fork of...
  5. philmasterplus

    Thoughts on renaming OCD-Cleanup?

    Beats me. Some names were suggested in the ASS discord and I don't ask questions :) Philter is not my suggestion, either. In fact I didn't feel the need to suggest my own. I just thought it was generic enough to pass the rules. Plus, we can always claim that we took the name from the in-game item.
  6. philmasterplus

    Thoughts on renaming OCD-Cleanup?

    Try again. I lowered the shields temporarily.
  7. philmasterplus

    Thoughts on renaming OCD-Cleanup?

    Thanks for the suggestions. I gathered the name ideas and made a short poll. It will be up until Saturday, unless I forget to close it.
  8. philmasterplus

    Can't Get Mafia/Java to work together

    Some recent JDKs don't set the file associations at all. You could create a shortcut that runs the JAR file. It's a bit inconvenient, but we don't provide an EXE for recent builds. (IDK why)
  9. philmasterplus

    Feature - Implemented Terminal color output

    const hex = n => ('0' + parseInt(n).toString(16)).slice(-2); printHtml(new Array(77).fill().map((_, i) => (g = hex(255-(i*255/76)), '<font color="#' + (g > 255 ? 510 - g : g) + hex(i*510/76) + hex(i*255/76) + '">@</font>')).join(''));
  10. philmasterplus

    Feature - Implemented Terminal color output

    Windows 10 is a little behind the times... But I'm happy with having colors at all, so no complaining.
  11. philmasterplus

    Question about the wiki's Master Function List

    I was trying to single-source the function call signatures so that we wouldn't have to edit multiple pages (master function list, function category page, the function page itself) to add/change a function signature. I took a page from how the KoL wiki handles data-driven item/monster pages and...
  12. philmasterplus

    Thoughts on renaming OCD-Cleanup?

    I'm ambivalent to most suggestions, but I'm apprehensive on using names of real people[1], or names that are too long[2]. Besides, I live outside the states and have never heard of Marie Kondo until today. [1] Legal issues immediately come to mind. Also, we'd be tying ourselves to the image of...
  13. philmasterplus

    Thoughts on renaming OCD-Cleanup?

    Edit: We're holding a poll (Google Forms, requires login)! You're welcome to join in. Edit 2021-05-12: Poll results are up! I work on OCD-Cleanup, a fork of Bale's OCD Inventory Control. Recently, while gathering feedback for a major code change, I received requests to rename the project to...
  14. philmasterplus

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

    Does Java have a "code formatter" like Prettier? It would be better to run an automated tool run against the codebase. We could even set up something that runs on svn push.
  15. philmasterplus

    Is it possible to stop Mafia from opening a browser window on login?

    I'm on phone so I can't check, but go to Preferences > Look & Feel > Main Interface and drag-and-drop the "Relay Browser" entry to "Startup in Tabs". Mafia will then start the Relay Browser in the background instead of launching a web browser. Edit: Fixed instructions
  16. philmasterplus

    Feature - Implemented Terminal color output

    I've just tried this patch and it is beautiful. The increase in JAR size is ~150 KiB (~1% of r20685) which is of little concern to me. I hope this gets integrated soon. Until then I'll be manually building color-enabled JARs just to enjoy the colors.
  17. philmasterplus

    Bug - Fixed HTTP request headers are case-insensitive

    Your patch works well; HTTP request headers are being parsed correctly. Good job!
  18. philmasterplus

    Bug - Fixed HTTP request headers are case-insensitive

    Since fredg1 has kindly provided a patch on my behalf, allow me to elaborate: KoLmafia's relay browser acts as a proxy between the browser and KoL's servers. It intercepts and parses HTTP requests (e.g. page visits), and depending on the resource being fetched, either passes it along to KoL or...
  19. philmasterplus

    Feature - Implemented Terminal color output

    Great! Could we have a per-user config flag to disable the CLI colors (and HTML processing) explicitly? If so, all would be golden for me :)
  20. philmasterplus

    Feature - Implemented Terminal color output

    In an ideal world, I would yearn for a dedicated HTML renderer for the CLI. Something that understands CSS, tables, and layout. Practically? I think your solution is fine. Let's ignore <span> and style="...".
Top