Search results

  1. xKiv

    r27801 - fix: gradle warnings by @midgleyc in t

    Now I am getting: FAILURE: Build failed with an exception. * Where: Build file '/home/xkiv/src2/kolmafia-git/build.gradle' line: 198 * What went wrong: Could not determine the dependencies of task ':jar'. > Resolving dependency configuration 'implementation' is not allowed as it is defined as...
  2. xKiv

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

    AFAIK, that has been reported as a bug in the docs.
  3. xKiv

    Help. Installed Gatsby and now Mafia won't start

    Warnings for building with 21: 1) current-er gradle requires that tasks always have defined order of execution. Older gradle already gave warning about this, 8.5 upgrades them to errors. I added the following: startScripts.mustRunAfter shadowJar distTar.mustRunAfter shadowJar...
  4. xKiv

    Support for Java 21 (new LTS)?

    Warnings for building with 21: 1) current-er gradle requires that tasks always have defined order of execution. Older gradle already gave warning about this, 8.5 upgrades them to errors. I added the following: startScripts.mustRunAfter shadowJar distTar.mustRunAfter shadowJar...
  5. xKiv

    missingManuel.ash - Yet Another Manuel Script!

    go to the file, edit it, go to line 115, find where it says Rene C. Corman and instead use Rene C. Corman (Zombie Slayer)
  6. xKiv

    newbie questions (was: "Is there no way to un-forbid a store?")

    IIRC in the relay browser, near the right edge of top frame. But I never actually used that. Low confidence.
  7. xKiv

    Would someone explain the thriftshop coupon to me, please?

    My thrifshop coupon has survived in my DC for quite some time already. Buying a 28 meat cool whip from The Armory and Leggery didn't use it up. Can you verify that the coupon is actully in your DC after you run the script? Then grep -i "thriftshop" $your_session_files maybe something is pulling...
  8. xKiv

    Restoring Custom Combat Scripts

    I think only if you have (regular) backups that include your kolmafia data folder. Or at least a backup from before it was deleted. They are in the ccs/ subfolder, and each macro is its own file ... so a deleted macro means deleted file.
  9. xKiv

    JSON

    the json I am getting has collections (with an s at the end) where the code expects collection (without the s) (IOW it's not a mafia change, it's a change on the remote side)
  10. xKiv

    Bug Weird variable parsing when calling JS functions

    Perhaps unnecessary - but a gentle reminder that javascript as designed does not have normal non-float [1] numbers. (there's BigInt but that's not very interoperable with other numbers). What we are seeing here might be that 1) literal integers are somehow represented by an internal value that...
  11. xKiv

    Bug Prevent swing popups from stealing focus

    I think there are two other things that can be done to alleviate this: 1) after such popup is created, do not let it accept regular input for some (configurable?) amount of time. Like a second or two. Long enough that we will notice we are suddenly typing/clicking into something that didn't...
  12. xKiv

    Feature - Implemented Prefs file backup/restore Draft PR

    The full scheme is a bit more complicated than that - it also writes a "lock file" [1], so that other concurrently running instances [2] know they should refrain from writing. But it's a very standard way of making sure that you can guarantee that you wrote a complete new version of the file...
  13. xKiv

    Feature - Implemented Prefs file backup/restore Draft PR

    For reference, I have had this as a part of my daily backup for years: #!/bin/sh cd /home/xkiv/.kolmafia cp -r data planting relay scripts settings ~/take/bak/mafia echo "kolmafia git backup" cd ~/take/bak/mafia /usr/bin/git add -A . /usr/bin/git commit -a -m 'auto commit' I believe that if...
  14. xKiv

    My personal Meat farming script

    I think discord *does* in fact have threads now (like, they implemented a decent way to present threads in the past year or so), but the UX is not really that great, and people are not used to using them.
  15. xKiv

    Feature RFC: script dependency remapping

    I would also recommend to first explicitly update the svn version, in case there was a new commit since the last update. If you copy old version of files from svn/ to git/ you are basically saying that you have a new local change that reverts them. That's not going to help with clean...
  16. xKiv

    FamiliarDrops - Get profitable drops from familiars

    Going by what github itself says should be cloned, try this instead: > git checkout Rinn/kol-familiardrops.git But that's probably a mistake that will be fixed later
  17. xKiv

    Bug - Fixed nowToInt() vs. now_to_int()

    Apparently, javascript now has an arbitrary precision decimal type? Try in browser console the differences between these (the ones with n are "bigint" literals, according to typeof): 10000000000000000+1 10000000000000000n+1n So if Rhino doesn't support that yet, that's probably a reasonable...
  18. xKiv

    Accessing hosted webpage on another device

    I don't think mafia by default allows connections from other computers, just localhost. If there isn't a preference to set somewhere and you are not comfortable/profficient enough to change it in sourece code, you are looking at either 1) setting up some kind of proxy on the ocmputer running...
  19. xKiv

    Bug Git scripts don't handle updating with local changes under some conditions (conflicts?)

    Part of it is probably that "pull" is kind of a shorthand for first doing "fetch" (which, among other things, is what updates origin/master, and possibly also references), and merge or rebase (mafia uses rebase), which is where the "resetting head" comes from (and (silently?) fails because there...
  20. xKiv

    Chromebook Linux problem

    It does not have to be a successfull launch though (iirc it works even if the configured "browser" does not exist at all, at least running headfull). You can go to the browser afterwards and manually open http://127.0.0.1:60080/main.php
Back
Top