Merz

Pulling the Timer out of the DBM addon

6 posts in this topic

I'm looking for only the pull timer part of DBM. I don't care about the rest of the fluff, but it has proven difficult to pre-pot without knowing the countdown. 

 

I've been seraching through the addon itself to find what parts would contain the pull timer info with no luck.

 

So, if anyone can direct me which folders to gut out of the rest of DBM, or throw me the scripts to run to make a smaller addon, would be greatly appreciated.

 

Thanks for reading.

 

Also a guy on the WoW forumns threw me this script to make as an addon, however it does not work.

 

local f=CreateFrame("Frame",nil,UIParent)
f:Hide()
f:SetSize(300,200)
f:SetPoint("CENTER")
f.counter = f:CreateFontString(nil,"ARTWORK","GameFontNormalHuge")
f.counter:SetAllPoints(true)
f:SetScript("OnEvent",function(self,event,prefix,arg1)
if prefix=="D4" then
local _,pt = (arg1 or ""):match("^(PT).(%d+)")
if pt then
self.pt = tonumber(pt)
self:Show()
PlaySound("RaidWarning","master")
end
end
end)
f:SetScript("OnUpdate",function(self,elapsed)
self.pt = self.pt - elapsed
self.counter:SetText(format("Pull in %.1f seconds!",self.pt))
if self.pt<0 then
PlaySound("RaidWarning","master")
self:Hide()
end
end)
f:RegisterEvent("CHAT_MSG_ADDON")
RegisterAddonMessagePrefix("D4")

Share this post


Link to post
Share on other sites

If you raid with either bigwigs or dbm, you have a pull timer. Are you saying you raid with no boss mod? That just seems like a bad idea.

 

I'm not interested in making a pull timer stand alone at this time. I've got too much work on beta right now to help you with this. 

Share this post


Link to post
Share on other sites

What compenants in DBM make up the pull timer and it's functions? I'm looking to disasemble the addon if needed.

Share this post


Link to post
Share on other sites

A sync, with a time, nothing more. that script/macro above pretty much sums it up.

Share this post


Link to post
Share on other sites

That script wasn't working. Do I need a a componant from DBM to make it work?

Share this post


Link to post
Share on other sites

No idea I didn't review it in detail, like i said I can't help with this nor do I have the time. Right this very minute I'm multitasking in beta and unable to give you the attention you really need to set it up. As i said, if you are actually pre podding in a raid, chances are you really should be running a boss mod, if not dbm, any of others. they all support each others pull timers.

 

Closing thread. Good luck in your search.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.