Menu

#10 line 341:attempt to index field '?' error

open
nobody
None
5
2005-09-17
2005-09-17
Anonymous
No

I had the same problem with Black Mageweave Headband
itemID 10024:0:0.
It wasn't catching all the events either
the first 6 i DEd weren't weren't reported at all, and
then 2 were recorded as 2x dream dust and the rest gave
me the same error on line 341. I tried logging out and
even re-installing Entrantrix.
Thx for making this cool addon, i hope i can get it all
working soon and make contributions to the database.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Oh, and i am using version 2.0.4

     
  • Nobody/Anonymous

    Logged In: NO

    I believe i found the problem on my own :P
    I'm not sure how, maybe a combination of the new patch and
    and me getting a new version of enchantrix, it seems the
    Enchantrix.lua in SavedVaribles that holds the data I
    collected is a little corrupted.
    Here's what I mean.
    ---
    ["10024:0:0"] = "11176:2:4:0", <-- corrupted entry?
    ["6590:0:937"] = {
    [11083] = {
    ["i"] = "1",
    ["d"] = "1",
    },
    ---

    I'm going to delete this entry and try disenchanting again.
    testing...........
    Well, deleting the entry didn't work, I had to delete the
    whole file, and lost all the data i had. :\

     
  • Nobody/Anonymous

    Logged In: NO

    I get this when I disenchant Green Silken Shoulders

     
  • Nobody/Anonymous

    Logged In: NO

    I got this error as well. I think that the entry
    ["10024:0:0"] = "11176:2:4:0" is in fact a new format of how it
    should look in the save variables file, but the code around line
    341 hasn't been updated.

    try replacing the line
    local curData = EnchantedLocal[foundItem.s][itemID];
    with
    local enchantedLocal = Enchantrix_GetLocal(foundItem.s);
    local curData = enchantedLocal[itemID];

    and the line
    EnchantedLocal[foundItem.s][itemID] = curData;
    with
    enchantedLocal[itemID] = curData;
    Enchantrix_SaveLocal(foundItem.s,enchantedLocal);

     
  • Nobody/Anonymous

    Logged In: NO

    [19:38-3] Enchantrix\\Enchantrix.lua:341: attempt to index
    field `?' (a string value)\
    ---",
    same problem here after i disenchanted a Brown Linen Robe
    uhm for some reason it keeps saying
    "Found that [Brown Linen Robe] disenchants into:"
    everytime i pick up an item lol

     

Log in to post a comment.

MongoDB Logo MongoDB