Search results

  1. xKiv

    Bug JavaScript bugs

    The context I am interested about is not "what does the function know about how it was called". It's "how does mafia know how many parameters it should ask for when the script is called, and how does it know how to describe those parameters to the user". You can't know how many arguments the...
  2. xKiv

    Bug JavaScript bugs

    Can you also tell the names and types of those arguments, so kolmafia knows what to ask for?
  3. xKiv

    Genie

    That skill was renamed to "Torso Awareness" (without the g) in february (if I can trust the wiki). If you cannot get a fixed version of the script from anywhere else, go to the file and replace the skill name with updated value. I am not sure if there are updated versions anywhere. Maybe the ASS...
  4. xKiv

    Feature Revert 20743?

    I think that preventing scripts from overwriting each other's files is more important than organizing menus and files in scripts/. If we can also work on something else that will (eventually) do one or both of those, that would be greater, of course.
  5. xKiv

    Feature Script Menu customization

    Yes, I think this is orthogonal to where the scripts end up being found on the filesystem. I still think svn-installed scripts should provide a manifest (like we have dependencies.txt now) with list of their "entrypoints" and their preferred location in script menu. (or anything not listed as an...
  6. xKiv

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

    Local development is "supported" by letting commandline tools (and IDEs/editors) do their job. And then using "svn sync" in kolmafia.
  7. xKiv

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

    Some ideas: 1) maybe rebasing updated files should only be peformed for files that are directly in scripts/ - so svn scripts/aaa.ash could be matched to scripts/aaa.ash, scripts/tools/aaa.ash, scripts/scriptname/whatever/aaa.ash; but scripts/name/aaa.ash could only be matched to...
  8. xKiv

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

    If I undestand the issue ... I don't think you can change this simply. IIRC the functionality that if I move the files within my scripts/ hierarchy, svn update will update the existing copies without recreating "originals", is intentional. I am using this for script organization (under scripts/...
  9. xKiv

    Bug Can't log in

    Using an old version of java might mean using old truststores, with only old root certificates. Those don't expire often, but a server might switch to a new server certificate ultimately signed with a newer root certificate - and that new root wouldn't be in an old truststore. But the current...
  10. xKiv

    Bug InvalidClassException for Mafia r20602 and openjdk 14.0.2

    Maybe, but it's not intended to be sensitive to private fields ... It's still a more likely candidate for causing this than an import in a different class file. Imports should be *completely* irrelevant to runtime.
  11. xKiv

    Bug InvalidClassException for Mafia r20602 and openjdk 14.0.2

    Untill RollingLinkedList has an explicit UID, it can be a problem for anyone who uses different builds of mafia at all - for example because they are updating daily to daily builds. Any build is free to just randomly decide to generate a different UID. Please, read the actual error message. It...
  12. xKiv

    Bug InvalidClassException for Mafia r20602 and openjdk 14.0.2

    RollingLinkedList inherits the interface from LinkedList, which explicitly implents it. All subclasses of Serializable classes are Serializable. You said you "only checked it against OpenJDK 15", is that the jdk you use for everything? For some reason I was under the impression that you used a...
  13. xKiv

    Bug InvalidClassException for Mafia r20602 and openjdk 14.0.2

    Yet, that's the class whose serialVersionUID changed. Possibly "since the default serialVersionUID computation is highly sensitive to class details that may vary depending on compiler implementations and can produce different serialVersionUID in different environments." (like a different JDK...
  14. xKiv

    Bug InvalidClassException for Mafia r20602 and openjdk 14.0.2

    The error says RollingLikedList, though: java.io.InvalidClassException: net.sourceforge.kolmafia.utilities.RollingLinkedList; local class incompatible: stream classdesc serialVersionUID = 4326148971984844054, local class serialVersionUID = 372957009574810117 Conjecture: the error went away...
  15. xKiv

    Abandoned Scripts

    Uh ... all of this? > "something went wrong" while updating (merge conflict, network down halfway through download, power failure, ...). You should have as much conflict resolved as possible "somewhere else" where you can restart the update process cleanly without breaking anything that's...
  16. xKiv

    Abandoned Scripts

    If you ignore the part where I explained how your only copy can get clobbered.
  17. xKiv

    Abandoned Scripts

    Not copying has 2 problems: 1) you can still have the same filename in more than one place (directories within one script, or within multiple scripts). What's the rule for resolving such files? From CLI? From within a script that doesn't have that file in its repository? Script that does have...
  18. xKiv

    Feature - Rejected Prevent mixing requests from different characters

    I think that's what head/base@href is for: <head> <base href="http://127.0.0.1:60080/charactername/"> </head> But it could still break full URLs, and also possibly any kol-side javascript that would want to manipulate/parse URLs directly.
  19. xKiv

    Bug JavaScript bugs

    I thought that you can have multiple copies of relay_X.ash *and* relay_X.js throughout the relay/*/ hierarchy and the dropdown would display all of them (without paths), but only the relay/ directory itself seems to be scanned for that purpose. This means that you are right for the browser...
  20. xKiv

    Bug xpath() does not recognize contains()

    So apparently HtmlCleaner (which is what mafia uses inside ASH's xpath function) doesn't support xpath fully, not even version 1.0: https://stackoverflow.com/questions/9022140/using-xpath-contains-against-html-in-java That stackoverflow answer suggests converting HtmlCleaner's output to a...
Back
Top