Warden pet class

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Warden pet class

#101 Post by lisa » Fri May 04, 2012 9:11 am

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

abron1
Posts: 162
Joined: Wed Feb 22, 2012 12:43 am

Re: Warden pet class

#102 Post by abron1 » Fri May 04, 2012 2:01 pm

that works perfect now guys thanks...i am not sure if you guys want to add it to the bot...thanks so much

abron1
Posts: 162
Joined: Wed Feb 22, 2012 12:43 am

Re: Warden pet class

#103 Post by abron1 » Sat Jul 21, 2012 9:38 pm

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.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Warden pet class

#104 Post by lisa » Sat Jul 21, 2012 11:39 pm

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

883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Warden pet class

#105 Post by 883Dman » Sat Jul 20, 2013 12:58 pm

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>

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

Re: Warden pet class

#106 Post by rock5 » Sat Jul 20, 2013 1:18 pm

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

883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Warden pet class

#107 Post by 883Dman » Sat Jul 20, 2013 2:48 pm

of course I cannot find it again but it was similar to

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>
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.

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

Re: Warden pet class

#108 Post by rock5 » Sat Jul 20, 2013 3:08 pm

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

883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Warden pet class

#109 Post by 883Dman » Sat Jul 20, 2013 3:19 pm

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.

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

Re: Warden pet class

#110 Post by rock5 » Sat Jul 20, 2013 3:45 pm

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

883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Warden pet class

#111 Post by 883Dman » Sat Jul 20, 2013 5:02 pm

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.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Warden pet class

#112 Post by lisa » Sat Jul 20, 2013 5:43 pm

If you have elven prayer in your profile it should use it when pet HP is below 70%

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
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.

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)
my profile skills

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

883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Warden pet class

#113 Post by 883Dman » Sat Jul 20, 2013 8:59 pm

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.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Warden pet class

#114 Post by lisa » Sat Jul 20, 2013 10:40 pm

It should be setting the centraurs arrow to autouse, this is in pet.lua

Code: Select all

		[4] = {
		name = GetIdName(102803), -- chiron the centaur
		skillid = 494212,
		skill5name = "CENTAURS_ARROW",
		skill5auto = "true",
		skill6name = "VALIANT_SHOT",
		skill6auto = "true"}
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

Code: Select all

if v.skill6auto == "true" then
and not

Code: Select all

if v.skill5auto == "true" then
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.

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>
or add this to what ever code you use to summon pet..

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

883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Warden pet class

#115 Post by 883Dman » Sat Jul 20, 2013 11:14 pm

RAWR!!!! so simple! Thanks.

883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Warden pet class

#116 Post by 883Dman » Tue Jul 23, 2013 11:35 am

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.
Last edited by 883Dman on Tue Jul 23, 2013 8:34 pm, edited 1 time in total.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Warden pet class

#117 Post by lisa » Tue Jul 23, 2013 6:52 pm

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.
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

883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Warden pet class

#118 Post by 883Dman » Tue Jul 23, 2013 8:35 pm

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.

trinity1
Posts: 17
Joined: Thu Oct 10, 2013 12:07 pm

Re: Warden pet class

#119 Post by trinity1 » Thu Nov 28, 2013 3:26 pm

the warden is not healing the pet even if I set the priority very high for some reason

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 0 guests