[SOLVED] Spell.RankName NULL

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Gnits
a snow griffon
a snow griffon
Posts: 371
Joined: Fri Jun 03, 2005 7:56 pm

[SOLVED] Spell.RankName NULL

Post by Gnits » Sun Nov 02, 2014 10:11 am

I have been working with Spells and Ranks and discovered that the rank number is working but RankName is always returning NULL.

While I am asking you to look into this, is the proper way to get at the RankName in a plugin pSpell->RankName?

Gnits

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: Spell.RankName NULL

Post by EqMule » Tue Nov 04, 2014 10:33 am

Looking into this
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: Spell.RankName NULL

Post by EqMule » Tue Nov 04, 2014 11:17 am

Fixed in MQ2-20141106.zip


to use RankName from a plugin search for "case RankName:" and see how I use it in the source. There is no "RankName" member of the spell tlo, so we go about it by comparing category and name...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.