View Single Post
05-04-14, 09:54 PM   #3
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 325
Thank You Phanx for all this tips, I know it like reinventing the wheel but I guess people like what they like. I have 3k downloads for nData sence I set it up. I know not a lot but there are people that use it.

This part of the new PlacePlugin throws a error:
Code:
local area = math.ceil(i / 3)
Tell me I can not do arethmic on "i" string.

Error:
Code:
2x nData\nData-5.4.7.lua:225: attempt to perform arithmetic on local "i" (a table value)
nData\nData-5.4.7.lua:225: in function "PlacePlugin"
nData-5.4.7\Plugins\Stat1.lua:34: in function "func"
nData\nData-5.4.7.lua:301: in function <nData\nData.lua:280>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
AckisRecipeList-2.5.5\libs\AceAddon-3.0\AceAddon-3.0-12.lua:558: in function "EnableAddon"
AckisRecipeList-2.5.5\libs\AceAddon-3.0\AceAddon-3.0-12.lua:651: in function <AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:636>
<in C code>
FrameXML\UIParent.lua:306: in function "UIParentLoadAddOn"
FrameXML\UIParent.lua:329: in function "CombatLog_LoadUI"
FrameXML\UIParent.lua:742: in function <FrameXML\UIParent.lua:705>

Locals:
nil
Also the current use for the PlacePlugin is nData:PlacePlugin(position, plugin) your new way shows nData:PlacePlugin(plugin, i).

So when I got the plugin it self it uses nData:PlacePlugin(db.bags, Text) how will this new way work?

Coke

Edit:
All the other adjustments are working great. Thank You
  Reply With Quote