Search results

  1. E

    Saving your outfit

    That appears to be correct. Yes. That is the valid URL for saving the outfit, not equipping the outfit. Kol uses a number instead of a name in the url for equipping the outfit. Once the outfit is saved, use kolmafia's built in outfit switching methods. Whenever kolmafia has a built in...
  2. E

    Need help with meat-farming script

    Related: PulvMallDump.ash cli_execute("mallsell " + "* twinkly wad @ 0 limit 0, " + "* hot wad @ 0 limit 0, " + "* cold wad @ 0 limit 0, " + "* stench wad @ 0 limit 0, " + "* spooky wad @ 0 limit 0, " + "* sleaze wad @ 0 limit 0, " + "* twinkly nuggets @ 0 limit 0, " + "* stench nuggets @ 0...
  3. E

    Need help with meat-farming script

    Well It appears that you did make proper use of the "if bounty hunter wants" unless something has changed. For Holatuwol's response it may take 5 minutes or it may take 5 days. You have to remember he is just 1 person, and he does have other obligations. I'm sure that he will look into it as...
  4. E

    Saving your outfit

    see also string url_encode( string text ) on that same page (in case your outfit name has spaces or other such characters.) the url is inv_equip.php?which=2&action=customoutfit&outfitname= just add the name of your outfit onto the end of the url. You need not do anything with the return of the...
  5. E

    Making sure a script is rune once a day only.

    Option 1: If using ash, you can manually read the current state of the mushroom plot using visit_url and knowing your image names. Option 2: at the very end of the script buy a raffle ticket. If you have 1 in inventory, then the script has ran. If you don't, the script has not. Option 3: if...
  6. E

    Need help with meat-farming script

    Which version of kolmafia are you using? You are using the version of mallsell which was added in version 10.9, and if you are using an earlier version, then that may be the problem. Try a test run without the Mallsell command.
  7. E

    Soft green echo eyedrops question

    for cli scripts uneffect effectname will use shrug off where possible, anti-anti-antidote for poisoned, tiny house (or a skill) for beaten up uhh yeah, I'm sure there are other items/skill which are used instead of soft green echo whatevers but effectively kolmafia tries to remove the effect...
  8. E

    Firefox chat issue...am I causing it?

    http://i21.photobucket.com/albums/b288/efilnikufecin/Chatbug.jpg I am using a modified Main.html file (pretty obvious by the bottom menu. This is the source: <html> <head><title>The Kingdom of Loathing</title> </head> <frameset id=rootset cols="5*,*"> <frameset id=menuset rows="50,*"> <frame...
  9. E

    moods oddity

    Further snooping around has revealed this to in fact be the case. This means that I can easily remove the default mood entry, "Always, cast 1 Summon Candy Hearts". Which is good because the red Autorecovery failed. kind of bugged me before, but I was being too lazy to write like a 1 or 2 line...
  10. E

    "summary" quiet failure - empty file

    Temporary fix: cli_execute("echo " + my_name() + ".summary_" + today_to_string() + ".txt"); cli_execute("summary"); cli_execute("echo"); That should work until it is fixed,
  11. E

    moods oddity

    My default mood has 1 entry, "Always, cast 1 Summon Candy Hearts" when set to use my default mood I get: My apathetic mood contains nothing. When I use apathetic I get: So either way it is doing what I want it to, but I cannot turn it off now. It's not an immediate concern (I'm at level 23...
  12. E

    Looking for a library ...

    Nice! As I was reading the post an idea struck me though. For effects which come from various items you might check item_amount and return the item which the user has the most of, with a default return if the user has none of them which would be the one that is normally cheapest in the mall, or...
  13. E

    loading a script from inside a script

    Simple, it checks to see if the script contains any obvious errors like missing flow control characters or extra ones. It also checks for invalid function calls, and many other potential errors. To check a script without running it (like the situation where it is called from another and you...
  14. E

    Need help with meat-farming script

    the easiest way is to turn on "buy items from the mall when needed" and "buy items from npc stores when needed" and remove the command to buy them. then if you need them kolmafia will buy them as soon as you say to eat them in a script.
  15. E

    Maybe you can see something I am missing?

    http://www.feesher.com/anvil/index.php Tab, carriage return, and Line feed are the main "unsafe chars" The primary problem is with Tab which butts against every piece of data in the html source I am parsing. That rules out generating a list because kolmafia handles these characters in a script...
  16. E

    Need help with meat-farming script

    I missed that: if class is seal clubber call 1 scAuto.txt if class is disco bandit call 1 dbAuto.txt if class is pastamancer call 1 pmAuto.txt should be: if class is seal clubber call scAuto.txt if class is disco bandit call dbAuto.txt if class is pastamancer call pmAuto.txt
  17. E

    Switch Familiar script

    I modified the script, but don't remember all the changes. The most significant change was moving familiar ItemFam = $familiar[none];and familiar StatFam = $familiar[none]; to the beginning of the script which put an end to this error: line numbers wont match what you saw for an error because I...
  18. E

    Maybe you can see something I am missing?

    Thanks Holatuwol! I modified the script. Now I have come to realize that what I was telling the script to do in this function: string remove_unsafe_chars(string source) { print("removing unsafe chars"); //maybe more chars need added, but this should be fine for now string safechars =...
  19. E

    Maybe you can see something I am missing?

    I'm getting an error with the attached script: So maybe I forgot to close a string? Well I checked, and line 104 contains 1 hard coded string, a URL and it has it's closing ". I also checked for a missing closing ) since there is so many, but they are all in place verified by context's built...
  20. E

    Looking for a library ...

    item_to_slot found at the very bottom of the page? if this function does not exist or has different functionality, please let me know and I will remove it from the wiki or make the needed changes.
Back
Top