Forum: Lua/XML Help
09-03-21, 01:16 PM
|
Replies: 12
Views: 1,774
|
Forum: Lua/XML Help
09-02-21, 06:37 AM
|
Replies: 12
Views: 1,774
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,774
|
Forum: Lua/XML Help
08-26-21, 12:36 PM
|
Replies: 12
Views: 1,774
|
Forum: Lua/XML Help
08-26-21, 08:20 AM
|
Replies: 12
Views: 1,774
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,774
|
Forum: Lua/XML Help
08-22-21, 01:32 AM
|
Replies: 3
Views: 993
|
Forum: Lua/XML Help
08-21-21, 05:42 AM
|
Replies: 3
Views: 993
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: 2,443
|
Forum: Lua/XML Help
08-04-21, 09:53 AM
|
Replies: 12
Views: 2,443
|
Forum: Lua/XML Help
08-01-21, 12:55 PM
|
Replies: 12
Views: 2,443
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: 1,132
|
Forum: Lua/XML Help
07-22-21, 12:26 AM
|
Replies: 4
Views: 1,132
|
Forum: Lua/XML Help
07-21-21, 08:15 AM
|
Replies: 4
Views: 1,132
|
Forum: Lua/XML Help
07-20-21, 02:30 AM
|
Replies: 5
Views: 1,522
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,522
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,522
|
Forum: Lua/XML Help
07-18-21, 01:41 AM
|
Replies: 5
Views: 1,522
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: 1,220
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: 1,220
|
Forum: Lua/XML Help
07-05-21, 09:51 AM
|
Replies: 4
Views: 1,220
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,806
|
Forum: Lua/XML Help
01-17-21, 06:03 AM
|
Replies: 6
Views: 2,806
|
Forum: Lua/XML Help
01-17-21, 05:39 AM
|
Replies: 6
Views: 2,806
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,974
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...
|