2 sugestions to profiles

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Rabbit
Posts: 6
Joined: Sat Oct 06, 2012 2:49 pm

2 sugestions to profiles

#1 Post by Rabbit »

Sorry my english, isn't very good.

I'd like to sugest something i belive all MM users will profit.

1 - the possibility to create a list of commands for a class, is already done, but if my 2nd class change, i'd like to program in same profile, for example, the warrior/knight, and the warrior/rogue with different skills, and different priority to each one. If the 2nd class is readable, maybe not so hard.

2 - Is known that some classes got skills that in certain sequence are much more useful then alone.
Any possibility that make something like this
<skill name="Skill_1" modifier="" hotkey="MACRO" priority="90" />
<skillgroup1 name="Skill_2" modifier="" hotkey="MACRO" priority="90" />
<skillgroup1 name="Skill_3" modifier="" hotkey="MACRO" />
<skill name="Skill_4" modifier="" hotkey="MACRO" priority="90" />
<skillgroup2 name="Skill_5" modifier="" hotkey="MACRO" priority="90" />
<skillgroup2 name="Skill_6" modifier="" hotkey="MACRO" />
where the Skill_1 And Skill_4 are launched alone, but the skill_2 is always followed by skill_3 as member of 'skillgroup1', and same to 'skillgroup2'
By other words, each skillgroup act like a fixed sequence ?

just hope helping to make MM better

ops, to a moderator or admin,please move this post to RunesOfMagic. thank you in advance
User avatar
Administrator
Site Admin
Posts: 5344
Joined: Sat Jan 05, 2008 4:21 pm

Re: 2 sugestions to profiles

#2 Post by Administrator »

Both of these things are already possible and have been for years.
Rabbit
Posts: 6
Joined: Sat Oct 06, 2012 2:49 pm

Re: 2 sugestions to profiles

#3 Post by Rabbit »

can you please point me in the right direction so i can learn how to use them ?
kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: 2 sugestions to profiles

#4 Post by kuripot »

follow lisa signature

#7,8,9
Rabbit
Posts: 6
Joined: Sat Oct 06, 2012 2:49 pm

Re: 2 sugestions to profiles

#5 Post by Rabbit »

Yes, Kuripot, you are right ...
i realy need how to search, and maybe need to learn english too.

That dont helped me to solve my problem, but ...
who knows some day in the future :roll:
kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: 2 sugestions to profiles

#6 Post by kuripot »

did you try to put all together all elite skill

i use this in my mage/priest and mage/warlock

Code: Select all

	<skills_mage>
		<skill name="MAGE_FLAME"                hotkey="MACRO" priority="100" autouse="true" />
		<skill name="MAGE_ESSENCE_OF_MAGIC"	hotkey="MACRO" priority="80" />
		<skill name="MAGE_FIREBALL"          	hotkey="MACRO" priority="90" autouse="true" />
		<skill name="MAGE_LIGHTNING"         	hotkey="MACRO" priority="80" autouse="false" />
		<skill name="MAGE_PURGATORY_FIRE"       hotkey="MACRO" priority="80" autouse="false" />
		<skill name="MAGE_ELEMENTAL_WEAKNESS"	hotkey="MACRO" priority="80" autouse="false" />
		<skill name="PRIEST_RISING_TIDE"     	hotkey="MACRO" priority="80" autouse="false" />
		<skill name="MAGE_MAGIC_DRAIN"		hotkey="MACRO" priority="80" autouse="false" />
		<skill name="PRIEST_URGENT_HEAL"     	hotkey="MACRO" priority="120" hpper="80"  />
		<skill name="PRIEST_REGENERATE"      	hotkey="MACRO" priority="110" hpper="90" />
		<skill name="MAGE_ENERGY_INFLUX" 	hotkey="MACRO" priority="80" autouse="false" />
		<skill name="MAGE_ELEMENTAL_CATALYSIS"	hotkey="MACRO" priority="80" autouse="false" />
		<skill name="MAGE_INTENSIFICATION"	hotkey="MACRO" priority="80" autouse="false" />
		<skill name="MAGE_ENERGY_WELL" 		hotkey="MACRO" priority="80" autouse="false" />
		<skill name="PRIEST_MAGIC_BARRIER" 	hotkey="MACRO" priority="80" autouse="false" />
		<skill name="MAGE_ELECTROSTATIC_CHARGE" hotkey="MACRO" priority="80" autouse="false" />
		<skill name="WARLOCK_SACES_SCORN"   			hotkey="MACRO" priority="100" />
		<skill name="WARLOCK_WARP_CHARGE"   			hotkey="MACRO" priority="100" />
		<skill name="WARLOCK_SOUL_PAIN"   			hotkey="MACRO" priority="100" />
		<skill name="WARLOCK_PSYCHIC_ARROWS"   			hotkey="MACRO" priority="100" />
	</skills_mage>
kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: 2 sugestions to profiles

#7 Post by kuripot »

it will depend in your onload onskill etc.
Rabbit
Posts: 6
Joined: Sat Oct 06, 2012 2:49 pm

Re: 2 sugestions to profiles

#8 Post by Rabbit »

Yes, is how i have it.
but cant change priority on (in the example) mage skill from one secundary to the other
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: 2 sugestions to profiles

#9 Post by lisa »

I did a forum search for priority and got this

Code: Select all

      changeProfileSkill("MAGE_FLAME", "AutoUse", true);
      changeProfileSkill("MAGE_FIREBALL", "AutoUse", true);
      changeProfileSkill("MAGE_FLAME", "Priority", 90);
      changeProfileSkill("MAGE_FIREBALL", "Priority", 100);
So in your profile onload you could check what your second class is and adjust values as required, yes?
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: 2 sugestions to profiles

#10 Post by rock5 »

The priority is only used when loading the skills to put the skills in order. If you change the priority afterward it will have no effect to the cast order unless you resort the skills. There is some code in the survival script that resorts the skills.

Code: Select all

table.sort(settings.profile.skills, function(a,b) return a.priority > b.priority end)
Just run that after changing priority.
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: 2 sugestions to profiles

#11 Post by lisa »

rock5 wrote:The priority is only used when loading the skills to put the skills in order. If you change the priority afterward it will have no effect to the cast order unless you resort the skills. There is some code in the survival script that resorts the skills.

Code: Select all

table.sort(settings.profile.skills, function(a,b) return a.priority > b.priority end)
Just run that after changing priority.
I keep forgeting the priority is set up that way lol

should just add that code to the changeProfileSkill function if priority is being changed, wouldn't be hard =)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Jandrana
Posts: 187
Joined: Thu Jul 05, 2012 5:53 am

Re: 2 sugestions to profiles

#12 Post by Jandrana »

rock5 wrote:The priority is only used when loading the skills to put the skills in order. If you change the priority afterward it will have no effect to the cast order unless you resort the skills. There is some code in the survival script that resorts the skills.

Code: Select all

table.sort(settings.profile.skills, function(a,b) return a.priority > b.priority end)
Just run that after changing priority.
Why does the bot not sort the skills after processing the onLoad section? Will this hurt anyone?
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: 2 sugestions to profiles

#13 Post by rock5 »

That wouldn't help if the skill priority is changed elsewhere, for instance at a waypoint. Maybe a better idea might be to have the changeProfileSkill function resort the skills if the value being changed is the priority.
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: 2 sugestions to profiles

#14 Post by lisa »

lisa wrote: should just add that code to the changeProfileSkill function if priority is being changed, wouldn't be hard =)
I still have the bad habit of editing in stuff lol
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: 2 sugestions to profiles

#15 Post by rock5 »

LoL. Didn't see that.

I think I will add it to my next commit.

BTW priority is not capitalized. Most of the other values are but priority isn't. So you would use something like

Code: Select all

      changeProfileSkill("MAGE_FLAME", "priority", 90);
  • 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
Rabbit
Posts: 6
Joined: Sat Oct 06, 2012 2:49 pm

Re: 2 sugestions to profiles

#16 Post by Rabbit »

In that case, maybe better make something like

if 2ndClass = "Priest"
Skill List
end

if 2ndClass = "Warlock"
Skill List
end
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: 2 sugestions to profiles

#17 Post by rock5 »

Considering that most people wouldn't be changing their secondary class on a regular basis and even if they did, in most cases, they would only need to change a few skills which can be done in the onload of the profile, I don't think it's worth the effort to add that functionality.

Just add all your skills then in the profile onload do

Code: Select all

if player.Class1 == CLASS_MAGE and player.Class2 == CLASS_PRIEST then
    disable any skills you don't want to use and change priority for this class combo
elseif player.Class1 == CLASS_MAGE and player.Class2 == CLASS_WARLOCK then
    disable any skills you don't want to use and change priority for this class combo
etc..
  • 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
Rabbit
Posts: 6
Joined: Sat Oct 06, 2012 2:49 pm

Re: 2 sugestions to profiles

#18 Post by Rabbit »

Thank you very much rock5, this solve my problem :D

Also a big thanks to all other that helped me to understand a bit more how to program in MM :)
Post Reply