Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 117
Search took 0.01 seconds.
Search: Posts Made By: Zax
Forum: Lua/XML Help 09-03-21, 01:16 PM
Replies: 12
Views: 1,096
Posted By Zax
That's right. And thank you myrroddin for all...

That's right.

And thank you myrroddin for all these informations. Handling the reputations is not very convenient at this time.
Forum: Lua/XML Help 09-02-21, 06:37 AM
Replies: 12
Views: 1,096
Posted By Zax
For some factions, like Venari, standingID...

For some factions, like Venari, standingID returned value by GetFactionInfo() doesn't match with FACTION_STANDING_LABEL, as described here:
https://wowpedia.fandom.com/wiki/StandingId

So I now...
Forum: Lua/XML Help 09-01-21, 08:13 AM
Replies: 12
Views: 1,096
Posted By Zax
GetFriendshipReputation(47) - Stormwind - returns...

GetFriendshipReputation(47) - Stormwind - returns nil, so it seems this function only returns values for "non-standard" factions standing.
Forum: Lua/XML Help 08-26-21, 12:36 PM
Replies: 12
Views: 1,096
Posted By Zax
Normally at LOGIN event. For testing purpose, I...

Normally at LOGIN event.
For testing purpose, I ran the script manually (long time after LOGIN) with the same NIL result.
Forum: Lua/XML Help 08-26-21, 08:20 AM
Replies: 12
Views: 1,096
Posted By Zax
Well, I don't understand:...

Well, I don't understand: GetFriendshipReputation() always returns nil values.

local numFactions = GetNumFactions()
local factionIndex = 1
while (factionIndex <= numFactions) do
local name,...
Forum: Lua/XML Help 08-25-21, 12:49 PM
Replies: 12
Views: 1,096
Posted By Zax
Mananing standing with non-standard factions

Hello,

How could I manage specials factions reputation, those which standing name or reputations not handled by FACTION_STANDING_LABEL, as described...
Forum: Lua/XML Help 08-22-21, 01:32 AM
Replies: 3
Views: 622
Posted By Zax
Though initially I didn't want to create another...

Though initially I didn't want to create another frame/object, your solution is fine (just added SetSize()).
Thank you Billtopia :)
Forum: Lua/XML Help 08-21-21, 05:42 AM
Replies: 3
Views: 622
Posted By Zax
Texture Coordinates problem.

I'm trying to display a progress bar made with a texture file in a frame. The goal is to set the width of this texture according to a given parameter: let's say from 0 (no visible texture) to 1...
Forum: Lua/XML Help 08-04-21, 11:32 PM
Replies: 12
Views: 1,759
Posted By Zax
OK, I understand. Thank you for your explanation...

OK, I understand.
Thank you for your explanation SDPhantom.
Forum: Lua/XML Help 08-04-21, 09:53 AM
Replies: 12
Views: 1,759
Posted By Zax
Unless I missed something, after testing with...

Unless I missed something, after testing with tContains, Lunar.Items:BCCIsFlyingMount("Gryphon") returns true.
Right.
Forum: Lua/XML Help 08-01-21, 12:55 PM
Replies: 12
Views: 1,759
Posted By Zax
tContains do the same thing: function...

tContains do the same thing:


function Lunar.Items:BCCIsFlyingMount(mount)
local items = { "Windrider", "Gryphon", "Cenarion War Hippogryph", "Netherwing Drake", "Nether Ray", "Ashes of Al'ar",...
Forum: Lua/XML Help 07-22-21, 12:12 PM
Replies: 4
Views: 765
Posted By Zax
You're right, I should do that only one time on...

You're right, I should do that only one time on first update.
Forum: Lua/XML Help 07-22-21, 12:26 AM
Replies: 4
Views: 765
Posted By Zax
Thanks Fizzlemizz for your code, much better than...

Thanks Fizzlemizz for your code, much better than mine.

However, I still have the same problem and I have to force the slider's thumb to be displayed with:
slider:SetValue(0)
after the scroll has...
Forum: Lua/XML Help 07-21-21, 08:15 AM
Replies: 4
Views: 765
Posted By Zax
Scroller not visible until the scroll offset change?

Hello,

I'm designing a scroller for a scroll frame and I have a problem with the scroller itself: it is not shown until I activate the scroll, by click on the arrow-down btn or by mouse-wheel.
The...
Forum: Lua/XML Help 07-20-21, 02:30 AM
Replies: 5
Views: 1,171
Posted By Zax
OK, I finally solve my problem, with the...

OK, I finally solve my problem, with the following code (maybe it could be optimized):

function .executeCmd(cmdStr, isMacroBoolean, noPrintErrorBoolean) -- return "", or error string
local cmdStr =...
Forum: Lua/XML Help 07-19-21, 09:09 AM
Replies: 5
Views: 1,171
Posted By Zax
Yes :) If I write RunScript("mmmkkhgrttt") I...

Yes :)

If I write RunScript("mmmkkhgrttt") I will have a lua error, and I would like to trap this error.
In fact, I'm now able to do this with something like:
local func, errorMessage =...
Forum: Lua/XML Help 07-18-21, 12:41 PM
Replies: 5
Views: 1,171
Posted By Zax
Well, .executeCmd() function is made for general...

Well, .executeCmd() function is made for general purpose and could receive different kind of commands or macros, something like:
.executeCmd("/sit", true) -- built-in...
Forum: Lua/XML Help 07-18-21, 01:41 AM
Replies: 5
Views: 1,171
Posted By Zax
Testing slash-command before execution?

Hello,

I use the following function to execute slash-commands, or commands:


-- .executeCmd("/sit", true)
-- .executeCmd("print(GetServerTime()), false)

function .executeCmd(cmdStr,...
Forum: Lua/XML Help 07-06-21, 05:38 AM
Replies: 4
Views: 881
Posted By Zax
Great ! Thank you very much Kanegasi :) After...

Great ! Thank you very much Kanegasi :)

After some quick tests, FCF_UnDockFrame(frame) doesn't seem to be called for a docked frame.

Concerning "Blizzard Alerts" channel, its real name is in fact...
Forum: Lua/XML Help 07-05-21, 12:12 PM
Replies: 4
Views: 881
Posted By Zax
Seems to work :) (though I was afraid it was just...

Seems to work :) (though I was afraid it was just a cosmetic trick).
Thanks Fizzlemizz.

Still another question:
I'm unable to check with LUA the following checked channels (sorry, my UI is french...
Forum: Lua/XML Help 07-05-21, 09:51 AM
Replies: 4
Views: 881
Posted By Zax
Undocking ChatFrame?

Hello,

As often Shadowlands loose my chat windows configuration, I'm trying to write a little LUA script to rebuild my chat frames.
I'm creating a new chat frame, say for example "Guild" and I would...
Forum: Lua/XML Help 01-17-21, 06:17 AM
Replies: 6
Views: 2,413
Posted By Zax
Yes. In my case, I just set a local variable to...

Yes. In my case, I just set a local variable to isInitialLogin when PLAYER_ENTERING_WORLD event is fired.
I then use this variable later, on PLAYER_LOGIN event.
Forum: Lua/XML Help 01-17-21, 06:03 AM
Replies: 6
Views: 2,413
Posted By Zax
Great! Thank you Rilgamon for your quick answer :)

Great!
Thank you Rilgamon for your quick answer :)
Forum: Lua/XML Help 01-17-21, 05:39 AM
Replies: 6
Views: 2,413
Posted By Zax
Differentiate fresh login and UI reload?

Hello,

I would like to apply a setting saved in saved variable file only on fresh log in, and not on interface reload.
I'm using PLAYER_LOGIN event to initialize my addons, but this event is also...
Forum: AddOn Search/Requests 12-29-20, 09:53 AM
Replies: 0
Views: 1,759
Posted By Zax
Eye of the Keeper frame replacement?

Is there an addon to replace the Eye of the Keeper (in the Maw) by something smaller?
A thin, horizontal and movable progress bar would be great.

I suppose this big frame can be moved with an addon...
Showing results 1 to 25 of 117