Download
(12Kb)
Download
Updated: 07-21-18 01:17 AM
Compatibility:
Battle for Azeroth (8.0.1)
Updated:07-21-18 01:17 AM
Created:08-31-12 12:57 PM
Downloads:20,582
Favorites:28
MD5:
Categories:Raid Mods, Bags, Bank, Inventory

Loot Won Alert Hider/Mover  Popular! (More than 5000 hits)

Version: 1.15.00
by: Choonstertwo [More]

Hides and/or moves various alert frames.

Slash commands:

  • /lootwonhide [alertType] or /lwh [alertType] - Stop the [alertType] alerts from showing
  • /lootwonshow [alertType] or /lws [alertType] - Allow the [alertType] alerts to show
  • /lootwonlock [alertType] or /lwl [alertType] - Toggle the lock on the [alertType] alerts. The alerts can be moved when unlocked.
  • /lootwonreset [alertType] or /lwr [alertType] - Reset all [alertType] alert frames to their default positions.

[alertType] can be any of the following: all (performs the action for all alertTypes), Loot, Money, LootUpgrade, BonusLoot, GarrisonMission, GarrisonShipMission, NewPet, NewMount, BossBanner

There are three variables that can be edited in config.lua:
  • SAMPLE_ITEMID - The itemID of the item displayed in the various item-based alerts when unlocked
  • SAMPLE_MONEY - The amount of money (in copper) to display in the Money Won alert when unlocked
  • SAMPLE_ENCOUNTERID - The encounterID of the boss to display in the Boss Banner when unlocked

You probably won't need to edit these, but they're there if you do.

1.15.00
  • Update to 8.0 (80000)
  • Add .travis.yml file and TOC properties for the BigWigs packager script
    • https://www.wowinterface.com/forums/showthread.php?t=55801

1.14.02
  • Disable non-alpha comments
    • The CurseForge packager isn't replacing them properly
    • Should fix "LootWonAlert_Hider_Mover.lua:57: attempt to call upvalue 'debugprint' (a nil value)"

1.14.01
  • Dummy version to try and fix the CurseForge packager.

1.14.00
  • Update to 7.3 (70300)
  • Add support for the New Pet and New Mount alerts
  • Add support for the Boss Banner
  • Add indexes to the Garrison Mission and Ship Mission alert mover text
  • Allow individual alertTypes to be locked, unlocked, shown and hidden
  • Split each section of the AddOn into its own file
  • Clean up globals list and add missing entries

1.13.00
  • Fix error "FrameXML.lua:715: attempt to index local 'missionInfo' (a number value)"
    • The Garrison Mission/Ship Mission Alerts now take the entire missionInfo table as an argument instead of just the mission ID

1.12.00
  • Update to 7.1 (70100)
  • Fix error "LootWonAlert_Hider_Mover.lua:384: table index is nil"
    • Remove the simple subsystem hook manager (used for Garrison Mission/Ship Mission Alerts) and replace it with the queue subsystem hook manager
    • The previous implementation of the simple subsystem has been replaced with the queue subsystem limited to one alert

1.11.00
  • Update to 7.0 (70000)
  • Rewrite for the new alert frame system
  • Add support for the Garrison Ship Mission Alert
  • Change the sample item from Enchanting Test Sword to Aluneth
  • The item data for Enchanting Test Sword is no longer available in-game

1.10.00
  • Update to 6.2 (60200)
  • Stop loot sound from being played at login

1.09.00
  • Update to 6.1 (60100)
  • Add support for the Money Won Alerts

1.08.00
  • Fix Garrison Mission Alert being stretched when the alert(s) it's anchored to are moved
  • Fix /lootwonreset command

1.07.00
  • Fix error 'FrameXML.lua:885: Usage: GetItemInfo(itemID|"name"|"itemlink")'
  • Add support for the Loot Upgrade Alerts
  • Any existing saved positions will be reset due to restructuring of the saved positions data

1.06.00
  • Fix alert frames not being moved to saved positions (properly this time)

1.05.00
  • Fix alert frames not being moved to saved positions
  • Hook AlertFrame_FixAnchors directly instead of AlertFrame_SetLootWonAnchors/AlertFrame_SetGarrisonMissionAlertFrameAnchors
  • Add slash command to reset alert frames to their default positions

1.04.00
  • Add support for GarrisonMissionAlertFrame

1.03.00
  • Bump TOC Interface version

1.02.00
  • Add .pkgmeta for CurseForge packager
  • Add FindGlobals comment to core.lua and tools-used entry to .pkgmeta
Optional Files (0)


Post A Reply Comment Options
Unread 07-25-16, 11:52 PM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Re: 1.11.00

Originally Posted by Choonstertwo
I've just released version 1.11.00 for WoW 7.0.

This update took a while because Blizzard rewrote a lot of the alert frame system to be more modular. I took this opportunity to rewrite the AddOn to be more modular using some of the same systems.

The saved variables format has changed, but your saved positions should be migrated from the old format to the new one automatically.
Thank you for the update!
Report comment to moderator  
Reply With Quote
Unread 07-25-16, 02:39 PM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
1.11.00

I've just released version 1.11.00 for WoW 7.0.

This update took a while because Blizzard rewrote a lot of the alert frame system to be more modular. I took this opportunity to rewrite the AddOn to be more modular using some of the same systems.

The saved variables format has changed, but your saved positions should be migrated from the old format to the new one automatically.
Report comment to moderator  
Reply With Quote
Unread 07-21-16, 02:49 AM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by Aisenfaire
Hello,

I'm getting the following error in 7.0:

Code:
8x LootWonAlert_Hider_Mover\core.lua:282: hooksecurefunc(): AlertFrame_FixAnchors is not a function
[C]: in function `hooksecurefunc'
LootWonAlert_Hider_Mover\core.lua:282: in main chunk

Locals:
Thanks for the report, I'll try to fix this once I have the patch installed.
Report comment to moderator  
Reply With Quote
Unread 07-21-16, 02:27 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Hello,

I'm getting the following error in 7.0:

Code:
8x LootWonAlert_Hider_Mover\core.lua:282: hooksecurefunc(): AlertFrame_FixAnchors is not a function
[C]: in function `hooksecurefunc'
LootWonAlert_Hider_Mover\core.lua:282: in main chunk

Locals:
Report comment to moderator  
Reply With Quote
Unread 04-29-16, 11:02 AM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by Elrigh
No Lua Errors or other signs that something was wrong until I went to the Flightmaster. I had this error one time before but I am not sure with which addon. Maybe it was this one which I tried out earlier.

I use a lot of addons and it may be that some interfere with yours.
I just tested and I can't reproduce this with this AddOn and the Auctioneer suite installed.

This AddOn doesn't touch the Flight Path UI, so I wouldn't expect it to cause any issues like the one you experienced.

Until you can show me a Lua error mentioning this AddOn, I can't really help you.
Last edited by Choonstertwo : 04-29-16 at 11:03 AM.
Report comment to moderator  
Reply With Quote
Unread 04-29-16, 10:26 AM  
Elrigh
A Murloc Raider

Forum posts: 7
File comments: 19
Uploads: 0
Originally Posted by Choonstertwo
Originally Posted by Elrigh
After Installing I was not able to use a flight path anymore. The Map showed the connection-lines but not the Endpoints which you select to start travel. After deinstalling the Addon the error vanished
I haven't encountered this before. Did you get any Lua errors when you opened the flight path window?

I'll do some testing later and see if I can reproduce and fix this.
No Lua Errors or other signs that something was wrong until I went to the Flightmaster. I had this error one time before but I am not sure with which addon. Maybe it was this one which I tried out earlier.

I use a lot of addons and it may be that some interfere with yours.
Report comment to moderator  
Reply With Quote
Unread 04-29-16, 03:59 AM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by Elrigh
After Installing I was not able to use a flight path anymore. The Map showed the connection-lines but not the Endpoints which you select to start travel. After deinstalling the Addon the error vanished
I haven't encountered this before. Did you get any Lua errors when you opened the flight path window?

I'll do some testing later and see if I can reproduce and fix this.
Report comment to moderator  
Reply With Quote
Unread 04-29-16, 12:28 AM  
Elrigh
A Murloc Raider

Forum posts: 7
File comments: 19
Uploads: 0
After Installing I was not able to use a flight path anymore. The Map showed the connection-lines but not the Endpoints which you select to start travel. After deinstalling the Addon the error vanished
Report comment to moderator  
Reply With Quote
Unread 01-19-15, 07:42 AM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Re: Re: Re: Re: Re: Position still not being saved.

Originally Posted by aliendiplomat
Just a heads-up. Downloaded the latest and there seems to be an issue with linking between the various frames. The stack of loot alerts all moves as one, but if you drag the frame above whatever is the bottom in the stack it breaks the link to the bottom one so it can be moved separately.

This works fine until you get to the last loot alert frame, which is linked to the BORDER of the mission alert frame. The text and art of the mission alert frame does not move, just be background, which is probably not what you intended.

Anyway this is after deleting my saved variables file.
This was quite a strange error, somehow the Garrison Mission Alert was getting anchored to a point above the top of the screen, so it was stretching instead of moving when the alert frames it was anchored to were moved.

I've just released version 1.08.00, which should fix this issue.
Report comment to moderator  
Reply With Quote
Unread 01-19-15, 03:27 AM  
aliendiplomat
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Re: Re: Position still not being saved.

Just a heads-up. Downloaded the latest and there seems to be an issue with linking between the various frames. The stack of loot alerts all moves as one, but if you drag the frame above whatever is the bottom in the stack it breaks the link to the bottom one so it can be moved separately.

This works fine until you get to the last loot alert frame, which is linked to the BORDER of the mission alert frame. The text and art of the mission alert frame does not move, just be background, which is probably not what you intended.

Anyway this is after deleting my saved variables file.
Report comment to moderator  
Reply With Quote
Unread 01-17-15, 03:18 PM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Re: Re: Re: Position still not being saved.

Originally Posted by aliendiplomat
Originally Posted by Choonstertwo
...I've pushed a new version to GitHub that seems to fix this. Could you see if it works for you?
After playing through all my alts and looting random things (garrison work orders, quest rewards) I can confirm that whatever you did has indeed fixed this for me. Thanks!
Good to know. I'll release this version to Curse/WoWI.

Edit: 1.06.00 is now available on both sites thanks to p3lim's awesome AddOn Packager Proxy.
Last edited by Choonstertwo : 01-17-15 at 08:23 PM.
Report comment to moderator  
Reply With Quote
Unread 01-17-15, 07:49 AM  
aliendiplomat
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Position still not being saved.

Originally Posted by Choonstertwo
...I've pushed a new version to GitHub that seems to fix this. Could you see if it works for you?
After playing through all my alts and looting random things (garrison work orders, quest rewards) I can confirm that whatever you did has indeed fixed this for me. Thanks!
Report comment to moderator  
Reply With Quote
Unread 01-15-15, 06:16 PM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Re: Position still not being saved.

I'm not entirely sure why this is happening, but I've pushed a new version to GitHub that seems to fix this. Could you see if it works for you?

To install from GitHub:
  • Click the "Download ZIP" button
  • Extract the downloaded ZIP
  • Rename the innermost folder (that contains the AddOn files) to LootWonAlert_Hider_Mover
  • Delete your existing installation of the AddOn and copy and paste the renamed folder into your Interface\AddOns directory
Report comment to moderator  
Reply With Quote
Unread 01-15-15, 04:54 PM  
aliendiplomat
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Position still not being saved.

Thanks for the addon. Was working great on my main, but suddenly settings have stopped being saved/carried over to my alts.

I checked and there is only one SavedVariables file for this in the main folder. It still works on my main, and I even went so far as to reconfigure it on my alt and relog to save the settings again. However, every time an actual loot won message comes up, it is still in the default position.

What is odd is that /lwl shows them in my custom position. It simply isn't working to move these frames on my alts. Now I am going back to test on my main. It may have stopped working on that character as well.

EDIT: This is with the latest version 1.05.00 which states in the changelog "fixed issue with frames not moving to saved position."

This does not in fact appear to have been fixed.
Last edited by aliendiplomat : 01-15-15 at 04:56 PM.
Report comment to moderator  
Reply With Quote
Unread 11-15-14, 09:08 PM  
Dancingblade
A Murloc Raider
 
Dancingblade's Avatar

Forum posts: 9
File comments: 50
Uploads: 0
/lwl not showing frames

Hi, Choonstertwo!

Loving this addon. Thank you for making it available.

Thought you might like to know that the /lwl command shows no frames to move right now. Perhaps with the expansion that item ID used for the example no longer exists? Anyway, I changed the ID to a sword I had on my toon (112261) and it then showed the frames as expected and I was able to move them.

Thanks again!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: