Thread Tools Display Modes
12-27-17, 03:24 PM   #1
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
GetSpellBookItemInfo returning bad spell

On the PTR, this function returns a spell that can't be found by GetSpellInfo

So on my warrior GetSpellBookItemInfo return spellID 161608
Then GetSpellInfo returns nil

Did something change or this a bug?
  Reply With Quote
12-27-17, 04:52 PM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
According to wowhead, that spell doesn't exist in either live or ptr. Probably a bug, since it's ptr.

https://www.wowhead.com/spell=161608
https://ptr.wowhead.com/spell=161608
  Reply With Quote
12-28-17, 02:21 AM   #3
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
Yeah I checked that. Before making code changes wanted to be sure I wasn't missing something.
  Reply With Quote
12-31-17, 09:27 PM   #4
aallkkaa
A Warpwood Thunder Caller
 
aallkkaa's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2017
Posts: 98
More or less random input:
I had issues withGetSpellBookItemInfo on Live, when called with BOOKTYPE_PET instead of BOOKTYPE_SPELL (or nil). I was getting IDs 9 or 10 digits long, sometimes negatives! GetSpellInfo got them right for me though.
  Reply With Quote
01-02-18, 02:06 PM   #5
Gethe
RealUI Developer
 
Gethe's Avatar
Premium Member
Featured
Join Date: Sep 2008
Posts: 942
On ptr they are changing spell names to async. Register SPELL_NAME_UPDATE to know when the name is available. Here is an example of the change.
__________________
Knowledge = Power; Be OP

  Reply With Quote
01-10-18, 05:09 AM   #6
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Originally Posted by Gethe View Post
On ptr they are changing spell names to async. Register SPELL_NAME_UPDATE to know when the name is available. Here is an example of the change.
That's been reverted for the time being. Maybe next patch they'll bring it back.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote

WoWInterface » PTR » PTR General Discussion » GetSpellBookItemInfo returning bad spell

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