using food and potions

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
oblivion2004
Posts: 7
Joined: Thu May 13, 2010 10:01 pm

using food and potions

#1 Post by oblivion2004 »

I want to know if their is any way to use food or potions on regular intervals. I don't really know which potions I want to use but I just want to know if you can tell the bot to scan for a certain item and use it on a regular basis?

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

Re: using food and potions

#2 Post by rock5 »

What do you mean by "regular intervals"? Do you want it time based or do you mean event triggered like onLeaveCombat for example?
  • 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
oblivion2004
Posts: 7
Joined: Thu May 13, 2010 10:01 pm

Re: using food and potions

#3 Post by oblivion2004 »

i want in regular time intervals. like every fifteen min or so
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: using food and potions

#4 Post by rock5 »

I think I've read that others have set up a macro in an action bar button then created a fake "skill" in skills.xml then adding it to the character profile. Should work for potions too.

So, for instance, you could add something like this to skills.xml;

Code: Select all

	<skill name="MAGE_USEITEM" mana="1" cooldown="900" type="buff" target="self" />
Then add;

Code: Select all

	<skill name="MAGE_USEITEM"   hotkey="VK_5" priority="60" />
to your profile so it should use whatever potion or item that's in action bar 5 every 15 minutes.

Of course sometimes rombot fails to caste skills and doesn't realize it's failed. So if it doesn't drink the potion, it won't try again until another 15 minutes has passed.

Another idea is using buffs, assuming the potions you are talking about are for buffs.

You could, instead, check for the buff and if it isn't present then use the item. For that I think it would have to be event driven. If the buff is for battle, maybe before each skill caste.
  • 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
oblivion2004
Posts: 7
Joined: Thu May 13, 2010 10:01 pm

Re: using food and potions

#5 Post by oblivion2004 »

thanks. it worked well
Post Reply