Posted By: lilsparky
i'm guessing glypher just uses the tradeskill api to check if the current tradeskill opened is inscription which would be the case if you view an alt's inscription tradeskill.
<blockquote>Auc-Util-Glypher/Glypher.lua</blockquote>
--check that we have inscription as our chosen TS
local hasInscription = GetSpellInfo("Inscription")
local currentSelection = GetTradeSkillLine(1)
if not hasInscription then print("It does not look like this character has Inscription") return end
if currentSelection ~= "Inscription" then
CastSpellByName("Inscription") --open trade skill
end
if not hasInscription then print("It does not look like this character has Inscription") return end
--if not hasInscription then print("It does not look like this character has Inscription") return end
Yes pricingSupport/Informant_support is throwing a compare number to nil on line 72 when I log in with my bank toon who presently has no professions.Posted By: Apaseall
I'm using Skillet-lilsparkys-clone-r166.zip.
I'll take up fishing.
--edit--
Looks like I would need to be level 5 to even learn how to fish.
So I'm not going to be learning a profession it seems.
No point in leveling a bank toon. Plus the point of my bank toon is how much money can a lvl 1 toon make just from the AH.
Odd. Not sure why level is an issue. My other toons are way over 10.Posted By: Apaseall
[quote]Posted By: weltmeisterPosted By: lilsparky
i'm guessing glypher just uses the tradeskill api to check if the current tradeskill opened is inscription which would be the case if you view an alt's inscription tradeskill.
<blockquote>Auc-Util-Glypher/Glypher.lua</blockquote>
--check that we have inscription as our chosen TS
local hasInscription = GetSpellInfo("Inscription")
local currentSelection = GetTradeSkillLine(1)
if not hasInscription then print("It does not look like this character has Inscription") return end
if currentSelection ~= "Inscription" then
CastSpellByName("Inscription") --open trade skill
end
local currentSelection = GetTradeSkillLine() -- the "1" in the original code is superfluous -- this function takes no arguments
if currentSelection ~= "Inscription" then
local hasInscription = GetSpellInfo("Inscription")
if not hasInscription then print("It does not look like this character has Inscription") return end
CastSpellByName("Inscription") --open trade skill
end
Posted By: lilsparky
just rearrange your logic a bit to prioritize the currently opened tradeskill and only check to see if inscription is known if the current skill is not inscription.
local currentSelection = GetTradeSkillLine() -- the "1" in the original code is superfluous -- this function takes no arguments
if currentSelection ~= "Inscription" then
local hasInscription = GetSpellInfo("Inscription")
if not hasInscription then print("It does not look like this character has Inscription") return end
CastSpellByName("Inscription") --open trade skill
end
lil sparky any ETA on getting the latest workshop error free? i get cascading errors with the latest beta version. i reverted back to the release and the errors stopped. i think it stems from the informant support error i posted on curse.Posted By: MattBnr
It looks like you're new here. If you want to get involved, click one of these buttons!