Change class, howto in new system with 3 classes?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Change class, howto in new system with 3 classes?

#1 Post by botje »

Like title states, anyone knows how to now its changed to 3 classes?

Botje
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Change class, howto in new system with 3 classes?

#2 Post by botje »

perhaps someone with more knwoledge then me on lua could take a look at how this addon does switch?

thanx in advance mates.

Botje
Attachments
ClassExchangeHelper.rar
(5.76 KiB) Downloaded 98 times
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Change class, howto in new system with 3 classes?

#3 Post by rock5 »

I think in the end all you need is the in game function "ExchangeClass".

* Make sure you don't have any addons, that auto switch class, enabled.
* Target the npc.
* Select option to change class.
* Issue command

Code: Select all

RoMScript("ExchangeClass("..class1..","..class2..")")
  • where 'class1' and 'class2' are the first and second class you want to set.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Change class, howto in new system with 3 classes?

#4 Post by botje »

like,

RoMScript("ExchangeClass("..1..","..3..")")

?

botje
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Change class, howto in new system with 3 classes?

#5 Post by rock5 »

The example I did was using varables but if you know you want to change to 1,3 then this will suffice

Code: Select all

RoMScript("ExchangeClass(1,3)")
Although, what you wrote would also work.

Please note that the numbers used for the classes in game are different to the ones used by the bot. I'm not sure why. The bot starts at '1' for warrior and the game starts at 2 for warrior. So to change to warrior/rogue you could use

Code: Select all

RoMScript("ExchangeClass("..CLASS_WARRIOR+1..","..CLASS_ROGUE+1..")")
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Change class, howto in new system with 3 classes?

#6 Post by botje »

thanx mate, and i proberly know why were using different numbers, ingame GM is class 1, which we dont use obvious :P

Botje
Post Reply