DISCLAIMER: I am aware that the add-on is in a suboptimal state right now with some features being buggy at times, others simply not working. However because Blizzard said they will implement the main functionality this add-on provides into the main game I'll wait for the open/closed beta of Shadowlands to come out so I can port it over with the new API in mind. For now I'll just work on a private version of the add-on to optimize whereever optimizations are possible (spoiler: there's a lot of optimizable code, lol.). Hopefully you all understand how it wouldn't be efficient for me to put effort into refactoring the current add-on as the game API will be changed in Shadowlands anyways.
This project does nothing on it's own, it requires RareShare modules to function.
I loved this addon, made life so easy! I would love it to work in Shadowlands, since it's sooo tedious when you want to share a rare! Make a premade group, type in everything since you can't copy paste stuff, okay, then click a bunch on the map, make sure to paste it into general chat and not your party or last whispered person, write the rare's name too, blah blah and meanwhile people tagged it and it's half dead and all they see if me standing there not helping and only joining the fight halfway in. Rare Share was my favorite addon, loved it and the sound effect conditioned me like Pavlov's dogs!
After today's update, everything appears to be working with no LUA errors when add-on is enabled. Thank you pffScrub!
In reply to Arlunden:
It's a quick and dirty fix, anything that didnt function properly before will most likely still not function as expected. A rework of the addon is in the works but I find it hard to balance it with uni currently so there's no ETA on when it will be released.
Hello @pffScrub!
Here is the LUA error I am gettng since prepatch.
Message: Interface\AddOns\RareShare\RareFrame.lua:23: attempt to call method 'SetBackdrop' (a nil value)
Time: Wed Oct 21 01:13:29 2020
Count: 1
Stack: Interface\AddOns\RareShare\RareFrame.lua:23: attempt to call method 'SetBackdrop' (a nil value)
[string "@Interface\AddOns\RareShare\RareFrame.lua"]:23: in main chunk
Locals: AddonName = "RareShare"
Addon = <table> {
UnloadModule = <function> defined @Interface\AddOns\RareShare\Modules.lua:53
AnnounceRare = <function> defined @Interface\AddOns\RareShare\RareShare.lua:149
SoundID = 12867
GetModule = <function> defined @Interface\AddOns\RareShare\Modules.lua:58
GCD = 20
GetChannelText = <function> defined @Interface\AddOns\RareShare\RareShare.lua:94
EventFrame = <unnamed> {
}
_AnnounceRare = <function> defined @Interface\AddOns\RareShare\RareShare.lua:132
__Events__ = <table> {
}
InitUI = <function> defined @Interface\AddOns\RareShare\UI.lua:3
Events = <table> {
}
UnregisterModule = <function> defined @Interface\AddOns\RareShare\Modules.lua:47
Loc = <table> {
}
GetHealthPercent = <function> defined @Interface\AddOns\RareShare\RareShare.lua:111
Cooldown = 210
Log = <function> defined @Interface\AddOns\RareShare\RareShare.lua:44
CheckZone = <function> defined @Interface\AddOns\RareShare\RareShare.lua:62
Modules = <table> {
}
InitConfig = <function> defined @Interface\AddOns\RareShare\RareShare.lua:13
Round = <function> defined @Interface\AddOns\RareShare\RareShare.lua:115
UnregisterEventTable = <function> defined @Interface\AddOns\RareShare\Events.lua:26
CreateTomTomWaypoint = <function> defined @Interface\AddOns\RareShare\RareShare.lua:172
GetRareCompleted = <function> defined @Interface\AddOns\RareShare\RareShare.lua:124
GCDLast = 1603260809
GetReadablePlayerPosition = <function> defined @Interface\AddOns\RareShare\RareShare.lua:119
InitModule = <function> defined @Interface\AddOns\RareShare\Modules.lua:5
RegisterEvent = <function> defined @Interface\AddOns\RareShare\Events.lua:10
RegisterModule = <function> defined @Interface\AddOns\RareShare\Modules.lua:41
GetNPCID = <function> defined @Interface\AddOns\RareShare\RareShare.lua:102
InitModuleConfig = <function> defined @Interface\AddOns\RareShare\Modules.lua:28
GetMapID = <function> defined @Interface\AddOns\RareShare\RareShare.lua:82
GetChannelID = <function> defined @Interface\AddOns\RareShare\RareShare.lua:90
LoadModule = <function> defined @Interface\AddOns\RareShare\Modules.lua:34
RegisterEventTable = <function> defined @Interface\AddOns\RareShare\Events.lua:20
InitChat = <function> defined @Interface\AddOns\RareShare\RareShare.lua:73
InitModuleUI = <function> defined @Interface\AddOns\RareShare\Modules.lua:22
UnregisterEvent = <function> defined @Interface\AddOns\RareShare\Events.lua:15
PlaySound = <function> defined @Interface\AddOns\RareShare\RareShare.lua:58
}
frameName = "RareShare_RareFrame"
frame = RareShare_RareFrame {
0 = <userdata>
}
frameText = RareShare_RareFrame_Text {
0 = <userdata>
}
frameButton = RareShare_RareFrame_Button {
0 = <userdata>
}
ntex = <unnamed> {
0 = <userdata>
}
htex = <unnamed> {
0 = <userdata>
}
ptex = <unnamed> {
0 = <userdata>
}
(*temporary) = nil
(*temporary) = RareShare_RareFrame {
0 = <userdata>
}
(*temporary) = <table> {
backdropColor = <table> {
}
bgFile = "Interface\DialogFrame\UI-DialogBox-Background"
tile = false
backdropBorderColor = <table> {
}
tileSize = 28
edgeFile = "Interface\DialogFrame\UI-DialogBox-Border"
tileEdge = false
edgeSize = 28
insets = <table> {
}
}
(*temporary) = "attempt to call method 'SetBackdrop' (a nil value)"
The response below actually gets you the frame back where you can click ANNOUNCE again. Line 5.
Within: /Interface/AddOns/RareShare/RareFrame.lua
Replace
With
In reply to WowzaTO:
This edit fixed the issue for me, thank you!
In reply to WowzaTO:
Today i had to update my WowUp client and for some reason all the addons had to update too after this. This addon stopped working again but I just edited the same thing again and it worked fine. thank you :)
Is this working for anyone since 9.0.1 came out? Doesn't do anything for me anymore.
Tnx this helped!
local frame = CreateFrame("frame", frameName, UIParent, "BackdropTemplate");
thx
If you have this installed, and experiencing a dead zone around your character while trying to interact with npc's, mailboxes, quest objects, etc..., try disabling this.
I haven't tried any of the hacks in the comments below because I'm not interested in getting this to work... just spent an hour trying to narrow my issue down to this. lol, I even submitted a couple bugs to blizzard before I came to this conclusion.
Message: Interface\AddOns\RareShare\RareFrame.lua:23: attempt to call method 'SetBackdrop' (a nil value)
Time: Wed Oct 14 23:51:24 2020
Count: 1
Stack: Interface\AddOns\RareShare\RareFrame.lua:23: attempt to call method 'SetBackdrop' (a nil value)
Locals:
In reply to MithrasFaO:
/Interface/AddOns/RareShare/RareFrame.lua
replace
by
Love this addon, a lot of people want to know the name. A competing addon that is inferior adds the name after the callout. I would rather more people use your addon than the other one. Tested this out in Mechagon.
These lines around line 136 should help. The first two lines are changes the last line is already there.
local Module = self:GetModule(self.LastMap)
local Msg = Name.." "..HealthPercent.."% ~("..X..", "..Y..") "..Module.Title.." "..Addon.Loc.Title
SendChatMessage(Msg ,"CHANNEL", nil, RareShareDB["Config"]["CChannel"]["CID"])
Hello!
I would like to help with making this work for the esMX locale.
I've noticed that you have this on the code:
The same fix must be applied to esMX in order for it to work
Hello, I have some issues with the addon, I just changed my pc, so I had to install everything from zero, this addon was working pretty well, even new zones included (Uld,Vale), but I installed on my new pc, and didn't work, doesn't show the rare in chat, idk why, hope you can help me with this, I installed as before (when was working normally)
In reply to palominoxi:
In reply to Forge_User_57354079:
Yes, I did and doesn't work, Idk what's happening coz I installed all addons required, core, mecha, naz, uld, vale and isn't working rn, before was ok, so idk, hope you could help me with this
In reply to palominoxi:
Are the extensions loaded, they may be considered out of date. Make sure you've enabled load out of date addons.