I inquired about this as well, and the answer was that replacing FuBar support with LDB support would remove the FuBarPlugin feature of having it fall back to displaying as a minimap icon when FuBar isn't installed.
Using r137/v30000-1-Release without FuBar. I get a minimap icon, but no tooltip ever appears when I hover over it. Instead, I get errors:
[2008/10/16 21:19:45-4084-x9]: AllPlayed-30000-1 135\AllPlayed.lua:1067: attempt to concatenate field '?' (a nil value)
AllPlayed-30000-1 135\AllPlayed.lua:647: in function `OnTooltipUpdate'
FuBarPlugin-2.0-90003:393: in function `runChildren'
Tablet-2.0-90216 (AllPlayed):2370: in function `children'
Tablet-2.0-90216 (AllPlayed):2414: in function <...face\AddOns\AllPlayed\libs\Tablet-2.0\Tablet-2.0.lua:2381>
<in C code>: in function `Open'
Tablet-2.0-90216 (AllPlayed):2548: in function <...face\AddOns\AllPlayed\libs\Tablet-2.0\Tablet-2.0.lua:2542>
---
[2008/10/16 21:27:30-4084-x1]: AllPlayed-30000-1 135\AllPlayed.lua:1067: attempt to concatenate field '?' (a nil value)
AllPlayed-30000-1 135\AllPlayed.lua:647: in function `OnTooltipUpdate'
FuBarPlugin-2.0-90003:393: in function `runChildren'
Tablet-2.0-90216 (AllPlayed):2370: in function `children'
Tablet-2.0-90216 (AllPlayed):2823: in function <...face\AddOns\AllPlayed\libs\Tablet-2.0\Tablet-2.0.lua:2800>
<in C code>: in function `Detach'
FuBarPlugin-2.0-90003:830: in function `func'
Dewdrop-2.0-90320 (AllPlayed):732: in function <...ce\AddOns\AllPlayed\libs\Dewdrop-2.0\Dewdrop-2.0.lua:671>
---
Someone else had this problem. He deleted the SaveVariables\AllPlayed.lua file and it went away. Can you send me this file before you delete it though because I have been unable to reproduce the problem so far.
Do you use the enUS client? Are your libraries embedded?
Well, I'm thinking about it since it is requested a lot more then before. Expect next version of AllPlayed to support both LDB and FuBar. No ETA though, I have very little time to code right now.
Getting this error hovering over the minimap icon. Tried clearing SavedVariables, no avail. Also not using FuBar.
[2008/10/17 23:46:31-27-x1]: AllPlayed-30000-1 135\AllPlayed.lua:1096: attempt to concatenate field '?' (a nil value)
AllPlayed-30000-1 135\AllPlayed.lua:647: in function `OnTooltipUpdate'
FuBarPlugin-2.0-90003:393: in function `runChildren'
Tablet-2.0-90216 (AllPlayed):2370: in function `children'
Tablet-2.0-90216 (AllPlayed):2414: in function `Open'
Tablet-2.0-90216 (AllPlayed):2548: in function <...face\AddOns\AllPlayed\libs\Tablet-2.0\Tablet-2.0.lua:2542>
---
As any aside, any chance of an option to toggle the display of played time? I just use AllPlayed to keep track of rested XP :-/
Finally, I too echo a desire for LDB support, though I sympathize with your time constraints. Thanks for a great addon!
This is driving me crazy. I just can't reproduce it. I'm loading AllPlayed without any other addons after erasing my SaveVariables and everything is fine.
I've added code that might help and taged a 30000-2-beta-1 version so that it becomes available on the Curse site. Can you guys download it and see if it helps.
As for the toggle, it is already possible to not display the played time. I'm guessing you would rather some other choice of display? Can you tell me what you would like to see instead of the total time played. I'm not familiar with RestFu so I'm not sure what you guys are expecting to see there.
As for LDB, I give in :-). I'll make it happen I just can't say when. Hopefully before WotLK.
Alright, I need to correct my previous post -- deleting SavedVariables didn't change anything because I didn't delete the lua.bak file. I've been able to reproduce the error now, and now have the SavedVariable file.
Everything worked fine when I loaded just on my paladin, Alcara. I could mouse over, no error.
I then logged onto my druid, Alacra, and mouse overed -- instant error. Quit and here's the SavedVariable file:
I'd like to get rid of the display of e.g. 37d 09h 52m next to the characters, as well as the total time played (Since I just want to track rested XP). I see a show seconds/show gold option, but not one to toggle on and off the totaling of time played.
Going to test your new version now -- thank you for working to fix this!
Edit: The new version doesn't give me an error on mouseover, even with the SV file I pasted above. Looks like a fix, thank you!
Well, I'm using StatBlockCore and FuBar2Broker; I have a tooltip, and I have a block with the icon and the text Allplayed (it changes to the played time after I opened the Allplayed menu once); however I had two errors:
AllPlayed-30000-1 135\\AllPlayed.lua:631: attempt to index field '?' (a nil value)
AceAddon-2.0-91091 (Ace2):983: in function <Interface\\AddOns\\Ace2\\AceAddon-2.0\\AceAddon-2.0.lua:976>
<in C code>: ?
AceEvent-2.0-91091 (Ace2):260: in function `TriggerEvent'
AceEvent-2.0-91091 (Ace2):910: in function <Interface\\AddOns\\Ace2\\AceEvent-2.0\\AceEvent-2.0.lua:903>
---
AllPlayed-30000-1 135\\AllPlayed.lua:551: Tablet-2.0: Bad argument #2 to `SetTransparency' (table or string expected, got boolean)
AceAddon-2.0-91091 (Ace2):983: in function <Interface\\AddOns\\Ace2\\AceAddon-2.0\\AceAddon-2.0.lua:976>
<in C code>: ?
AceEvent-2.0-91091 (Ace2):260: in function `TriggerEvent'
AceEvent-2.0-91091 (Ace2):910: in function <Interface\\AddOns\\Ace2\\AceEvent-2.0\\AceEvent-2.0.lua:903>
---
Alright, I need to correct my previous post -- deleting SavedVariables didn't change anything because I didn't delete the lua.bak file. I've been able to reproduce the error now, and now have the SavedVariable file.
Everything worked fine when I loaded just on my paladin, Alcara. I could mouse over, no error.
I then logged onto my druid, Alacra, and mouse overed -- instant error. Quit and here's the SavedVariable file:
As for the option to toggle played time, I can't find it.
I'd like to get rid of the display of e.g. 37d 09h 52m next to the characters, as well as the total time played (Since I just want to track rested XP). I see a show seconds/show gold option, but not one to toggle on and off the totaling of time played.
Going to test your new version now -- thank you for working to fix this!
Edit: The new version doesn't give me an error on mouseover, even with the SV file I pasted above. Looks like a fix, thank you!
Thanks for the SaveVariables file and the details. I hope I will be able to make since of this. And if my fix is good, so much the better :-).
Now I understand what you mean regarding the time played. It's not an option because this is why I created the addon in the first place, the rest of the information were just goodies I added over time. Still, it should not be to hard to add the toggle. I'll add this to my todo list.
Well, I'm using StatBlockCore and FuBar2Broker; I have a tooltip, and I have a block with the icon and the text Allplayed (it changes to the played time after I opened the Allplayed menu once); however I had two errors:
AllPlayed-30000-1 135\\AllPlayed.lua:631: attempt to index field '?' (a nil value)
AceAddon-2.0-91091 (Ace2):983: in function <Interface\\AddOns\\Ace2\\AceAddon-2.0\\AceAddon-2.0.lua:976>
<in C code>: ?
AceEvent-2.0-91091 (Ace2):260: in function `TriggerEvent'
AceEvent-2.0-91091 (Ace2):910: in function <Interface\\AddOns\\Ace2\\AceEvent-2.0\\AceEvent-2.0.lua:903>
---
AllPlayed-30000-1 135\\AllPlayed.lua:551: Tablet-2.0: Bad argument #2 to `SetTransparency' (table or string expected, got boolean)
AceAddon-2.0-91091 (Ace2):983: in function <Interface\\AddOns\\Ace2\\AceAddon-2.0\\AceAddon-2.0.lua:976>
<in C code>: ?
AceEvent-2.0-91091 (Ace2):260: in function `TriggerEvent'
AceEvent-2.0-91091 (Ace2):910: in function <Interface\\AddOns\\Ace2\\AceEvent-2.0\\AceEvent-2.0.lua:903>
---
edit: I'll try the new version soon.
I don't think the new version will help you much. The first error appear to be caused because the default value for the opacity parameter is not initialized. The second error would be cause by the first OndDataUpdate being fired before the OnEnable. This is not what I attempt to correct for the previous problem.
I'm not quite sure where to begin to solve that one. It's nearly 3AM here so I'll sleep on it and see if something occurs to me.
Now I understand what you mean regarding the time played. It's not an option because this is why I created the addon in the first place, the rest of the information were just goodies I added over time. Still, it should not be to hard to add the toggle. I'll add this to my todo list.
Aye, I figured, considering the AddOn's name, but I'd be grateful for a toggle nonetheless. Thank you again!
Seeing the same errors as Ydrisselle now with Fubar2Broker+Fortress.
I'll PM you my savedvariables file in case it helps.
Edit: Also, the errors persist after exiting the game and deleting my savedvariables file.
I'm starting to suspect that Fubar2Broker hack is not playing well with AllPlayed. The way it works is that it replace some (all?) of the functions in the Fubar plugin with its own. I'm thinking that some event that I expect should happen in order no longer do like the first OnDataUpdate being fire before the OnEnable or something like that.
Would you be kind enough to try AllPlayed without Fubar2Broker loaded and maybe try with only AllPlayed, Fubar2Broker and Fortress just to confirm this? I'll also do some tests on my side.
I'm starting to suspect that Fubar2Broker hack is not playing well with AllPlayed. The way it works is that it replace some (all?) of the functions in the Fubar plugin with its own. I'm thinking that some event that I expect should happen in order no longer do like the first OnDataUpdate being fire before the OnEnable or something like that.
Yeah it's got a lot of stripped-down code, so it probably isn't 100% compatible. I noticed that AllPlayed's bar text (time played) and the tooltip don't update in real-time like they do when I turn off Fubar2Broker and let AllPlayed get displayed as a minimap icon.
Would you be kind enough to try AllPlayed without Fubar2Broker loaded and maybe try with only AllPlayed, Fubar2Broker and Fortress just to confirm this? I'll also do some tests on my side.
I got the same errors and behaviors. I also turned off FuBar2Broker so that AllPlayed would display on the minimap, and observed that there were no errors.
One thing interesting about the Fortress+F2B+AllPlayed test was that only the total time played and total cash value were the only things shown on the tablet tooltip until I toggled an option from AllPlayed's Display menu off and back on. The time played text appeared next to AllPlayed's icon at that time as well.
Yeah it's got a lot of stripped-down code, so it probably isn't 100% compatible. I noticed that AllPlayed's bar text (time played) and the tooltip don't update in real-time like they do when I turn off Fubar2Broker and let AllPlayed get displayed as a minimap icon.
I got the same errors and behaviors. I also turned off FuBar2Broker so that AllPlayed would display on the minimap, and observed that there were no errors.
One thing interesting about the Fortress+F2B+AllPlayed test was that only the total time played and total cash value were the only things shown on the tablet tooltip until I toggled an option from AllPlayed's Display menu off and back on. The time played text appeared next to AllPlayed's icon at that time as well.
This actually make sense, until the latest revision, there were no option not to display the time played. One of the error you mentioned before had to do with an option value not being initialized right. Instead of having the default value what AceDB is suppose to provide, there was a nil value.
I'm not exactly sure what I can do except adding proper LDB support. What scares me a bit is that I don't want to replace FuBar support by LDB support, I want to support both. Things like F2B may make this near impossible.
Yeah, not sure what the best approach would be. You may be able to provide both FuBar and LDB plugins and name them differently so that F2B users know which one to turn off.
I'm not exactly sure what I can do except adding proper LDB support. What scares me a bit is that I don't want to replace FuBar support by LDB support, I want to support both. Things like F2B may make this near impossible.
I gave a possible fix for that...
Someone else had this problem. He deleted the SaveVariables\AllPlayed.lua file and it went away. Can you send me this file before you delete it though because I have been unable to reproduce the problem so far.
Do you use the enUS client? Are your libraries embedded?
Well, I'm thinking about it since it is requested a lot more then before. Expect next version of AllPlayed to support both LDB and FuBar. No ETA though, I have very little time to code right now.
As any aside, any chance of an option to toggle the display of played time? I just use AllPlayed to keep track of rested XP :-/
Finally, I too echo a desire for LDB support, though I sympathize with your time constraints. Thanks for a great addon!
I've added code that might help and taged a 30000-2-beta-1 version so that it becomes available on the Curse site. Can you guys download it and see if it helps.
As for the toggle, it is already possible to not display the played time. I'm guessing you would rather some other choice of display? Can you tell me what you would like to see instead of the total time played. I'm not familiar with RestFu so I'm not sure what you guys are expecting to see there.
As for LDB, I give in :-). I'll make it happen I just can't say when. Hopefully before WotLK.
Everything worked fine when I loaded just on my paladin, Alcara. I could mouse over, no error.
I then logged onto my druid, Alacra, and mouse overed -- instant error. Quit and here's the SavedVariable file:
As for the option to toggle played time, I can't find it.
For example, this screenshot: http://i6.photobucket.com/albums/y247/alcaras/WoWScrnShot_101808_022016.jpg
I'd like to get rid of the display of e.g. 37d 09h 52m next to the characters, as well as the total time played (Since I just want to track rested XP). I see a show seconds/show gold option, but not one to toggle on and off the totaling of time played.
Going to test your new version now -- thank you for working to fix this!
Edit: The new version doesn't give me an error on mouseover, even with the SV file I pasted above. Looks like a fix, thank you!
edit: I'll try the new version soon.
Thanks for the SaveVariables file and the details. I hope I will be able to make since of this. And if my fix is good, so much the better :-).
Now I understand what you mean regarding the time played. It's not an option because this is why I created the addon in the first place, the rest of the information were just goodies I added over time. Still, it should not be to hard to add the toggle. I'll add this to my todo list.
I don't think the new version will help you much. The first error appear to be caused because the default value for the opacity parameter is not initialized. The second error would be cause by the first OndDataUpdate being fired before the OnEnable. This is not what I attempt to correct for the previous problem.
I'm not quite sure where to begin to solve that one. It's nearly 3AM here so I'll sleep on it and see if something occurs to me.
I'll PM you my savedvariables file in case it helps.
Edit: Also, the errors persist after exiting the game and deleting my savedvariables file.
Aye, I figured, considering the AddOn's name, but I'd be grateful for a toggle nonetheless. Thank you again!
I'm starting to suspect that Fubar2Broker hack is not playing well with AllPlayed. The way it works is that it replace some (all?) of the functions in the Fubar plugin with its own. I'm thinking that some event that I expect should happen in order no longer do like the first OnDataUpdate being fire before the OnEnable or something like that.
Would you be kind enough to try AllPlayed without Fubar2Broker loaded and maybe try with only AllPlayed, Fubar2Broker and Fortress just to confirm this? I'll also do some tests on my side.
It just happened not to be very hard to do. Let me know if it works properly.
Yeah it's got a lot of stripped-down code, so it probably isn't 100% compatible. I noticed that AllPlayed's bar text (time played) and the tooltip don't update in real-time like they do when I turn off Fubar2Broker and let AllPlayed get displayed as a minimap icon.
I got the same errors and behaviors. I also turned off FuBar2Broker so that AllPlayed would display on the minimap, and observed that there were no errors.
One thing interesting about the Fortress+F2B+AllPlayed test was that only the total time played and total cash value were the only things shown on the tablet tooltip until I toggled an option from AllPlayed's Display menu off and back on. The time played text appeared next to AllPlayed's icon at that time as well.
This actually make sense, until the latest revision, there were no option not to display the time played. One of the error you mentioned before had to do with an option value not being initialized right. Instead of having the default value what AceDB is suppose to provide, there was a nil value.
I'm not exactly sure what I can do except adding proper LDB support. What scares me a bit is that I don't want to replace FuBar support by LDB support, I want to support both. Things like F2B may make this near impossible.
Check and see how Rabbit's doing it.
I will. Any addon in particular ?
ClosetGnome - sorry, thought you could read minds over the Internet.