WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   PTR General Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=172)
-   -   GetSpellBookItemInfo returning bad spell (https://www.wowinterface.com/forums/showthread.php?t=55938)

galvin 12-27-17 03:24 PM

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?

Kanegasi 12-27-17 04:52 PM

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

galvin 12-28-17 02:21 AM

Yeah I checked that. Before making code changes wanted to be sure I wasn't missing something.

aallkkaa 12-31-17 09:27 PM

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.

Gethe 01-02-18 02:06 PM

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.

Torhal 01-10-18 05:09 AM

Quote:

Originally Posted by Gethe (Post 326348)
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.


All times are GMT -6. The time now is 04:56 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI