skills with cast time

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
mayainverse
Posts: 94
Joined: Tue Dec 21, 2010 3:12 am

skills with cast time

#1 Post by mayainverse »

even though cast time is stated in the skills database the bot continually interrupts the cast by moving. how to make it just sit still until cast is finished?
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: skills with cast time

#2 Post by rock5 »

Is the cast time in the database correct? Which skill are we talking about? What happens exactly?
  • 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
mayainverse
Posts: 94
Joined: Tue Dec 21, 2010 3:12 am

Re: skills with cast time

#3 Post by mayainverse »

yes cast time is correct. I have even made some custom skills (for the set skill that uses healin gherb but heals huge amount) i first noticed it when i was low leel with poison. say after you kill a mob it wants to cast it. or while killing a mob. it will move around or just cancel it before its done casting. thats all. i am wondering how well casters bot with how it works. just like cast time of this skill is 2 seconds. in the skills dp i put cast time as 2.5 seconds you know just to be sure. but half second after it starts casting it runs to next waypoint.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: skills with cast time

#4 Post by rock5 »

mayainverse wrote:yes cast time is correct. I have even made some custom skills (for the set skill that uses healin gherb but heals huge amount) i first noticed it when i was low leel with poison. say after you kill a mob it wants to cast it. or while killing a mob. it will move around or just cancel it before its done casting. thats all. i am wondering how well casters bot with how it works. just like cast time of this skill is 2 seconds. in the skills dp i put cast time as 2.5 seconds you know just to be sure. but half second after it starts casting it runs to next waypoint.
I can't really tell what's happening with you based on your description. Some skills can be interrupted, some mobs have skills that can interrupt, your bot may not be able to detect you're casting, maybe you changed SKILL_USE_PRIOR in settings.lua to a bad value, could be anything really.
  • 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: skills with cast time

#5 Post by lisa »

Casters are fine as when in battle the timers work. You will find it is when out of battle that the timers seem to not work which should only affect healing.

I noticed same thing on priest, after looting it goes to cast heal and then starts to move, then tries to cast heal, then goes to move, does a little dance and by then HP has regened up enough or a mob is in range so it just keeps fighting. I personally set regen hpper higher then heal so you atleast have a heal over time on and have heal hpper set low so you only really use it if in combat and about to die.

By heal I mean the shorter cast time, not PRIEST_HEAL, just can't think of it's name atm, at work.

EDIT:
you will probably find it is only calling for the cast time during combat.
Easy way to test would be make a short WP and tell it cast heal on one of the waypoint coords and see if it waits to cast or if it just starts to cast then continues on. I can't test this atm, at work as I said 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
Andreas_B
Posts: 40
Joined: Fri Oct 22, 2010 6:46 pm

Re: skills with cast time

#6 Post by Andreas_B »

I play a Warrior/Druid. The heal (DRUID_RECOVER) has a casttime of 2 seconds. Within a fight the bot will cast the heal correctly. Without a fight the heal is ever cancelled because the bot doesn't wait until casting ends.

From skills.xml:

Code: Select all

	<skill name="DRUID_RECOVER" aslevel="1" skilltab="2" skillnum="1" mana="56" manainc="5.4" range="250" casttime="2" cooldown="14" type="heal" target="friendly" />
From settings.lua:

Code: Select all

SKILL_USE_PRIOR = "auto",			-- cast x ms before cooldown is finished
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: skills with cast time

#7 Post by rock5 »

I've been able to confirm this.

I guess it's because the bot doesn't stop to cast skills when it's moving.
  • 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
Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: skills with cast time

#8 Post by Merlin »

Has there been an improvment? I play scout/druid and the main problem is the healing. Proper KS farming is impossible becouse of that.
Can there be added some line anywhere to say the bot to stop if recover is casted. I have seen the same problem with PRiest and urgent_heal.
Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: skills with cast time

#9 Post by Merlin »

I have found a great way.
Just insert wait cycles at the waypoint you need to recover like running from the cliff.
With 10 times of 1000ms you should cover the recovery process.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: skills with cast time

#10 Post by rock5 »

For starters if you have your rest settings set up correctly in your profile, shouldn't it heal your character at the end of battle? The cliff is an exception to the rule and can be dealt with by healing at the waypoint. That leaves buffs. How many player buffs, that you would caste out of combat, have a casting time?

Still, this is something that probably needs fixing. It would be easy enough to check if the character is out of combat and the skill has a casttime then make sure it stops moving forward but I'm not sure if it will think it is stuck or something. I would have to test it.

So what we want is, if it goes to cast a skill (buff or heal) with a casting time out of combat while moving, it should stop and cast that skill, maybe except if it's mounted. This is regardless of the waypoint type. Does that sound right?
  • 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
Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: skills with cast time

#11 Post by Mushroomstamp »

Merlin wrote:Just insert wait cycles at the waypoint you need to recover like running from the cliff.
Another option would be onSkillCast;

Code: Select all

<onSkillCast>
if (arg1.Name == "DRUID_RECOVER") then
    player:rest(2)
end
</onSkillCast>
Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: skills with cast time

#12 Post by Merlin »

rock5 wrote:So what we want is, if it goes to cast a skill (buff or heal) with a casting time out of combat while moving, it should stop and cast that skill, maybe except if it's mounted. This is regardless of the waypoint type. Does that sound right?
I'm not shure what skills we can expect, I would do it with some argument on the skill if it's possible like stop_to_caste in the modifier="" -> modifier="stop_to_cast". That way the user can decide for what skills he want's to stop at all.

The pause I mentioned before doesn't solve the problem. It uses the heal once, becouse it was casted before the wait and then it waits the 10 cycles of wait without casting... not really a solution.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: skills with cast time

#13 Post by rock5 »

If you've set up you skills so a particular skill is caste out of combat then that means you want it to cast out of combat. Then if it is running, it would have to stop to cast 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