Thread Tools Display Modes
01-20-06, 09:18 AM   #1
Doubtfire
A Defias Bandit
Join Date: Jan 2006
Posts: 2
Beginners Question

Hello,

i started playing around with addon-coding, my first "addon" should show the number of factions my char knows . I used a XML-file from a simple clock, and the following (only)function:

function factioncalculate()

local num = GetNumFactions();
local output = string.format("Factions: %d", num);
factionText:SetText(output); <-------This appears in the frame

end

Ok, i used "onShow" in the XML-file, put the function in, and get my factions displayed in the frame when the game is loaded.

BUT: In my charscreen, when i open the reputation-panel, everything is empty

Where is my fault?

Any help is welcome.

Thx in advance,

Doubtfire
  Reply With Quote
01-20-06, 01:13 PM   #2
Iriel
Super Moderator
WoWInterface Super Mod
Featured
Join Date: Jun 2005
Posts: 578
There is a bug right now that clears the reputation panel after a ReloadUI()

Test after a clean login (From the character select screen)

It'll be fixed next patch (hopefully).
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Beginners Question


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