Recent content by Rax

  1. R

    Map the Monsters Scripting Question

    You may wish to look at https://github.com/C2Talon/c2t_cartographyHunt. Import this into your script, pass it whatever variables you want (location and monster), then run_combat(); to finish up.
  2. R

    How to incorporate Daylight Shavings Helmet into a script?

    There are more elegant ways, but something like this will work if you want to switch hats if you already have an active Shavings effect. while (my_adventures() > 0) { if (have_effect($effect[barbell moustache]) == 0 && have_effect($effect[cowboy stache]) == 0) {...
  3. R

    Bug - Fixed beGregariousCharges increments incorrectly if consuming multiple extro

    Chewing two extrovermectin pills at one time via mafia: chew(2,$item[extrovermectin™]); Results in beGregariousCharges = 1. Chewing them separately results in beGregariousCharges = 2.
  4. R

    Bug Mafia has decided to use free rests on the floor instead of at the campaway site

    I've figured out what's happening. In HCCS you don't have access to the Distant Woods as standard but you can open it by starting the White Citadel Quest, so I've been doing this in my afterHCCS script so that I can access the free tentacle. However, the script downstream then fails to fight...
  5. R

    Bug Mafia has decided to use free rests on the floor instead of at the campaway site

    Session logs indicate that this first occured on November 20 using build 25846. I've now updated to 25899, but this hasn't fixed the issue. I haven't knowingly changed anything about my script or my preferences. I am looping HCCS, and I'm using free rests at the campaway site for MP generation...
  6. R

    Working with numberology in scripts

    I wish I had known reverse_numberology() existed. I remember now that ashref is a thing to be checked when facing problems like this. I can see the benefit of doing this via an after-adventure script, but I'm also happy with where it sits in my daily script since I'll be adventuring in the...
  7. R

    Working with numberology in scripts

    There's already excellent handling for numberology in the CLI, which I am trying to work it into my daily scripts as follows: while (to_int(get_property("_universeCalculated")) < x) { cli_execute("numberology yy"); if (to_int(get_property("_universeCalculated")) < x)...
  8. R

    Help with understanding run_combat()

    Ah - after a bit more digging I found this from several years ago. Thanks to ckb. set_property("battleAction","custom combat script"); set_property("customCombatScript","myccs.ccs"); This means I can just set the CCS I want to use at a specific point in the script (and change back after), so I...
  9. R

    Help with understanding run_combat()

    Hello. I'm looking for some advice on run_combat() please. I'm looking to perform a specific set of actions against e.g. a faxed monster. Here's an extract of where I'm at: void combattest () { steal(); use_skill($skill[Sing Along]); use_skill($skill[Summer Siesta]); } void main () {...
  10. R

    optimal11.ash

    Thanks for this!
  11. R

    Chamois - Use it automatically!

    Ah, right - clearly I wasn't paying attention. I'm sick at the moment, lets put it down to that xD Thanks for clarifying.
  12. R

    Chamois - Use it automatically!

    Hi. Since I'm new to KoLMafia and scripting, would someone please explain to me what makes this script different from Alhifar's 'Get Slimy'? Are there just subtle differences for performing what is essentially the same task ask or I am missing something glaringly obvious? I'm not asking which...
  13. R

    Get Slimy

    Hey. Just wanted to say thanks to Alhifar - your script rocks.
Top