Recent content by Irrat

  1. I

    Feature - Rejected Better file corruption support

    I think if anything, it'd be nice if mafia made a copy of the backup file if a possible settings corruption is detected. Doesn't do anything blocking, just puts it aside. Just to avoid the state where you had no idea your settings were corrupted until you loaded it and it wiped your backup...
  2. I

    Feature - Rejected Better file corruption support

    Running multiple accounts via scripting without human interaction, they start up automatically and some of the accounts run 24/7. Sometimes I lose power or the system dies unexpectedly, in my case it's specifically just unexpected shutdown I'm concerned about, where the data did not finish...
  3. I

    Feature - Rejected Better file corruption support

    It's more that I'm sick of it being an issue looming over my head. I don't have 24/7 uptime, bots constantly writing to file. It's unlikely, but I don't like it. I'm thinking that maybe the easiest solution will just to add a property at the end of each file, like #DO NOT DELETE THIS LINE Then...
  4. I

    Feature - Rejected Better file corruption support

    A corrupt file sometimes has long lines of 0 bytes, caused by the writer being interrupted as the data is being written. When half the settings are written properly, the current check will not detect corruption. But it may be possible for settings to contain null bytes. I'm getting a headache...
  5. I

    Feature - Implemented Something to automatically prune git history

    Size of a git clone --depth 1 https://github.com/libraryaddict/KolItemPrices.git KolItemPrices$ du -hd1 244K ./data 276K ./.git 524K . Size of KoLMafia's version. libraryaddict-KolItemPrices-master$ du -hd1 244K ./data 57M ./.git 57M . And running this on my existing...
  6. I

    Feature - Implemented Something to automatically prune git history

    I meant that I assumed that if we pruned the git history, we might not see those messages. But admittingly I didn't dive too deep as I wasn't interested in the time spent here. But agreed, most users won't care, most users probably don't even acknowledge the messages. I meant 'should' in the...
  7. I

    Feature - Implemented Something to automatically prune git history

    Maybe svn too? But no one should be using that. Some git repositories, such as KolItemPrices (55mb) or garbage collector (76mb), have a long commit history. Cloning these repositories downloads the entire history, resulting in a relatively large .git directory which can be an issue for some...
  8. I

    BeachComber - fast and efficient beach combing

    One rainbow pearl reappeared in Comb the Beach. It has been said that only one pearl would be available this way. So far, three have. https://kol.coldfront.net/thekolwiki/index.php/Rainbow_pearl
  9. I

    BeachComber - fast and efficient beach combing

    { "minute": 9063, "row": 3, "column": 6 }, That's the one you think is a rainbow yeah? I remember seeing that discussion in kol chat, and I believe that's the only rare I added without confirming, because I couldn't confirm it. Obviously, none of the tiles I confirmed gave a pearl. It also makes...
  10. I

    Feature - Implemented Add a "Pending change in required Java version" nag message.

    The largest reason I'm aware of to upgrade java is the GOAWAY http status issue, which I believe is properly handled by the library in 24. As for displaying a pop-up warning and refusing to start in older versions of Java, a thought occurs to me that maybe it could be possible to have a sub...
  11. I

    Proposal: Require Java 21

    Small suggestion for when we know the next Java version bump will be happening, have a warning label plastered on the mafia login screen about the upcoming update perhaps? Along with a red message in CLI after a player logs in, just incase they automated their login process. Heck, add it into...
  12. I

    Proposal: Require Java 21

    Is it possible that GOAWAY is being suppressed by mafia in some cases and its happening a lot more than we realize? Eg: https://github.com/kolmafia/kolmafia/blob/1d58d366f84c913e67141d22203c65b8ce3414f2/src/net/sourceforge/kolmafia/request/GenericRequest.java#L1611 Anyways, a few thoughts are...
  13. I

    r28087 - What's Changed [*]Create JSON API for relay scripts. by ]@phulin] in

    Had to find this myself, but I personally don't think this will be documented as such, with the recommended approach being to use https://github.com/loathers/tome
  14. I

    r28087 - What's Changed [*]Create JSON API for relay scripts. by ]@phulin] in

    I agree with Vera. There's no documentation on this, wiki remains un-updated. I want to use this, but it feels like I'm being told to reverse engineer the API and consequently start using it in a way that nature didn't intend.
Back
Top