Recent content by Tirian

  1. T

    Security flaw

    It strikes me that the ability of visit_url() (and file_to_map()) to access other sites is the sort of thing that can cause mischief at a far more elementary level. I don't have the means to test it, but I've got to wonder if a black hat couldn't use url_encode() to get a string that contains...
  2. T

    how to make adventure in mountans of LOL scrit + "hermit farm"?

    I wouldn't autosell quite everything that you find in the Castle or Airship. You can do quite a bit better with the items that you can pulverize, whether you pulverize the stuff and sell the wads yourself or sell the items in the mall to a career smasher. To be specific, the mohawk wig, huge...
  3. T

    Choice adventure numbering

    Generally, that's really the best way to go. The other alternative is to look through the source code (most probably OptionsFrame.java), but that is relatively cryptic. Best to just have side-by-side text processors with before and after versions of your .kcs file and see what changed. As far...
  4. T

    Passing Arguments from CLI to ASH

    Re: ASH language reference Oh, that's so fabulous. I've always wanted that, but figured that it was too exotic to ask for. Yay, now I can put on my pajamas from the gCLI!!! :D
  5. T

    Pulverizing stuff

    Yes. "pulverize 5 giant needle" or "pulverize * giant needle" work the way you would want them to. FWIW, one nice thing about CLI is that you can just open a graphical CLI window and experiment with the commands for yourself.
  6. T

    Saving Outfits

    This is how I do it. All bets are off if you have spaces in the outfit name. void save_custom_outfit(string outfitlabel) { string command = "inv_equip.php?which=2&action=customoutfit&outfitname=" + outfitlabel; cli_execute(command); }
  7. T

    Giving buffs.

    Use CLI. cli_execute("cast 5 smile on Veracity");
  8. T

    Current_Hit_Stat

    It has been added to the code since the most recent release of KoLmafia. So it is implemented if you are using the nightly builds, and not yet if you aren't. (If you saw the mention of the function in the Wiki manual, that's what it means that the function is in italics.) Keep in mind that the...
  9. T

    Automated Softcore Ascension

    I think that it's a line that everyone has to draw for themselves. I believe that it would be rational to decide that you're not comfortable publishing a full ascension bot, just like it would be rational to decide that you did want to provide that product for people. Me, I love the...
  10. T

    Meat Manager for the Paranoid

    Just as a quick observation, rand = lbound + random( ubound - lbound ) would save you from that while loop.
  11. T

    Data entry: would it be possible to make it internal data?

    It doesn't seem quite friendly to put files on the wiki that aren't human-readable. Also, each file would be its own page, and that could get long in a hurry. My recommendation would be that we continue to attach files here and then people can use the URL of that attachment to access the file...
  12. T

    Stop conditions

    :D You're doing everything right. Including bringing the matter to Holatuwol's attention by posting here. Apparently the condition adding code checks to see if you're anking about an item before it parses for stat names, and the fuzzy item check picked up that you must be talking about enorMoUS...
  13. T

    Quest Status Check

    This is a kludge, but it'll get you back on the road until the developers see your report. cli_execute("questlog.php?which=1"); string current_quests = visit_url("questlog.php"); cli_execute("questlog.php?which=2"); string completed_quests = visit_url("questlog.php");
  14. T

    Access to Internal Data

    I could imagine wanting to know elemental_resistance( elemental_type[ monster_i_am_fighting ]) so that I could calculate (in theory) the amount of damage that I'm likely to take per round of combat. (I'm assuming here that element [monster] elemental_type is a user-defined map.) And with...
  15. T

    Features I wish ASH supported...

    As you say, you're free to not use it. But I think that ASH is already dangerous enough to burn someone who doesn't care enough to design her scripts properly. For me, the goat cheese is very major in that I find myself thinking that I have it for cooking when it's not really there, but we're...
Top