Warden pet class
Re: Warden pet class
well without the check it would still do the romscript GetPetActionInfo(5) when ever any character changes address, not a huge deal but I'd still prefer the check =)
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: Warden pet class
that works perfect now guys thanks...i am not sure if you guys want to add it to the bot...thanks so much
Re: Warden pet class
since the patch the warden pet script needs to be updated because the wardens buffs are short buffs that don't need to summon the pet anymore and the chiron skill only uses one skill instead of both.. i would edit the pet script but i don't know what to take out to make work like its supose too.
Re: Warden pet class
update to rev 728. They made a few changes to how pets work, hopefully I got them all.
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: Warden pet class
This driving me crazy. I want to resummon my pet if it's hp drops below x%. I found some older references to this exact thing but I cannot get them to work.
Code: Select all
<skills_warden>
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="MACRO" priority="110" />
<skill name="SCOUT_SHOT" hotkey="MACRO" priority="100" pullonly="true"/>
<skill name="WARDEN_POWER_OF_THE_WOOD_SPIRIT" hotkey="MACRO" priority="90" />
<skill name="WARDEN_CHARGED_CHOP" hotkey="MACRO" priority="70" />
<skill name="WARDEN_HEART_OF_THE_OAK" hotkey="MACRO" priority="100" />
<skill name="WARDEN_ELVEN_PRAYER" hotkey="MACRO" priority="150" />
<skill name="WARDEN_MOVEMENT_RESTRICTION" hotkey="MACRO" priority="80" />
<skill name="WARDEN_BRIAR_SHIELD" hotkey="MACRO" priority="120" inbattle="false" />
<skill name="WARDEN_PROTECTION_OF_NATURE" hotkey="MACRO" priority="100" />
<skill name="WARDEN_SAVAGE_POWER" hotkey="MACRO" priority="100" autouse="false" />
<skill name="WARDEN_MORALE_BOOST" hotkey="MACRO" priority="1" autouse="false" />
<skill name="WARDEN_ELVEN_GUIDANCE" hotkey="MACRO" priority="1" autouse="false" />
<skill name="WARDEN_SUMMON_OAK_WALKER" hotkey="MACRO" priority="90" autouse="false" />
</skills_warden>
<skills_druid>
<skill name="MAGE_FIREBALL" hotkey="MACRO" priority="95" />
<skill name="MAGE_LIGHTNING" hotkey="MACRO" priority="90" />
<skill name="DRUID_EARTH_PULSE" hotkey="MACRO" priority="90" />
<skill name="DRUID_SUMMON_SANDSTORM" hotkey="VK_5" priority="90" />
<skill name="DRUID_RECOVER" hotkey="MACRO" priority="90" hpper="60" />
<skill name="DRUID_EARTH_ARROW" hotkey="MACRO" priority="70" />
</skills_druid>
<onLoad><![CDATA[
-- Additional Lua code to execute after loading the profile
-- and before the bot starts. e.g. You could overwrite profile settings here
-- like: changeProfileOption("HP_REST", 60);
]]></onLoad>
<onDeath><![CDATA[
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
]]></onDeath>
<onLeaveCombat><![CDATA[
--useGoodie("xppot"); -- xp potion powerful
useGoodie("speed"); -- Unbridled Enthusiasm
useGoodie("luck"); --Turn of Luck Powder Dust
useGoodie("defense"); --Scarlet Love
--useGoodie("critp");
useGoodie("patt3");
useGoodie("pdmg");
if player:findNearestNameOrId("Mysterious Bag") then
player:target_Object("Mysterious Bag")
yrest(2000) -- If not enough time to pick up bag, increase it.
end
]]></onLeaveCombat>
Re: Warden pet class
So what code did you find? That code you showed us has nothing to do with summoning a pet early and there are no options included in the bot to do it. Although maybe there should be. Re-summoning a pet, that is nearly dead instead of healing it, is common practice isn't 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
Re: Warden pet class
of course I cannot find it again but it was similar to
Swap out elven prayer with summon pet and it should work. Only my idiot guy won't resummon even after it dies which it did before I started dinking with it today.
My MM window said it was casting summon oak walker but it didn't actually do anything.
Code: Select all
<onLeaveCombat><![CDATA[
-- Additional Lua code to execute after killing an enemy
player:update()
if 65 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet )
player:cast("WARDEN_ELVEN_PRAYER")
yrest(1000)
end
]]></onLeaveCombat>
My MM window said it was casting summon oak walker but it didn't actually do anything.
Re: Warden pet class
Did you give it enough time to summon the pet?
- 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: Warden pet class
I think I had a yrest in there for 4100. I never saw the casting bar come up though so I don't think that was the problem. I rebooted and I'll try again. Might be an anomaly with clogged memory. I can't even get my guy to cast eleven prayer with any regularity.
Re: Warden pet class
I think the bot is set to use Elven Prayer when the pets health reaches 70%. No settings were set up to change 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
Re: Warden pet class
That's what I read but it isn't even doing that, but no biggie. I ended up just putting
RoMScript("/cast Summon Oak Walker");
yrest (4100)
in one or two waypoints within my grinding loop. Much easier. I was over-thinking things like usual.
RoMScript("/cast Summon Oak Walker");
yrest (4100)
in one or two waypoints within my grinding loop. Much easier. I was over-thinking things like usual.
Re: Warden pet class
If you have elven prayer in your profile it should use it when pet HP is below 70%
skill.lua line 506
In your profile don't add in any other "options" as it will just mess up with the skill usage, ie if you have a hpper it will check your hp and then not get to the pet hp check.
That code was a "bandaid" solution as such but it should still work fine, it is obviously not ideal.
Just tested it and it worked fine.
my profile skills
skill.lua line 506
Code: Select all
-- warden pet heal
if self.Id == 493398 then
petupdate()
if pet.Name == "<UNKNOWN>" or ( pet.HP / pet.MaxHP * 100) > 70 then
return false
end
end
That code was a "bandaid" solution as such but it should still work fine, it is obviously not ideal.
Just tested it and it worked fine.
Code: Select all
Use MACRO: WARDEN_CHARGED_CHOP => Starving Wolf (3643/5701)
Use MACRO: WARDEN_POWER_OF_THE_=> Starving Wolf (2530/5701)
Use MACRO: WARDEN_ELVEN_PRAYER => Starving Wolf (461/5701)
Use MACRO: WARDEN_CHARGED_CHOP => Starving Wolf (0/5701)
Code: Select all
<skills_warden>
<skill name="WARDEN_CHARGED_CHOP" hotkey="MACRO" priority="100" />
<skill name="WARDEN_ENERGY_ABSORB" hotkey="MACRO" priority="80" inbattle="true" hpper="25" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" hotkey="MACRO" priority="90" />
<skill name="WARDEN_SUMMON_NATURE_CRYSTAL" hotkey="MACRO" priority="90" autouse="false" />
<skill name="WARDEN_SUMMON_OAK_WALKER" hotkey="MACRO" priority="90" autouse="false" />
<skill name="WARDEN_BRIAR_SHIELD" hotkey="MACRO" priority="90" />
<skill name="WARDEN_POWER_OF_THE_WOOD_SPIRIT" hotkey="MACRO" priority="100" />
<skill name="WARDEN_SAVAGE_POWER" hotkey="MACRO" priority="90" />
<skill name="WARDEN_POWER_OF_THE_OAK" hotkey="MACRO" priority="90" />
<skill name="WARDEN_ELVEN_PRAYER" hotkey="MACRO" priority="90" />
</skills_warden>
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: Warden pet class
My issue now is enabling centaur's arrow when the pet is summoned. Not sure why it's off by default. Any way to change the default to on? I was looking at http://www.solarstrike.net/phpBB3/viewt ... =21&t=3239 but i'm not sure how to implement it.
Re: Warden pet class
It should be setting the centraurs arrow to autouse, this is in pet.lua
Any time a skill is used by the bot or a player update is done it will automatically check centaurs arrow and valiant shot are set to autouse, I can't think of how it isn't doing that.
I did just find a typo in pet.lua line 67 though but it would still be setting centaurs arrow to autouse.
should be
and not
I'll blow the cobwebs off my Wd/S and give it s test run
--=== Test Results ===--
It is set to change auto attacks when it summons pet or when changing zones, not every time you use a skill but it does set the auto attacks if the bot is doing the summoning, probably not from any onload code you have. Just set the profile up with the skills properly and it will work fine.
or add this to what ever code you use to summon pet..
Code: Select all
[4] = {
name = GetIdName(102803), -- chiron the centaur
skillid = 494212,
skill5name = "CENTAURS_ARROW",
skill5auto = "true",
skill6name = "VALIANT_SHOT",
skill6auto = "true"}
I did just find a typo in pet.lua line 67 though but it would still be setting centaurs arrow to autouse.
should be
Code: Select all
if v.skill6auto == "true" then
Code: Select all
if v.skill5auto == "true" then
--=== Test Results ===--
It is set to change auto attacks when it summons pet or when changing zones, not every time you use a skill but it does set the auto attacks if the bot is doing the summoning, probably not from any onload code you have. Just set the profile up with the skills properly and it will work fine.
Code: Select all
<skills_warden>
<skill name="WARDEN_CHARGED_CHOP" hotkey="MACRO" priority="100" />
<skill name="WARDEN_ENERGY_ABSORB" hotkey="MACRO" priority="80" inbattle="true" hpper="25" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" hotkey="MACRO" priority="90" autouse="false" />
<skill name="WARDEN_SUMMON_NATURE_CRYSTAL" hotkey="MACRO" priority="90" autouse="false" />
<skill name="WARDEN_SUMMON_OAK_WALKER" hotkey="MACRO" priority="90" autouse="false" />
<skill name="WARDEN_BRIAR_SHIELD" hotkey="MACRO" priority="90" />
<skill name="WARDEN_POWER_OF_THE_WOOD_SPIRIT" hotkey="MACRO" priority="100" />
<skill name="WARDEN_SAVAGE_POWER" hotkey="MACRO" priority="90" />
<skill name="WARDEN_POWER_OF_THE_OAK" hotkey="MACRO" priority="90" />
<skill name="WARDEN_ELVEN_PRAYER" hotkey="MACRO" priority="90" />
<skill name="WARDEN_SUMMON_CHIRON_THE_CENTAUR" hotkey="MACRO" priority="90" />
</skills_warden>
Code: Select all
setpetautoattacks()
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: Warden pet class
RAWR!!!! so simple! Thanks.
Re: Warden pet class
I finally got the onleavecombat to work!
player:update()
if 65 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet )
RoMScript("/cast Summon Chiron the Centaur");
yrest (8100)
end
perfect now.
player:update()
if 65 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet )
RoMScript("/cast Summon Chiron the Centaur");
yrest (8100)
end
perfect now.
Last edited by 883Dman on Tue Jul 23, 2013 8:34 pm, edited 1 time in total.
Re: Warden pet class
So you didn't try setting up the profile like I said and not having any onleavecombat code ??
The bot is designed to heal ur warden pet for your when it's HP is under 70% and I tested it and it works as intended.
The bot is designed to heal ur warden pet for your when it's HP is under 70% and I tested it and it works as intended.
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: Warden pet class
I may not have rebooted to make pet.lua work. Not sure. I have to summon my pet b4 it died otherwise I would die. I just dropped warrior and rolled warden so I'm grinding as fast as I can. If my pet dies mid combat i'm screwed LOL. It may not be optimal but it works really well. Couldn't have done it without you even if I am terrible at following directions.
Re: Warden pet class
the warden is not healing the pet even if I set the priority very high for some reason
Who is online
Users browsing this forum: Google [Bot] and 0 guests