Thread: Asking for help
View Single Post
05-27-14, 12:27 PM   #10
Popej
A Murloc Raider
AddOn Author - Click to view addons
Join Date: May 2012
Posts: 8
Phanx, thanks for taking the time to help me.
This is what I was trying to do.
A pvp flag expiration timer that shows a frame with a visible timer counting down the time until the pvp flag falls off.
I only want the frame and text visible when the timer is counting down.
Having the frame show when your PVP flag is permanently enabled is a great feature (and a good idea) if your unit frame do not have that feature.
Sorry for not being real clear on this earlier when I said the addon was a PVP flag expiration timer.

I Renamed the Cache, Interface, and WTF folders to start fresh.
Tested with only these addons installed.
MyPVPTimer (addon being tested)
BugSack
!BugGrabber
I reverted all the changes that I made to the addon

This is what I observed.
Once PVP was toggled on, PVP would show in the frame, and it would take a /reload to show the time in the frame.



After the /reload this is what the frame looks like, the text would remain as it is without counting down (thus appearing to freeze).



These actions would reset the text in the frame to PVP and a /reload would show the time in the frame (not counting down).
Using hearth stone,
Taking a portal from a major city to another city,
Going through the Dark Portal in the Blasted Lands.

What I observed earlier after I made the following change.

local UPDATE_INTERVAL, updateTime = 0, 1 The frame would show the text in the frame counting down.
This may not solve the problem, but it appeared to work.

What works well after you have done a /reload
Going between crossrealm zones, it resets to 5 minutes.
After the PVP timer expires the frame and text is not visible.

This is pretty much what is actually happening.

Thanks again.
  Reply With Quote