Hi everybody,
I'm currently using ElvUI for WoW Classic and I want to use it with another favorite addon of mine: ElvUI DataText Bars 2.
It seems to be a pretty simple addon but I just can't get it to work with WoW Classic, when I just copy the addon data from retail.
An explicit version for Classic is not available and using /console scriptErrors 1 to get LUA error that could've been thrown by the addon does not show any results.
Anyone got this working with WoW classic or am I out of luck?
ElvUI DataText Bars 2
#3It was already posted here just within another thread so it was't easy to find.
Here is the link to the post where one can download a version of ElvUI DataText Bars 2 that works absolutely perfectly with WoW Classic:
viewtopic.php?p=28151#p28151
Here is the link to the post where one can download a version of ElvUI DataText Bars 2 that works absolutely perfectly with WoW Classic:
viewtopic.php?p=28151#p28151
ElvUI DataText Bars 2
#6It let's you create datatext bars, like the ones under the chat panels that you can place anywhere. You can then add whatever information is available in these. Here's a link to the retail version that has screenshots. https://www.tukui.org/addons.php?id=46
ElvUI DataText Bars 2
#7Maybe Darth_Predator can take a look into the Retail AddOn and he just need to replace
with
figured out also need to relace
in function
with
this way the AddOn works with both Retail and Classic!
greetings
Code: Select all
DB:RegisterEvent("UNIT_ENTERING_VEHICLE", "OnEvent")
DB:RegisterEvent("UNIT_EXITING_VEHICLE", "OnEvent")
Code: Select all
if select(4,GetBuildInfo()) >= 20000 then
DB:RegisterEvent("UNIT_ENTERING_VEHICLE", "OnEvent")
DB:RegisterEvent("UNIT_EXITING_VEHICLE", "OnEvent")
end
Code: Select all
local inVehicle = (event == "UNIT_ENTERING_VEHICLE" and true) or (event == "UNIT_EXITING_VEHICLE" and false) or UnitInVehicle("player")
Code: Select all
function DB:OnEvent(event, unit)
Code: Select all
local inVehicle
if select(4,GetBuildInfo()) >= 20000 then inVehicle = (event == "UNIT_ENTERING_VEHICLE" and true) or (event == "UNIT_EXITING_VEHICLE" and false) or UnitInVehicle("player") end
greetings
Last edited by fuba82 on Thu Sep 26, 2019 12:21 am, edited 1 time in total.
ElvUI DataText Bars 2
#8Please see this thread viewtopic.php?f=32&t=6807&p=28743#p28151fuba82 wrote: ↑Wed Sep 25, 2019 10:51 pmMaybe Darth_Predator can take a look into the Retail AddOn and he just need to replacewithCode: Select all
DB:RegisterEvent("UNIT_ENTERING_VEHICLE", "OnEvent") DB:RegisterEvent("UNIT_EXITING_VEHICLE", "OnEvent")
so the AddOn works with both Retail and ClassicCode: Select all
if select(4,GetBuildInfo()) >= 20000 then DB:RegisterEvent("UNIT_ENTERING_VEHICLE", "OnEvent") DB:RegisterEvent("UNIT_EXITING_VEHICLE", "OnEvent") end
greetings
I always recommend backing up your WTF folder - where your profiles/settings for all addons, including ElvUI are stored.