Results 1 to 3 of 3

Thread: Familiar experience tracking capping at 400

  1. #1
    Senior Member
    Join Date
    Apr 2018
    Posts
    331

    Default Familiar experience tracking capping at 400

    My familiar script tries to get the Pocket Professor up to 600 experience, which is enough to use “Deliver your Thesis” without going below 20 pounds. Unfortunately, KoLmafia stops updating familiar experience post-combat once you hit 400, and only fixes itself when visiting familiar.php. I have not been able to figure out why it is doing that, but I have been able to replicate it repeatedly.

    Interestingly, even after getting the correct amount of experience from familiar.php, KoLmafia sets familiar experience back to 400 after combat if it is over that amount.

    I am using r19618, the latest revision, though the issue predates it.

  2. #2
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,302

    Default

    That's a bug in api.php.

    Code:
    > ashq visit_url( "familiar.php" )
    
    > ash my_familiar().experience
    
    Returned: 656
    
    > refresh status
    
    Loading character status...
    ...stuff...
    Requests complete.
    
    > ash my_familiar().experience
    
    Returned: 400
    Here is what api.php shows:

    Code:
    "familiar":"206",...,"familiarexp":400,

  3. #3
    Senior Member
    Join Date
    Apr 2018
    Posts
    331

    Default

    Well, that explains why I couldn’t identify the cause of the bug. Consider this one closed, as far as KoLmafia is concerned. Thanks for the quick response.
    Last edited by Saklad5; 11-23-2019 at 03:59 AM.

Posting Permissions

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