Forum: Lua/XML Help
01-05-23, 01:04 PM
|
Replies: 13
Views: 5,198
The data stays up to date once the data...
The data stays up to date once the data populates... You just do a C_TradeSkillUI.GetProfessionInfoBySkillLineID(skillLine) and the data for the levels remains correct even if your skill levels up.
|
Forum: Lua/XML Help
01-04-23, 09:22 PM
|
Replies: 13
Views: 5,198
Now what I will have to mess with is seeing if...
Now what I will have to mess with is seeing if the data updates when you receive a skill up or if it remains static until the window is opened again... Since we have to open the window just to get...
|
Forum: Wish List
01-04-23, 09:11 PM
|
Replies: 1
Views: 1,783
I finally found a way to get past the hardware...
I finally found a way to get past the hardware event required for opening the Professions Frame. It is several steps that require some time between them or it will fail to open the frame. In truth...
|
Forum: Lua/XML Help
01-04-23, 08:28 PM
|
Replies: 13
Views: 5,198
|
Forum: Wish List
01-04-23, 10:50 AM
|
Replies: 1
Views: 1,783
C_TradeSkillUI.GetProfessionInfoBySkillLineID
C_TradeSkillUI.GetProfessionInfoBySkillLineID should always return the full level and maximum level for known skills when called, not just after the Professions Frame has been opened as the frame...
|
Forum: Lua/XML Help
01-04-23, 06:18 AM
|
Replies: 13
Views: 5,198
So, I guess I will have to scan/cache the data...
So, I guess I will have to scan/cache the data whenever they close the profession skills window (as there is an event for that). I had hard coded the max levels before so I can still do that but...
|
Forum: Lua/XML Help
01-03-23, 02:49 PM
|
Replies: 13
Views: 5,198
|
Forum: Lua/XML Help
01-03-23, 09:08 AM
|
Replies: 13
Views: 5,198
I had tried that but never got the skill...
I had tried that but never got the skill levels... I didn't include the dependency... I shall try it again with setting the dependency and see what I get with it. Thanks for the help... I wouldn't...
|
Forum: Lua/XML Help
01-02-23, 08:33 PM
|
Replies: 13
Views: 5,198
|
Forum: Lua/XML Help
01-02-23, 03:09 PM
|
Replies: 13
Views: 5,198
Trade Skill levels
So, has anyone figured out how to get the player's trade skill levels now? C_TradeSkillUI.GetProfessionInfoBySkillLineID returns a table with skill info but the current and max level are 0... (for...
|
Forum: Lua/XML Help
08-22-21, 08:22 AM
|
Replies: 2
Views: 2,297
|
Forum: Lua/XML Help
08-21-21, 12:29 PM
|
Replies: 3
Views: 1,732
something like this
local statusbar = CreateFrame("StatusBar", nil, UIParent)
statusbar:SetPoint("CENTER", UIParent, "CENTER", 0, -250)
statusbar:SetStatusBarTexture("Path to your texture...
|
Forum: Lua/XML Help
08-21-21, 12:16 PM
|
Replies: 3
Views: 1,732
|
Forum: Lua/XML Help
08-21-21, 11:24 AM
|
Replies: 2
Views: 2,297
Time to die
So I am doing something like the following to figure out how long it will take a mob to die...is there a better way or a "smoother" or more accurate way (it is a time to die driven status bar being...
|
Forum: AddOn Help/Support
08-01-21, 07:53 AM
|
Replies: 2
Views: 1,854
|
Forum: AddOn Help/Support
07-31-21, 01:54 PM
|
Replies: 2
Views: 1,854
|
Forum: General Authoring Discussion
06-12-14, 08:04 AM
|
Replies: 4
Views: 5,396
so by running the scriptlette(well slightly...
so by running the scriptlette(well slightly different version as ran from within SlashMagic) I got the following after...
I also found by staring at blizzard code (FrameXML\ChatFrame.lua) that ID is...
|
Forum: General Authoring Discussion
06-11-14, 07:13 PM
|
Replies: 4
Views: 5,396
|
Forum: General Authoring Discussion
06-10-14, 06:13 PM
|
Replies: 4
Views: 5,396
did you check to see what...
did you check to see what ChatTypeInfo["WHISPER"].r or ChatTypeInfo["WHISPER"].g or ChatTypeInfo["WHISPER"].b
ChatTypeInfo["WHISPER"].id has a description of ?? on http://www.wowwiki.com/ChatTypeInfo...
|
Forum: Lua/XML Help
05-11-14, 01:33 PM
|
Replies: 21
Views: 10,281
I see what you are saying there... that when...
I see what you are saying there... that when defining a method it adds the 'self' variable in before the function variables... I was thinking that it did it by setting the first variable to self
I...
|
Forum: Lua/XML Help
05-11-14, 06:54 AM
|
Replies: 21
Views: 10,281
|
Forum: Lua/XML Help
05-10-14, 12:59 PM
|
Replies: 21
Views: 10,281
|
Forum: Lua/XML Help
05-10-14, 09:52 AM
|
Replies: 21
Views: 10,281
|
Forum: Lua/XML Help
05-09-14, 08:17 PM
|
Replies: 4
Views: 4,676
so this is what I came up with with an...
so this is what I came up with with an explanation and it even works
http://s.cdn.wowinterface.com/preview/pvw62618.jpg
local eframe = 0
local oldpos = -1
local oldLinePixels=...
|
Forum: Lua/XML Help
05-07-14, 07:42 PM
|
Replies: 4
Views: 4,676
|