Quantcast
Profession Spells not found in spell book - WoWInterface
Thread Tools Display Modes
12-14-10, 10:31 AM   #1
Brillynt
A Black Drake
 
Brillynt's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 77
Profession Spells not found in spell book

Has anyone else had problems finding profession spells in the spell book when searching for them. I have a small addon that I use personally to set up my action bars and before 4.0 I could find all of the profession spells with no problem.
Now when I search for fishing, smelting, lifeblood they are not being found in the spell book.
  Reply With Quote
12-14-10, 11:02 AM   #2
cashdash
A Deviate Faerie Dragon
 
cashdash's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 12
Open Your Spellbook and look for the Tab named Professions at the bottom of the spellbook.
__________________
  Reply With Quote
12-14-10, 11:48 AM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,798
Except that's not a Lua way to find them. Look to see how Learning Aid does it.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
12-14-10, 12:44 PM   #4
ricks322
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Jun 2009
Posts: 154
Or just press "k"..

Last edited by ricks322 : 12-14-10 at 11:16 PM.
  Reply With Quote
12-14-10, 04:00 PM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,798
Again..... That's not how an addon can gather the information.

/me points at the OP's question and the forum this is in.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
12-14-10, 04:33 PM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,552
I'm not sure if this is still valid, not tried it myself yet, but it is from a 4.0 post blizz framework download folder I have. Hopefully these will help you if you haven't tried these yet.

Code:
local prof1, prof2, arch, fish, cook, firstAid = GetProfessions();

local name, texture, rank, maxRank, numSpells, spelloffset, skillLine = GetProfessionInfo(index);

local prof_title = "";
for i=1,#PROFESSION_RANKS do
  local value,title = PROFESSION_RANKS[i][1], PROFESSION_RANKS[i][2]; 
  if maxRank < value then break end
  prof_title = title;		
end
__________________
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Profession Spells not found in spell book

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off