2 sugestions to profiles
2 sugestions to profiles
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
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
- Administrator
- Site Admin
- Posts: 5344
- Joined: Sat Jan 05, 2008 4:21 pm
Re: 2 sugestions to profiles
Both of these things are already possible and have been for years.
Re: 2 sugestions to profiles
can you please point me in the right direction so i can learn how to use them ?
Re: 2 sugestions to profiles
follow lisa signature
#7,8,9
#7,8,9
Re: 2 sugestions to profiles
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
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
Re: 2 sugestions to profiles
did you try to put all together all elite skill
i use this in my mage/priest and mage/warlock
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>Re: 2 sugestions to profiles
it will depend in your onload onskill etc.
Re: 2 sugestions to profiles
Yes, is how i have it.
but cant change priority on (in the example) mage skill from one secundary to the other
but cant change priority on (in the example) mage skill from one secundary to the other
Re: 2 sugestions to profiles
I did a forum search for priority and got this
So in your profile onload you could check what your second class is and adjust values as required, yes?
Code: Select all
changeProfileSkill("MAGE_FLAME", "AutoUse", true);
changeProfileSkill("MAGE_FIREBALL", "AutoUse", true);
changeProfileSkill("MAGE_FLAME", "Priority", 90);
changeProfileSkill("MAGE_FIREBALL", "Priority", 100);
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: 2 sugestions to profiles
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.
Just run that after changing priority.
Code: Select all
table.sort(settings.profile.skills, function(a,b) return a.priority > b.priority end)- 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
Re: 2 sugestions to profiles
I keep forgeting the priority is set up that way lolrock5 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.Just run that after changing priority.Code: Select all
table.sort(settings.profile.skills, function(a,b) return a.priority > b.priority end)
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: 2 sugestions to profiles
Why does the bot not sort the skills after processing the onLoad section? Will this hurt anyone?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.Just run that after changing priority.Code: Select all
table.sort(settings.profile.skills, function(a,b) return a.priority > b.priority end)
Re: 2 sugestions to profiles
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
Re: 2 sugestions to profiles
I still have the bad habit of editing in stuff lollisa wrote: 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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: 2 sugestions to profiles
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
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
Re: 2 sugestions to profiles
In that case, maybe better make something like
if 2ndClass = "Priest"
Skill List
end
if 2ndClass = "Warlock"
Skill List
end
if 2ndClass = "Priest"
Skill List
end
if 2ndClass = "Warlock"
Skill List
end
Re: 2 sugestions to profiles
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
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
Re: 2 sugestions to profiles
Thank you very much rock5, this solve my problem 
Also a big thanks to all other that helped me to understand a bit more how to program in MM
Also a big thanks to all other that helped me to understand a bit more how to program in MM