Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(26 Kb)
Download
Updated: 10-05-13 02:58 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:10-05-13 02:58 AM
Created:02-07-10 07:04 PM
Downloads:3,757
Favorites:33
MD5:
Scrolling Watch Frame
Version: 5.4.0.17399
by: Xrystal [More]
About the Scrolling Watch Frame Addon
This addon allows the user to set their watch frame into a more convenient size and position with nUI users gaining extra functionality to 'dock' the frame in an infopanel.

Credits and an Alternative
Seerah's WatchFrame Addon has many similar and more features so if this isn't quite what you want or you want to weigh your choices go check it out : http://www.wowinterface.com/download...herWabbit.html. I must admit that the recall of the current collapse status the last time you logged out and recording the position of both collapsed and expanded positions for those users that wish to have two places to place the frame came from that addon either as an idea or an inspiration of. Thanks Seerah.

Slash Commands Available
/swf reset - Resets the data to the programmed defaults, may require an automatic reload of the UI
/swf dock - Toggles the docking mode for nUI users and will require an automatic reload of the UI
/swf scroll x - Sets the scroll size to x which will allow more quests and achievements to be watched ( 1000 to 5000 )
/swf height x - Sets the undocked frame's height ( 100 to 800 )
/swf width x - Sets the undocked frame's width ( 300 to 600 )
/swf lock - Toggles the undocked frame's movability
/swf background - Toggles the current docked status frame's background status
/swf multiple - Toggles the ability for the undocked frame to track both the collapsed and expanded position anchors with the main anchor used for single position tracking
/swf options - Show the UI Version
/swf autohide - Toggles the ability for the undocked frame to automatically hide if there is nothing being tracked.


Note: If you need a higher number for those with ranges let me know and I will raise the bar.

Other Information
The following Blizzard Watch Frame values have been changed to reflect the size of OUR watch frame:
WATCHFRAME_MAXLINEWIDTH is changed to match the space available
WATCHFRAME_MAXQUESTS = 50 - instead of 10
WATCHFRAME_CRITERIA_PER_ACHIEVEMENT = 50 - instead of 5

Note: WATCHFRAME_MAXACHIEVEMENTS cannot be overridden for some reason however much I tried. WATCHFRAME_MAXQUESTS can be overridden but not programmatically updated. However, the others do work as expected. At the top of the WatchFrame.lua file for this addon you will see the two lines near the top. You can personally change these to a higher value as needed but I have not extensively tested anything beyond 50 ( namely because I haven't got that many quests rofl ).

Known Problems:
When you first utilise the Dock option to put the watch frame into an InfoPanel ( nUI Users only ) there is a period of time where you may encounter a bug due to the Blizzard WatchFrame not existing for a few seconds. Due to this error, which I am trying to identify, it stops the Blizzard watch frame from doing its work. It can be confirmed by trying to track a quest if it seemingly displayed fine. A Reload or Relog will solve the problem.

Foreign Language Versions
At the present this plugin does not support multi language settings.
enUS and enGB versions will work fine however and the ability to add new languages is possible using the addonData.Localization values accordingly.
-------------------------------------------------------------------
[Version 5.4.0.17399]
-------------------------------------------------------------------
Just a TOC change

-------------------------------------------------------------------
[Version 1.04.00]
-------------------------------------------------------------------
SWF_SavedVars.lua
-->Fixed defunct global references
SWF_Main.lua
-->Fixed defunct global references

-------------------------------------------------------------------
[Version 1.03.02]
-------------------------------------------------------------------
SWF_Main.lua
-->Do not execute watch frame updates if we are using an infopanel but it has not yet been made - delay in process ?
nUI_InfoPanel.lua
-->Apply current settings when the frame is selected
-->Make sure plugin is valid before using it
-->Stored strata and level of frame and restore them on disablement

-------------------------------------------------------------------
[Version 1.03.01]
-------------------------------------------------------------------
General Changes
-->Removed 3.3.2 specific code and switched to 3.3.3 full time
ScrollFrame.lua
-->Temporarily Unlock frame when hiding/showing subcomponents
-->Refresh ScrollBar Visibility based on conditions and place in reusable function
Interface.lua
-->Added the ability to create Drop Down Menus
SWF_SavedVars.lua
-->Removed ExpandedAnchor variables
-->Corrected defaults for CollapsedAnchor
SWF_Options.lua
-->Now holds updating of options data adjusted via the slash commands, options screen and options menu
SWF_SlashCommands.lua
-->Removed Menu and Screen setting up functions from here, it now only handles slash command functionality
SWF_Interface.lua
-->Interface Options Screen to handle just the options UI Screen functionality
SWF_Menu.lua
-->Interface Options Menu to handle just the Options Menu functionality
SWF_Main.lua
-->Use OnEnter to trigger a WatchFrame_Update call to refresh the frame again
-->Added Options Button
-->Created Drop Down Menu
Problems Spotted to still occur:
-->nUI Users may find that due to the start up errors that we are getting you may lose some settings related to this addon. Sometimes it seems to reset itself and other times it just drops the quests. I haven't found anything that can countermand this without breaking something else.
-->Scrollbar Stickiness : I have tried to get it so that the scrollbar disappears under certain conditions ( no more room to scroll, no background and being collapsed. If the frame is locked in place sometimes the changes do not occur as quick as we would like. So I made some slight changes to how this can be sped up. 1. For when locked is not set a mouse over the frame will cause it to update the frame along with the scroll. 2. Similarly with opening and closing the options interface window.
-->Whilst annoying these seem to be the main problems I have been coming across since the last set of changes made. So, please let me know if something else occurs for you.

-------------------------------------------------------------------
[Version 1.03.00]
-------------------------------------------------------------------
Note: This version is for 3.3.3. I haven't fully tested it's use on 3.3.2 but I have tried to code it so that it works on both versions. If it doesn't, until 3.3.3 goes live or I update it to work, then use last version instead.
All Generic files
-->Now uses their own version pattern 0.xx.xx so as to not confuse over multiple addons
WatchFrame.lua
-->Only use Collapsed Anchor if using multiple anchors
-->Added parent parameter so we don't risk using UIParent in error
-->Incorporate new ExtendedWatchFrameWidth options
-->Incorporate new Filter Options
-->Incorporate new UserCollapsed status
ScrollFrame.lua
-->Can drag with left and right button
-->Moved Resize of ScrollSize to onResize Function
SWF_SlashCommands.lua
-->Check the AutoHide status of the frame
-->Update unused Anchor as well
SWF_SavedVars.lua
-->Use PEW as well as VariablesLoaded Event to ensure data available
-->Added UserCollapsed Variable to Saved Variables
SWF_Main.lua
-->Use WatchFrameHeader if it exists instead of WatchFrameTitle
-->Various changes to utilise new expanded width cvar value
-->Work in the new filter system if they exist
-->No Longer tracking OnShow with a setscript as the watchframe is constantly updating now
-->Hide Scrollbar if no background unless in an infopanel
-->Positioned WatchFrameCollapseExpandButton a bit further right to account for WatchCount addition
Known Problems
-->After relogging in after collapsing it Blizzard will sometimes untrack quests - Blizzard Tracker doesn't keep collapse state to compare
-->If the options=nil error occurs for nUI users Blizzard seems to forget about its quests track status and thus will change the status of the tracker after the reloadui
-->If you play with the toggle multiple anchor setting while in a collapsed state it sometimes moves the collapsed window slightly
-->Despite many attempts at getting the scrollbar to hide if there is no background sometimes it refuses to, right clicking a quest and show quest details will refresh it
-->Sometimes when toggling to an infopanel it will require a second reload of the UI to fully work, confirm by tracking a quest after it has successfully toggled

-------------------------------------------------------------------
[Version 1.02.01]
-------------------------------------------------------------------
SWF_Main.lua
-->Default the Heading, Button and Watched Lines as Shown as Blizzard may have hidden already
-->Removed OnResize script and function as they were actually redundant
-->Added OnUpdate function which can be called to carry out tasks before a final call to WatchFrame_Update
-->Restore the WatchFrame Status if not in an infopanel
ScrollFrame.lua
-->Temporarily Unlock frame for resizing of subcomponents
-->Removed OnSizeChanged script. Instead resizing will be done when we want
WatchFrame.lua
-->Don't restore Watch Frame Status in case we don't want to
SWF_SlashCommands.lua
-->Only Restore non InfoPanel frames and just expand the infopanel ones

-------------------------------------------------------------------
[Version 1.02.00]
-------------------------------------------------------------------
WatchFrame.lua
-->MaxLineWidth constant needs to match width of container frame if it exists
-->Removed AutoWiden option
SWF_Main.lua
-->Added new Options Frame to Frame List
-->Set Scroll Frame to be low on the strata just like the official WatchFrame
-->Hide Scroll Bar if in Collapsed Mode regardless of ScrollSize setting
-->Refresh WatchListWidth constant when collapsing and expanding
-->Show frame regardless if not autohiding or in infopanel
-->Added OnShow and OnResize Functions/Scripts for non infopanel users
-->Create Slash Command Interface
-->Update the WatchFrame once the InfoPanel has been set up
Interface.lua
-->New File to handle common interface tasks
SWF_SlashCommands.lua
-->Access new Interface options
-->When you show the Options Interface refresh with current data
-->Create the Slash Command Interface
-->Access to Options Interface added to slash command list
-->Dock and Reset options separated for sharability with Interface options
-->Added AutoHide feature to slash commands
-->Correctly display lock status when seeing current settings
SWF_SavedVars.lua
-->Added AutoHide Option to Saved Variables
ScrollFrame.lua
-->Refresh the ScrollSize when resizing as well
-->Handle OnResize Event for the frame
-->Added Script to monitor size changing to resize sub components

Constants that can be changed in WatchFrame.lua file
WATCHFRAME_MAXQUESTS = 50 - instead of default of 10
WATCHFRAME_CRITERIA_PER_ACHIEVEMENT = 50 - instead of default of 5

Slash Commands added to SWF_SlashCommands.lua file
/swf options - to show options frame
/swf autohide - to toggle the autohide feature

-------------------------------------------------------------------
[Version 1.01.01]
-------------------------------------------------------------------
ScrollFrame.lua
-->Resize both Scroll and Child Frames to suit new width of Container
SWF_Main.lua
-->Added Hook into WatchFrame_Update
-->Added Auto Hide option so when WatchFrame wants to hide, so does ours
-->Resize Child Frame to reflect quest item icons
WatchFrame.lua
-->Added AutoHide and AutoWiden options
-->Update the WatchFrame to reflect the changes made
-->Override WatchFrame Constants to 50 barring Achievements which don't work anyway
-->Override WatchFrame MaxLineWidth Constant to match width of frame
SWF_SlashCommands.lua
-->Update the WatchFrame when these changes are made as well
nUI_InfoPanel.lua
-->Forgot to size the frame when the infopanel was resized
Known Rectifiable Problems
-->If you adjust the scrollsize with swf scroll to a smaller number after watching more quests to fill the larger scroll frame it just won't display the quests but they are still counted as watchable.
Suggestion : make sure you have ample scroll space before watching a quest, expand scroll space when you run out.
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
1.04.00
26kB
Xrystal
10-14-10 02:03 PM
1.03.02
30kB
Xrystal
04-09-10 05:06 AM
1.03.01
30kB
Xrystal
03-29-10 01:15 PM
1.03.00
26kB
Xrystal
03-23-10 05:44 AM
1.02.01
21kB
Xrystal
03-12-10 04:15 PM
1.02.00
20kB
Xrystal
03-11-10 03:04 PM
1.01.01
16kB
Xrystal
02-08-10 12:17 PM
1.01.00
15kB
Xrystal
02-07-10 07:04 PM


Post A Reply Comment Options
Unread 04-09-10, 04:32 PM  
Shadowfeonix
An Aku'mai Servant
 
Shadowfeonix's Avatar

Forum posts: 31
File comments: 6
Uploads: 0
Awsome that did the trick (is nice logging in and not hearing "Fatality" lol)
also spelling is perfect exactly as it is meant to be spelled ty.
Shadowfeonix is offline Report comment to moderator  
Reply With Quote
Unread 04-09-10, 06:13 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
Excellent, thanks for the heads up .. and yeah .. once I did the add post I couldn't remember how your name was spelt rofl .. thankfully I have a good memory at least
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 04-10-10, 07:55 PM  
Shadowfeonix
An Aku'mai Servant
 
Shadowfeonix's Avatar

Forum posts: 31
File comments: 6
Uploads: 0
Glad i could help out lol I Love nUI and anything that works well with it, well im gonna look into it. Thanks for the addon i hate the objectives on the side of the screen
Shadowfeonix is offline Report comment to moderator  
Reply With Quote
Unread 05-02-10, 04:03 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
An Update...

Just an update on the current status ...

For those that read my 1.04.00 notes and realised I had noticed a flaw in my design and had decided to re-write the core code for the addon to enable more flexibility in the frames.

Well, at the current time it looks like I may have finally found the best set up for this. I had almost made it several times in the last week or two but then something would go wrong somewhere with no apparent reason.

So far it looks to be working as planned. Although not all current functionality is present such as the runtime option changes ( these are currently hardcoded at startup ). Whilst incorporating the new options screen I will add the new font changes mentioned earlier and hopefully the backdrop change system. The latter I am not definite on though.

The font and level changes on the watch frame will hardly need to be altered with the main changes being in the option screen itself. Until the next installment .. have fun.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 05-10-10, 08:17 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
Well, looks like I still need to iron out some bugs for the non docked frame but here are some screenshots on its current state so far:






And yes the old faithful black backdrop is still possible
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 06-29-10, 08:53 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
I apologise for the delay in getting these changes out to you but with the new 3.3.5 patch changes my chat frame addons took priority of my time available outside of real life and raiding with the guild.

However, I have been continually testing this addon and have not noticed anything terrible happening so once I have added in the UI to make the required changes I will upload it.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 09-17-10, 05:47 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
Pre Expansion Patch ...

And yes, the current official incarnation of this addon seems to be working fine with the PTR version.

Improvements I have been planning and working on in the past I think grew too quickly and started causing more problems than solving them so I will hold back on changes for the mean time and will review what people have asked for and try to add them in smaller chunks as well as my own wants
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 10-14-10, 02:05 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
Patch 4.0.1 Compatibility Patch

I spoke too soon with that last comment of mine. The other day on the PTR I noticed it bugged out on me but wasn't sure why.

Now, it seems, that it was due to the defunct code being fully removed from the API which broke many addons. An easy fix though once you know what it is
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 12-01-10, 04:32 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
On investigation today I realised that my 1.04.00 version was not based on the code used in 1.03.02 previously uploaded.

I haven't posted anywhere a reason for doing this so I suspect it was some sort of oversight due to the extra changes I was trying to fit into it before the patch hit us that I had since decided to drop in favor of functionality rather than feature

So, please, if anyone is spotting bugs that were supposed to have been fixed in 1.03.01 and 1.03.02 can you please let me know. In the mean time I will see if I had just forgotten to make a note in the patch notes file which is unusual as that is where I get the update notes for the site from rofl.

So far though the addon seems to be working fine with 4.03 patch with auto complete quests displaying as such in the quest watch frame as a comment to 'Click this to complete quest'.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 12-07-10, 01:18 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
I just wanted to point out to people that I have personally spotted a few glitches that I haven't narrowed down as to the cause yet. Usually a reload of the UI and/or docking/undocking the frame will get it to work properly in nUI.

Also, I have noticed while questing since cata hit, is that the auto complete quests automatically appear in the watch frame at the top. If you have scrolled down the frame when it appears you are none the wiser as I found out having had to do a dungeon several times to get all of them completed rofl. I'll try to resolve this as soon as possible but thought I would let you know in case you were hitting that problem.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 02-14-11, 10:34 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
I am not sure if this has been happening to everyone out there yet but I have noticed with the latest version of titan and in particular it's location plugin it seems to mess up the Watchframe loading order and thus causing an error to occur in this addon.

Whether this is a nUI only problem or not I don't know but if you are getting this problem try disabling the location plugin for titan panel and see if that resolves it for you in the mean time.

nUI users shouldn't have a problem doing this seeing as nUI puts the location information under the minimap. However, non nUI users may need this important information so when I do my next update to the addon I will see if I can work in a fix to get Titan Location and Scrolling Watch Frame talking to each other.

Edit: Actually, the problem seems to only happen when you first log in and I assume it is due to a loading order problem. Reloading the UI or logging to the character selection screen seems to make it work that second time round. Outside of that turning off titan as a whole stops it from breaking on first log in. Hopefully these solutions will resolve your problems if you are getting them.
__________________
Last edited by Xrystal : 02-14-11 at 11:52 AM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 12-15-11, 05:34 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
I don't recall this problem happening prior to 4.3 but now it seems that when the scrollable watchframe is docked into the nUI infopanel with /swf dock it causes a problem clicking on the objects for quests. undocking resolves the problem until I have worked out the change required to get it back to its intended use.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 09-27-12, 07:46 AM  
Bad2ZBones
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
MOP + NUI 5.26

Hi,

Have you updated this addon for MoP and latest Nui 5.x version ?

Thanks
Bad2ZBones is offline Report comment to moderator  
Reply With Quote
Unread 09-28-12, 12:43 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 291
Uploads: 25
I haven't changed the TOC verson to 50001 yet so it would be just the case of turning on load outdated addons to get it to load up.

I'm testing out its successor at the moment and ironing out some wrinkles before I put it up for use but as far as I am aware it should work well enough on its own. If you do get any errors though please do let me know and I will work on it again to get it working.

I also still haven't worked out a way to get the items consistently clickable. Some sort of frame overlaying problem by the looks of it. The successor has the same problem.
__________________
Last edited by Xrystal : 09-28-12 at 12:45 AM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 11-17-12, 11:11 AM  
blademage727
A Fallenroot Satyr
 
blademage727's Avatar

Forum posts: 23
File comments: 3
Uploads: 0
How is the successor addon coming, Xrystal?
blademage727 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: