GithubHelp home page GithubHelp logo

ls_toasts's People

Contributors

faqar avatar gotxiko avatar ls- avatar p3lim avatar vabatta avatar wetu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ls_toasts's Issues

Add new professions features to toasts

Hi!
Dragonflight added reagent quality to most of the crafting reagents, it would be nice if Ls_Toasts showed reagent quality the same way when they're collected (there already exist a modifier adding stars to the toast thumbnail, but they don't seem to work for reagent gathering ? It would also be better to now use the same icons as the game)

As another feature, it would be nice to have more modifiers on different new crafting related procs (finesse, perception, inspiration, resourcefulness, multicraft)

Attempt to unregister unknown event "ACHIEVEMENT_EARNED"

Started getting the error this morning, also can't pull up the settings.

Message: Interface\AddOns\ls_Toasts\init.lua:311: Attempt to unregister unknown event "ACHIEVEMENT_EARNED"
Time: Thu Sep 5 12:16:11 2019
Count: 1
Stack: Interface\AddOns\ls_Toasts\init.lua:311: Attempt to unregister unknown event "ACHIEVEMENT_EARNED"
[C]: in function UnregisterEvent' Interface\AddOns\ls_Toasts\init.lua:311: in function func'
Interface\AddOns\ls_Toasts\core\core.lua:42: in function <Interface\AddOns\ls_Toasts\core\core.lua:40>

Locals: (*temporary) = AlertFrame {
0 =
SetSubSystemAnchorPriority = defined @interface\FrameXML\AlertFrames.lua:350
BuildQuestData = defined @interface\FrameXML\AlertFrames.lua:632
shouldQueueAlertsFlags =

{
}
SetJustification = defined @interface\FrameXML\AlertFrames.lua:377
CreateSubSystem = defined @interface\FrameXML\AlertFrames.lua:311
CreateQueuedSubSystem = defined @interface\FrameXML\AlertFrames.lua:328
SetEnabledFlag = defined @interface\FrameXML\AlertFrames.lua:277
SetVariablesLoaded = defined @interface\FrameXML\AlertFrames.lua:294
GetPointsForJustification = defined @interface\FrameXML\AlertFrames.lua:402
SetAlertsEnabled = defined @interface\FrameXML\AlertFrames.lua:299
BuildLFGRewardData = defined @interface\FrameXML\AlertFrames.lua:590
AreAlertsEnabled = defined @interface\FrameXML\AlertFrames.lua:303
AddQueuedAlertFrameSubSystem = defined @interface\FrameXML\AlertFrames.lua:338
AddAlertFrameSubSystem = defined @interface\FrameXML\AlertFrames.lua:342
GetJustification = defined @interface\FrameXML\AlertFrames.lua:384
anchorPrioritiesDirty = true
OnLoad = defined @interface\FrameXML\AlertFrames.lua:417
CleanAnchorPriorities = defined @interface\FrameXML\AlertFrames.lua:360
AddExternallyAnchoredSubSystem = defined @interface\FrameXML\AlertFrames.lua:318
ShouldSupressDungeonOrScenarioAlert = defined @interface\FrameXML\AlertFrames.lua:658
OnEvent = defined @interface\FrameXML\AlertFrames.lua:423
AddAutoAnchoredSubSystem = defined @interface\FrameXML\AlertFrames.lua:323
BuildScenarioRewardData = defined @interface\FrameXML\AlertFrames.lua:622
AddSimpleAlertFrameSubSystem = defined @interface\FrameXML\AlertFrames.lua:332
SetPlayerEnteredWorld = defined @interface\FrameXML\AlertFrames.lua:289
alertFrameSubSystems =
{
}
UpdateAnchors = defined @interface\FrameXML\AlertFrames.lua:368
ignoreFramePositionManager = true
AddAlertFrame = defined @interface\FrameXML\AlertFrames.lua:409
}
(*temporary) = "ACHIEVEMENT_EARNED"

Total count

Hey, great addon! One of those that I didn't know I needed until it was downloaded.

I'm now using this instead of the chat log (using it for all items), and felt like it would a good addition to show total count of an item aswell somehow.

10.0.2 lua error

Hey. As of today's update for Retail (10.0.2) I'm getting this lua error whenever I load into the game:

1x Interface/AddOns/ls_Toasts/core/core.lua:247: attempt to call global 'IsDressableItem' (a nil value)
[string "@Interface/AddOns/ls_Toasts/core/core.lua"]:247: in function `DressUpLink'
[string "@Interface/AddOns/ls_Toasts/systems/loot_special.lua"]:21: in function <Interface/AddOns/ls_Toasts/systems/loot_special.lua:19>
[string "=[C]"]: ?

Locals:
self =

{
GetScreenQuadrant = defined @Interface/AddOns/ls_Toasts/core/core.lua:151
GetToast = defined @Interface/AddOns/ls_Toasts/core/toast.lua:788
FindToast = defined @Interface/AddOns/ls_Toasts/core/toast.lua:768
RegisterOptions = defined @Interface/AddOns/ls_Toasts/core/system.lua:102
GetItemLevel = defined @Interface/AddOns/ls_Toasts/core/core.lua:217
UnregisterAllCallbacks = defined @Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:169
RegisterSkin = defined @Interface/AddOns/ls_Toasts/core/skin.lua:18
CHANGELOG = "- Added an option to show poor quality quality items via common loot toasts. Thanks to Faqar@GitHub.

  • Added leaf ornaments to achievement toasts. I can't re-enable Blizz achievement toasts, so as a
    compromise I chose to make achievement toasts more unique. If you want them to stand out even more
    create a separate anchor to display them.
  • Fixed an issue where repeatedly testing toasts and flushing the queue would sometimes lock up the
    addon.
  • Fixed corrupt beautycase border texture. It worked, but baked-in shadows were messed up.
  • Updated Traditional Chinese translation. Translated by BNS333@Curse.
    "
    RegisterCallback = defined @Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
    VER =
{
}
DressUpLink = defined @Interface/AddOns/ls_Toasts/core/core.lua:241
UnregisterCallback = defined @Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
RegisterSystem = defined @Interface/AddOns/ls_Toasts/core/system.lua:20
RegisterEvent = defined @Interface/AddOns/ls_Toasts/core/core.lua:56
SearchBagsForItemID = defined @Interface/AddOns/ls_Toasts/core/core.lua:229
UnregisterEvent = defined @Interface/AddOns/ls_Toasts/core/core.lua:78
SanitizeLink = defined @Interface/AddOns/ls_Toasts/core/core.lua:128
}
link = "item:199383::::::::60:267::26:3:6652:7580:8936:1:28:2425:::::"
(*temporary) = nil
(*temporary) = "item:199383::::::::60:267::26:3:6652:7580:8936:1:28:2425:::::"
(*temporary) = "attempt to call global 'IsDressableItem' (a nil value)"
s_split = defined =[C]:-1
C_PetJournal =
{
GetPetTeamAverageLevel = defined =[C]:-1
PetIsFavorite = defined =[C]:-1
SetAllPetSourcesChecked = defined =[C]:-1
PetIsHurt = defined =[C]:-1
GetPetInfoBySpeciesID = defined =[C]:-1
PetNeedsFanfare = defined =[C]:-1
PickupSummonRandomPet = defined =[C]:-1
GetNumPetSources = defined =[C]:-1
GetNumPets = defined =[C]:-1
SetPetLoadOutInfo = defined =[C]:-1
SummonRandomPet = defined =[C]:-1
GetPetAbilityList = defined =[C]:-1
ClearSearchFilter = defined =[C]:-1
GetPetInfoTableByPetID = defined =[C]:-1
ReleasePetByID = defined =[C]:-1
PetIsUsable = defined =[C]:-1
FindPetIDByName = defined =[C]:-1
GetBattlePetLink = defined =[C]:-1
SetFavorite = defined =[C]:-1
GetPetModelSceneInfoBySpeciesID = defined =[C]:-1
PetIsRevoked = defined =[C]:-1
GetPetInfoByPetID = defined =[C]:-1
SetAbility = defined =[C]:-1
GetSummonedPetGUID = defined =[C]:-1
GetPetCooldownByGUID = defined =[C]:-1
GetPetStats = defined =[C]:-1
ClearRecentFanfares = defined =[C]:-1
PickupPet = defined =[C]:-1
GetPetSortParameter = defined =[C]:-1
GetDisplayIDByIndex = defined =[C]:-1
IsPetSourceChecked = defined =[C]:-1
SetCustomName = defined =[C]:-1
IsFilterChecked = defined =[C]:-1
IsFindBattleEnabled = defined =[C]:-1
GetNumCollectedInfo = defined =[C]:-1
GetPetSummonInfo = defined =[C]:-1
SetDefaultFilters = defined =[C]:-1
GetNumDisplays = <func

Lua Error at the end of dungeon

Hello,

It seems the addon it returns a lua error when I complete tank call to arms (satchel) dungeons.

`Message: Interface\AddOns\ls_Toasts\ls_Toasts.lua:931: attempt to call method 'SetLFGCompletionReward' (a nil value)

elvui-ish look?

hello there, I was wondering whether we could get optional more squarish-texures for people using something like elvui, since the rounded edges look weird in the clean style... I would love that! =)

Ashran artifact fragment spam

When you queue for the epic battleground Ashran and are near other players you get spammed with artifact fragments toasts every few seconds. You get the toasts as normal when you loot a fragment but it seems being around other players also shows a toast whether or not you looted one.

Version: 80200.05
Happens in older versions as well, not sure what version it started in.

Reputation Toast

I Use this addon since WoD and cannot live without it. There is a way to add toast for reputation changes?

Add faction/reputation changes

I don't know if this is even in the spirit of the addon, but personally it would be very useful to get a toast when a reputation change occurs.

Maybe as an on/off option for those that would it spammy?

addonTable.C is no longer exposed to global environment

Hi, I made a skin for ls_Toasts and loaded it by default, but it was broken in the latest version. I noticed that addonTable.C is no longer exposed to global environment, because the load order was changed in _core.xml.

Any plan to fix this? Thanks.

Change which types of items appear?

As it is right now, it's popping up a toast window for almost every non-grey item that I loot. Is there a way to change that? I don't need toast windows for every quest item or bit of currency that I loot.

Ideally, I'd only want toasts for AP items, and rare/epic items.

wlk bug

The wlk version will cause the Blizzard native prompt box to disappear!
Cancelling the achievement prompt cannot be restored, it can only be disabled!

Toasts for Experience and Reputation Gains

Hi!

I'd love to get a toast for Experience Gains and Reputation Gains.

I have them in chat now but I would like a toast instead :-)

Edit: You could do fancy stuff like "repetitions to level" and "repetitions to new Reputation level (revered, exalted, etc)".

gr,

Tom

Lua errors & no commands

Hey there,

can you please check these lua errors? They pop up at login, and the commands /lst & /lstoasts does not work, with all addons disabled.

Version: 70300.07

Message: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:7: Cannot find a library instance of "AceGUI-3.0".
Time: 02/16/18 11:29:03
Count: 1
Stack: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:7: Cannot find a library instance of "AceGUI-3.0".
[C]: ?
[C]: in function error' ...nterface\AddOns\SharedMedia\libs\LibStub\LibStub.lua:38: in function LibStub'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:7: in main chunk

Locals:


Message: Interface\AddOns\ls_Toasts\init.lua:306: Cannot find a library instance of "AceConfigDialog-3.0".
Time: 02/16/18 11:29:04
Count: 1
Stack: Interface\AddOns\ls_Toasts\init.lua:306: Cannot find a library instance of "AceConfigDialog-3.0".
[C]: ?
[C]: in function error' ...nterface\AddOns\SharedMedia\libs\LibStub\LibStub.lua:38: in function LibStub'
Interface\AddOns\ls_Toasts\init.lua:306: in function `func'
Interface\AddOns\ls_Toasts\core\core.lua:33: in function <Interface\AddOns\ls_Toasts\core\core.lua:31>

Locals:

70200.01 errors with transmog appearances

1x Usage: local sources = C_TransmogCollection.GetAppearanceSources(appearanceID)
[C]: in function GetAppearanceSources' ls_Toasts\ls_Toasts-70200.01.lua:2617: in function <ls_Toasts\ls_Toasts.lua:2615> ls_Toasts\ls_Toasts-70200.01.lua:2662: in function ?'
ls_Toasts\ls_Toasts-70200.01.lua:195: in function <ls_Toasts\ls_Toasts.lua:194>

Locals:
(*temporary) = "Usage: local sources = C_TransmogCollection.GetAppearanceSources(appearanceID)"

Cannot access options

I see you tried to address this before, but I cannot see your options menu. I use SUF instead of the default raid frames.

Fresh install of version 1.23 via the Curse Client.

/lstoasts opens the options window, but ls_Toasts is not listed.

image

Currency delay

Not sure if this is a bug or a design choice, but whenever I gain a currency (Order Resources for example) it will show a few seconds after obtaining.

I've disabled the "DND" feature thinking it might be combat related, but that didn't solve it.

This also happens when Currency is the only Toast being displayed, for example picking up Garrison Resources from WoD's Garrison Cache.

This is happening with v1.11 and v1.12, and no other addons enabled.

garrison error lua

1x ls_Toasts/systems/garrison.lua:70: attempt to index field '?' (a nil value)
[string "@ls_Toasts/systems/garrison.lua"]:70: in function `func'
[string "@ls_Toasts/core/core.lua"]:35: in function <ls_Toasts/core/core.lua:33>

Locals:
followerTypeID = 123
missionID = 2205
garrisonType = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
getGarrisonTypeByFollowerType = defined @ls_Toasts/systems/garrison.lua:21
C =

{
db =
{
}
options =
{
}
}
typeToKey =
{
3 = "garrison_7_0"
2 = "garrison_6_0"
9 = "garrison_8_0"
111 = "garrison_9_0"
}
MissionToast_SetUp = defined @ls_Toasts/systems/garrison.lua:33

WoWup issues

Hi, I was trying to install your addon via WoWup and it installs all but the Retail Files. I am not sure why, as I don't understand the full details, but the WoWup discord has alot of people who do and will help.

Phantasma

I tried adding the ID and it does find it but it does not let me add the code for it. Basically I cannot click ADD.

Request: Notification Throttling/Spam Control

Foxflower from the random fox that spawns can generate 20-30 toasts in a few seconds. Would be cool if it were possible to display a running total on a single toast as I loot multiple foxflower. Another example would be ancient mana in Suramar.

ElvUI achievement tab

Having an odd issue when using this with ElvUI, parts of the achievement skin aren't working,

standard ElvUI: http://i.imgur.com/qrO8aJh.jpg

ElvUI + ls_Toasts: http://i.imgur.com/JRg6aW8.jpg

As you can see, the achivement frame itself isn't skinned anymore, as well as some sliders and dropdowns.

Is this something you can fix, or do I need to contact ElvUI authors about this?

Thanks for your great work!

Blizzard skin on EVERYTHING?

I know it's impossible to enable the default blizzard skin for only achievements, but is it possible to add a skin that makes everything have the default achievement look?

The default achievement toast is almost too nostalgic to get rid of for me, but everything else about this addon is so perfect

An error occured when bonus loot rolled

2x ls_Toasts\ls_Toasts-70200.03.lua:312: bad argument #2 to 'split' (string expected, got nil)
[C]: in function `split'
ls_Toasts\ls_Toasts-70200.03.lua:312: in function <ls_Toasts\ls_Toasts.lua:305>
ls_Toasts\ls_Toasts-70200.03.lua:1865: in function <ls_Toasts\ls_Toasts.lua:1862>
ls_Toasts\ls_Toasts-70200.03.lua:2025: in function <ls_Toasts\ls_Toasts.lua:2022>

Locals:
(*temporary) = ":"
(*temporary) = nil
(*temporary) = "string expected, got nil"

Lua Error in 10.1

Hi, getting the following error in 10.1 on retail, using version 100100.01:

8x ls_Toasts/systems/world.lua:109: attempt to compare number with nil [string "@ls_Toasts/systems/world.lua"]:109: in function <ls_Toasts/systems/world.lua:30> [string "@ls_Toasts/systems/world.lua"]:167: in function <ls_Toasts/systems/world.lua:158> [string "@ls_Toasts/systems/world.lua"]:181: in function func'
[string "@ls_Toasts/core/core.lua"]:35: in function <ls_Toasts/core/core.lua:33>

Locals:
event = "QUEST_TURNED_IN"
isUpdate = false
questID = 75705
name = "Monument Maintenance"
moneyReward = 0
xpReward = 0
numCurrencyRewards = 0
itemReward = nil
toast = LSToast1 {
0 =
IconText2 = FontString {
}
BG = Texture {
}
TextBG = Texture {
}
Arrow5 = Texture {
}
IconBorder =

{
}
SetLeavesVertexColor = defined @ls_Toasts/core/toast.lua:500
IconHL = Texture {
}
Bonus = Texture {
}
Arrow4 = Texture {
}
Leaves =
{
}
Slot1 = Frame {
}
IconText1BG = Texture {
}
Release = defined @ls_Toasts/core/toast.lua:320
Spawn = defined @ls_Toasts/core/toast.lua:305
ShowLeaves = defined @ls_Toasts/core/toast.lua:484
Glow = Texture {
}
Slot5 = Frame {
}
Arrow3 = Texture {
}
Skull = Texture {
}
Dragon = Texture {
}
SetBackground = defined @ls_Toasts/core/toast.lua:378
Border =
{
}
_data =
{
}
AnimIn = AnimationGroup {
}
Arrow1 = Texture {
}
Icon = Texture {
}
AreLeavesShown = defined @ls_Toasts/core/toast.lua:496
IconParent = Frame {
}
Slot3 = Frame {
}
IconText1 = FontString {
}
Slot2 = Frame {
}
AnimArrows = AnimationGroup {
}
IconText3BG = Texture {
}
Slot4 = Frame {
}
HideLeaves = defined @ls_Toasts/core/toast.lua:490
Recycle = defined @ls_Toasts/core/toast.lua:320
ShouldHideLeaves = defined @ls_Toasts/core/toast.lua:506
Title = FontString {
}
IconText3 = FontString {
}
Shine = Texture {
}
AnimOut = AnimationGroup {
}
Text = FontString {
}
Arrow2 = Texture {
}
}
isNew = true
isQueued = nil
usedSlots = 0
info =
{
tagID = 283
tagName = "Bonus Ojective with Completion Toast"
}
(*temporary) = nil
(*temporary) = 1
(*temporary) = "Interface\Icons\Achievement_Quests_Completed_TwilightHighlands"
(*temporary) = true
(*temporary) = true
(*temporary) = nil
(*temporary) = LSToast1 {
0 =
IconText2 = FontString {
}
BG = Texture {
}
TextBG = Texture {
}
Arrow5 = Texture {
}
IconBorder =
{
}
SetLeavesVertexColor = defined @ls_Toasts/core/toast.lua:500
IconHL = Texture {
}
Bonus = Texture {
}
Arrow4 = Texture {
}
Leaves =
{
}
Slot1 = Frame {
}
IconText1BG = Texture {
}
Release = defined @ls_Toasts/core/toast.lua:320
Spawn = defined @ls_Toasts/core/toast.lua:305
ShowLeaves = defined @ls_Toasts/core/toast.lua:484
Glow = Texture {
}
Slot5 = Frame {
}
Arrow3 = Texture {
}
Skull = Texture {
}
Dragon = Texture {
}
SetBackground = defined @ls_Toasts/core/toast.lua:378
Border =
{
}
_data =
{
}
AnimIn = AnimationGroup {
}
Arrow1 = Texture {
}
Icon = Texture {
}
AreLeavesShown = defined @ls_Toasts/core/toast.lua:496
IconParent = Frame {
}
Slot3 = Frame {
}
IconText1 = FontString {
}
Slot2 = Frame {
}
AnimArrows = AnimationGroup {
}
IconText3BG = Texture {
}
Slot4 = Frame {
}
HideLeaves = defined @ls_Toasts/core/toast.lua:490
Recycle = defined @ls_Toasts/core/toast.lua:320
ShouldHideLeaves = defined @ls_Toasts/core/toast.lua:506
Title = FontString {
}
IconText3 = FontString {
}
Shine = Texture {
}
AnimOut = AnimationGroup {
}
Text = FontString {
}
Arrow2 = Texture {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
E =
{
GetScreenQuadrant = defined @ls_Toasts/core/core.lua:138
RegisterSkin = defined @ls_Toasts/core/skin.lua:15
VER =
{
}
RegisterEvent = defined @ls_Toasts/core/core.lua:43
GetToast = defined @AddOns`

Group Finder joining Battleground triggers Error

Whenever I try to join a BG with the Group Finder the following error triggers. Blizzard warns about disabling the addon, actually it is the only way to join a BG.


`3x [ADDON_ACTION_FORBIDDEN] AddOn 'ls_Toasts' tried to call the protected function 'JoinBattlefield()'.
!BugGrabber\BugGrabber.lua:573: in function <!BugGrabber\BugGrabber.lua:573>
[C]: in function "JoinBattlefield"
Blizzard_PVPUI\Blizzard_PVPUI-1.0.lua:551: in function "HonorFrame_Queue"
[string ":OnClick"]:2: in function <[string ":OnClick"]:1>

Locals:
nil`

Gold threshold

With the latest addon update, I've just noticed the gold toast.
My suggestion is to add a threshold for each of the gold earned and gold spent. In its current state it's too spammy, showing up everytime I post something on AH. I'd probably set the treshold myself to 10k, with the purpose of only notifying me for big earnings/big spendings.

Error: RAF_ENTITLEMENT_DELIVERED

Latest version of Is: Toasts
2x Attempt to register unknown event "RAF_ENTITLEMENT_DELIVERED"
[C]: ?
[C]: ?
ls_Toasts\core\core.lua:117: in function Call' ls_Toasts\core\core.lua:71: in function RegisterEvent'
ls_Toasts\systems\store.lua:168: in function Enable' ls_Toasts\core\system.lua:75: in function EnableAllSystems'
ls_Toasts\init.lua:325: in function `func'
ls_Toasts\core\core.lua:48: in function <ls_Toasts\core\core.lua:46>

No Error

Toasts is not showing scrapped loot anymore. It used to and was awesome. It could be I missed a setting or something. Please Help. Nice addon by the way.!

update looks like cloth items. I am still trying to figure it out.

Feature request: add display of total item count

Would love to have a selectable option to display total item count alongside the count of items just looted.

For example, if catching a bass while I've already got ten of the same fish in my bag, seeing something like "+1 (11)" on the toast would be helpful.

Change font size depending on frame

Hello, I have a question or request.

I had seen that my friend always uses 2 or even 3 frames. One for just loot, another for just gold, etc. He travels a lot in the AH.

I have set it up that way and have 2 frames. One that shows the "general loot" and is scaled slightly smaller. And a frame for everything else that is scaled larger.

Now my question/request: Could you add the option that you could adjust the font size depending on the frame? Since I have scaled both frames differently and you only adjust the font size for all frames with "general", the font size is then too big in the small frame or too small in the large frame.

I hope you understand what I mean. Or did I miss the option?

PS: Thanks for the great work.

achievement Blizzard default toasts don't show up [WotLK]

Hej!

I really enjoy your addon... it's great and already recommend it to some guild mates!
But I still like the blizzard default toasts for achievements (are they called toasts?) and I would like to keep them together with the other toasts from your addon... is this possible?
If I deactivate achievement toasts from your addon I don't get (achievement) toasts at all :-/

thank you very much!

API?

Hey there,

Is there a way to inject a custom toast (eg. extending the existing system via another addon etc)? It looks like all the methods needed are private inside of the addon namespace :(

Include transmog notifications

Transmogs don't currently toggle a toast when you learn an appearance, but I was able to use your code to create a toast for them. The majority of the additions are just copying and adapting the existing Achievement coding.

ls_toasts.lua:43

transmog = false, -- transmog appearances

ls_toasts.lua:52

  transmog_enabled = true,

ls_toasts.lua:951-1008

--------------
-- TRANSMOG --
--------------

local function TransmogToast_SetUp(vID)
local toast = GetToast("misc")
--This if/end is used only for the test scenario.
--A vID will not be passed to the main function during regular use.
local visualID
if vID then visualID = vID else
  visualID = C_TransmogCollection.GetLatestAppearance()
end
if visualID then
  local sources
  sources = C_TransmogCollection.GetAppearanceSources(visualID)
  for i=1,#sources do
-- Many appearances have multiple sources, so we need to match those with possible items
    sID = sources[i].sourceID
    _,_,_,_,_,sLink,aLink = C_TransmogCollection.GetAppearanceSourceInfo(sID)
-- We assume the item is in the player's inventory, since it was just added to the collection
    if GetItemCount(sLink) == 1 then
      break
    end
  end
  _,_,_,_,_,_,_,_,_,icon = GetItemInfo(sLink)

  toast.Title:SetText("Appearance Added!")
  toast.Text:SetText(sLink)

  toast.Border:SetVertexColor(1, 1, 1)
  toast.IconBorder:SetVertexColor(1, 1, 1)
  toast.Icon:SetTexture(icon)
  toast.link = aLink
else
--Currently, there is no way to know what appearance was removed
--unless we cache the player's inventory. The only way for appearances
--to be removed is by trading raid loot or returning alternate-currency
--items to a vendor, both within the 2 hour time limit.
  toast.Title:SetText("Appearance Removed!")
  toast.Text:SetText("Check recent sales/trades")

  toast.Border:SetVertexColor(1, 1, 1)
  toast.IconBorder:SetVertexColor(1, 1, 1)
  toast.Icon:SetTexture(134400)
end

SpawnToast(toast, CFG.dnd.transmog)
end

function dispatcher:TRANSMOG_COLLECTION_UPDATED(...)
--vID is only used here for the testing function later.  
  vID = ...
  TransmogToast_SetUp(vID)

end

local function EnableTransmogToasts()

  if CFG.transmog_enabled then
    dispatcher:RegisterEvent("TRANSMOG_COLLECTION_UPDATED")
  end
end

local function DisableTransmogToasts()
  dispatcher:UnregisterEvent("TRANSMOG_COLLECTION_UPDATED")
end

ls_toasts.lua:1865-1869

local function SpawnTestTransmogToast()
--This event doesn't actually send an appearanceID, but we are faking it for this test.
--Note that the first time the player runs this test, the toast will be empty
--because the item has not been cached yet.
--This wouldn't happen in normal operations because the item
--is already in our bags when we create the toast.
  dispatcher:TRANSMOG_COLLECTION_UPDATED(24799)
end

ls_toasts.lua:2131-2136

  elseif value == "transmog_enabled" then
    if state then
      EnableTransmogToasts()
    else
      DisableTransmogToasts()
    end

ls_toasts.lua:2536
Change height of panel to accomodate the addition of the Appearances line

  toastSettings:SetSize(441, 191)

ls_toasts.lua:2562-2565
Add Appearances to the config window, change for statement to include an 8th option

  [8] = {name = "Appearances", point = {"TOPLEFT", toastSettings, "TOPLEFT", 2, -173}, enabled = "transmog_enabled", dnd = "dnd.transmog", testFunc = SpawnTestTransmogToast},
}

for i = 1, 8 do
[...]

ls_toasts.lua:2628

  EnableTransmogToasts()

I would like to have the toast show the Collections window when clicked, but I couldn't figure out how to make that happen. I'd also like to have the toast use a different image for the background, possibly incorporating the EtherealLines.blp that is in the 'BlizzardInterfaceArt\Interface\Transmogrify' folder.

Can't access Option panel

I've just installed the newest version. /LST or /LSTOASTS does'nt work .. Can't see other ways to access it.
Screenshot_86

Got a error with is_toasts via bugsack

1x [ADDON_ACTION_BLOCKED] AddOn 'ls_Toasts' hat versucht die geschützte Funktion 'CompactPartyFrame:unusedFunc()' aufzurufen.
[string "@!BugGrabber\BugGrabber.lua"]:519: in function <!BugGrabber\BugGrabber.lua:519>
[string "=[C]"]: in function unusedFunc' [string "@Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua"]:160: in function CompactRaidFrameContainer_LayoutFrames'
[string "@Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua"]:130: in function CompactRaidFrameContainer_TryUpdate' [string "@Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua"]:57: in function CompactRaidFrameContainer_OnEvent'
[string ":OnEvent"]:1: in function <[string ":OnEvent"]:1>

Location

So it could just be my setup but I cannot move the location of Toasts. Even though on ElvUi I have it set to center. It still shows up in upper left hand corner of my screen.
WoWScrnShot_083119_140444

Possible QuestTalkingHeadFrame bug and toasts.

While tailoring my new UI I decided it would be best to move QuestTalkingHeadFrame with Moveanything to the center left corner because it's in the way on it's original position, while trying this out it became clear to me that the worldquest reward toasts were anchored to QuestTalkingHeadFrame in some way (because it started out in the middle, then popped up over QuestTalkingHeadFrame as soon as it appeared)

Pictured: http://cubeupload.com/im/QRLeEm.jpg

A friend recommended lstoasts because it had one single controllable anchor, but it still seems to clash with this behavior.

Pictured: http://cubeupload.com/im/2d59Dr.jpg (the anchor is supposed to be at the bottom here)
Anchor: http://cubeupload.com/im/X21jfE.jpg (it does not fix itself after a /reload)

I shall reinstall and reload after configuring, because I'm not sure i did the first time around. But it seems that the anchor is "corrupted" after being logged in for a while.
I'm not sure that this is an Issue with lstoasts, but i thought that I should share with you either way.

Wotlk 3.3.5a not working

Hello i download the Ls_Toasts>wotlk/master>
But its not loaded in addons it not read it ingame no commands or Interface menu shows

Feature Request: Separate personal and guild achievement toast types

I'd love to be able to disable guild achievements as there appears to be a UI bug where some old guild achievements re-pop from time to time.
At the moment this doesn't appear to be possible in LS Toasts as guild and personal achievements aren't separated, hence I'm requesting the separation of these so each type can be configured to the users liking.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.