Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: gmarco
Forum: Lua/XML Help 10-14-20, 05:55 PM
Replies: 13
Views: 8,897
Posted By gmarco
Thanks for the explanation SDPhantom. Now I...

Thanks for the explanation SDPhantom.

Now I understand a little bit more this error :)
But this behaviour didn't happen before ? It is changed in 9.0.x ?

Thanks ! :)
Forum: Lua/XML Help 10-14-20, 04:42 PM
Replies: 13
Views: 8,897
Posted By gmarco
That code works from so long ago. It was taken...

That code works from so long ago.
It was taken from "Tectiles" by tekkub and I never changed so much ...

It is strange but using the _G fixes the code. Why it works in game and not in my addon is a...
Forum: Lua/XML Help 10-14-20, 04:38 PM
Replies: 13
Views: 8,897
Posted By gmarco
Found and fixed ... it was easy now that...

Found and fixed ... it was easy now that Fizzlemizz points out to the file of changes from 8.x to 9.x :)

local list = CreateFrame("Button", "PhanxConfigDropdown" .. id, dropdown,...
Forum: Lua/XML Help 10-14-20, 04:33 PM
Replies: 13
Views: 8,897
Posted By gmarco
Hi all again. Fonts are working now. I have...

Hi all again.

Fonts are working now.

I have changed the function call to:

SetFont(_G.AchievementFont_Small, GMFONTS["B"], 12)
SetFont(_G.FriendsFont_Large, ...
Forum: Lua/XML Help 10-14-20, 04:23 PM
Replies: 13
Views: 8,897
Posted By gmarco
Hi all. In this moment I am not sure of anything...

Hi all.

In this moment I am not sure of anything :) , I know only that it is used to work before 9.0.x :)


I have a list like:

SetFont(AchievementFont_Small, GMFONTS["B"],...
Forum: Lua/XML Help 10-14-20, 02:45 PM
Replies: 13
Views: 8,897
Posted By gmarco
I have tried also to change the function in this...

I have tried also to change the function in this way (taken by Phanx addon):

local function SetFont(obj, font, size, style, r, g, b, sr, sg, sb, sox, soy)
if not obj then return end -- TODO: prune...
Forum: Lua/XML Help 10-14-20, 02:37 PM
Replies: 13
Views: 8,897
Posted By gmarco
API Changed in SetFont ?

Hi all,

the next error I am trying to fix is this.

This happens when I try to change fonts attributes calling the function in this way:



....
gmfontset["Roboto"] = {"Roboto-Regular.ttf",...
Showing results 1 to 7 of 7