Page 4 of 5 FirstFirst ... 2 3 4 5 LastLast
Results 31 to 40 of 46

Thread: BeachComber - fast and efficient beach combing

  1. #31
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,177

    Default

    Here's what I found today:
    ... a message in a bottle ...
    Originally Posted by adwriter View Post
    Well, that's cool!

    The script should have saved the HTML in a file. Presumably, that is what you looked at to get that image?

    Could you upload/attach that file, please? I'd like to look at it to figure out how we can parse out the message and log that separately.

    Thanks!
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  2. #32
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,177

    Default

    Revision 202 tracks number of actual turns spent combing the beach today (using this script) in _VBC.TurnsSpentCombing

  3. #33
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,177

    Default

    Whew! Just noticed that I found a bottle a couple weeks ago during my 11 free daily combings.

    Code:
    Encounter: Comb the Beach (3676 minutes down the beach)
    > 1 squares in beach 3676 contain combed sand
    > 99 squares in beach 3676 contain rough sand
    > Combing the square at coordinates 4,36755 which contains rough sand
    Took choice 1388/4: (secret choice)
    choice.php?whichchoice=1388&option=4&coords=4%2C36755
    Encounter: Comb the Beach
    > You found a message in a bottle!
    > Saving page HTML to Veracity_beachcombings_20191127151821207.txt
    and at the end, where I reported on what was found:

    Code:
    > Special beach combings saved::
    > Veracity_beachcombings_20191127151821207.txt
    Seems to be the same message I've seen reported elsewhere.
    Good to see that my automatic "save the HTML" feature works as expected.

  4. #34
    Senior Member Crowther's Avatar
    Join Date
    Nov 2006
    Posts
    1,550

    Default

    SPOILER
    If you say "hierfal" to grandpa then rares on the beach sparkle.
    /SPOILER

  5. #35
    Junior Member
    Join Date
    Jun 2010
    Posts
    21

    Default

    This also presently borks the script, since it doesn't recognize these gifs. Also means the logic of the script may need to be revised to prioritize twinkles/rares.

    I guess so few thought about the Sea since it's been a while, until we were pulled back under.

  6. #36
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,177

    Default

    Yeah.

    Revision 19656 of KoLmafia will put a 't' in the _beachLayout for "rough sand with a twinkle".
    Revision 213 of (my scripts) makes BeachComber.ash recognize - and prioritize - 't' squares.
    It is configurable:

    Code:
    // How to prioritize beach squares to comb
    //
    // W	a beached whale
    // ?	an unclassifiable square
    // C	a sand castle
    // r	rough sand
    // t	rough sand with a twinkle
    // c	combed sand
    // H	a beach head
    //
    // We think there are fixed set of 11 beach heads, and if you want to
    // visit, you can do that manually, so they are not prioritized by
    // default. If you want a random buff rather than items, add them.
    //
    // We do not expect any unidentifiable square. If KoLmafia finds a
    // square it cannot classify, it will log it in the gCLI and session log
    // and return a "?". This script assumes such squares are worth visiting.
    
    string_list priorities = define_property( "VBC.Priorities", "string", "W,?,t,r,c", "list" ).to_list_of_string( "," );
    ... the only differences being that I added the "t" to the list of square types and added it near the front of the default square priority.

    Fortunately, my multi with a Beach Comb had rescued Grandpa and was able to test this.
    My main hasn't even rescued Little Brother yet in this run.

    I guess she'll rescue Grandpa tomorrow before doing Crimbo stuff so she can unlock this feature.

  7. #37
    Senior Member
    Join Date
    Apr 2019
    Posts
    155

    Default

    Is it possible to add a feature to let you only use a certain amount of your free combings? (For if you plan to comb some beach heads later on)

    At first I just added modifications to the script myself without bothering anyone, but the update undid them =(

  8. #38
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,674

    Default

    At first I just added modifications to the script myself without bothering anyone, but the update undid them =(
    Originally Posted by fredg1 View Post
    Where were your changes? If you edit the version in scripts then that is expected. If you edit the version in svn/veracity0-beach the SVN features will try and merge updates with your changes.
    Well, thank you.
    Originally Posted by Veracity View Post

  9. #39
    Senior Member
    Join Date
    Apr 2019
    Posts
    155

    Default

    in /scripts... didn't expect an update of the script after 4+ months...

  10. #40
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,674

    Default

    in /scripts... didn't expect an update of the script after 4+ months...
    Originally Posted by fredg1 View Post
    If you know about the feature that would protect you and choose not to use it then OK. My comment was for those who did not know.

    See Revision Merging at https://wiki.kolmafia.us/index.php?title=SVN_Primer
    Well, thank you.
    Originally Posted by Veracity View Post

Posting Permissions

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