Thread Tools Display Modes
10-07-10, 02:11 AM   #1
Troox
A Cyclonian
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 41
PTR: RDX 7.5 Question (Update UF to Cataclysm)

Hi
Last Week i try to get my RDX Config working on the PTR, with some problems Has Blizzard changed the strcolor command in 4.0? I got a lot of errors from my scripts. Here is a sample...

---
local dc = GetQuestDifficultyColor(UnitLevel(uid))
if level then
if level >= 1 then
text = text .. strcolor(dc.r,dc.g,dc.b) .. level .. " "
else
text = text .. strcolor(1.00, 0.00, 0.00) .. "??" .. " "
end
end
---

...ends up in a "[string "-- UnitFrame: TrUnitFrames:uf_playerlocal G..."]:235: attempt to call global 'strcolor' (a nil value)" - whats wrong? Thanks!
  Reply With Quote
10-07-10, 02:21 AM   #2
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
hello

strcolor is a VFL API function

Replace strcolor by VFL.strcolor

I will soon publish the API of all the VFL framework.

I almost finished to add all comments and then I will use luadoc.

Cheers
  Reply With Quote
10-07-10, 04:32 AM   #3
Troox
A Cyclonian
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 41
Ah, ok... thanks for the fast reply
  Reply With Quote

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » PTR: RDX 7.5 Question (Update UF to Cataclysm)


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