Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Kobiesan on July 01, 2017, 05:11:20 am

Title: Auras: Unknown Shapeshift Type: XX
Post by: Kobiesan on July 01, 2017, 05:11:20 am
I created some new stances and there's a few glaring problems with them.

Firstly, whenever entering or leaving one of the new stances I receive this error "Auras: Unknown Shapeshift Type: XX" with XX being my stances ID in SpellShapeShiftforms.dbc. I have a custom patch that has my stance spells and the shapeshiftforms patched into it.

Secondly, I can only put abilities on the action bars when I'm in one of my first four stances. The fifth stance and the ones after that; I am unable to put abilities on the action bars.

Thirdly, on those same action bars buttons when in the non-working stances there are numbers indicating the hotkey for the action bar. Those action bar buttons are also darker than the rest.

(http://i.imgur.com/U8qqvTY.png)

Can anyone help?
Title: Re: Auras: Unknown Shapeshift Type: XX
Post by: Kobiesan on July 02, 2017, 09:53:26 pm
So I've solved most of my problems except the problem with not being able to put abilities on my 5th-12th stances action bars. I think it has something to do with framexml but I've looked and haven't found anything.

Also, If I'm in a stance with a certain weapon then unequip the weapon, I get dropped from the stance. But when you reequip the weapon the stance does not light up to indicate that it's usable.
Title: Re: Auras: Unknown Shapeshift Type: XX
Post by: Grymskvll on July 03, 2017, 11:31:38 am
Best guess is that the game simply runs out of actionbars. You can maybe test this by restricting the actionbar number for your shapeshift forms to 0-4 in SpellShapeshiftForm, like Blizzard seems to do.

http://wowwiki.wikia.com/wiki/ActionSlot (http://wowwiki.wikia.com/wiki/ActionSlot)
Quote
As of 1.11, World of Warcraft allows 120 Action Slot IDs, numbered from 1-120.
Quote
As of WoW 2.3, action slots 121-132 exist but are not settable: they refer to the default UI's main action bar while possessing a target
Quote
Druid Bonus Action Bars

ActionBar page 1 Cat Form: slots 73 to 84
ActionBar page 1 Prowl: slots 85 to 96
ActionBar page 1 Bear Form: slots 97 to 108
ActionBar page 1 Moonkin Form: slots 109 to 120

You can see that druids with their 4 extra actionbar pages use up the very last actionslot that's settable. So why can't you set the actionbar number to 5-9 in SpellShapeshiftForm? For some reason those actionbar IDs start at the 7th actionbar, so with 0 you get the first actionbar (or no change?), and with 1-3 you get the 7-10th actionbars.

I don't immediately know if it's possible to add more, or what you have to change.
Title: Re: Auras: Unknown Shapeshift Type: XX
Post by: Kobiesan on July 04, 2017, 05:02:27 am
Best guess is that the game simply runs out of actionbars. You can maybe test this by restricting the actionbar number for your shapeshift forms to 0-4 in SpellShapeshiftForm, like Blizzard seems to do.

http://wowwiki.wikia.com/wiki/ActionSlot (http://wowwiki.wikia.com/wiki/ActionSlot)
Quote
As of 1.11, World of Warcraft allows 120 Action Slot IDs, numbered from 1-120.
Quote
As of WoW 2.3, action slots 121-132 exist but are not settable: they refer to the default UI's main action bar while possessing a target
Quote
Druid Bonus Action Bars

ActionBar page 1 Cat Form: slots 73 to 84
ActionBar page 1 Prowl: slots 85 to 96
ActionBar page 1 Bear Form: slots 97 to 108
ActionBar page 1 Moonkin Form: slots 109 to 120

You can see that druids with their 4 extra actionbar pages use up the very last actionslot that's settable. So why can't you set the actionbar number to 5-9 in SpellShapeshiftForm? For some reason those actionbar IDs start at the 7th actionbar, so with 0 you get the first actionbar (or no change?), and with 1-3 you get the 7-10th actionbars.

I don't immediately know if it's possible to add more, or what you have to change.

There must be a way to add more action bar slots. I feel like there is supposed to be an actionbarframe.lua but there is only actionbarframe.xml
Title: Re: Auras: Unknown Shapeshift Type: XX
Post by: Kobiesan on July 04, 2017, 09:08:36 am
Well actionbarframe.xml is connected to actionbar.lua but I can't find anything useful in there.
Title: Re: Auras: Unknown Shapeshift Type: XX
Post by: Kobiesan on July 05, 2017, 06:05:40 am
I'll pay $10 paypal for a fix.