Page 1 of 2
Attack with Warden pet attack (ctrl+3) first?
Posted: Sat Dec 03, 2011 10:05 am
by Edamh
I started a new warden character, and right now, my char is using melee to initiate fights. I would like the first attack to be with the pet (Spirit of the Oak) (ctrl+3). How would I go about adding the warden pet skill to my profile? From there, I could set the priority accordingly. Or should I approach the problem a different way?
Also, is there a profile setting that I need to tweak so that my char doesn't drop focus on the mob after 3 seconds into the fight (once pet does start attacking)?
Thanks.
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Sat Dec 10, 2011 6:35 am
by kuripot
that is my problem also in my warden/scout ... i want to do daily quest for my warden to collect TP... and the skill of my centaur is good.. but i dont know how to trigger the skill.. i dont know how to put command in my profile
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Wed Dec 21, 2011 5:20 pm
by kuripot
there's no way to use the pet skill in botting which need to trigger (CTRL)??
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Wed Dec 21, 2011 8:47 pm
by lisa
Actually in one of my commits I changed it to check all 5 tabs for skills instead of the 2-4 that it used to be. So now you should be able to add in pet skills into the skills database and profile.
So it could use the pet skills just like using any other skills, just make sure you have the pet summoned before starting bot as that is when it populates the skills table.
Untested with pets but I am sure you can get it working.
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Wed Dec 21, 2011 9:21 pm
by kuripot
how to put in profile the pet skill??
like this??
Code: Select all
<skill name="WARDEN_CHIRON_THE_CENTAUR_CENTAUR'S_ARROW" hotkey="MACRO" priority="100" />
or
Code: Select all
<skill name="CHIRON_THE_CENTAUR_CENTAUR'S_ARROW" hotkey="MACRO" priority="100" />
or
Code: Select all
<skill name="WARDEN_CENTAUR'S_ARROW" hotkey="MACRO" priority="100" />
and i need to add the skill in database or already has.. and i just do svn update???
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Wed Dec 21, 2011 9:47 pm
by kuripot
svn updated to version 684
Code: Select all
<!-- Warden skills -->
<skill name="WARDEN_CHARGED_CHOP" id="493395" mana="20" range="50" casttime="2" cooldown="3" />
<skill name="WARDEN_BRIAR_SHIELD" id="493642" mana="30" type="buff" buffname="503958" target="self" />
<skill name="WARDEN_POWER_OF_THE_WOOD_SPIRIT" id="493392" mana="15" range="50" type="damage" target="enemy" />
<skill name="WARDEN_ELVEN_AMULET" id="493402" mana="150" cooldown="60" type="buff" target="self" hpper="50" inbattle="true" />
<skill name="WARDEN_SAVAGE_POWER" id="493406" mana="150" cooldown="120" type="buff" target="self" inbattle="true" />
<skill name="WARDEN_ENERGY_ABSORB" id="493644" range="80" cooldown="300" />
<skill name="WARDEN_RECALL_PET" id="493645" type="buff" target="self" />
<!-- TODO: Summon Spirit of the Oak uses 0.15 mana -->
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" id="493333" minmanaper="15" casttime="8" type="summon" target="self" inbattle="false" />
<skill name="WARDEN_THORNY_VINE" id="493393" mana="30" manainc="3" range="50" cooldown="8" type="dot" />
<!-- TODO: Elven Prayer Heals pet -->
<skill name="WARDEN_ELVEN_PRAYER" id="493398" mana="20" range="150" cooldown="5" />
<skill name="WARDEN_MOVEMENT_RESTRICTION" id="493400" mana="45" range="150" minrange="80" cooldown="45" />
<!-- TODO: Summon Nature Crystal uses 0.15 mana -->
<skill name="WARDEN_SUMMON_NATURE_CRYSTAL" id="493344" minmanaper="15" casttime="8" type="summon" target="self" inbattle="false" />
<!-- TODO: Damage Transfer requires pet -->
<skill name="WARDEN_DAMAGE_TRANSFER" id="493399" mana="30" cooldown="180" type="buff" target="self" />
<skill name="WARDEN_HEART_OF_THE_OAK" id="493346" mana="55" type="buff" buffname="503579" target="self" />
<skill name="WARDEN_FRANTIC_BRIAR" id="493391" mana="70" casttime="2" />
<!-- TODO: Requires pet HP > 0.3 -->
<skill name="WARDEN_SOUL_ATTACK" id="493404" range="150" casttime="2" cooldown="6" />
<skill name="WARDEN_SUMMON_OAK_WALKER" id="493343" minmanaper="15" casttime="8" type="summon" target="self" inbattle="false" />
<skill name="WARDEN_PROTECTION_OF_NATURE" id="493348" mana="55" type="buff" buffname="503581" target="self" />
<skill name="WARDEN_BANISH" id="493397" mana="50" range="150" casttime="1" cooldown="60" hpper="15" />
<skill name="WARDEN_POWER_OF_THE_OAK" id="493347" mana="55" type="buff" buffname="503580" target="self" />
<!-- TODO: Explosion of Power requires pet -->
<skill name="WARDEN_EXPLOSION_OF_POWER" id="493403" mana="50" cooldown="180" type="buff" target="self" />
<!-- TODO: Elven Guidance requires pet -->
<skill name="WARDEN_ELVEN_GUIDANCE" id="493405" mana="30" cooldown="60" type="buff" target="self" />
<skill name="WARDEN_CROSS_CHOP" id="493394" mana="50" cooldown="6" range="100" />
<!-- Elite -->
<skill name="WARDEN_ANTI-MAGIC_ARROW" id="494004" concentration="30" cooldown="6" range="250" type="damage" target="enemy" />
<skill name="WARDEN_UNTAMABLE" id="494006" concentration="30" cooldown="4" range="50" type="damage" target="enemy" />
<skill name="WARDEN_SUMMON_CHIRON_THE_CENTAUR" id="494212" minmanaper="15" casttime="8" type="summon" target="self" inbattle="false" />
<skill name="WARDEN_MORALE_BOOST" id="494357" concentration="30" type="buff" target="self" cooldown="60" />
<skill name="WARDEN_WIND_CHOP" id="494010" mana="20" range="50" type="damage" target="enemy"/>
no valiant shot an centaur,s arrow
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Thu Dec 22, 2011 12:11 am
by lisa
lisa wrote:add in pet skills into the skills database and profile
there currently arn't any pet skills in database, you would need to add them.
You need to find out the info for the skills just like any character skills.
example of character skill in database
Code: Select all
<skill name="WARRIOR_SLASH" id="490053" rage="25" range="50" type="damage" cooldown="1" target="enemy" />
So you need to find out the skill id, range, type, cooldown, target.
Don't worry about the rage part just yet, since the bot isn't set up for using pet skills this will be a slow introduction.
The names for the skills only matter for matching between database and profile, if you really wanted you could call them "PET_BLASTOFF" aslong as it is the same in database and profile and it has the correct ID for the skill you want to use.
Obviously if we are adding the skills for other people to use then there needs to be better names used =)
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Thu Dec 22, 2011 1:14 am
by rock5
lisa wrote:just make sure you have the pet summoned before starting bot as that is when it populates the skills table.
Isn't the tab there regardless of whether the pet is summoned or not?
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Thu Dec 22, 2011 2:09 am
by lisa
rock5 wrote:Isn't the tab there regardless of whether the pet is summoned or not?
Doesn't it change depending on which pet is summoned or is it always the same regardless?
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Thu Dec 22, 2011 2:51 am
by rock5
I seem to remember it just has all the skills listed.
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Sat Dec 24, 2011 7:47 am
by kuripot
Code: Select all
<!-- Elite -->
<skill name="WARDEN_ANTI-MAGIC_ARROW" id="494004" concentration="30" cooldown="6" range="250" type="damage" target="enemy" />
<skill name="WARDEN_UNTAMABLE" id="494006" concentration="30" cooldown="4" range="50" type="damage" target="enemy" />
<skill name="WARDEN_SUMMON_CHIRON_THE_CENTAUR" id="494212" minmanaper="15" casttime="8" type="summon" target="self" inbattle="false" />
<skill name="WARDEN_MORALE_BOOST" id="494357" concentration="30" type="buff" target="self" cooldown="60" />
<skill name="WARDEN_WIND_CHOP" id="494010" mana="20" range="50" type="damage" target="enemy"/>
<skill name="WARDEN_VALIANT_SHOT" id="494612" energy="30" cooldown="6" range="250" type="damage" target="enemy" />
<skill name="WARDEN_CENTAUR'S_ARROW" id="494333" energy="20" range="250" type="damage" target="enemy" />
i try to put valiant and centur's arrow in database/skills
Code: Select all
<skills_warden>
<skill name="WARDEN_VALIANT_SHOT" hotkey="MACRO" priority="140" />
<skill name="WARDEN_CENTAUR'S_ARROW" hotkey="MACRO" priority="130" />
<skill name="WARDEN_CHARGED_CHOP" hotkey="MACRO" priority="100" />
<skill name="WARDEN_ENERGY_ABSORB" hotkey="MACRO" priority="80" inbattle="true" hpper="75" />
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="MACRO" priority="70" />
<skill name="SCOUT_SHOT" hotkey="MACRO" priority="60" />
<skill name="WARDEN_MOVEMENT_RESTRICTION" hotkey="MACRO" priority="90" />
<skill name="WARDEN_ANTI-MAGIC_ARROW" hotkey="MACRO" priority="50" />
<skill name="WARDEN_BRIAR_SHIELD" hotkey="MACRO" priority="120" rebuffcut="75" inbattle="false" />
<skill name="WARDEN_SUMMON_CHIRON_THE_CENTAUR" hotkey="MACRO" priority="1" autouse="false" />
<skill name="WARDEN_HEART_OF_THE_OAK" hotkey="MACRO" priority="1" autouse="false" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" hotkey="MACRO" priority="110" autouse="false" />
</skills_warden>
still not casting the skill of pet... did i missed something or i doing wrong??
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Sat Dec 24, 2011 12:17 pm
by Administrator
Well, for one thing, you can't put an apostrophe in the name of a skill. I'm sure that will break something somewhere.
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Sat Dec 24, 2011 6:52 pm
by kuripot
ok edited to
Code: Select all
<skill name="WARDEN_VALIANT_SHOT" id="494612" energy="30" cooldown="6" range="250" type="damage" target="enemy" />
<skill name="WARDEN_CENTAURS_ARROW" id="494333" energy="20" range="250" type="damage" target="enemy" />
from database and profile but still not casting
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Sat Dec 24, 2011 8:54 pm
by lisa
Pretty sure I have a warden as a second class somewhere, I'll play around with this after xmas and see what I can come up with.
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Sun Dec 25, 2011 3:39 am
by kuripot
oops... how about database/skills_local??? in need to put the valiant shot and centaurs arrow??? but it has latin word?? that i cant understand and i dont know where i can get the latin word of the skill
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Sun Dec 25, 2011 8:05 am
by rock5
skills_local is no longer part of the bot. That was fazed out when we started getting the skill names from memory.
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Mon Dec 26, 2011 3:43 am
by rock5
I just had a look at the pet skills and it looks like the way to cast them is by using "UsePetAction". Maybe we could say "if tab == 5 then use UsePetAction instead of UseSkill"? But we would need to know where the skill is on the pet action bar.
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Mon Dec 26, 2011 6:08 am
by lisa
Yeah I still haven't had a chance to look at this at all yet, been super busy with xmas and all.
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Mon Dec 26, 2011 7:27 am
by kuripot
if we change the pet action bar without "CTRL" key?? it will help??
Re: Attack with Warden pet attack (ctrl+3) first?
Posted: Mon Dec 26, 2011 9:01 pm
by lisa
Ok did some testing.
To make pet attack you need to use
The 3 is for the third skill on the pets action bar.
So for oak the default "attack" if the 3rd slot.
To set a skill to autouse like punch you use
This code turns it on and off though.
To determine if skill is set to autouse you use this
Code: Select all
local icon,active,autoCastAllowed = GetPetActionInfo(6)
active is true/false for if set to automatically use or not.
So basically we are looking at determining what pet is active, and knowing what skills it has in it's skill bar and where.
Then making sure the good skills are set to autouse.
Once all those checks are done you can simply use
To initiate the attacks.