Thread Tools Display Modes
02-23-11, 01:50 AM   #1
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Trying to put oUF in to my UI Folder, help?

So i've tryed to put oUF in my AftermathhUI, but it wasn't so succesful, get many errors, and stuff..

what i did first i had AftermathhUI folder, then oUF folder then i added oUF.xml to my toc, didn't work so well, anyone got any idea how to fix it?

And i'm getting very nice errors aswell.

Code:
Message: Interface\AddOns\AftermathhUI\oUF\elements\tags.lua:561: <unnamed>:SetFormattedText(): Font not set
Time: 02/23/11 08:06:32
Count: 1
Stack: [C]: in function `SetFormattedText'
Interface\AddOns\AftermathhUI\oUF\elements\tags.lua:561: in function `UpdateTag'
Interface\AddOns\AftermathhUI\oUF\elements\tags.lua:412: in function `func'
Interface\AddOns\AftermathhUI\oUF\ouf.lua:133: in function <Interface\AddOns\AftermathhUI\oUF\ouf.lua:124>
(tail call): ?

Locals: (*temporary) = <unnamed> {
 parent = oUF_AftermathhPlayer {
 }
 UpdateTag = <function> defined @Interface\AddOns\AftermathhUI\oUF\elements\tags.lua:552
 0 = <userdata>
}
(*temporary) = "%s%s"
(*temporary) = ""
(*temporary) = 123609

also put in my oUF_Aftermathh.

local parent, ns = ...
local oUF = ns.oUF or oUF

how the folder looks;

Code:
Media
Modules
oUF 
AftermathhUI.toc
AftermathhUI_Config.lua
AftermathhUI_Lunch.lua
oUF_Aftermathh.lua
oUF_AftermathhTags.lua
How my Toc Looks like:

Code:
AftermathhUI_Config.lua
AftermathhUI_Lunch.lua

oUF\oUF.xml

oUF_Aftermathh.lua
oUF_AftermathhTags.lua

Modules\nErrors.lua
Modules\nWarning.lua
Modules\nTips.lua
Modules\nCoords.lua
Modules\nTricks.lua
Modules\nCommands.lua
Modules\nAutoRealease.lua
Modules\nAutoAcceptInviteFromFriends.lua
Modules\nAutoInviteToPartyRaid.lua
Modules\nRepair.lua
Modules\nPanels.lua

Modules\nStats.lua
Modules\nChat.lua
Modules\nBags.lua
Modules\nLoot.lua
Modules\nTooltip.lua
Modules\nBuff.lua
Modules\nSkins.lua
Modules\nButtons.lua

Modules\nMinimap.lua
Modules\nMinimap_GameTime.lua
Modules\nMinimap_Clock.lua

Modules\Tekability.lua
Modules\aMail.lua
Modules\OmniCC.lua

Last edited by Aftermathhqt : 02-23-11 at 01:58 AM.
  Reply With Quote
02-23-11, 04:30 AM   #2
gagou
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 16
Apparently the font is not set for your fonstring.

I checked oUF_Aftermathh code and found the following :

Code:
local texture = 'Interface\\AddOns\\oUF_Aftermathh\\media\\texture.tga'
local border = 'Interface\\AddOns\\oUF_Aftermathh\\media\\border.tga'
local font = 'Interface\\AddOns\\oUF_Aftermathh\\media\\font.ttf'
local borderbg = 'Interface\\AddOns\\oUF_Aftermathh\\media\\borderBackground.tga'
did you change the path in the code above to math the new directory, otherwise it won't work
  Reply With Quote
02-23-11, 06:14 AM   #3
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Originally Posted by gagou View Post
Apparently the font is not set for your fonstring.

I checked oUF_Aftermathh code and found the following :

Code:
local texture = 'Interface\\AddOns\\oUF_Aftermathh\\media\\texture.tga'
local border = 'Interface\\AddOns\\oUF_Aftermathh\\media\\border.tga'
local font = 'Interface\\AddOns\\oUF_Aftermathh\\media\\font.ttf'
local borderbg = 'Interface\\AddOns\\oUF_Aftermathh\\media\\borderBackground.tga'
did you change the path in the code above to math the new directory, otherwise it won't work
Looks like this atm.

Code:
local texture = 'Interface\\AddOns\\AftermathhUI\\Media\\texture.tga'
local border = 'Interface\\AddOns\\AftermathhUI\\Media\\textureNormal.tga'
local font = 'Fonts\\Fonts\\ARIALN.ttf'
local borderbg = 'Interface\\AddOns\\AftermathhUI\\Media\\textureShadow.tga'

Last edited by Aftermathhqt : 02-23-11 at 06:22 AM.
  Reply With Quote
02-23-11, 06:29 AM   #4
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Wow, i feel so stupied now...

local font = 'Fonts\\Fonts\\ARIALN.ttf'
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Trying to put oUF in to my UI map, help?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off