Maintenance for the week of May 25:
• PC/Mac: No maintenance – May 25
• ESO Store and Account System for maintenance – May 27, 6:00AM EDT (10:00 UTC) - 4:00PM EDT (20:00 UTC)

Loot Alert addon broke after update - how to fix?

SolidBeast
SolidBeast
✭✭✭✭
Hey all,
it seems the original developer is no longer playing the game and does not want to be pestered with messages. However, this was my absolute favorite add-on. I am no coder and I'm wondering if anyone has any pointers on how to look into what made the add-on not work? It seems to have broken with update 49. But prior to this update, we already had to use a fixed version that is linked in the comments on the add-on page.

In-game, the dependencies listed are
LibAddonMenu-2.0
LibCustomMenu
LibScroll

I've made sure that everything other than the main add-on (see above for the link to the fixed version that is not meant to be updated) is up to date. The menu for the add-on shows up in the game and you can tick everything fine, it shows no errors, but it just never executes the alerts themselves. Nothing happens at all in gameplay.

Any help would be appreciated. My game experience is diminished without Loot Alert.
"Many fall, but one remains."
  • SolidBeast
    SolidBeast
    ✭✭✭✭
    UPDATE: I believe I fixed it for now! Note, the first thing I did may or may not help, so try point 2 before trying point 1. But this is what I did.

    1. I noticed that it still had a LibStub folder so I used the Delete LibStub utility to remove it as per the instructions.

    2. The game was showing a LUA error regarding line 941, so I commented it out. To do so, open LootAlert.lua and add two dashes to line 941 or the following line:
    SlashCommandAutoComplete:InvalidateSlashCommandCache()
    

    the result should look like this:
    --SlashCommandAutoComplete:InvalidateSlashCommandCache()
    
    If you have the same version of the addon as I do (Baertram's fixed version from the comments), you will notice there's already an older version of that line that's been commented out. After I did this and reloaded my UI ingame, the addon started working as normal again. So my guess is the InvalidateSlashCommandCache line should be changed into something new, but I have not figured out what, and the addon works for me. If anyone has any further things to add, please do so, or I will correct myself should I find out what the proper version of this line should be, if there indeed is one.

    I am not a coder, use my fixes at your own risk.
    "Many fall, but one remains."
  • Dack_Janiels
    Dack_Janiels
    ✭✭✭
    SolidBeast wrote: »
    UPDATE: I believe I fixed it for now! Note, the first thing I did may or may not help, so try point 2 before trying point 1. But this is what I did.

    1. I noticed that it still had a LibStub folder so I used the Delete LibStub utility to remove it as per the instructions.

    2. The game was showing a LUA error regarding line 941, so I commented it out. To do so, open LootAlert.lua and add two dashes to line 941 or the following line:
    SlashCommandAutoComplete:InvalidateSlashCommandCache()
    

    the result should look like this:
    --SlashCommandAutoComplete:InvalidateSlashCommandCache()
    
    If you have the same version of the addon as I do (Baertram's fixed version from the comments), you will notice there's already an older version of that line that's been commented out. After I did this and reloaded my UI ingame, the addon started working as normal again. So my guess is the InvalidateSlashCommandCache line should be changed into something new, but I have not figured out what, and the addon works for me. If anyone has any further things to add, please do so, or I will correct myself should I find out what the proper version of this line should be, if there indeed is one.

    I am not a coder, use my fixes at your own risk.


    Here is how I did it in LuiExtended, ZOS changed the method during a refactor.

    https://github.com/DakJaniels/LuiExtended/blob/master/LuiExtended/modules/SlashCommands/SlashCommands.lua#L84-L87
  • SolidBeast
    SolidBeast
    ✭✭✭✭

    Here is how I did it in LuiExtended, ZOS changed the method during a refactor.

    https://github.com/DakJaniels/LuiExtended/blob/master/LuiExtended/modules/SlashCommands/SlashCommands.lua#L84-L87

    Hey, thanks for your contribution! I do not understand, however, from your whole batch of code, which lines I would need to input in the file in order to restore whatever functionality was removed when I commented out the line on my end. Sorry, I am not a coder. Could you dumb it down for me?
    "Many fall, but one remains."
  • Techwolf_Lupindo
    Techwolf_Lupindo
    ✭✭✭
    Take a look at Loot Log. Does the same as Loot Alert plus more. It has nice features for group play. Like /lt to post all collected gear to share. Handy at the end of a trial run to share gear.
  • SolidBeast
    SolidBeast
    ✭✭✭✭
    Take a look at Loot Log. Does the same as Loot Alert plus more. It has nice features for group play. Like /lt to post all collected gear to share. Handy at the end of a trial run to share gear.

    Appreciate the mention, but I don't see where this does the same thing as Loot Alert, which gives me pleasing messages across the screen with accompanying sounds and makes my character emote for specific items I've selected, which cracks me up. Loot Alert is very much a flavor addon to me. I don't really need an addon that logs loot to chat or a separate window, but maybe someone else will appreciate it. I will give you that the one-click link loot to the party is a useful feature. But I've found that, most of the time, people will whisper when they want something because of the addons they're using to see what I looted.
    "Many fall, but one remains."
Sign In or Register to comment.