LUA Error in Delves #364


  • Defect
Open
  • fuba82 created this issue Mar 3, 2026

    LUA Error when try to do "Herb Gathering" from Enemies inside Delves in Midnight, maybe also all other Delves and Dungeon i guess because of secret taint!

    LUA Error:

    2x GatherMate2/GatherMate2.lua:527: table index is secret
    [GatherMate2/GatherMate2.lua]:527: in function 'GetIDForNode'
    [GatherMate2/Collector.lua]:222: in function '?'
    [!WilduTools/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:109: in function <...ols/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
    [C]: ?
    [!WilduTools/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:19: in function <...ols/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
    [!WilduTools/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:54: in function 'Fire'
    [AlterEgo/Libs/AceEvent-3.0/AceEvent-3.0.lua]:120: in function <...eAlterEgo/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>
    
    
    Locals:
    self = <table> {
     modules = <table> {
     }
     nodeTextures = <table> {
     }
     defaultModuleState = true
     db_types = <table> {
     }
     nodeIDReplacementMap = <table> {
     }
     db = <table> {
     }
     HBD = <table> {
     }
     enabledState = true
     reverseNodeIDs = <table> {
     }
     defaultModuleLibraries = <table> {
     }
     rareNodes = <table> {
     }
     name = "GatherMate2"
     orderedModules = <table> {
     }
     gmdbs = <table> {
     }
     Visible = <table> {
     }
     baseName = "GatherMate2"
     phasing = <table> {
     }
     nodeExpansion = <table> {
     }
     db_storage_map = <table> {
     }
     mapBlacklist = <table> {
     }
     nodeIDs = <table> {
     }
    }
    type = "Herb Gathering"
    name = <no value>
    (*temporary) = <table> {
     Fireweed = 473
     Starflower = 471
     Transplanted Lush Sanguithorn = 1484
     Golden Sansam = 425
     Frigid Saxifrage = 1421
     Marrowroot = 495
     Lightfused Sanguithorn = 1484
     Goldthorn = 414
     Transplanted Azeroot = 1482
     Sporefused Mycobloom = 1439
     Elusive Nightshade = 494
     Mana Lily = 1483
     Crystallized Orbinid = 1463
     Lush Orbinid = 1463
     Hochenblume = 1407
     Altered Orbinid = 1463
     Saxifrage = 1421
     Sporefused Luredrop = 1455
     Sporefused Blessing Blossom = 1447
     Sporelusive Mycobloom = 1439
     Akunda's Bite = 485
     Frigid Writhebark = 1428
     Infurious Writhebark = 1428
     Transplanted Argentleaf = 1481
     Elusive First Flower = 499
     Writhebark = 1428
     Mana Thistle = 437
     Golden Lotus = 462
     Felwort = 478
     Dragon's Teeth = 454
     Voidbound Azeroot = 1482
     Wintersbite = 416
     Goldclover = 446
     Withered Herb = 475
     Infurious Saxifrage = 1421
     Firebloom = 417
     Talandra's Rose = 449
     Lightfused Tranquility Bloom = 1485
     Star Moss = 490
     Black Lotus = 431
     Primal Sanguithorn = 1484
     Titan-Touched Saxifrage = 1421
     Lush Phantom Bloom = 1479
     Wild Steelbloom = 409
     Primal Mana Lily = 1483
     Lush Writhebark = 1428
     Transplanted Lush Tranquility Bloom = 1485
     Transplanted Lush Argentleaf = 1481
     Sungrass = 421
     Lush Bubble Poppy = 1414
     Sorrowmoss = 455
     Mageroyal = 404
     Sporelusive Arathor's Spear = 1471
     Sha-Touched Herb = 468
     Lush Mycobloom = 1439
     Infurious Bubble Poppy = 1414
     Frostweed = 474
     Voidbound Mana Lily = 1483
     Titan-Touched Hochenblume = 1407
     Titan-Touched Writhebark = 1428
     Windswept Writhebark = 1428
     Purple Lotus = 418
     Lambent Writhebark = 1428
     Phantom Bloom = 1479
     Lush Argentleaf = 1481
     Lush Tranquility Bloom = 1485
     Gorgrond Flytrap = 472
     Bubble Poppy = 1414
     Blindweed = 422
     Titan-Touched Bubble Poppy = 1414
     Silverleaf = 402
     Silkweed = 465
     Frozen Herb = 452
     Peacebloom = 401
     Ghost Mushroom = 423
     Lichbloom = 448
     Dreaming Glory = 433
     Widowbloom = 498
     Lush Blessing Blossom = 1447
     Tiger Lily = 450
     Firethorn = 451
     Terocone = 434
     Camouflaged Orbinid = 1463
     Wild Argentleaf = 1481
     Irradiated Blessing Blossom = 1447
     Azshara's Veil = 456
     Irradiated Mycobloom = 1439
     Anchor Weed = 486
     Lambent Bubble Poppy = 1414
     Aethril = 476
     Sporelusive Luredrop = 1455
     Camouflaged Blessing Blossom = 1447
     Sporelusive Blessing Blossom = 1447
     Camouflaged Luredrop = 1455
     Blessing Blossom = 1447
     Icecap = 429
     Ancient Lichen = 435
     Felweed = 432
     Lambent Hochenblume = 1407
     Heartblossom = 459
     Decayed Hochenblume = 1407
     Tranquility Bloom = 1485
     Netherbloom = 438
     Crystallized Mycobloom = 1439
     Bruiseweed = 408
     Altered Arathor's Spear = 1471
     Sanguithorn = 1484
     Fadeleaf = 413
     Mycobloom = 1439
     Stranglekelp = 407
     Primal Azeroot = 1482
     Lush Saxifrage = 1421
     Vigil's Torch = 496
     Altered Blessing Blossom = 1447
     Argentleaf = 1481
     Lush Arathor's Spear = 1471
     Irradiated Arathor's Spear = 1471
     Whiptail = 461
     Transplanted Lush Azeroot = 1482
     Grave Moss = 410
     Wild Sanguithorn = 1484
     Wild Tranquility Bloom = 1485
     Gromsblood = 424
     Transplanted Mana Lily = 1483
     Voidbound Sanguithorn = 1484
     Voidbound Tranquility Bloom = 1485
     Nagrand Arrowbloom = 470
     Earthroot = 403
     Fel-Encrusted Herb Cluster = 483
     Talador Orchid = 469
     Lightfused Azeroot = 1482
     Lush Azeroot = 1482
     Windswept Saxifrage = 1421
     Azeroot = 1482
     Dreamleaf = 477
     Decayed Writhebark = 1428
     Stormvine = 458
     Altered Luredrop = 1455
     Crystallized Luredrop = 1455
     Cinderbloom = 457
     Irradiated Luredrop = 1455
     Lush Luredrop

     

  • fuba82 added a tag Defect Mar 3, 2026
  • fuba82 edited description Mar 3, 2026
  • FloofyLogic posted a comment Apr 13, 2026

    Add this at the top of GatherMate2.lua

    It will stop the addon from working when you enter any instances.

     

    local inInstance, instanceType = IsInInstance()

     

    if inInstance then

    return -- stop your addon logic

    end

  • Ookami313 posted a comment Apr 16, 2026

    I'm getting basically the same error, though mine occurs when I'm tagged in combat and try pick a herb node. The error will occur and the node will not be marked on the map, but as soon as I'm out of combat everything works as intended with the node being marked.

    I also seem to have an additional line in my error as well if that makes a difference.

    [GatherMate2/GatherMate2.lua]:395: in function 'AddNodeChecked' 

     

    I'll add the above code to my file as instructed, but wanted to post my issue, with somewhat differing error code, just in case. Thanks.

     

    3x GatherMate2/GatherMate2.lua:527: table index is secret
    [GatherMate2/GatherMate2.lua]:527: in function 'GetIDForNode'
    [GatherMate2/GatherMate2.lua]:395: in function 'AddNodeChecked'
    [GatherMate2/Collector.lua]:265: in function 'addItem'
    [GatherMate2/Collector.lua]:198: in function '?'
    [Altoholic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:109: in function <...lic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
    [C]: ?
    [Altoholic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:19: in function <...lic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
    [Altoholic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:54: in function 'Fire'
    [AskMrRobot/Libs/AceEvent-3.0/AceEvent-3.0.lua]:120: in function <AskMrRobot/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>

     

    Locals:
    self = <table> {
    modules = <table> {
    }
    nodeTextures = <table> {
    }
    defaultModuleState = true
    db_types = <table> {
    }
    nodeIDReplacementMap = <table> {
    }
    db = <table> {
    }
    HBD = <table> {
    }
    enabledState = true
    reverseNodeIDs = <table> {
    }
    defaultModuleLibraries = <table> {
    }
    rareNodes = <table> {
    }
    name = "GatherMate2"
    orderedModules = <table> {
    }
    gmdbs = <table> {
    }
    Visible = <table> {
    }
    baseName = "GatherMate2"
    phasing = <table> {
    }
    nodeExpansion = <table> {
    }
    db_storage_map = <table> {
    }
    mapBlacklist = <table> {
    }
    nodeIDs = <table> {
    }
    }
    type = "Herb Gathering"
    name = <no value>
    (*temporary) = <table> {
    Fireweed = 473
    Starflower = 471
    Transplanted Lush Sanguithorn = 1484
    Golden Sansam = 425
    Frigid Saxifrage = 1421
    Marrowroot = 495
    Lightfused Sanguithorn = 1484
    Goldthorn = 414
    Transplanted Azeroot = 1482
    Sporefused Mycobloom = 1439
    Elusive Nightshade = 494
    Mana Lily = 1483
    Crystallized Orbinid = 1463
    Lush Orbinid = 1463
    Hochenblume = 1407
    Altered Orbinid = 1463
    Saxifrage = 1421
    Sporefused Luredrop = 1455
    Sporefused Blessing Blossom = 1447
    Sporelusive Mycobloom = 1439
    Akunda's Bite = 485
    Frigid Writhebark = 1428
    Infurious Writhebark = 1428
    Transplanted Argentleaf = 1481
    Elusive First Flower = 499
    Writhebark = 1428
    Mana Thistle = 437
    Golden Lotus = 462
    Felwort = 478
    Dragon's Teeth = 454
    Voidbound Azeroot = 1482
    Wintersbite = 416
    Goldclover = 446
    Withered Herb = 475
    Infurious Saxifrage = 1421
    Firebloom = 417
    Talandra's Rose = 449
    Lightfused Tranquility Bloom = 1485
    Star Moss = 490
    Black Lotus = 431
    Primal Sanguithorn = 1484
    Titan-Touched Saxifrage = 1421
    Lush Phantom Bloom = 1479
    Wild Steelbloom = 409
    Primal Mana Lily = 1483
    Lush Writhebark = 1428
    Transplanted Lush Tranquility Bloom = 1485
    Transplanted Lush Argentleaf = 1481
    Sungrass = 421
    Lush Bubble Poppy = 1414
    Sorrowmoss = 455
    Mageroyal = 404
    Sporelusive Arathor's Spear = 1471
    Sha-Touched Herb = 468
    Lush Mycobloom = 1439
    Infurious Bubble Poppy = 1414
    Frostweed = 474
    Voidbound Mana Lily = 1483
    Titan-Touched Hochenblume = 1407
    Titan-Touched Writhebark = 1428
    Windswept Writhebark = 1428
    Purple Lotus = 418
    Lambent Writhebark = 1428
    Phantom Bloom = 1479
    Lush Argentleaf = 1481
    Lush Tranquility Bloom = 1485
    Gorgrond Flytrap = 472
    Bubble Poppy = 1414
    Blindweed = 422
    Titan-Touched Bubble Poppy = 1414
    Silverleaf = 402
    Silkweed = 465
    Frozen Herb = 452
    Peacebloom = 401
    Ghost Mushroom = 423
    Lichbloom = 448
    Dreaming Glory = 433
    Widowbloom = 498
    Lush Blessing Blossom = 1447
    Tiger Lily = 450
    Firethorn = 451
    Terocone = 434
    Camouflaged Orbinid = 1463
    Wild Argentleaf = 1481
    Irradiated Blessing Blossom = 1447
    Azshara's Veil = 456
    Irradiated Mycobloom = 1439
    Anchor Weed = 486
    Lambent Bubble Poppy = 1414
    Aethril = 476
    Sporelusive Luredrop = 1455
    Camouflaged Blessing Blossom = 1447
    Sporelusive Blessing Blossom = 1447
    Camouflaged Luredrop = 1455
    Blessing Blossom = 1447
    Icecap = 429
    Ancient Lichen = 435
    Felweed = 432
    Lambent Hochenblume = 1407
    Heartblossom = 459
    Decayed Hochenblume = 1407
    Tranquility Bloom = 1485
    Netherbloom = 438
    Crystallized Mycobloom = 1439
    Bruiseweed = 408
    Altered Arathor's Spear = 1471
    Sanguithorn = 1484
    Fadeleaf = 413
    Mycobloom = 1439
    Stranglekelp = 407
    Primal Azeroot = 1482
    Lush Saxifrage = 1421
    Vigil's Torch = 496
    Altered Blessing Blossom = 1447
    Argentleaf = 1481
    Lush Arathor's Spear = 1471
    Irradiated Arathor's Spear = 1471
    Whiptail = 461
    Transplanted Lush Azeroot = 1482
    Grave Moss = 410
    Wild Sanguithorn = 1484
    Wild Tranquility Bloom = 1485
    Gromsblood = 424
    Transplanted Mana Lily = 1483
    Voidbound Sanguithorn = 1484
    Voidbound Tranquility Bloom = 1485
    Nagrand Arrowbloom = 470
    Earthroot = 403
    Fel-Encrusted Herb Cluster = 483
    Talador Orchid = 469
    Lightfused Azeroot = 1482
    Lush Azeroot = 1482
    Windswept Saxifrage = 1421
    Azeroot = 1482
    Dreamleaf = 477
    Decayed Writhebark = 1428
    Stormvine = 458
    Altered Luredrop = 1455
    Crystallized Luredrop = 1455
    Cinderbloom = 457
    Irradiated Luredrop = 1455
    Lush Luredrop

  • Ookami313 posted a comment Apr 26, 2026

    The code change listed by FlooyLogic above does not seem to be working, at least for me. Unless I placed the lines of conde in the wrong place, when I reload after adding the code I get the following errors.

     

    3x GatherMate2/Collector.lua:1: Usage: GetAddon(name): 'name' - Cannot find an AceAddon 'GatherMate2'.
    [BattlePetCompletionist/Libs/AceAddon-3.0/AceAddon-3.0.lua]:151: in function 'GetAddon'
    [GatherMate2/Collector.lua]:1: in main chunk

     

    Locals:
    self=<table>{
    initializequeue=<table>
    statuses=<table>
    embeds=<table>
    frame=AceAddon30Frame <AceAddon-3.0.lua:38>
    addons=<table>
    enablequeue=<table>
    }
    name="GatherMate2"
    silent=nil

     

    3x GatherMate2/Display.lua:1: Usage: GetAddon(name): 'name' - Cannot find an AceAddon 'GatherMate2'.
    [BattlePetCompletionist/Libs/AceAddon-3.0/AceAddon-3.0.lua]:151: in function 'GetAddon'
    [GatherMate2/Display.lua]:1: in main chunk

     

    Locals:
    self=<table>{
    initializequeue=<table>
    statuses=<table>
    embeds=<table>
    frame=AceAddon30Frame <AceAddon-3.0.lua:38>
    addons=<table>
    enablequeue=<table>
    }
    name="GatherMate2"
    silent=nil

     

    3x GatherMate2/Constants.lua:7: Usage: GetAddon(name): 'name' - Cannot find an AceAddon 'GatherMate2'.
    [BattlePetCompletionist/Libs/AceAddon-3.0/AceAddon-3.0.lua]:151: in function 'GetAddon'
    [GatherMate2/Constants.lua]:7: in main chunk

     

    Locals:
    self=<table>{
    initializequeue=<table>
    statuses=<table>
    embeds=<table>
    frame=AceAddon30Frame <AceAddon-3.0.lua:38>
    addons=<table>
    enablequeue=<table>
    }
    name="GatherMate2"
    silent=nil

     

    3x GatherMate2/Config.lua:1: Usage: GetAddon(name): 'name' - Cannot find an AceAddon 'GatherMate2'.
    [BattlePetCompletionist/Libs/AceAddon-3.0/AceAddon-3.0.lua]:151: in function 'GetAddon'
    [GatherMate2/Config.lua]:1: in main chunk

     

    Locals:
    self=<table>{
    initializequeue=<table>
    statuses=<table>
    embeds=<table>
    frame=AceAddon30Frame <AceAddon-3.0.lua:38>
    addons=<table>
    enablequeue=<table>
    }
    name="GatherMate2"
    silent=nil

     


    Edited Apr 26, 2026
  • bsmorgan posted a comment Apr 26, 2026

    See #371 for a potential fix.


To post a comment, please login or register a new account.