Archy - Archaeology Assistant

493 - Digsite window won't show when TomTom is enabled

What steps will reproduce the problem?

  1. Enable both Archy and TomTom.

What is the expected output? What do you see instead?

I would expect both addons to function correctly.

Instead, Archy's dig site window never appears on the screen. The artifact frame displays as usual, but no amount of toggling Archy, toggling the on-screen lists, resetting the window positions, resetting the entire addon profile, manually setting ArchyDB=nil and reloading the UI, etc. will make the dig site window show up. If I disable TomTom, the dig site window appears again.

What version of the product are you using?

  • Archy 1.8.43
  • TomTom 50400-1.0.0
  • WoW 5.4.2.16788 enUS

Do you have an error log of what happened?

No Lua error is raised.

Please provide any additional information below.

I'm not sure when this problem appeared, as I haven't actively played since last summer, but based on about 45 minutes of excruciating debugging (whoever wrote this thing deserves to be beaten with a rubber hose... *cough*Torhal*cough*) it seems like TomTom being enabled is somehow causing a failure in Archy's GetContinentSites function, as the continent_digsites entry for my current continent (1, Eastern Kingdoms, didn't test anywhere else) is nil (though 2 is not). Both addons' versions are bundling the same version of Astrolabe, so it's (probably) not an Astrolabe problem. I am able to "fix" it by running the following in-game:

SetMapZoom(GetCurrentMapContinent())
Archy:ARTIFACT_DIG_SITE_UPDATED()
Archy:UpdateDigSiteFrame()
User When Change
Phanx Jan 13, 2014 at 14:12 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Phanx Phanx Jan 14, 2014 at 12:54 UTC - 0 likes

    I've gone ahead and made a mini-addon to automatically run the "fix" code 5 seconds after logging in. In case anyone else wants to use it, you can find it here:

    http://phanx.net/temp/ArchyFix.zip

    It's very unlikely I will spend any more time trying to find the actual cause of the problem in Archy's code, or commit any fixes to Archy itself, so until someone who actually knows what's going on in that mess feels like fixing it, this will have to do.

    (Also fixes the issue with some appearance settings failing to apply at login, as described in ticket #419.)

  • 1 comment

Facts

Reported
Jan 13, 2014
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees