Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Tracking paranormal activity broke

  1. #1

    Default Tracking paranormal activity broke

    After months of everything being in order, Mafia stopped being able to correctly track paranormal activities. The script puts on the proton pack, as it should, but then the proton pack's report doesn't get saved to ghostLocation. Hitting up the quest log sets ghostLocation up appropriately, but after disposing of the ghost nextParanormalActivity remains unchanged.

    This showed up today morning in r18210 with no warning, after months of everything running smoothly. I upgraded to r18312 just in case that would help, it did not. Some assistance please? Maybe something got borked in Mafia's back end and it's having trouble updating things? But digitized monster tracking and re-digitizing, similarly based on set properties, is still working flawlessly...

  2. #2

    Default

    Actually, this is probably related to a shift in proton pack messages reported in GD, sometimes with some extra numbers, sometimes just coming to life. Suggested workaround - if spotting a proton pack message, hit up the quest log to parse out the location and update nextParanormalActivity to go along with it?

  3. #3
    Developer
    Join Date
    Apr 2010
    Posts
    4,810

    Default

    Suggested fix - post the html of the new messages in this thread and we'll update the quest tracking.

  4. #4
    Senior Member
    Join Date
    Feb 2010
    Posts
    972

    Default

    Sigh. I realized too late that the quest log doesn't have the "extra" text that shows up in the encounter results. Maybe next time.

  5. #5
    Developer
    Join Date
    Apr 2010
    Posts
    4,810

    Default

    Could be a KoL bug, certainly I've just reported one, as the text in fight.php was :

    The walkie-talkie on your proton accelerator crackles to life: ""

  6. #6
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,410

    Default

    I noticed this yesterday myself. Here's the patter we currently use:

    Code:
    	private static final Pattern PARANORMAL_PATTERN = Pattern.compile( ""Paranormal disturbance reported (.*?)."" );
    I'll see if I can get a DEBUG log with the change and adjust.

    For future reference, if a KoLmafia feature "stops working" because of a KoL change, that does not equate to a KoLMafia bug.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  7. #7
    Developer
    Join Date
    Apr 2010
    Posts
    4,810

    Default

    For future reference, if a KoLmafia feature "stops working" because of a KoL change, that does not equate to a KoLMafia bug.
    Originally Posted by Veracity View Post
    I think in this case the issue is more that we aren't reading the text between the quotes because there isn't any, due to a KoL bug, rather than an intended KoL change.
    Whilst we could work around it by visiting quest log when we see "The walkie-talkie on your proton accelerator crackles to life", and setting the timer at this point, KoL is likely to get fixed pretty soon after this is reported (which I have).

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

    Default

    Actually, I misunderstood Darzil's report. That text we are looking for is what used to be in the quotes. KoL is no longer filling it in.

    That's clearly a KoL bug.

    Since this is bugging me, too, I'll put in a hack to fetch the location from the quest log if it is not deducible from the message.

    Edit: Heh. Ninja'd.

    I'll put in a hack to read the quest log only if we don't get the message normally. So, no change in behavior for the normal case, and will get us by until they fix it.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  9. #9
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,410

    Default

    This is not a KoLmafia bug - and I'm changing it to reflect that - but Revision 18316 works around the KoL bug
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  10. #10

    Default

    At the time when I tossed the OP up I thought it was Mafia-side, hence the "bug" tag, sorry. Once I went on GD and saw what was going on I made the follow-up post, but I failed to find a way to edit the tag away from bug. Thanks for the hotfix!

Posting Permissions

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