[2008/05/10 18:28:49-2541-x1]: Poppins-1.0\Frames.lua:119: attempt to call method 'Unregister' (a nil value)
Poppins-1.0\Frames.lua:53: in function `Setup'
Poppins-1.0\Poppins.lua:278: in function `UpdateButtons'
Poppins-1.0\Poppins.lua:234: in function <Interface\AddOns\Poppins\Poppins.lua:218>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:341: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:411: in function <...\AddOns\Afflicted\libs\AceAddon-3.0\AceAddon-3.0.lua:397>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:903: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:233: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:326: in function `UIParent_OnEvent':
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Anyone have a suggestion?
r73394 should have fixed this, you can get it on the SVN now or wait till it gets zipped.
2008/05/10 16:05:56-2254-x1]: LibStickyFrames-2.0\LibStickyFrames-2.0.lua:570: attempt to index local 'pointA' (a boolean value)
Poppins-1.0\Frames.lua:176: in function `LoadPosition'
Poppins-1.0\Poppins.lua:287: in function `UpdateButtons'
Poppins-1.0\Poppins.lua:234: in function <Interface\AddOns\Poppins\Poppins.lua:218>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:341: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:411: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:397>
<in C code>: ?
<in C code>: in function `LoadAddOn'
AddonLoader-1.0\Conditions.lua:211: in function `?'
AddonLoader-1.0\AddonLoader.lua:187: in function <Interface\AddOns\AddonLoader\AddonLoader.lua:173>
<in C code>: in function `pcall'
AceAddon-2.0-57245 (Ace2):24: in function <Interface\AddOns\Ace2\AceAddon-2.0\AceAddon-2.0.lua:23>
AceAddon-2.0-57245 (Ace2):998: in function `ManualEnable'
AceAddon-2.0-57245 (Ace2):926: in function <Interface\AddOns\Ace2\AceAddon-2.0\AceAddon-2.0.lua:919>
<in C code>: ?
AceEvent-2.0-66043 (Ace2):260: in function `TriggerEvent'
AceEvent-2.0-66043 (Ace2):910: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:903>
I think the old positioning data doesn't work with the new version. I've added a reset button position button in r73402 so you don't need to reset your whole profile :)
[2008/05/10 20:30:46-2547-x1]: LibStickyFrames-2.0\LibStickyFrames-2.0.lua:570: attempt to index local 'pointA' (a boolean value)
Poppins-1.0\Frames.lua:176: in function `LoadPosition'
Poppins-1.0\Poppins.lua:287: in function `UpdateButtons'
Poppins-1.0\Poppins.lua:234: in function <Interface\AddOns\Poppins\Poppins.lua:218>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:341: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:411: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:397>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:903: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:233: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:326: in function `UIParent_OnEvent':
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
One of my poppins buttons appear and if I toggle the enable state it throws the following error.
[2008/05/10 20:32:04-2547-x1]: LibStickyFrames-2.0\LibStickyFrames-2.0.lua:570: attempt to index local 'pointA' (a boolean value)
Poppins-1.0\Frames.lua:176: in function `LoadPosition'
Poppins-1.0\Poppins.lua:287: in function `UpdateButtons'
Poppins-1.0\Poppins.lua:234: in function <Interface\AddOns\Poppins\Poppins.lua:218>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:341: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:333>
(tail call): ?:
Poppins-1.0\Poppins.lua:36: in function <Interface\AddOns\Poppins\Poppins.lua:34>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceConfigDialog-3.0\AceConfigDialog-3.0.lua:705: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:526>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[3]":9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?:
AceGUI-3.0\AceGUI-3.0.lua:217: in function `Fire'
...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:51: in function <...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:47>:
Abit late now but you could have reset any buttons that were attached to another button (there is a new option in the button options to do this), after that you can place them again and it should work.
I'm happy with the API and functionality of LibStickyFrames-2.0 now and I'm going to get back to work on adding a few of the requested features I've been putting off.
Updated poppins through an updater (jwowupdater to be specific) and since i run with disembedded libs (no externals) when i got into WoW I got errors because libstickyframes wasn't found - there might be a dependancy/opt dep/whatever setting that is off, because usually if an addon needs a library the updaters get them automatically. Anyway, went and manually got the libstickyframes using the updater, and once in wow got an error ... forgot to copy it... it had something to do with a 'pointA' variable i believe.
[2008/05/11 17:38:21-2267-x1]: Poppins-1.0\PopButtons.lua:316: attempt to call method 'SetFramePoints' (a nil value)
Poppins-1.0\PopButtons.lua:138: in function `Setup'
Poppins-1.0\Frames.lua:146: in function `AddPopButton'
Poppins-1.0\Frames.lua:100: in function `Setup'
Poppins-1.0\Poppins.lua:278: in function `UpdateButtons'
Poppins-1.0\Poppins.lua:342: in function <Interface\AddOns\Poppins\Poppins.lua:336>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceConfigDialog-3.0\AceConfigDialog-3.0.lua:700: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:526>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceGUI-3.0\AceGUI-3.0.lua:217: in function `Fire'
Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:20: in function <...dOns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
Couldn't access the config. Logged, deleted SV's, logged in, then set a new button and the error above popped again.
Thanks for your work on LibStickyFrames. If you could document your changes and mention them here: http://www.wowace.com/forums/index.php?topic=9752.0
and http://www.wowace.com/wiki/LibStickyFrames-2.0
it would help other authors to switch to 2.0 etc. Yes I know documentation sucks but there u go. I almost added group dragging to 1.0, I will add them to 2.0 instead and switch AutoBar to use that.
Thanks for your work on LibStickyFrames. If you could document your changes and mention them here: http://www.wowace.com/forums/index.php?topic=9752.0
and http://www.wowace.com/wiki/LibStickyFrames-2.0
it would help other authors to switch to 2.0 etc. Yes I know documentation sucks but there u go. I almost added group dragging to 1.0, I will add them to 2.0 instead and switch AutoBar to use that.
Np, I have actually just finished documenting the file. I'll upload that to the svn now and start adding it to the wiki. If you have any suggestions for improvements or any critisism I am more than happy to listen :)
If you have any suggestions for improvements or any critisism I am more than happy to listen :)
All right, I switched to LibStickyFrames-2.0 today and the first cut is checked in. Now I have not looked at the group stuff in detail or really at all so a general question:
frameA (from ModA)
frameB (from ModB)
frameC (from ModC)
I registered frameA, the other mods registered their frames.
I stick frameA to frameB and frameB to frameC. Let us say my mod is ModA. At this point I can drag all three as stuck together by dragging frameC.
Did you add fuctionality that would also let me drag all 3 the same way but instead by dragging frameA or frameB? This would use the list reversal stuff from Lego-Blocks if it is in there... I can add it if it is.
One other style thing. You declare all functions local then add them to the lib at the end. Instead you can just straight up define them on the lib. See http://www.wowace.com/wiki/LibKeyBound-1.0. Also in there is examples of how to use AutoDoc to produce the LibKeyBound-1.0 API
Speaking of which, if you have not converted to it, it's the system used in Bongos3, Bartender4, InfiniBar, AutoBar etc. The code is a Tuller mod based on older stuff by Maul and Gello, and converted to a lib so it can be used without clashing and maintained and improved as a common resource. Right now it works and does its job. I am busy adding translations for the keybinds based on the AutoBar ones. I also intend to add Undo and Cancel so its as firendly as the Blizzard one.
Hah no idea yet. I just accidentally looked at your forum and was gonna mention LibStickyFrames until I saw that it was already using it! Soon as I switch to 2.0 Ill let you know what I think. I am assuming the stuff u added generalizes it to handle buttons and not just bars.
I renamed the forum 2.0 and moved the wiki to 2.0 as well.
It should work with any frame. I've been using LibStickyFrames since I started working on Poppins and I noticed that there was a long list of stuff that hadn't been added yet and it hadn't been updated in awhile so I though I'd start adding the things I wanted from it. I was also unhappy with just having a single :Register to register all frame settings so I started rewriting the API for it as well.
Changes:
[list
[list][*]Insets are taken into account when checking overlapping.
[*]Overlays are created by the mod and recycled when not in use
[*]Grouping can be added, its potentially very powerful I think
[*]Overlays are coloured based on whether the frames are enabled or not, hidden or can be attached to when being dragged
[*]Callbacks is moved to CallbackHandler-1.0
[*]Callback for clicking on an overlay which allows the mod to decide whether to enable, disable or hide
[*]Assuming the frame isn't anchored, when insets are updated the positioning of the frame is updated along with any frames attached to it
[*]Shows hidden frames temprarily when the sticky group is set and hides them when the sticky group is unset.
[/list]
I normally have my trinkets bound to mousescroll down, but this cant be done in poppins so I have to bind it in bt4 instead, which is alot more work and not as "combatfriendly" as poppins is (to configure that is)
Small feature request:
It'll be nice if we could adjust the frame strata (per Button). All popup buttons share the same strata as their respective main button (so the strata has only to be set for this button).
I second the above request, because I would like the popup buttons to be on top of my UnitFrames instead of covered by them.
And I have another request:L
After my update today, my buttons -using the Apathy skin- are too close together for my taste when I stick them together. I can adjust the padding between the pop-up buttons now, wich is great. However it would be great if the padding between stickied groups of buttons was configurable aswell.
Great mod btw :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
r73394 should have fixed this, you can get it on the SVN now or wait till it gets zipped.
Just updated.
I think the old positioning data doesn't work with the new version. I've added a reset button position button in r73402 so you don't need to reset your whole profile :)
I'll try it out once the Packagemancer runs.
**edit**
bah! Damn thing's running slow! I added the new code from the fisheye diff and it's works once you reset the position! Thanx!
[2008/05/10 20:30:46-2547-x1]: LibStickyFrames-2.0\LibStickyFrames-2.0.lua:570: attempt to index local 'pointA' (a boolean value)
Poppins-1.0\Frames.lua:176: in function `LoadPosition'
Poppins-1.0\Poppins.lua:287: in function `UpdateButtons'
Poppins-1.0\Poppins.lua:234: in function <Interface\AddOns\Poppins\Poppins.lua:218>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:341: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:411: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:397>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:903: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:233: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:326: in function `UIParent_OnEvent':
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
One of my poppins buttons appear and if I toggle the enable state it throws the following error.
[2008/05/10 20:32:04-2547-x1]: LibStickyFrames-2.0\LibStickyFrames-2.0.lua:570: attempt to index local 'pointA' (a boolean value)
Poppins-1.0\Frames.lua:176: in function `LoadPosition'
Poppins-1.0\Poppins.lua:287: in function `UpdateButtons'
Poppins-1.0\Poppins.lua:234: in function <Interface\AddOns\Poppins\Poppins.lua:218>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:341: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:333>
(tail call): ?:
Poppins-1.0\Poppins.lua:36: in function <Interface\AddOns\Poppins\Poppins.lua:34>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceConfigDialog-3.0\AceConfigDialog-3.0.lua:705: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:526>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[3]":9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?:
AceGUI-3.0\AceGUI-3.0.lua:217: in function `Fire'
...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:51: in function <...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:47>:
Abit late now but you could have reset any buttons that were attached to another button (there is a new option in the button options to do this), after that you can place them again and it should work.
I'm happy with the API and functionality of LibStickyFrames-2.0 now and I'm going to get back to work on adding a few of the requested features I've been putting off.
Thats it! Thanks for me!
Couldn't access the config. Logged, deleted SV's, logged in, then set a new button and the error above popped again.
Can you elaborate?
Try updating LibStickyFrames-2.0
http://www.wowace.com/forums/index.php?topic=9752.0
and
http://www.wowace.com/wiki/LibStickyFrames-2.0
it would help other authors to switch to 2.0 etc. Yes I know documentation sucks but there u go. I almost added group dragging to 1.0, I will add them to 2.0 instead and switch AutoBar to use that.
Np, I have actually just finished documenting the file. I'll upload that to the svn now and start adding it to the wiki. If you have any suggestions for improvements or any critisism I am more than happy to listen :)
All right, I switched to LibStickyFrames-2.0 today and the first cut is checked in. Now I have not looked at the group stuff in detail or really at all so a general question:
frameA (from ModA)
frameB (from ModB)
frameC (from ModC)
I registered frameA, the other mods registered their frames.
I stick frameA to frameB and frameB to frameC. Let us say my mod is ModA. At this point I can drag all three as stuck together by dragging frameC.
Did you add fuctionality that would also let me drag all 3 the same way but instead by dragging frameA or frameB? This would use the list reversal stuff from Lego-Blocks if it is in there... I can add it if it is.
One other style thing. You declare all functions local then add them to the lib at the end. Instead you can just straight up define them on the lib. See http://www.wowace.com/wiki/LibKeyBound-1.0. Also in there is examples of how to use AutoDoc to produce the LibKeyBound-1.0 API
Speaking of which, if you have not converted to it, it's the system used in Bongos3, Bartender4, InfiniBar, AutoBar etc. The code is a Tuller mod based on older stuff by Maul and Gello, and converted to a lib so it can be used without clashing and maintained and improved as a common resource. Right now it works and does its job. I am busy adding translations for the keybinds based on the AutoBar ones. I also intend to add Undo and Cancel so its as firendly as the Blizzard one.
It should work with any frame. I've been using LibStickyFrames since I started working on Poppins and I noticed that there was a long list of stuff that hadn't been added yet and it hadn't been updated in awhile so I though I'd start adding the things I wanted from it. I was also unhappy with just having a single :Register to register all frame settings so I started rewriting the API for it as well.
Changes:
[list
[list][*]Insets are taken into account when checking overlapping.
[*]Overlays are created by the mod and recycled when not in use
[*]Grouping can be added, its potentially very powerful I think
[*]Overlays are coloured based on whether the frames are enabled or not, hidden or can be attached to when being dragged
[*]Callbacks is moved to CallbackHandler-1.0
[*]Callback for clicking on an overlay which allows the mod to decide whether to enable, disable or hide
[*]Assuming the frame isn't anchored, when insets are updated the positioning of the frame is updated along with any frames attached to it
[*]Shows hidden frames temprarily when the sticky group is set and hides them when the sticky group is unset.
[/list]
List tags are malformed.
## X-Category: Action Bars
Small feature request:
It'll be nice if we could adjust the frame strata (per Button). All popup buttons share the same strata as their respective main button (so the strata has only to be set for this button).
Regards,
Highend
And I have another request:L
After my update today, my buttons -using the Apathy skin- are too close together for my taste when I stick them together. I can adjust the padding between the pop-up buttons now, wich is great. However it would be great if the padding between stickied groups of buttons was configurable aswell.
Great mod btw :)