question for profil config

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

question for profil config

#1 Post by C3PO »

for one of my waypoints I wan't that my char is fighting with the normal attack. (like useskill(1,1))
can someone give me advise how to set that up.

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

Re: question for profil config

#2 Post by rock5 »

I not sure if this is what you're after but when I wanted to use the normal attack to train my weapon skill I set hotkey="VK_1" with only one attack skill, eg.

Code: Select all

		<skill name="ROGUE_SHADOWSTAB"    hotkey="VK_1" priority="90">
Then I put the Attack skill in the first action bar slot. When it tried to use Shadowstab it would use Attack instead. When I wanted it to use Shadowstab again I just put Shadowstab in the first action bar slot again.
  • 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
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

Re: question for profil config

#3 Post by C3PO »

Sorry, I forgot to point out that my Char is Mage/Priest.
Would that still work?
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: question for profil config

#4 Post by lisa »

C3PO wrote:Sorry, I forgot to point out that my Char is Mage/Priest.
Would that still work?
Rock posted it as an example, so using the rogue skill won't work for your character because it doesn't have rogue skills.

You need an instant cast with no cooldown, MAGE_PURGATORY_FIRE comes to mind for your character.
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: question for profil config

#5 Post by rock5 »

I believe m/p doesn't have any instant cast spammable skills so I'm not sure.

I think the other way of doing it (typically for custom macroes) is to add a fake skill to the skills database, with no Id, then add it to your profile with an action bar hotkey.

So add this to the skills.xml file

Code: Select all

	<skill name="ALL_ATTACK" type="damage" target="enemy"/>
then you can use this in your profile

Code: Select all

      <skill name="ALL_ATTACK"    hotkey="VK_1" priority="90">
Edit: Forgot about Purgatory Fire. That should work. But I wonder if maybe we should add 'Attack' somehow to the skills database?
  • 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
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

Re: question for profil config

#6 Post by C3PO »

ok now I understand what you mean! thanks a lot.

But addtional - maybe for Lisa - is it possible to manipulate the skills directly from the waypointfile?
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: question for profil config

#7 Post by lisa »

rock5 wrote: But I wonder if maybe we should add 'Attack' somehow to the skills database?
I don't feel it is needed, the bot uses 'Attack' for melee chars automatically as part of the default. So the only time people would need to actually tell the bot to use attack is if they are doing something specific, like leveling weapon skills.

In that case I would just do a specific WP for it and use the RoMScript to make bot use attack. Even a userfuction would be enough.
But addtional - maybe for Lisa - is it possible to manipulate the skills directly from the waypointfile?
I would try making it use attack instead of normal damage skills.
So change type to melee and then onpreskillcast use attack and return false.

This is untested.

Code: Select all

	<onLoad>
	changeProfileOption("COMBAT_TYPE", "melee")	
	settings.profile.events.onPreSkillCast = function()
	if arg1.Type == STYPE_DAMAGE then
		RoMScript("UseSkill(1,1)")
		return false
	end
	end
	</onLoad>
--=== Edited ===--
Forget an 'end'
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
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

Re: question for profil config

#8 Post by C3PO »

[quote="lisa
...
This is untested.

Code: Select all

	<onLoad>
	changeProfileOption("COMBAT_TYPE", "melee")	
	settings.profile.events.onPreSkillCast = function()
	if arg1.Type == STYPE_DAMAGE then
		RoMScript("UseSkill(1,1)")
		return false
	end
	end
	</onLoad>
--=== Edited ===--
Forget an 'end'[/quote]


works fine! Thanks
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: question for profil config

#9 Post by rock5 »

C3PO wrote:is it possible to manipulate the skills directly from the waypointfile?
Try adding this to the onload of your waypoint file,

Code: Select all

	for k,v in pairs(settings.profile.skills) do
		if v.Type == STYPE_DAMAGE then
			if v.Name == "MAGE_PURGATORY_FIRE" then
				v.AutoUse = true
				v.hotkey = key.VK_1
			else
				v.AutoUse = false
			end
		end
	end
This will set Purgatory Fire to use action bar key 1 and disable all other attack skills. This requires that you have Purgatory Fire in your profile and Attack in action bar key 1. Purgatory Fire can be disabled in your profile with autouse="false" if you don't usually use it.
  • 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
Post Reply