Quantcast
Download
(265 Kb)
Download
Updated: 06-13-17 07:33 AM
Pictures
File Info
Compatibility:
Tomb of Sargeras (7.2.0)
Updated:06-13-17 07:33 AM
Created:08-09-16 12:56 PM
Downloads:8,010
Favorites:91
MD5:
Categories:Character Advancement, TradeSkill Mods
7.2.0

ls: Toasts  Popular! (More than 5000 hits)

Version: 70200.09
by: lightspark [More]

Replacement for default alert system. Better toasts, cheers!



Features
- One design for all toasts. Special alert frames have unique backgrounds;
- In-game config. Use /LSTOASTS (el ess toasts) command to open config panel. From there you can disable sounds, move alert frames, etc;
- DND mode. You can enable DND mode for different toast groups. Toasts in DND mode won't be displayed in combat, but will be queued up in the system. Once you leave combat, they'll start popping up. Available from in-game config;

Usage
- Install it;
- (Optional) Configure it;
- Done.

How to Mod
If you're UI developer, you may want to reskin my toasts. To create a skin you need to do the following:

Lua Code:
  1. local toast_F = ls_Toasts[1]
  2.  
  3. toast_F:CreateSkin("skin_name", function(toast, toastType)
  4.     -- do something here
  5. end)

This function is called after colours, textures and texts are set, but before toast is shown. Toast and its type are passed as arguments.

If you want to activate your skin right away, add this line to your code:

Lua Code:
  1. toast_F:SetSkin("skin_name")

Skin activation is optional, users can switch skins via in-game config.

Note #1: For toasts' structures see definitions of CreateBaseToastButton and GetToast functions.

You can also access addon's config. It's the config that is used by ls: Toasts, not a copy of it.

Lua Code:
  1. local toast_F = ls_Toasts[1]
  2.  
  3. -- create new "test" profile and activate it
  4. local created, reason = toast_F:CreateProfile("test")
  5.  
  6. -- delete "test" profile
  7. local deleted, reason = toast_F:DeleteProfile("test")
  8.  
  9. -- activate existing "test" profile
  10. local set, reason = toast_F:SetProfile("test")
  11.  
  12. -- reset existing "test" profile to defaults
  13. local reset, reason = toast_F:ResetProfile("test")

Note #2: For more info on arguments and returns see definitions of F:CreateProfile, FeleteProfile, F:SetProfile, and F:ResetProfile functions.

Feedback and Feature Requests
If you found a bug or want to share an idea on how to improve my addon, either report to Issue Tracker on my GitHub page, or post a comment on WoWInterfrace or Curse.

FAQ
Q: Will you add group/master loot roll frames to your addon?
A: Maybe later, I'm not sure yet.

License
Please see LICENSE file.

Version 70200.09

- Added 7.2.5 support.

Version 70200.08

- Fixed toast tooltips;
- Updated Korean translation. Translated by [email protected];
- Updated Russian translation.

Version 70200.07

- Re-release of 70200.05;
- Fixed in-game config issue that led to client freeze.

Version 70200.06

- Rollback. 70200.05 never happened.

Version 70200.05

- Reworked skins. All existing skins should work just for now, but you'll have to enable the skin of your choice via in-game config. Skin devs should make some minor adjustments;
- Added countermeasures to limit bloat caused by transmog toasts.

Version 70200.04

- Fixed bonus roll toast issues.

Version 70200.03

- Added item toasts stacking. Toasts for identical items that were triggered by the same events will now stack. If two items have similar names, but have different item links and/or come from different events, for example, "CHAT_MSG_LOOT" and "SHOW_LOOT_TOAST", they'll be shown as two different toasts;
- Added Russian translation. Translated by [email protected] and me;
- Misc tweaks.

Version 70200.02

- Fixed transmog toast issue;
- Fixed profession world quest toast issue;
- Misc tweaks.

Version 70200.01

- New version format: INTERFACE_VERSION.PATCH;
- Added 7.2 support;
- Added special loot item quality threshold drop down;
- Added Spanish translation. Translated by [email protected];
- Updated Traditional Chinese translation. Translated by [email protected]

Version 1.24

- Added "ls: Toasts" config entry w/ "Enable" button to interface options panel. However, It doesn't change the fact that you still need to reload UI after you're done setting up the addon, hence I also added "Reload UI" button;
- Disabled common loot and currency string checks. Hopefully new patterns will perform better, but if I start getting reports about party/raid member loot toasts again, I'll re-enable them;
- Changed addon name's colour so it'll no longer interfere w/ addon list sorting;
- Updated Korean translation. Translated by [email protected];
- Updated German translation. Translated by [email protected];
- Numerous bug fixes and tweaks.

Version 1.23

- First attempt to address issue that made some people receive party/raid members' loot toasts. As of this version if addon detects that necessary variables were modified by another addon, it'll disable common loot and/or currency toasts, you'll be able to see which variables were modified and what addon did it in in-game config. Addon will also start checking if `CHAT_MSG_LOOT`'s 5th param (target) is the same as player's name;
- Updated German translation. Translated by [email protected]

NOTE: Warning preview. !test is my test addon.


Version 1.22

- Fixed in-game config.

Version 1.21

- Reworked profile manager. Sadly, I had to reset all settings;
- Added public methods to create, delete, set, and reset profiles. This feature is for addon devs. For more info, read [here](https://github.com/ls-/ls_Toasts#how-to-mod);
- Removed config from global `ls_Toasts` table;
- Updated German translation. Translated by [email protected]

Version 1.20

- NEW! Added rated PvP reward toast;
- Added partial German translation. Translated by [email protected];
- Added Traditional Chinese translation. Translated by [email protected];
- Updated Korean translation. Translated by [email protected];
- Fixed issues in anchor frame code.

Version 1.19

- Improved compatibility with other addons that use default alert system to show custom toasts.

Version 1.18

- Added localisation support. Korean translation by [email protected];
- Fixed issue in reward button code;
- Fixed issue in follower/champion tooltip code.

Version 1.17

- Fixed compatibility issues with ElvUI.

Version 1.16

- Fixed issue that caused transmog toasts not to show proper info;
- Exposed config to other addons. This feature is for addon devs. For more info, read here.

Version 1.15

- Fixed issue in transmog toast code.

Version 1.14

- Added 7.1 support;
- Reworked transmog toasts. Now they show additions and removals of green, blue and epic appearances;
- Added ilvl upgrade indicator to item toasts.

Version 1.13

- Added hook to prevent default notifications from being shown;
- Added comparison tooltip to item toasts. Hold "Shift" key to show it. Original code by [email protected]

Version 1.12

- Added currency toast stacking. Instead of creating new toasts for each currency gain, existing one will be updated;
- Added skinning support. This feature is for addon devs. For more info, read here.

Version 1.11

- Fixed handling of caged battle pets.

Version 1.10

- Added workaround for few taints.

NOTE: IMPORTANT! Now there's no ls: Toasts entry in Interface > AddOns section, but you canl create one by using /lstoasts command. After that you'll be able to access config panel the old way. However, I strongly recommend to /reload UI after you're done setting up the addon. Even if you opened and closed config panel without changing anything, /reload UI. By doing so, you'll remove config entry from the system and prevent possible taints. Blame Blizzard, not me.

Version 1.09

- Split "Garrison" toast group into two new groups: "Garrison" and "Class Hall";
- Moved currency toasts to a new category, "Loot (Currency)";
- Misc bug fixes and tweaks.

Version 1.08

- Fixed "SetPortraitToTexture" error.

Version 1.07

- NEW! Added common loot toasts;
- Reworked in-game config a bit;
- Misc bug fixes and tweaks.

Version 1.06

- NEW! Added transmog toast;
- NEW! Added an option to colour item, follower names by quality, and world quest, mission titles by rarity. Original code by [email protected];
- NEW! Added options for horizontal growth directions;
- NEW! Added /lstoasts slash command;
- Fixed missing toast sounds;
- Misc bug fixes and tweaks.

Version 1.05

- Fixed anchor frame movement, when it's scaled down.

Version 1.04

- NEW! Added scaling for toasts;
- Fixed an issue in fade out delay code.

Version 1.03

- NEW! Added an option to save settings as a default preset that will be used for all characters;
- NEW! Added fade out delay slider.

NOTE: Saving settings is an experimental feature, if feedback is negative, I may replace it with a typical profile manager.

Version 1.02

- Fixed issue in garrison toast test.

Version 1.01

- Release released.
Archived Files (31)
File Name
Version
Size
Author
Date
70200.08
265kB
lightspark
05-12-17 07:47 AM
70200.07
265kB
lightspark
04-29-17 09:45 AM
70200.06
265kB
lightspark
04-28-17 11:11 PM
70200.04
265kB
lightspark
04-06-17 02:03 AM
70200.03
265kB
lightspark
04-05-17 09:05 AM
70200.02
264kB
lightspark
03-28-17 10:27 PM
70200.01
264kB
lightspark
03-28-17 08:31 AM
1.24
263kB
lightspark
02-18-17 01:54 PM
1.23
262kB
lightspark
02-14-17 06:16 AM
1.22
261kB
lightspark
02-12-17 09:42 AM
1.21
260kB
lightspark
02-12-17 03:48 AM
1.20
259kB
lightspark
11-22-16 11:46 PM
1.19
256kB
lightspark
11-04-16 02:47 AM
1.18
256kB
lightspark
11-03-16 01:01 AM
1.17
250kB
lightspark
10-30-16 09:35 PM
1.16
250kB
lightspark
10-26-16 04:01 PM
1.15
250kB
lightspark
10-25-16 08:51 PM
1.14
250kB
lightspark
10-25-16 07:14 PM
1.13
250kB
lightspark
10-18-16 02:07 AM
1.12
250kB
lightspark
09-28-16 07:15 AM
1.11
249kB
lightspark
09-26-16 06:15 AM
1.10
249kB
lightspark
09-25-16 08:34 AM
1.09
249kB
lightspark
09-22-16 08:14 AM
1.08
248kB
lightspark
09-17-16 07:31 AM
1.07
248kB
lightspark
09-17-16 04:22 AM
1.06
247kB
lightspark
09-13-16 08:49 AM
1.05
231kB
lightspark
08-16-16 04:03 AM
1.04
231kB
lightspark
08-11-16 10:59 AM
1.03
231kB
lightspark
08-10-16 04:40 AM
1.02
230kB
lightspark
08-09-16 03:58 PM
1.01
230kB
lightspark
08-09-16 12:56 PM


Post A Reply Comment Options
Unread 05-16-17, 01:06 AM  
lightspark
A Cobalt Mageweaver
 
lightspark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 214
File comments: 570
Uploads: 6
Re: THANK YOU THANK YOU THANK YOU!

Originally Posted by Szyarah
I have been searching high and low for a way to move garrison mission etc. toasts and move anything does not work. THIS addon does work so thank you ever so much
You're welcome
__________________
ls: Prospector: WoWInterface | Curse | GitHub
ls: Toasts: WoWInterface | Curse | GitHub
ls: UI: WoWInterface | Curse | GitHub
ls: Wishlist: WoWInterface | Curse | GitHub
Report comment to moderator  
Reply With Quote
Unread 05-15-17, 08:06 PM  
Szyarah
A Defias Bandit

Forum posts: 2
File comments: 120
Uploads: 0
THANK YOU THANK YOU THANK YOU!

I have been searching high and low for a way to move garrison mission etc. toasts and move anything does not work. THIS addon does work so thank you ever so much
Report comment to moderator  
Reply With Quote
Unread 04-29-17, 11:28 PM  
the9thresident
A Kobold Labourer
 
the9thresident's Avatar

Forum posts: 1
File comments: 34
Uploads: 0
i'm so sorry that you guys get treated that way
it's like this to me: you guys are doing me a huge favor by enabling me to do what i want with my UI
if i could code it myself i would but hey it looks damn hard to me even when i just edit things here and there
you deserve total and complete respect and are not obligated to anyone
WoW players are mostly psychotic i swear!!
i feel bad not paying for the service that you provide because it's valuable and important to me
for now i guess my thanks will have to do and let me know if i can ever help in anyway

kitty
Report comment to moderator  
Reply With Quote
Unread 04-29-17, 10:49 PM  
lightspark
A Cobalt Mageweaver
 
lightspark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 214
File comments: 570
Uploads: 6
Originally Posted by the9thresident
yay!!
will give it a whirl asap
thank you for all the hard work
and where is your donate button?

kitty

ps your avatar scares me lol
I don't have a "Donate!" button. I'm too lazy to set up business account in PayPal system

I also don't want to be in debt to users. Even now w/o donations there's enough people who send me death threats, offensive messages w/ shitton of racial/ethnic slurs, etc, when I decide to take a break or switch to my other addons.

I talked to other addon devs about it, only a handful of us is getting this kind of treatment. So, if I were to enable donations I'd probably have to limit my interaction w/ users by a bit Although I normally tell people to fuck off, it's still kinda demotivating to read that crap
__________________
ls: Prospector: WoWInterface | Curse | GitHub
ls: Toasts: WoWInterface | Curse | GitHub
ls: UI: WoWInterface | Curse | GitHub
ls: Wishlist: WoWInterface | Curse | GitHub
Last edited by lightspark : 04-29-17 at 11:00 PM.
Report comment to moderator  
Reply With Quote
Unread 04-29-17, 10:33 PM  
the9thresident
A Kobold Labourer
 
the9thresident's Avatar

Forum posts: 1
File comments: 34
Uploads: 0
yay!!
will give it a whirl asap
thank you for all the hard work
and where is your donate button?

kitty

ps your avatar scares me lol


update: works perfectly!!
thanx
Last edited by the9thresident : 04-29-17 at 11:23 PM.
Report comment to moderator  
Reply With Quote
Unread 04-29-17, 09:49 AM  
lightspark
A Cobalt Mageweaver
 
lightspark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 214
File comments: 570
Uploads: 6
K, 70200.07 is on the way, it's under review on both Curse and WoWI.

Hopefully there'll be no bugs this time
__________________
ls: Prospector: WoWInterface | Curse | GitHub
ls: Toasts: WoWInterface | Curse | GitHub
ls: UI: WoWInterface | Curse | GitHub
ls: Wishlist: WoWInterface | Curse | GitHub
Last edited by lightspark : 04-29-17 at 09:57 AM.
Report comment to moderator  
Reply With Quote
Unread 04-28-17, 10:52 PM  
lightspark
A Cobalt Mageweaver
 
lightspark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 214
File comments: 570
Uploads: 6
Yeah, put 70200.05 down for now...

Originally Posted by the9thresident
i installed this and it crashed my game (froze and had to close via task manager) when i tried to access the options
That's definitely my addon, I've received numerous reports on Curse too.

-- edit #1

Released 70200.06 that's renamed 70200.04 to force downgrade.

-- edit #2

It's still pending here, so download it from Curse
__________________
ls: Prospector: WoWInterface | Curse | GitHub
ls: Toasts: WoWInterface | Curse | GitHub
ls: UI: WoWInterface | Curse | GitHub
ls: Wishlist: WoWInterface | Curse | GitHub
Last edited by lightspark : 04-29-17 at 03:05 AM.
Report comment to moderator  
Reply With Quote
Unread 04-28-17, 08:15 PM  
Iezabel
A Deviate Faerie Dragon
 
Iezabel's Avatar

Forum posts: 10
File comments: 3
Uploads: 0
Re: frown...

Originally Posted by the9thresident
i installed this and it crashed my game (froze and had to close via task manager) when i tried to access the options
maybe i'm running too many WA's lol
or i could be confused on how the new AddOn works...
do i put both the Elv skin and Lyn's in my AddOn folder in order to choose which one i like?
or are they encoded in the base AddOn now and i need to remove them?
or can i only have one in the folder at a time?
i'm sure i did something to break it... ugh


kitty
Also having this issue.
Report comment to moderator  
Reply With Quote
Unread 04-28-17, 07:04 PM  
the9thresident
A Kobold Labourer
 
the9thresident's Avatar

Forum posts: 1
File comments: 34
Uploads: 0
frown...

i installed this and it crashed my game (froze and had to close via task manager) when i tried to access the options
maybe i'm running too many WA's lol
or i could be confused on how the new AddOn works...
do i put both the Elv skin and Lyn's in my AddOn folder in order to choose which one i like?
or are they encoded in the base AddOn now and i need to remove them?
or can i only have one in the folder at a time?
i'm sure i did something to break it... ugh


kitty
Report comment to moderator  
Reply With Quote
Unread 04-23-17, 02:18 AM  
lightspark
A Cobalt Mageweaver
 
lightspark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 214
File comments: 570
Uploads: 6
Heh, finally...



New system is backward compatible w/ already existing skins, but users will have to choose which one to use manually via dropdown in config.
__________________
ls: Prospector: WoWInterface | Curse | GitHub
ls: Toasts: WoWInterface | Curse | GitHub
ls: UI: WoWInterface | Curse | GitHub
ls: Wishlist: WoWInterface | Curse | GitHub
Last edited by lightspark : 04-23-17 at 02:20 AM.
Report comment to moderator  
Reply With Quote
Unread 03-30-17, 03:45 AM  
lightspark
A Cobalt Mageweaver
 
lightspark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 214
File comments: 570
Uploads: 6
Soon...

__________________
ls: Prospector: WoWInterface | Curse | GitHub
ls: Toasts: WoWInterface | Curse | GitHub
ls: UI: WoWInterface | Curse | GitHub
ls: Wishlist: WoWInterface | Curse | GitHub
Report comment to moderator  
Reply With Quote
Unread 03-28-17, 10:16 PM  
lightspark
A Cobalt Mageweaver
 
lightspark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 214
File comments: 570
Uploads: 6
Yeah, I'm aware of this issue. I forgot to push necessary changes

I'll release an update quite soon.
__________________
ls: Prospector: WoWInterface | Curse | GitHub
ls: Toasts: WoWInterface | Curse | GitHub
ls: UI: WoWInterface | Curse | GitHub
ls: Wishlist: WoWInterface | Curse | GitHub
Report comment to moderator  
Reply With Quote
Unread 03-28-17, 09:25 PM  
sakurakira
A Chromatic Dragonspawn
 
sakurakira's Avatar
AddOn Author - Click to view AddOns

Forum posts: 151
File comments: 60
Uploads: 5
Using the latest version in 7.2.

When I learn a new appearance, I get the LUA error:
Code:
Message: Usage: local sources = C_TransmogCollection.GetAppearanceSources(appearanceID)
Time: 03/28/17 20:21:33
Count: 5
Stack: [C]: in function `GetAppearanceSources'
Interface\AddOns\ls_Toasts\ls_Toasts.lua:2617: in function <Interface\AddOns\ls_Toasts\ls_Toasts.lua:2615>
Interface\AddOns\ls_Toasts\ls_Toasts.lua:2662: in function `?'
Interface\AddOns\ls_Toasts\ls_Toasts.lua:195: in function <Interface\AddOns\ls_Toasts\ls_Toasts.lua:194>

Locals: (*temporary) = "Usage: local sources = C_TransmogCollection.GetAppearanceSources(appearanceID)"
__________________
Arise, my champion!
Report comment to moderator  
Reply With Quote
Unread 02-14-17, 11:08 AM  
lightspark
A Cobalt Mageweaver
 
lightspark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 214
File comments: 570
Uploads: 6
Additional info on v1.23.

I added new feature that'll disable common loot toasts for people w/ modified global strings that are necessary for common loot and currency toasts to work properly. However, I'm not going to keep it there permanently, I want to use it to find various addons that modify globals, I need to inspect their code and see what kind of modifications they do, this way I'll be able to create better patterns for string matching.

Feel free to share (either in comments or PM me) your screenshots of disabled common loot toasts, obv I need to see tooltips w/ info
__________________
ls: Prospector: WoWInterface | Curse | GitHub
ls: Toasts: WoWInterface | Curse | GitHub
ls: UI: WoWInterface | Curse | GitHub
ls: Wishlist: WoWInterface | Curse | GitHub
Last edited by lightspark : 02-14-17 at 11:15 AM.
Report comment to moderator  
Reply With Quote
Unread 02-14-17, 09:40 AM  
lightspark
A Cobalt Mageweaver
 
lightspark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 214
File comments: 570
Uploads: 6
Originally Posted by Zenjaa
you're absolutely right...I'm using a heavily modified personal edit of FreeUi and i guess the chat module of it changes the output. I edited the module a while back so it might not be necessarily the original code from freeui. I'm still at work for a few hours, but if you need me to, i can provide you with the code later today.
That's fine, I already release v1.23 You'll be able to see modified values in game w/o dumping anything.

But when you get back home, could you PM me .lua of your chat module?
__________________
ls: Prospector: WoWInterface | Curse | GitHub
ls: Toasts: WoWInterface | Curse | GitHub
ls: UI: WoWInterface | Curse | GitHub
ls: Wishlist: WoWInterface | Curse | GitHub
Last edited by lightspark : 02-14-17 at 10:05 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: