Recent content by t4kato

  1. T

    Help on a really quick relay script.

    After parsing the single string parameter, I'm left with two strings (one of which needs to be parsed into an integer). Is there a parseInt function? Currently I have: int number = extract_meat("You gain " + n + " Meat") There has to be a better way. xD
  2. T

    Help on a really quick relay script.

    Oh! Thank you all for these resources. Well I tackled the problem crudely myself with the "(\\d+) (.+)" matcher above. :D I was just wondering if I was being dumb again, completely ignoring an existing built-in mafia feature to handle multiple parameters. Guess not. =/
  3. T

    Feature Have 'Familiar Trainer' Matchup show chances of outcomes

    Sorry to bump this. Although could I get a response of some sort please? :p
  4. T

    Help on a really quick relay script.

    Haha. This stuff is really confusing. I have another question. In this matcher, I was trying to match a number followed by a string of text like "12 pie crust". However, as you'll notice, I used \\d instead of \d to capture digits. \d kept trying to match the letter 'd' for some reason. Why...
  5. T

    Help on a really quick relay script.

    I see what you're saying, but access to one extra buff in exchange for a less useful refresh link seems to be an unnecessary trade-off. I tinkered around with Doodle's script (thanks for showing me how!). If you squeeze the link above your character name, you can have a link at the top without...
  6. T

    Help on a really quick relay script.

    Oh thanks all of you. Thanks Doodle! This should help me understand relay scripting as well. =] And...I'm aware of the link at the bottom of charpane; am confused by the design decision to put it there. For those of us with 30+ buffs, this is almost as much work as refreshing. :p But quick fix...
  7. T

    Help on a really quick relay script.

    Hi. I'm unfamiliar with how relay scripts work yet. But there's been this one functionality that I've been dying to see added to the graphical interface of the relay browser. Usually when I'm adventuring, it's helpful to see what's happening on the character panel. Unfortunately the panel...
  8. T

    Feature Have 'Familiar Trainer' Matchup show chances of outcomes

    Concerning the Familiar Trainer feature built into KoLmafia, the View Matchup option is nice, but lacks a crucial element. It really should show you the percent chance of getting 0, 2, 3, 4, or 5 exp on each Matchup. So that the user knows what he's getting himself into before he clicks Train...
  9. T

    Familiar Trainer

    Yeah. I just mean adding calculations that are already there. Nothing new. My reasoning is the same as that of fronobulax. There are cases where the "optimal" training method isn't the one you want: Sometimes you can't get 96% with your current weight (even with the equipment you currently...
  10. T

    Familiar Trainer

    Hmm. Well that's good. That solves one of the problems. Well what if you couldn't afford to lose 4% of the time and would prefer to go the with the 100%-win scenario instead of the 96%-win scenario which is optimal for experience? What I'm saying is, if it showed you these calculations, you'd...
  11. T

    Familiar Trainer

    I saw that while trying to find what I'm looking for. Looking through the code proved difficult, but it seems his script does (among other things) the exact same thing the Familiar Trainer already does, no? This piece of code seems to reinforce that notion: cli_execute("train turns 1"); He's...
  12. T

    Familiar Trainer

    Hi everyone. I looked around and couldn't find a clear answer to this question, so I thought I'd ask: KoLmafia's Familiar Trainer seems very effective for anyone who just wants to get their familiar to a certain level, no-questions-asked. This is great and all and works most of the time. But...
  13. T

    Pagoda Quest script

    This is relevant to a Dungeon Fist script. Currently, my dungeon script looks like: string str = "31111111111111111111111111111121121111111111111111111111111211111111111111111211122211111121111111111111111122211133111113"; for ind from 0 to length(str)-1 { select(substring(str,ind,ind+1)); } I...
  14. T

    Pagoda Quest script

    Oh is that how you make "arrays"? I was looking everywhere for some way to make a simple array and fill it with things. How would you just make an array of ints and fill it right away with a bunch of numbers? As int[int] i; i[0] = 1; i[1] = 2; i[2] = 3; is rather unwieldy...
  15. T

    Pagoda Quest script

    Thanks slyz and Bale. I added the campground thing. That's exactly the kind of advice I was looking for. :p
Top