Addon Information
Works with 3.3
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Xrystal's Portal Bug Reports Feature Requests
Author:
Version:
1.03.02
Date:
04-09-2010 06:06 AM
Size:
30.34 Kb
Downloads:
1,052
Favorites:
21
MD5:
Pictures
Click to enlarge
Non Docked Watch Frame
Click to enlarge
Docked Watch Frame
Click to enlarge
Extra Quests to Watch and Quest Items On Display
Click to enlarge
A docked nUI user view showing the new drop down menu and options screen. v1.03.01
Click to enlarge
A non nUI user view showing the new drop down menu and options screen. v1.03.01
Scrolling Watch Frame
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.
  Change Log - Scrolling Watch Frame
-------------------------------------------------------------------
[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 - Scrolling Watch Frame
Sorry, there are currently no optional files available.
  Archived Versions - Scrolling Watch Frame
File Name
Version
Size
Author
Date
1.03.01
30kB
Xrystal
03-29-2010 02:15 PM
1.03.00
26kB
Xrystal
03-23-2010 06:44 AM
1.02.01
21kB
Xrystal
03-12-2010 04:15 PM
1.02.00
20kB
Xrystal
03-11-2010 03:04 PM
1.01.01
16kB
Xrystal
02-08-2010 12:17 PM
1.01.00
15kB
Xrystal
02-07-2010 07:04 PM
  Comments - Scrolling Watch Frame
Post A Reply Comment Options
Old 06-29-2010, 09:53 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
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.
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 05-10-2010, 09:17 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
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
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 05-02-2010, 05:03 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
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.
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 04-10-2010, 08:55 PM  
Shadowfeonix
A Fallenroot Satyr

Forum posts: 22
File comments: 5
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
Old 04-09-2010, 07:13 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
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
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 04-09-2010, 05:32 PM  
Shadowfeonix
A Fallenroot Satyr

Forum posts: 22
File comments: 5
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
Old 04-09-2010, 06:32 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
Version 1.03.02 Changes

These fixes were in response to ShadowFeonix's (sp) error reports. I finally managed to replicate the problem and put in code to stall the errors if they occur again. It seems like the main reason they are erroring out is due to that nasty options=nil error for us nUI users although I believe other addons are hit similarly with their saved variables not loading properly but anyways, here's the latest update notes for your perusal.
  • 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
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Last edited by Xrystal : 04-09-2010 at 06:34 AM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 04-09-2010, 05:06 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
Yes, that is the right file.

Hmm, that is really strange. Well, I logged out last night with my version docked so I will log in .. then I will try again with the last uploaded code and see if it errors out .. then go from there.

Edit: Okay, I managed to get the same error finally but only after nUI failed to load properly due to the new mysterious options = nil error people have been getting. That would explain why on load up it is having problems working as 1. nUI is loaded, 2. the infopanel is active 3. the scrolling frame is created so that when the watchframe does its auto update it tries to update everything based on those flags assuming everything else worked fine.

So, it looks like I need to do some further tests so that at least my part of the loading process knows what it is doing.

Edit2: Ah, think I may have stopped it now but hard to say as I am not getting the options=nil error rofl. Want to make sure I deal with the issue before I upload it.
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Last edited by Xrystal : 04-09-2010 at 05:52 AM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 04-08-2010, 11:31 PM  
Shadowfeonix
A Fallenroot Satyr

Forum posts: 22
File comments: 5
Uploads: 0
Hmm no other watch frame addons turned on on the toon getting the errors (have quest guru on my leveling toons buts its turned off completely on the one getting errors)

Yes i have nUI installed (love it, tho i do miss Mazzle - but that's neither here nor there)

And finally modified the LUA and no no change at all
Edit: You did mean the nUI_Infopanel.lua file correct.
Last edited by Shadowfeonix : 04-08-2010 at 11:39 PM.
Shadowfeonix is offline Report comment to moderator  
Reply With Quote
Old 04-08-2010, 07:33 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
Hmm, also, do you have nUI installed and enabled ?

The first error you listed should only have got reached if it had successfully created the object it next said didn't exist. And the rest follow on from that knowledge. How a frame can cease to exist without telling it to, which I don't, I have no clue.

And, did this coincide with a general blah is nil start up error message that cause the blank nUI frames on login ? That could be the only reason that would happen as far as I can see.

Edit:
Okay, I think I just spotted the problem. I can't believe I missed this and that it didn't appear during testing but there you go. Before I finalise the testing I would like you to make the following changes before you log in and see if it resolves your problem.

In InfoPanel.lua file find the section called InfoPanel.resetAnchors and change it so it looks like this :
Code:
InfoPanel.resetAnchors = function()
  local plugin = InfoPanel.plugin;
  plugin:ClearAllPoints();
  plugin:SetPoint( "BOTTOMRIGHT", InfoPanel.container, "BOTTOMRIGHT", 0, 0 );
  plugin:SetPoint( "TOPLEFT", InfoPanel.container, "TOPLEFT", 0, 0 );
end
Let me know if that resolves it for you and I will add it as a proper update.
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Last edited by Xrystal : 04-08-2010 at 08:45 AM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 04-07-2010, 09:31 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
Hmm, strange. I will read through them and see if I can see whats happening there as I am using the watch frame myself and don't get errors like that. I think there are still some glitches with how the movement while locking works and dealing with both infopanel versions which are automatically locked and non infopanel versions which can be locked or not.

That said, I have noticed some flaws with the way some of my file layouts are in light of future projects so I have been working through them again while doing the extra 1.04.00 stuff so that I can reuse the files in other projects or in other frames on the same project. Hopefully I will track down those problems of yours and account for them in the new changes. If I can find a quick fix before then I will apply one.

Thanks for the info and I will look at it tomorrow.


A quick look gives the impression that it has somehow lost track of who owns the watchframe. Do you have another quest addon installed at all ?
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Last edited by Xrystal : 04-08-2010 at 12:18 AM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 04-07-2010, 06:40 PM  
Shadowfeonix
A Fallenroot Satyr

Forum posts: 22
File comments: 5
Uploads: 0
Continuation of previous post
Code:
1x ScrollingWatchFrame-1.03.01\SWF_Main.lua:307: attempt to index global 'SWF_InfoPanel' (a nil value)
ScrollingWatchFrame-1.03.01\SWF_Main.lua:247: in function <ScrollingWatchFrame\SWF_Main.lua:187>
<in C code>: in function `WatchFrame_Update'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:314: in function `OnUpdate'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:329: in function `OnShow'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:377: in function <ScrollingWatchFrame\SWF_Main.lua:345>

Locals:
self = WatchFrame {
 ClearAllPoints = <function> @ ScrollingWatchFrame\WatchFrame.lua:371:
 watchMoney = false
 0 = <userdata>
 updateTimer = 1
 showObjectives = true
 lineCache = <table> {}
 SetAllPoints = <function> @ ScrollingWatchFrame\WatchFrame.lua:373:
 nextOffset = 0
 SetPoint = <function> @ ScrollingWatchFrame\WatchFrame.lua:372:
 buttonCache = <table> {}
}
filterOK = false
numQuests = 0
numAchievements = 0
numTimers = 0
addonData = <table> {
 Options = <table> {}
 SlashCmds = <table> {}
 nUI = <table> {}
 OptionsUI = <table> {}
 Locale = "enUS"
 Frames = <table> {}
 Menu = <table> {}
 SavedVars = <table> {}
 Localization = <table> {}
 ScrollFrame = <table> {}
 WatchFrame = <table> {}
 Interface = <table> {}
}
f = SWF_WatchFrame_Container {
 Lines = WatchFrameLines {}
 OnLock = <function> @ ScrollingWatchFrame\SWF_Main.lua:304:
 0 = <userdata>
 Scroll = SWF_WatchFrame_ScrollFrame {}
 OnShow = <function> @ ScrollingWatchFrame\SWF_Main.lua:318:
 CollapseExpand = WatchFrameCollapseExpandButton {}
 Menu = WatchFrameOptionsButton {}
 Title = WatchFrameTitle {}
 ScrollBar = SWF_WatchFrame_ScrollFrameScrollBar {}
 Header = WatchFrameHeader {}
 OnUpdate = <function> @ ScrollingWatchFrame\SWF_Main.lua:312:
 Child = SWF_WatchFrame_ScrollChild {}
}

  ---
Code:
1x ScrollingWatchFrame-1.03.01\SWF_Main.lua:307: attempt to index global 'SWF_InfoPanel' (a nil value)
ScrollingWatchFrame-1.03.01\SWF_Main.lua:247: in function <ScrollingWatchFrame\SWF_Main.lua:187>
<in C code>: in function `WatchFrame_Update'
Interface\FrameXML\WatchFrame.lua:298: in function <Interface\FrameXML\WatchFrame.lua:296>:
<in C code>: in function `GetTop'
Interface\FrameXML\WatchFrame.lua:365: in function <Interface\FrameXML\WatchFrame.lua:352>:
<in C code>: ?
<in C code>: in function `WatchFrame_Update'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:314: in function `OnUpdate'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:329: in function `OnShow'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:377: in function <ScrollingWatchFrame\SWF_Main.lua:345>

Locals:
self = WatchFrame {
 ClearAllPoints = <function> @ ScrollingWatchFrame\WatchFrame.lua:371:
 watchMoney = false
 0 = <userdata>
 updateTimer = 1
 updating = true
 showObjectives = true
 lineCache = <table> {}
 SetAllPoints = <function> @ ScrollingWatchFrame\WatchFrame.lua:373:
 nextOffset = 0
 SetPoint = <function> @ ScrollingWatchFrame\WatchFrame.lua:372:
 buttonCache = <table> {}
}
filterOK = false
numQuests = 0
numAchievements = 0
numTimers = 0
addonData = <table> {
 Options = <table> {}
 SlashCmds = <table> {}
 nUI = <table> {}
 OptionsUI = <table> {}
 Locale = "enUS"
 Frames = <table> {}
 Menu = <table> {}
 SavedVars = <table> {}
 Localization = <table> {}
 ScrollFrame = <table> {}
 WatchFrame = <table> {}
 Interface = <table> {}
}
f = SWF_WatchFrame_Container {
 Lines = WatchFrameLines {}
 OnLock = <function> @ ScrollingWatchFrame\SWF_Main.lua:304:
 0 = <userdata>
 Scroll = SWF_WatchFrame_ScrollFrame {}
 OnShow = <function> @ ScrollingWatchFrame\SWF_Main.lua:318:
 CollapseExpand = WatchFrameCollapseExpandButton {}
 Menu = WatchFrameOptionsButton {}
 Title = WatchFrameTitle {}
 ScrollBar = SWF_WatchFrame_ScrollFrameScrollBar {}
 Header = WatchFrameHeader {}
 OnUpdate = <function> @ ScrollingWatchFrame\SWF_Main.lua:312:
 Child = SWF_WatchFrame_ScrollChild {}
}

  ---
all from logging in docked

Edit: 2 walls of text back to back so sorry
Last edited by Shadowfeonix : 04-07-2010 at 06:41 PM.
Shadowfeonix is offline Report comment to moderator  
Reply With Quote
Old 04-07-2010, 06:40 PM  
Shadowfeonix
A Fallenroot Satyr

Forum posts: 22
File comments: 5
Uploads: 0
SWF Docked

On docking and logging in docked i get these errors

Code:
2x ScrollingWatchFrame-1.03.01\nUI_InfoPanel.lua:191: attempt to index local 'plugin' (a nil value)
ScrollingWatchFrame-1.03.01\SWF_Main.lua:307: in function `OnLock'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:247: in function <ScrollingWatchFrame\SWF_Main.lua:187>
<in C code>: in function `WatchFrame_Update'
Interface\FrameXML\WatchFrame.lua:274: in function <Interface\FrameXML\WatchFrame.lua:230>:
<in C code>: ?
<in C code>: in function `SetMapZoom'
TomTom-237\libs\Astrolabe\Astrolabe.lua:927: in function `OnShow'
TomTom-237\libs\Astrolabe\Astrolabe.lua:1020: in function <TomTom\libs\Astrolabe\Astrolabe.lua:1019>
<in C code>: in function `Show'
TomTom-237\libs\Astrolabe\Astrolabe.lua:957: in function `AllWorldMapsHidden'
TomTom-237\libs\Astrolabe\AstrolabeMapMonitor.lua:168: in function <...AddOns\TomTom\libs\Astrolabe\AstrolabeMapMonitor.lua:160>
(tail call): ?:
TomTom-237\libs\Astrolabe\AstrolabeMapMonitor.lua:201: in function `OnEvent'
TomTom-237\libs\Astrolabe\AstrolabeMapMonitor.lua:230: in function <...AddOns\TomTom\libs\Astrolabe\AstrolabeMapMonitor.lua:229>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:235: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:258: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:482: in function <Interface\FrameXML\UIParent.lua:454>:

Locals:
addonData = <table> {
 Options = <table> {}
 SlashCmds = <table> {}
 nUI = <table> {}
 OptionsUI = <table> {}
 Locale = "enUS"
 Frames = <table> {}
 Menu = <table> {}
 SavedVars = <table> {}
 Localization = <table> {}
 ScrollFrame = <table> {}
 WatchFrame = <table> {}
 Interface = <table> {}
}
f = SWF_WatchFrame_Container {
 Lines = WatchFrameLines {}
 OnLock = <function> @ ScrollingWatchFrame\SWF_Main.lua:304:
 0 = <userdata>
 Scroll = SWF_WatchFrame_ScrollFrame {}
 OnShow = <function> @ ScrollingWatchFrame\SWF_Main.lua:318:
 CollapseExpand = WatchFrameCollapseExpandButton {}
 Menu = WatchFrameOptionsButton {}
 Title = WatchFrameTitle {}
 ScrollBar = SWF_WatchFrame_ScrollFrameScrollBar {}
 Header = WatchFrameHeader {}
 OnUpdate = <function> @ ScrollingWatchFrame\SWF_Main.lua:312:
 Child = SWF_WatchFrame_ScrollChild {}
}

  ---
Code:
2x ScrollingWatchFrame-1.03.01\nUI_InfoPanel.lua:191: attempt to index local 'plugin' (a nil value)
ScrollingWatchFrame-1.03.01\SWF_Main.lua:307: in function `OnLock'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:247: in function <ScrollingWatchFrame\SWF_Main.lua:187>
<in C code>: in function `WatchFrame_Update'
Interface\FrameXML\WatchFrame.lua:274: in function <Interface\FrameXML\WatchFrame.lua:230>:
<in C code>: ?
<in C code>: in function `SetMapToCurrentZone'
TomTom-237\libs\Astrolabe\Astrolabe.lua:923: in function `OnShow'
TomTom-237\libs\Astrolabe\Astrolabe.lua:1020: in function <TomTom\libs\Astrolabe\Astrolabe.lua:1019>
<in C code>: in function `Show'
TomTom-237\libs\Astrolabe\Astrolabe.lua:957: in function `AllWorldMapsHidden'
TomTom-237\libs\Astrolabe\AstrolabeMapMonitor.lua:168: in function <...AddOns\TomTom\libs\Astrolabe\AstrolabeMapMonitor.lua:160>
(tail call): ?:
TomTom-237\libs\Astrolabe\AstrolabeMapMonitor.lua:201: in function `OnEvent'
TomTom-237\libs\Astrolabe\AstrolabeMapMonitor.lua:230: in function <...AddOns\TomTom\libs\Astrolabe\AstrolabeMapMonitor.lua:229>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:235: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:258: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:482: in function <Interface\FrameXML\UIParent.lua:454>:

Locals:
addonData = <table> {
 Options = <table> {}
 SlashCmds = <table> {}
 nUI = <table> {}
 OptionsUI = <table> {}
 Locale = "enUS"
 Frames = <table> {}
 Menu = <table> {}
 SavedVars = <table> {}
 Localization = <table> {}
 ScrollFrame = <table> {}
 WatchFrame = <table> {}
 Interface = <table> {}
}
f = SWF_WatchFrame_Container {
 Lines = WatchFrameLines {}
 OnLock = <function> @ ScrollingWatchFrame\SWF_Main.lua:304:
 0 = <userdata>
 Scroll = SWF_WatchFrame_ScrollFrame {}
 OnShow = <function> @ ScrollingWatchFrame\SWF_Main.lua:318:
 CollapseExpand = WatchFrameCollapseExpandButton {}
 Menu = WatchFrameOptionsButton {}
 Title = WatchFrameTitle {}
 ScrollBar = SWF_WatchFrame_ScrollFrameScrollBar {}
 Header = WatchFrameHeader {}
 OnUpdate = <function> @ ScrollingWatchFrame\SWF_Main.lua:312:
 Child = SWF_WatchFrame_ScrollChild {}
}

  ---
Code:
1x ScrollingWatchFrame-1.03.01\nUI_InfoPanel.lua:191: attempt to index local 'plugin' (a nil value)
ScrollingWatchFrame-1.03.01\SWF_Main.lua:307: in function `OnLock'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:247: in function <ScrollingWatchFrame\SWF_Main.lua:187>
<in C code>: in function `WatchFrame_Update'
Interface\FrameXML\WatchFrame.lua:298: in function <Interface\FrameXML\WatchFrame.lua:296>:
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:235: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:258: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:482: in function <Interface\FrameXML\UIParent.lua:454>:

Locals:
addonData = <table> {
 Options = <table> {}
 SlashCmds = <table> {}
 nUI = <table> {}
 OptionsUI = <table> {}
 Locale = "enUS"
 Frames = <table> {}
 Menu = <table> {}
 SavedVars = <table> {}
 Localization = <table> {}
 ScrollFrame = <table> {}
 WatchFrame = <table> {}
 Interface = <table> {}
}
f = SWF_WatchFrame_Container {
 Lines = WatchFrameLines {}
 OnLock = <function> @ ScrollingWatchFrame\SWF_Main.lua:304:
 0 = <userdata>
 Scroll = SWF_WatchFrame_ScrollFrame {}
 OnShow = <function> @ ScrollingWatchFrame\SWF_Main.lua:318:
 CollapseExpand = WatchFrameCollapseExpandButton {}
 Menu = WatchFrameOptionsButton {}
 Title = WatchFrameTitle {}
 ScrollBar = SWF_WatchFrame_ScrollFrameScrollBar {}
 Header = WatchFrameHeader {}
 OnUpdate = <function> @ ScrollingWatchFrame\SWF_Main.lua:312:
 Child = SWF_WatchFrame_ScrollChild {}
}

  ---
Code:
13x ScrollingWatchFrame-1.03.01\nUI_InfoPanel.lua:191: attempt to index local 'plugin' (a nil value)
ScrollingWatchFrame-1.03.01\SWF_Main.lua:307: in function `OnLock'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:247: in function <ScrollingWatchFrame\SWF_Main.lua:187>
<in C code>: in function `WatchFrame_Update'
Interface\FrameXML\WatchFrame.lua:265: in function <Interface\FrameXML\WatchFrame.lua:230>:

Locals:
addonData = <table> {
 Options = <table> {}
 SlashCmds = <table> {}
 nUI = <table> {}
 OptionsUI = <table> {}
 Locale = "enUS"
 Frames = <table> {}
 Menu = <table> {}
 SavedVars = <table> {}
 Localization = <table> {}
 ScrollFrame = <table> {}
 WatchFrame = <table> {}
 Interface = <table> {}
}
f = SWF_WatchFrame_Container {
 Lines = WatchFrameLines {}
 OnLock = <function> @ ScrollingWatchFrame\SWF_Main.lua:304:
 0 = <userdata>
 Scroll = SWF_WatchFrame_ScrollFrame {}
 OnShow = <function> @ ScrollingWatchFrame\SWF_Main.lua:318:
 CollapseExpand = WatchFrameCollapseExpandButton {}
 Menu = WatchFrameOptionsButton {}
 Title = WatchFrameTitle {}
 ScrollBar = SWF_WatchFrame_ScrollFrameScrollBar {}
 Header = WatchFrameHeader {}
 OnUpdate = <function> @ ScrollingWatchFrame\SWF_Main.lua:312:
 Child = SWF_WatchFrame_ScrollChild {}
}

  ---
Code:
5x ScrollingWatchFrame-1.03.01\nUI_InfoPanel.lua:191: attempt to index local 'plugin' (a nil value)
ScrollingWatchFrame-1.03.01\SWF_Main.lua:307: in function `OnLock'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:247: in function <ScrollingWatchFrame\SWF_Main.lua:187>
<in C code>: in function `WatchFrame_Update'
Interface\FrameXML\WatchFrame.lua:274: in function <Interface\FrameXML\WatchFrame.lua:230>:

Locals:
addonData = <table> {
 Options = <table> {}
 SlashCmds = <table> {}
 nUI = <table> {}
 OptionsUI = <table> {}
 Locale = "enUS"
 Frames = <table> {}
 Menu = <table> {}
 SavedVars = <table> {}
 Localization = <table> {}
 ScrollFrame = <table> {}
 WatchFrame = <table> {}
 Interface = <table> {}
}
f = SWF_WatchFrame_Container {
 Lines = WatchFrameLines {}
 OnLock = <function> @ ScrollingWatchFrame\SWF_Main.lua:304:
 0 = <userdata>
 Scroll = SWF_WatchFrame_ScrollFrame {}
 OnShow = <function> @ ScrollingWatchFrame\SWF_Main.lua:318:
 CollapseExpand = WatchFrameCollapseExpandButton {}
 Menu = WatchFrameOptionsButton {}
 Title = WatchFrameTitle {}
 ScrollBar = SWF_WatchFrame_ScrollFrameScrollBar {}
 Header = WatchFrameHeader {}
 OnUpdate = <function> @ ScrollingWatchFrame\SWF_Main.lua:312:
 Child = SWF_WatchFrame_ScrollChild {}
}

  ---
Code:
1x ScrollingWatchFrame-1.03.01\nUI_InfoPanel.lua:191: attempt to index local 'plugin' (a nil value)
ScrollingWatchFrame-1.03.01\SWF_Main.lua:307: in function `OnLock'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:247: in function <ScrollingWatchFrame\SWF_Main.lua:187>
<in C code>: in function `WatchFrame_Update'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:314: in function `OnUpdate'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:329: in function `OnShow'
ScrollingWatchFrame-1.03.01\SWF_Main.lua:382: in function <ScrollingWatchFrame\SWF_Main.lua:345>

Locals:
addonData = <table> {
 Options = <table> {}
 SlashCmds = <table> {}
 nUI = <table> {}
 OptionsUI = <table> {}
 Locale = "enUS"
 Frames = <table> {}
 Menu = <table> {}
 SavedVars = <table> {}
 Localization = <table> {}
 ScrollFrame = <table> {}
 WatchFrame = <table> {}
 Interface = <table> {}
}
f = SWF_WatchFrame_Container {
 Lines = WatchFrameLines {}
 OnLock = <function> @ ScrollingWatchFrame\SWF_Main.lua:304:
 0 = <userdata>
 Scroll = SWF_WatchFrame_ScrollFrame {}
 OnShow = <function> @ ScrollingWatchFrame\SWF_Main.lua:318:
 CollapseExpand = WatchFrameCollapseExpandButton {}
 Menu = WatchFrameOptionsButton {}
 Title = WatchFrameTitle {}
 ScrollBar = SWF_WatchFrame_ScrollFrameScrollBar {}
 Header = WatchFrameHeader {}
 OnUpdate = <function> @ ScrollingWatchFrame\SWF_Main.lua:312:
 Child = SWF_WatchFrame_ScrollChild {}
}
Shadowfeonix is offline Report comment to moderator  
Reply With Quote
Old 04-05-2010, 11:35 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
Just thought I would give you all a preview on what the new watchframe will look like with the changes set up in 1.04.00.



I'll add the options window/dropdown etc when I have them set up.

The screen is showing the quest level, the font changes, and the questdifficultycolor setting in place.
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 03-29-2010, 02:21 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 3481
File comments: 205
Uploads: 16
Version 1.03.01 Changes Uploaded Now

-------------------------------------------------------------------
[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 so far :
The ScrollBar still sometimes gets stuck on display at awkward times. More noticeably when collapsed. All I can do is trap a mouse over the frame and toggling of the options frame to trigger an update of the frame and thus the scrollbar itself.
The nUI users are the worst hit with this bug as the = nil errors that we have been receiving on log in can sometimes wipe out the saved variables I painstakingly loaded and then saved. As long as they loaded fine the reloading of the UI should save them again and reload them. Although I have seen a full wipe of data doing as well as only a partial loss of data.
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.
Xrystal is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | TankSpot | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.