Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 31

Thread: BeachComber - fast and efficient beach combing

  1. #21
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,999

    Default

    Revision 193 will log Meat.
    Revision 194 will save page HTML not only for messages in bottles, but also for beached whales and rainbow pearls (another forum rumor).

  2. #22
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,999

    Default

    Huh. Maybe I should do it for the cursed pirate stuff, too, since I am curious to see what it tells you when it unearths such. I bet there is something more (or at least different) than for less-special rough sand.

  3. #23
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,999

    Default

    Revision 195 saves the HTML if you comb an unknown square type or find cursed pirate gear.

    Eventually, some of these will result in tweaks to the code (unknown square types, extracting messages from bottles, etc.) but they all will still be worth calling out in red, even if we don't save the page HTML any more.

  4. #24
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,999

    Default

    Revision 196 saves the page HTML before combing for whales and unknown square types and after combing for both of those as well as bottle messages, rainbow pearls, and cursed pirate gear.

  5. #25
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,999

    Default

    Revision 197 uses my new "buffer_to_file" function to save the HTML files, rather than putting the HTML into a map and using "map_to_file".
    The latter works, but it escape newlines, tabs, and backslashes, so it's harder for human eyes to look at, in my opinion.

    This means that you'll need to upgrade to r19439 in order to use this script now. That came out a couple of days ago.

    I'll be publishing a new point release this weekend, for people who don't use daily builds.

  6. #26
    Senior Member
    Join Date
    Jan 2009
    Posts
    229

    Default

    Ran into problems when I randomly hit 1 minute; the script kept trying to comb the previous area.

    Code:
    Took choice 1388/2: (secret choice)
    choice.php?whichchoice=1388&option=2&pwd
    Encounter: Comb the Beach (6333 minutes down the beach)
    > 1 squares in beach 6333 contain a sand castle
    > 3 squares in beach 6333 contain combed sand
    > 86 squares in beach 6333 contain rough sand
    > Combing the square at coordinates 5,63321 which contains rough sand
    Took choice 1388/4: (secret choice)
    choice.php?whichchoice=1388&option=4&coords=5%2C63321
    Encounter: Comb the Beach
    You acquire an item: magenta seashell
    You acquire grain of sand (3)
    Took choice 1388/2: (secret choice)
    choice.php?whichchoice=1388&option=2&pwd
    Encounter: Comb the Beach (1 minute down the beach)
    > 1 squares in beach 6333 contain a sand castle
    > 3 squares in beach 6333 contain combed sand
    > 86 squares in beach 6333 contain rough sand
    > Combing the square at coordinates 5,63327 which contains rough sand
    Took choice 1388/4: (secret choice)
    choice.php?whichchoice=1388&option=4&coords=5%2C63327
    Encounter: Comb the Beach (1 minute down the beach)
    Took choice 1388/2: unknown
    choice.php?whichchoice=1388&option=2&pwd
    Encounter: Comb the Beach (1 minute down the beach)
    > 1 squares in beach 6333 contain a sand castle
    > 3 squares in beach 6333 contain combed sand
    > 86 squares in beach 6333 contain rough sand
    > Combing the square at coordinates 5,63324 which contains rough sand
    
    (and so on)
    I manually combed the area like so:
    Code:
    Encounter: Comb the Beach (1 minute down the beach)
    Took choice 1388/4: (secret choice)
    choice.php?whichchoice=1388&pwd&option=4&coords=2%2C1
    Encounter: Comb the Beach
    You acquire an item: sea carrot
    You acquire grain of sand (3)

  7. #27
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,999

    Default

    Ha. I’m away from my computer now, but I bet that Kolmafa is looking to match “XXX minutes down the beach” and it is “1 minute”.

  8. #28
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,999

    Default

    Yup. Adding one character to the Pattern:

    Code:
    > beach wander 1
    
    Encounter: Comb the Beach
    Encounter: Comb the Beach (1 minute down the beach)
    Beach at 1
    
    10: crrcrrrrrr
    9: rrrcrcrrcr
    8: rccrcrrcrr
    7: rrccrcccrr
    6: rrrcrrrcrc
    5: crcrcrrrcc
    4: crrrcrcccc
    3: rcrrcrrccr
    2: rrrcccrrrr
    
    > beach comb 2 0
    
    Encounter: Comb the Beach
    You acquire an item: bunch of sea grapes
    You acquire grain of sand (3)
    Kolmafia revision 19462

  9. #29
    Senior Member
    Join Date
    Feb 2010
    Posts
    1,068

    Default

    Would you be willing to incorporate a call to this script from VMF? Perhaps with the default being "free" but with the option to configure an arbitrary number of turns or beach head?

  10. #30
    Junior Member
    Join Date
    Jan 2010
    Posts
    4

    Default

    Here's what I found today:

    beachcombing message.png

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •