Search results

  1. E

    Ash Master Function List

    I know "ashref" in CLI will give me a master function list; however, this information doesn't include if the function inputs are optional. Is there another source for a function list that would include what parameters (if any) are optional for all the functions?
  2. E

    Reading File_To_Buffer By Line

    Is there a way to read a buffer by line? Also, is there a way to expose what properties an object has? I.e. buffers have a buffer.length()
  3. E

    Updating KoLMafia's Monster Physical Resistances

    I've been making more in depth consult scripts and noticed that KoLMafia has lots of incorrect monster.physical_resistance values. Some monsters have random/pointless resistances (like lots of ducks have 2%) and others just have wildly incorrect (lots of giants have around 30 and the wall of...
  4. E

    Checking if a Skill has been Permed

    I am looking for a way to check if a skill has been permed but so far haven't come up with anything. Whether its sc/hc permed doesn't matter to me.
  5. E

    Casting Saucy Salve in Combat

    I am trying to make a simple combat script using ASH. All the skills are casting except Saucy Salve, and I am not sure why. I just forever get KoLMafia think it is casting the skill but not actually casting it. It looks like this: Round 3: eliteofdelete2 casts SAUCY SALVE! KoLmafia thinks it is...
  6. E

    Bug - Not A Bug Item: Eye of Ed Returns Item Amount 0

    I killed Lord Spooky Raven and got the Eye of Ed but ash command item_amount returns 0 and cli command "find" says I don't have it. Using ash command of get_inventory shows that I do indeed have the Eye of Ed. Debug log is attached. .
  7. E

    Forrmatting Help with Wiki

    Hello, I don't think I am setting up two code examples properly... I currently use this for the format code1={{CodeSample| title=Code Samples| description=Stuff| code= <syntaxhighlight> //Example 1 </syntaxhighlight>| }}| code2={{CodeSample| description=Stuff2| code= <syntaxhighlight>...
  8. E

    Bug - Not A Bug Possible Bug(s) with To_datatype() Functions

    I have been working on the wiki recently by adding examples to various functions. I got to the to_datatype() functions and found that they behaved different from what the wiki was stating. For instance, to_boolean claimed to work on any datatype and that data_types that gave anything >= 1, would...
  9. E

    Clarification on Sort

    How do I utilize it effectively? It sorts only the keys but not change the values which seems to make it not very useful. Here is an example of how I am trying to use it. int[item] test; for x from 1 to 5 test[to_item(x)]=x; print("Map Reference:", "orange"); foreach it in test...
  10. E

    Bug - Not A Bug Find and Coinmasters

    This is probably a user bug, but it seems that find in ash and find in cli are behaving differently for the coin masters. I have the following in a script. set_property("autoSatisfyWithCoinmasters", "true"); cli_execute("find 1 Boris's key"); cli_execute("find 1 Jarlsberg's key")...
  11. E

    EoD SC Ascension Checklist Handler

    Hello! I'd like to present my Ascension Checklist script. You can input items into a Relay Script and it will save the info and then you can buy them from the acquire page. Once you are in run, you can use the "EoDAscensionChecklistPuller" to pull the items out of storage based on what you set...
  12. E

    Eliteofdelete Questions 2

    I figured I would just make another big thread to fill with my random questions. My current struggle has to deal with matchers. After reading about them and looking at some implementations of them, I tried to make a very simple case. string text, result; matcher finder; text = "2_text"...
  13. E

    Feature Paths and Type69

    I was working with paths in a script and realized there isn't much native KoLMafia support for them, besides the function my_path(). With new paths constantly being added and the new Type69 restrictions for current challenge path, maybe more support should be added? I was thinking they could...
  14. E

    Question on Count();

    Can you count based on a selection of keys? For instance: string [int][string][string] Stuff; Stuff [0, dog, cat] = good; Stuff [1, dog, cat] = good; Stuff [2, dog, bird] = good; If I count(Stuff), I'd get 3. If I count(Stuff[0-2]), I get 1. What I want to do is count(Stuff[dog][cat]) and...
  15. E

    Question about Arrays

    I was wondering if there was an easy way to put numbers into an $ints[] array. For instance, I can do something like foreach it in $ints[5, 2, 9, 4, 22, 199] //functions and such but I put those there by hand. Is there a way to put values calculated from functions into an $ints[] array? Or is...
  16. E

    Thoughts on My New Softcore Ascension Item Handling

    Intro: Hello, I am looking to re-write how my Softcore Ascension script handles items to allow for more versatility and easier scaling up. Background: Currently, if you have ever looked at my ascension script item pulls (please don't :(), it is a complete mess of if statements. At the time of...
  17. E

    Trouble using visit_url to play Skeeball

    I am trying to play Skeeball using a Game Grid Token by using the visit_url command. I got a Game Grid Token and typed ash visit_url("place.php?whichplace=arcade&action=arcade_skeeball") into the CLI. Instead of giving me my 10 tickets, I lost 5 adventures and my token with nothing to show...
  18. E

    Mood Management

    Is there an ash/cli command to remove 1 specific mood? Currently, if I want to change a mood, I have to clear the whole thing and rebuild it. This is annoying when I want to change facial expressions :(.
  19. E

    Bug - Not A Bug Filthy Poultices not Acquired through Hippy Store

    I used to be able to type "find X filthy poultice" into the CLI and it would buy them through the hippy store. Now it just gives me "You need X more filthy poultice to continue" which is also the only thing it says in the debug report. I have dimes and wearing the hippy outfit with buy from...
  20. E

    Bug - Fixed Star chart Crafting was Unsuccessful

    Sometimes when typing "find 1 richard star key" it will give me an error saying "Star chart crafting was unsuccessful." I can make it by hand just fine tho. Is this a bug or am I doing something wrong?
Top