Page 1 of 1

Dual spec popup script?

Posted: Thu Mar 18, 2010 4:06 pm
by unicron
I was scoping around on another forums and they were suggesting that if someone could figure out the script to popup the dual spec box; you would be able to respec essentially anywhere. Right now you can activate it at the npc and simply run around anywhere you want and change it at anytime. Anyone ever figure this out?

Re: Dual spec popup script?

Posted: Thu Mar 18, 2010 7:26 pm
by Administrator
Try ExchangeClassFrame:Show(), ExchangeClass(main, sub), and ExchangeClassFrame:Hide()?

Re: Dual spec popup script?

Posted: Thu Mar 18, 2010 7:33 pm
by unicron
Administrator wrote:Try ExchangeClassFrame:Show(), ExchangeClass(main, sub), and ExchangeClassFrame:Hide()?
Show and Hide work. When the Show frame pops up it gives a class error, when I try to change it.

If I use ExchangeClass(main, sub); it expects some type of integer. Not sure what number represents what. I used my level, but no go.

Re: Dual spec popup script?

Posted: Thu Mar 18, 2010 7:50 pm
by unicron
There must be some other trigger for it to work. Sort of like being able to open your bank and see what is inside of it anywhere, but you can't technically interact with it. I'm thinking the class should though, since you can literally go anywhere as long as the popup box doesn't go away and you can change your class. (can't go in instances etc)

Re: Dual spec popup script?

Posted: Thu Mar 18, 2010 7:58 pm
by Administrator
unicron wrote:Not sure what number represents what. I used my level, but no go.

Code: Select all

CLASS_WARRIOR = 1;
CLASS_SCOUT = 2;
CLASS_ROGUE = 3;
CLASS_MAGE = 4;
CLASS_PRIEST = 5;
CLASS_KNIGHT = 6;
CLASS_WARDEN = 7;
CLASS_DRUID = 8;

Re: Dual spec popup script?

Posted: Thu Mar 18, 2010 8:01 pm
by unicron
As Warden/Scout I tried...

/script ExchangeClass(2, 7);

No go though. I tried it with the box open and closed.

Re: Dual spec popup script?

Posted: Thu Mar 18, 2010 8:04 pm
by unicron
Oh snap, they ninja fixed the class change bug this past week with all those updates. It auto closes if you get too far from the npc. It probably patched this as well I would think.