Search results

  1. H

    ASH-scripted clan buffs?

    There are a few problems with your script.... I fixed them below and posted a working copy. Also, I added a couple of "print" lines. Just an FYI: Anytime you write a script, try to use "verify SCRIPTNAME" and fix all you can, if you get stuck, ask for help... void main (string sender, string...
  2. H

    I guess it is safe to ask now that crimbo is over...

    You will get an "Unknown adventure type found" error message whenever KoLmafia runs into an adventure it does not recognize, so for the sinister dodecahedron all the monsters and encounters there are unknown.
  3. H

    ASH Function Reference Manual

    As a little add-in: For those who wish to find help with ash functions you may type in "ashref" into the gCLI and get a full print out of the function library. Or for a more specific function you might want to try "ashref XXX" where you replace "XXX" with anything... For example, when typing in...
  4. H

    Can't figure out this error with records in maps...

    As for help with your first post: Please attach a copy of all the data maps included in this script so we know what we have to work with. I came up with a functioning version, but I don't know if it is how you desire it to function, I have attached it. And for the second post: You get Because...
  5. H

    string manipulation...

    When typing "ashref string" into the gCLI it rturned: #This should solve your "change case" problem. string to_lower_case( string ) string to_upper_case( string ) #This is just the 2 differing substring searches.... string substring( string, int ) string substring( string, int, int )
  6. H

    One-Click Wossname -- automatic level 12 quest completion

    Re: One-Click Wossname 1.1 -- automatic level 12 quest completion I am not sure if the issue has been resolved but for the flares: if(!got_item($item[flaregun])) if(can_interact()) retrieve_item(1, $item[flaregun]); else die("Go get a flaregun (from the pirates) before continuing."); As...
  7. H

    One-Click Wossname -- automatic level 12 quest completion

    Re: One-Click Wossname 1.1 -- automatic level 12 quest completion I put that in there then looked at the bottom and saw there was a check in the main()... Just never got rid of it. So there really is no reason for needing it...
  8. H

    Maps: "foreach" until satisfied..?

    I am wondering if there is anyway for one to go throw a map and stop after "conditions" are satisfied (conditions being personal goal, not KoLmafia conditions)? For example: item [int] famitem; famitem[0] = $item[lucky Tam O'Shanter]; famitem[1] = $item[lucky Tam O'Shatner]; famitem[2] =...
  9. H

    login command on script

    The "login" function has been removed from KoLmafia, I was unable to locate the original post, but I do remember something about the login command being removed due to the amount of people using a script to auto-adventure while on vacation or away... For example: login hippymon; wait 60; call...
  10. H

    One-Click Wossname -- automatic level 12 quest completion

    Re: One-Click Wossname 1.0 -- automatic level 12 quest completion Out of sheer boredom I change the scripting a bit.... Not real 'changes' to the functioning... Just got rid of most of the "cli_execute"... Also, I added "void conditions(int, string)" and "boolean advCheck()" function's that...
  11. H

    Modern castlefarming script

    I refer all Outfit problems to: Outfit aborting issues.
  12. H

    How Many Untainted Eggnogs Do I Have?

    Yea... What you said. :P Fixed it.
  13. H

    How Many Untainted Eggnogs Do I Have?

    closet take * Untainted Eggnog; inv Untainted Eggnog; closet put * Untainted Eggnog
  14. H

    Block Commenting

    Block comment??? In mafia? On the forum? In the game? What comment are you talking about? Could we get an example? ??? EDIT: I assume you mean the "#" or "//" comments in a script? If so, simply go through and delete them, short of that I don't know of any way to do it with KoLmafia or a basic...
  15. H

    How Many Untainted Eggnogs Do I Have?

    I am not an expert on the CLI topic, but I did look through the raw-code and I have seen nothing that would enable one to determine the number of Untainted Eggnog in one's closet via gCLI. In other words, I don't think it is possible.
  16. H

    outfit changing

    Well, I have tried: if(!outfit("saved cloths")) print("Good to go"); In version 11.8 this worked but then in 11.9 it still auto-aborted..
  17. H

    outfit changing

    Well, I believe that it is not actually a problem with mafia but a message within KoL itself... But on any-hand it would be nice if there were some way to avoid this from auto-stopping/aborting mafia...;)
  18. H

    outfit changing

    Yea, I get that too on main build 11.8 and it is quite annoying...
  19. H

    Autorecovery failed..... not crimbo related D:

    Same here.... I don't know if you are serious or trying your hardest to get this script.... But that is one lame example/excuse... I knew I had seen that code somewhere else... http://kolmafia.us/index.php/topic,1313.0.html
Back
Top