User
Pass
2FA
 
 

[API] API_GetItemSpell doesn't return spellID only spellName

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> WOW -> Fixed / Closed bugs
Author Message1025
Kkthnxbye

[KkthnxUI Developer]



Status: Offline
(since 24-12-2020 16:42)
Joined: 16 Nov 2011
Posts: 332, Topics: 175
Location: Attempt to index local 'Location' (a nil value)

Reputation: 136.8
Votes: 21

        Battletag: postrow.ID_BATTLE_NET}  KkthnxTV 
Post Posted: 11-03-2018, 11:48:12 | Translate post to: ... (Click for more languages)

WoW Freakz link: nil
Bug description: API_GetItemSpell is broken and not implemented properly. It should return the spellID as well. It only returns the spellName and nothing for spellID.

Proof: try /run print(GetItemSpell(141023)) you only get "Empowering" when you should get "Empowering 228964"

https://wow.gamepedia.com/API_GetItemSpell


Success isn't what you've done compared to others. Success is what you've done compared to what you were made to do.

0 0
  
Back to top
View user's profile Send private message
kzm

[Mentally Stable]



Status: Offline
(since 24-06-2018 18:06)
Joined: 07 Jan 2018
Posts: 21, Topics: 5
Location: Russian Federation

Reputation: 20.7
Votes: 1

Post Posted: 07-04-2018, 00:48:04 | Translate post to: ... (Click for more languages)

http://wowprogramming.com/docs/api/GetItemSpell.html

I don't see it. This API will return name and rank.

Maybe your information is out of date?

0 0
  
Back to top
View user's profile Send private message
Kkthnxbye

[KkthnxUI Developer]



Status: Offline
(since 24-12-2020 16:42)
Joined: 16 Nov 2011
Posts: 332, Topics: 175
Location: Attempt to index local 'Location' (a nil value)

Reputation: 136.8
Votes: 21

        Battletag: postrow.ID_BATTLE_NET}  KkthnxTV 
Post Posted: 07-04-2018, 06:09:32 | Translate post to: ... (Click for more languages)

My info and source is 100% correct.

http://wowprogramming.com/docs/api/GetItemSpell.html is not a reliable source as that site isn't and has not been updated really since Cataclysm.


Success isn't what you've done compared to others. Success is what you've done compared to what you were made to do.

0 0
  
Back to top
View user's profile Send private message
Goldpaw

[Mentally Stable]



Status: Offline
(since 11-01-2019 14:42)
Joined: 20 Jun 2017
Posts: 18, Topics: 7
Location: Norway

Reputation: 41.6
Votes: 1

Post Posted: 07-04-2018, 09:44:37 | Translate post to: ... (Click for more languages)

This is just too easy to prove. Log into any retail character, paste
Code:
/run print(GetItemSpell(141023))
into the chat, hit Enter, and see the results. Proven. The correct API should have the spellID of the spell cast by the item as its 3rd return value:


0 0
  
Back to top
View user's profile Send private message

  Topic locked


Topic is closed, you cannot post any messages in it anymore




 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> WOW -> Fixed / Closed bugs  


The time now is 25-04-2025, 05:38:37
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password