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

Thread: Track Mafia thumb ring gained adventures

  1. #11
    Senior Member
    Join Date
    Jun 2016
    Posts
    199

    Default

    To add to that, mafia does track riftlet adventures, which are basically the same thing.

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

    Default

    I think it should track them and also display the message in the session log.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  3. #13
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,056

    Default

    Hypothetically...

    There is some text that is generated when it triggers, correct? What is it?
    FightRequest (or ???) needs to look for the text. If found, it increments a tracking preference and emits a log message.
    Probably don't need to look for the text unless the ring is equipped.
    A new daily resetting preference needs to be created and given a default.

    If the above is close to correct I will try and give it a shot.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  4. #14
    Senior Member
    Join Date
    Jun 2016
    Posts
    199

    Default

    That is indeed correct.
    It's located between the ballroom song and the adventure again link, for me anyway.

    Code:
    <p>You walloped your enemy so thoroughly, thanks to your weighty thumb ring, that you actually knocked them back into last week.... guess this current fight didn't take any time!</p>
    <center><table><tbody><tr><td><img src="/images/itemimages/hourglass.gif" height="30" width="30" alt="Adventures"></td><td valign="center">You gain 1 Adventure.</td></tr></tbody></table></center>

  5. #15
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,056

    Default

    Try 18378

    _mafiaThumbRingAdvs is the preference, defaulting to 0.

    Lightly tested. It triggered once, I saw the preference incremented and a message in the session log.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  6. #16
    Senior Member
    Join Date
    Dec 2008
    Posts
    257

    Default

    Looks like it's working for me: 519 total adv, 21 thumb ring advs. What about adding it to the daily deed panel where the "Advs" section lists gibberer and Vmask? Thanks for implementing this fronobulax!

  7. #17
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,056

    Default

    Looks like it's working for me: 519 total adv, 21 thumb ring advs. What about adding it to the daily deed panel where the "Advs" section lists gibberer and Vmask? Thanks for implementing this fronobulax!
    Originally Posted by fxer View Post
    Since I don't have either of those, what's the reason? Is it just an informative status or what? I think of Daily Deeds as containing things that can be performed a limited number of times a day and require some kind of action on my part. This doesn't fit that. I'll look but there is a part of me that might wonder about removing the gibberer and Vmask from Daily Deeds and finding another home :-)
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  8. #18
    Senior Member
    Join Date
    Jul 2012
    Posts
    171

    Default

    The defaults.txt file has spaces instead of tabs for _mafiaMiddleFingerRingUsed and _mafiaThumbRingAdvs, so they're not parsed right.

  9. #19

    Default

    The defaults.txt file has spaces instead of tabs for _mafiaMiddleFingerRingUsed and _mafiaThumbRingAdvs, so they're not parsed right.
    Originally Posted by PeKaJe View Post
    Fixed in 18383.

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

    Default

    Thanks. What made you aware of the problem? It was lightly tested but I missed the symptoms. Tangentially, the middle finger preference was a typo I fixed. "use" instead of "user" I believe.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    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
  •