Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 33

Thread: October ItoM : latte lovers member's mug

  1. #11
    Developer
    Join Date
    Apr 2010
    Posts
    4,816

    Default

    Am working on complete re-write !

    And yeah, plan to add a command to make one, as it'd be such a pain to script.

  2. #12
    Senior Member
    Join Date
    Oct 2014
    Posts
    172

    Default

    Urgh, the values change every time you visit the page! That's a nightmare! What possible benefit is there to doing that or is it just to mess with scripters?

    (Edit - I'd guess it was actually there to stop us learning what all the options were, and stop us brute forcing ones others had discovered. But then it was decided to show them all to make it more user friendly)
    Originally Posted by Darzil View Post
    The values changing doesn't actually matter. You can use old values and they work just fine (at least this has worked for me since last night).

  3. #13
    Developer
    Join Date
    Apr 2010
    Posts
    4,816

    Default

    The values changing doesn't actually matter. You can use old values and they work just fine (at least this has worked for me since last night).
    Originally Posted by cheesecookie View Post
    But would my values work for you! Given that it'd be much easier if we could use the same code for everyone!

  4. #14
    Developer
    Join Date
    Apr 2010
    Posts
    4,816

    Default

    So, r18929 is a bit of rewrite. Some spading still needed for the locations and discovery text (marked "TBC").

    Bound to be a few errors in there.

    Future plans:
    Track unlocks (using locations LATTE[i][LOCATION], text LATTE[i][DISCOVER]) and parsing Latte choice.
    Creation command (using 3 x LATTE[i][INGREDIENT] and parsing Latte choice).
    Fill in the "TBC" entries once spaded.

    Edit - Got a patch ready for unlocks, but have only tested parsing the choice as I'm overdrunk - should hit tomorrow.
    Edit 2 - Not 100% sure that r18929 will handle duplicate modifiers correctly.
    Last edited by Darzil; 10-04-2018 at 10:09 PM.

  5. #15
    Senior Member
    Join Date
    Oct 2014
    Posts
    172

    Default

    But would my values work for you! Given that it'd be much easier if we could use the same code for everyone!
    Originally Posted by Darzil View Post
    I used Slaw's value and it worked for me - the way it works reminds me of using crypt.

  6. #16
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    825

    Default

    Are the properties which were added actually functional yet? If not, then please disregard...

    I finally got around to messing with this item today and the first thing I tried was the copy skill on a black widow spider. The browser showed success but the props are:

    _latteBanishUsed
    false
    _latteCopyUsed
    false
    _latteDrinkUsed
    false
    _latteMonster

    _latteRefillsUsed
    0
    latteModifier

    I haven't actually filled it with anything yet, if that makes a difference.

    Edit: Also, it appears that 'have_skill($skill[Offer Latte to Opponent])' is returning true even when the browser shows it as disabled.
    Last edited by AlbinoRhino; 10-04-2018 at 10:54 PM.

  7. #17
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    825

    Default

    $skill[Throw Latte on Opponent] updated the props correctly. (including banishedMonsters).

    have_skill() is returning true for it as well (in-combat when it is disabled).


    Edit:
    $skill[Gulp Latte] = same as above (correct prop update, have_skill() returns true in combat)


    Edit:
    latteModifier updated correctly on refill.
    Last edited by AlbinoRhino; 10-04-2018 at 11:37 PM.

  8. #18
    Developer
    Join Date
    Apr 2010
    Posts
    4,816

    Default

    Hopefully r18930 fixes the detection of Offer Latte.

    have_skill() returning true for skills you have, but cannot currently use due to daily/other limits is absolutely normal.

    It also adds unlock detection (latteUnlocks), fixes duplicate modifier handling and logs unlocks discovered whilst adventuring.

  9. #19
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    825

    Default

    Hmmm...I knew that....don't know what I was thinking last night. Thanks Darzil.

  10. #20
    Developer
    Join Date
    Aug 2009
    Posts
    2,808

    Default

    LatteRequest:225 threw a NPE after a tentacle fight in the Science Tent, presumably because locationName is null.

Posting Permissions

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