Minimal Archaeology

27 - LUA errors in battlegrounds

What steps will reproduce the problem?
Having both capping and minimal archeology at the same time in a battleground causes errors.  Seems like Minimal Archeology should ignore battlegrounds.

What version of the product are you using?
5.4.0

Do you have an error log of what happened?
Message: Interface\AddOns\Capping\battlegrounds.lua:114 table index is nil
Time: Tue Feb 11 19:11:11 2014
Count: 50
Stack: Interface\AddOns\Capping\battlegrounds.lua:114 in function `?'
Interface\AddOns\Capping\core.lua:176 in function <Interface\AddOns\Capping\core.lua:174
[C]: in function `SetMapZoom'
...erface\AddOns\MinimalArchaeology\MinArchDigsites.lua:58 in function `UpdateActiveDigSites'
...nterface\AddOns\MinimalArchaeology\MinArchEvents.lua:91 in function `EventDigsites'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: self = Capping {
 0 = <userdata>
 close = <unnamed> {
 }
 CheckCombat = <function> defined @Interface\AddOns\Capping\core.lua:182
 TestNode = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:136
 StartWSG = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:513
 CheckStartTimer = <function> defined @Interface\AddOns\Capping\core.lua:824
 StartBar = <function> defined @Interface\AddOns\Capping\core.lua:771
 UPDATE_WORLD_STATES = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:192
 StartIoC = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:435
 StartAB = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:238
 StopBar = <function> defined @Interface\AddOns\Capping\core.lua:813
 backdrop = <table> {
 }
 StartGil = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:246
 UpdateCountText = <function> defined @Interface\AddOns\Capping\core.lua:853
 WORLD_MAP_UPDATE = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:108
 ADDON_LOADED = <function> defined @Interface\AddOns\Capping\core.lua:28
 ev = "WORLD_MAP_UPDATE"
 activebars = <table> {
 }
 PLAYER_REGEN_ENABLED = <function> defined @Interface\AddOns\Capping\core.lua:190
 StartAV = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:254
 ZoneCheck = <function> defined @Interface\AddOns\Capping\core.lua:392
 bgtotals = <unnamed> {
 }
 db = <table> {
 }
 GetBar = <function> defined @Interface\AddOns\Capping\core.lua:725
 ZONE_CHANGED_NEW_AREA = <function> defined @Interface\AddOns\Capping\core.lua:355
 StartEotS = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:351
 StartWintergrasp = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:658
 ModMap = <function> defined @Interface\AddOns\Capping\core.lua:453
 ResetAll = <function> defined @Interface\AddOns\Capping\core.lua:376
 CreateCarrierButton = <function> defined @Interface\AddOns\Capping\battlegrounds.lua:142
 AddFrameToHide = <function> defined @Interface\AddOns\Capping\core.lua:371
 iconpath = <table> {
 }
 UPDATE_BATTLEFIELD_STATUS = <function> defined @Interface\AddOns\Capping\core.lua:505
 CreateText = <function> defined @Interface\AddOns\Capping\core.lua:876
 RegisterTempEvent = <function> defined @Interface\AddOns\Capping\core.lua:178
}
(for index) = 1
(for limit) = 17
(for step) = 1
i = 1
name = nil
_ = nil
ti = 0
ns = nil
(*temporary) = <table> {
 Stables = "stables40"
 Agmar's Hammer = "none"
 Lumber Mill = "lumbermill25"
 Altar of Sha'tar = "none"
 Aerie Peak = "none"
 Allerian Stronghold = "none"
 Amberpine Lodge = "none"
 Farm = "farm35"
 Blacksmith = "blacksmith30"
 Area 52 = "none"
 Gold Mine = "mine17"
 Andorhal = "none"
}
(*temporary) = "none"
(*temporary) = 0
(*temporary) = "none"
(*temporary) = <table> {
 stables = <table> {
 }
 path = <table> {
 }
 lumbermill = <table> {
 }
 symbol = <table> {
 }
 flag = <table> {
 }
 graveyard = <table> {
 }
 tower = <table> {
 }
 docks = <table> {
 }
 refinery = <table> {
 }
 farm = <table> {
 }
 blacksmith = <table> {
 }
 hangar = <table> {
 }
 workshop = <table> {
 }
 mine = <table> {
 }
}
(*temporary) = "mine"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = <table> {
 1 = 0.21484375
 2 = 0.28125
 3 = 0.037109375
 4 = 0.0703125
 5 = 0.35546875
 6 = 0.421875
 7 = 0.037109375
 8 = 0.0703125
 9 = 16
 10 = 18
 11 = 17
 12 = 20
 13 = 19
}
(*temporary) = "table index is nil"
Ge

User When Change
jdrexler75 Nov 02, 2014 at 23:37 UTC Changed status from Replied to Declined
tailcat Feb 14, 2014 at 05:19 UTC Changed status from Waiting to Replied
jdrexler75 Feb 13, 2014 at 18:18 UTC Changed status from Replied to Waiting
jdrexler75 Feb 13, 2014 at 18:18 UTC Changed status from Waiting to Replied
jdrexler75 Feb 13, 2014 at 18:14 UTC Changed status from New to Waiting
tailcat Feb 12, 2014 at 03:21 UTC Create

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

  • 2 comments
  • Avatar of tailcat tailcat Feb 14, 2014 at 05:19 UTC - 0 likes

    reported to the author of capping, thanks.

  • Avatar of jdrexler75 jdrexler75 Feb 13, 2014 at 18:18 UTC - 0 likes

    I don't do battlegrounds so I'm not sure how to fix this.

    As far as I can tell, the error happens when you open the MinArch digsite window. MinArch tries to get the current list of digsites, which somehow confuses Capping, as that is where the error actually happens. Apparently Capping hooks the "SetMapZoom" function but doesn't properly handle cases where that function is used by other addons.

    So it should probably be considered a bug in Capping instead.

  • 2 comments

Facts

Last updated
Nov 02, 2014
Reported
Feb 12, 2014
Status
Declined - We decided not to take action on this ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees