Search results

  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
  16. T

    Pagoda Quest script

    This is the first script I will have posted. I looked around for a Pagoda script and didn't see a functional one, so I just made one myself. It's very simple and checks/collects the items necessary for finishing the Pagoda Quest and then completes the quest. It does not try to adventure for the...
  17. T

    Computer crashed... and it took away my preferences.

    I just had the same problem twice, and am glad I found a topic detailing the same thing. My KoLmafia seemed to reset my preferences randomly, and it was only until I read this that I realized it only happens when my computer crashes. Why does KoLmafia delete your settings when this happens...
  18. T

    Aftercore.ash: user-friendly aftercore botting script!

    Ever since the food/drink change on KoL, I've been getting this error: Did I mess something up? Or is it just a change in KoL? EDIT: I got it to work by changing the code around. Not sure why it worked before though. I'm confused why the bounty hunting call was start( string ) in the first...
  19. T

    Why does kolmafia always buy items before checking closet, display, and stash? o_O

    If I was intentionally lying, then I agree what I did would have been awful. But mostly I was just very confused by the mixed signals it seemed to be giving me. Being confused and seeking clarification help is ok, no? I don't feel I deserve the verbal abuse. I'm sorry if you all spent more time...
  20. T

    Why does kolmafia always buy items before checking closet, display, and stash? o_O

    I find it hard to believe that apologies are uncalled for, in response to criticism. And if you find my sincere, though curt, admission of my mistake regarding the display case insufficient. I again apologize fully for that mistake, which I admit was an egregious though unintended oversight...
Top