Page 1 of 1

Need help to build a custom Warden/scout farming

Posted: Sat Jan 08, 2011 2:08 am
by leahcim2468
So i know how to use MM but i never touched anything below the skills (on load, on leave, on skill cast, etc).

So i was wondering any1 have a spare time to help me create the bottom of the script because it wont function just with the skills

Its on my warden/scout side btw.

I want it to use summon spirit of the oak. Then i want to use heart of the oak( which turns it into a buffs that regens my health). After that is set i will summon my chiron the centuar.

I have have another problem... sometimes when im botting the pet would do most of the damage or ks me. so i would sometimes stop attacking it and also not pick up loot

any help would be appreciated thx!

Re: Need help to build a custom Warden/scout farming

Posted: Sat Jan 08, 2011 3:25 am
by Administrator

Code: Select all

<onSkillCast>
if( arg1.Name == "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" ) then
  player:queueSkill("WARDEN_HEART_OF_THE_OAK");
  player:queueSkill("WARDEN_SUMMON_CHIRON");
end
</onSkillCast>
That'll get you started at least. You might need to correct the name of the skills.

Re: Need help to build a custom Warden/scout farming

Posted: Sat Jan 08, 2011 3:36 pm
by leahcim2468
Administrator wrote:

Code: Select all

<onSkillCast>
if( arg1.Name == "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" ) then
  player:queueSkill("WARDEN_HEART_OF_THE_OAK");
  player:queueSkill("WARDEN_SUMMON_CHIRON");
end
</onSkillCast>
That'll get you started at least. You might need to correct the name of the skills.
ooh thx, its awesome but it only works one time , which is when i start the bot... is it possible to make it into a loop to do it again whenever the buffs wears off?

Re: Need help to build a custom Warden/scout farming

Posted: Sat Jan 08, 2011 5:15 pm
by Administrator
It will happen any time it summons the spirit of the oak.

Re: Need help to build a custom Warden/scout farming

Posted: Sat Jan 08, 2011 6:35 pm
by leahcim2468
yea but it doesnt summon oak again it stays on my chiron...

Re: Need help to build a custom Warden/scout farming

Posted: Sat Jan 08, 2011 7:15 pm
by Administrator
In your onLoad event, try this:

Code: Select all

registerTimer("summon", minutesToTimer(some time here), function () player:queueSkill("WARDEN_SUMMON_SPIRIT_OF_THE_OAK") end);

Re: Need help to build a custom Warden/scout farming

Posted: Sun Jan 09, 2011 1:59 am
by leahcim2468
i made it into

Code: Select all

registerTimer("summon", minutesToTimer(15), function () player:queueSkill("WARDEN_SUMMON_SPIRIT_OF_THE_OAK") end);
the 15 is for 15 minutes, am i doing it right cause it isnt working

Re: Need help to build a custom Warden/scout farming

Posted: Tue Jan 11, 2011 5:38 pm
by leahcim2468
bump?

Re: Need help to build a custom Warden/scout farming

Posted: Tue Jan 11, 2011 5:52 pm
by Administrator
If you're having trouble, try changing player:queueSkill to player:cast. Are you even able to use the skill at that time, or do you have to do something else first (unsummon another pet, perhaps)?

Re: Need help to build a custom Warden/scout farming

Posted: Tue Jan 11, 2011 8:20 pm
by leahcim2468
it would summon oak... then oak dissapears. and it would summon chiron... but my heart of oak wont go off becuase it needs my oak to be summoned.

Re: Need help to build a custom Warden/scout farming

Posted: Tue Nov 01, 2011 11:56 pm
by ako ito
how i can set the "Centaur's Arrow" and "Valiant Shot" to automatic attack after i summon the "Chiron the Centaur" because every time i summon the "Chiron the Centaur" the "Centaur's Arrow" and "Valiant Shot" will deactivate in automatic attack

Re: Need help to build a custom Warden/scout farming

Posted: Wed Nov 02, 2011 4:22 pm
by ako ito
why its failed for me


my skill
<skills_warden>
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="MACRO" priority="130" />
<skill name="SCOUT_SHOT" hotkey="MACRO" priority="120" />
<skill name="WARDEN_MOVEMENT_RESTRICTION" hotkey="MACRO" priority="110" />
<skill name="WARDEN_THORNY_VINE" hotkey="MACRO" priority="90" />
<skill name="WARDEN_CHARGED_CHOP" hotkey="MACRO" priority="100" />
<skill name="WARDEN_ENERGY_ABSORB" hotkey="MACRO" priority="70" inbattle="true" hpper="25" />
<skill name="WARDEN_BRIAR_SHIELD" hotkey="MACRO" priority="1" inbattle="false" />
<skill name="WARDEN_ELVEN_PRAYER" hotkey="MACRO" priority="1" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" hotkey="MACRO" priority="1" />
</skills_warden>

on load
<onLoad><![CDATA[
runicthorn()
startGMDetect()
registerTimer("summon", minutesToTimer(15),
function () player:cast("WARDEN_SUMMON_SPIRIT_OF_THE_OAK") end);
]]></onLoad>

onleave
<onLeaveCombat>
runicthorn2()
player:update()
if 50 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet )
player:cast("WARDEN_ELVEN_PRAYER")
yrest(1000)
end
</onLeaveCombat>

onskill
<onSkillCast><![CDATA[
if( arg1.Name == "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" ) then
player:cast("WARDEN_HEART_OF_THE_OAK");
player:cast("WARDEN_SUMMON_CHIRON_THE_CENTAUR");
end
]]></onSkillCast>


what i need to do?

Re: Need help to build a custom Warden/scout farming

Posted: Wed Nov 02, 2011 4:47 pm
by BillDoorNZ
the

Code: Select all

onskill
<onSkillCast><![CDATA[
if( arg1.Name == "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" ) then
player:cast("WARDEN_HEART_OF_THE_OAK");
player:cast("WARDEN_SUMMON_CHIRON_THE_CENTAUR");
end
]]></onSkillCast>
is wrong, in that you do not have the "WARDEN_HEART_OF_THE_OAK" skill in your skills section. Neither do you have the "WARDEN_SUMMON_CHIRON_THE_CENTAUR" skill in your skills section.

Re: Need help to build a custom Warden/scout farming

Posted: Wed Nov 02, 2011 5:24 pm
by ako ito
BillDoorNZ wrote:the

Code: Select all

onskill
<onSkillCast><![CDATA[
if( arg1.Name == "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" ) then
player:cast("WARDEN_HEART_OF_THE_OAK");
player:cast("WARDEN_SUMMON_CHIRON_THE_CENTAUR");
end
]]></onSkillCast>
is wrong, in that you do not have the "WARDEN_HEART_OF_THE_OAK" skill in your skills section. Neither do you have the "WARDEN_SUMMON_CHIRON_THE_CENTAUR" skill in your skills section.


like this??



<skills_warden>
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="MACRO" priority="100" />
<skill name="SCOUT_SHOT" hotkey="MACRO" priority="90" />
<skill name="WARDEN_MOVEMENT_RESTRICTION" hotkey="MACRO" priority="70" />
<skill name="WARDEN_THORNY_VINE" hotkey="MACRO" priority="60" />
<skill name="WARDEN_CHARGED_CHOP" hotkey="MACRO" priority="80" />
<skill name="WARDEN_ENERGY_ABSORB" hotkey="MACRO" priority="50" inbattle="true" hpper="25" />
<skill name="WARDEN_BRIAR_SHIELD" hotkey="MACRO" priority="1" inbattle="false" />
<skill name="WARDEN_ELVEN_PRAYER" hotkey="MACRO" priority="1" />
<skill name="WARDEN_SUMMON_CHIRON_THE_CENTAUR" hotkey="MACRO" priority="1" />
<skill name="WARDEN_HEART_OF_THE_OAK" hotkey="MACRO" priority="1" />
</skills_warden>

<skills_druid>
<skill name="DRUID_RECOVER" modifier="" hotkey="VK_2" priority="90" hpper="30" />
<skill name="DRUID_EARTH_ARROW" modifier="" hotkey="VK_3" priority="80" />
</skills_druid>

<onLoad><![CDATA[
runicthorn()
startGMDetect()
]]></onLoad>

<onDeath><![CDATA[
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
]]></onDeath>

<onLeaveCombat>
runicthorn2()
player:update()
if 50 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet )
player:cast("WARDEN_ELVEN_PRAYER")
yrest(1000)
end
</onLeaveCombat>

<onSkillCast><![CDATA[
if( arg1.Name == "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" ) then
player:cast("WARDEN_HEART_OF_THE_OAK");
player:cast("WARDEN_SUMMON_CHIRON_THE_CENTAUR");
end
]]></onSkillCast>

Re: Need help to build a custom Warden/scout farming

Posted: Wed Nov 02, 2011 7:11 pm
by BillDoorNZ
I would assume so - yes. :) without having a similar setup its hard to test, but based on the screenshot you provided and reading through the code, that should fix it.

Re: Need help to build a custom Warden/scout farming

Posted: Wed Nov 02, 2011 7:49 pm
by ako ito
not summoning any of the pet...



<skills_warden>
<skill name="SCOUT_VAMPIRE_ARROWS" modifier="" hotkey="MACRO" priority="100" />
<skill name="SCOUT_SHOT" modifier="" hotkey="MACRO" priority="90" />
<skill name="WARDEN_MOVEMENT_RESTRICTION" modifier="" hotkey="MACRO" priority="70" />
<skill name="WARDEN_ENERGY_ABSORB" modifier="" hotkey="MACRO" priority="50" inbattle="true" hpper="25" />
<skill name="WARDEN_ELVEN_PRAYER" modifier="" hotkey="MACRO" priority="1" />
<skill name="WARDEN_BRIAR_SHIELD" modifier="" hotkey="MACRO" priority="140" rebuffcut="75" inbattle="false" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" modifier="" hotkey="MACRO" priority="130" autouse="false" />
<skill name="WARDEN_SUMMON_CHIRON_THE_CENTAUR" modifier="" hotkey="MACRO" priority="110" autouse="false" />
<skill name="WARDEN_HEART_OF_THE_OAK" modifier="" hotkey="MACRO" priority="120" autouse="false" />
</skills_warden>

<skills_druid>
<skill name="DRUID_RECOVER" modifier="" hotkey="VK_2" priority="90" hpper="30" />
<skill name="DRUID_EARTH_ARROW" modifier="" hotkey="VK_3" priority="80" />
</skills_druid>

<onLoad><![CDATA[
runicthorn()
startGMDetect()
registerTimer("summon", minutesToTimer(15), function () player:queueSkill("WARDEN_SUMMON_SPIRIT_OF_THE_OAK") end);
]]></onLoad>

<onDeath><![CDATA[
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
]]></onDeath>

<onLeaveCombat>
runicthorn2()
player:update()
if 50 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet )
player:cast("WARDEN_ELVEN_PRAYER")
yrest(1000)
end
catchCavy("Magic Cavy")
</onLeaveCombat>

<onSkillCast><![CDATA[
if( arg1.Name == "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" ) then
player:queueSkill("WARDEN_HEART_OF_THE_OAK");
player:queueSkill("WARDEN_SUMMON_CHIRON_THE_CENTAUR");
end
]]></onSkillCast>

Re: Need help to build a custom Warden/scout farming

Posted: Thu Nov 03, 2011 2:18 am
by ako ito
now in this profile. if i don't have pet summoned. my character summon "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" the get "WARDEN_HEART_OF_THE_OAK" and summon "WARDEN_SUMMON_CHIRON_THE_CENTAUR" but my problem now is when my "WARDEN_SUMMON_CHIRON_THE_CENTAUR" are summoned.. my character not summoning "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" the to get "WARDEN_HEART_OF_THE_OAK" and "The pet by your side cannot give you this power" will show up in my client



<skills_warden>
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="MACRO" priority="100" />
<skill name="SCOUT_SHOT" hotkey="MACRO" priority="90" />
<skill name="WARDEN_MOVEMENT_RESTRICTION" hotkey="MACRO" priority="70" />
<skill name="WARDEN_ENERGY_ABSORB" hotkey="MACRO" priority="50" inbattle="true" hpper="25" />
<skill name="WARDEN_ELVEN_PRAYER" hotkey="MACRO" priority="1" />
<skill name="WARDEN_BRIAR_SHIELD" hotkey="MACRO" priority="140" rebuffcut="75" inbattle="false" />
<skill name="WARDEN_SUMMON_CHIRON_THE_CENTAUR" hotkey="MACRO" priority="1" />
<skill name="WARDEN_HEART_OF_THE_OAK" hotkey="MACRO" priority="1" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" hotkey="MACRO" priority="110" />
</skills_warden>

<skills_druid>
<skill name="DRUID_RECOVER" modifier="" hotkey="VK_2" priority="90" hpper="30" />
<skill name="DRUID_EARTH_ARROW" modifier="" hotkey="VK_3" priority="80" />
</skills_druid>

<onLoad><![CDATA[
runicthorn()
startGMDetect()
registerTimer("summon", minutesToTimer(15), function () player:cast("WARDEN_SUMMON_SPIRIT_OF_THE_OAK") end);
]]></onLoad>

<onDeath><![CDATA[
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
]]></onDeath>

<onLeaveCombat>
runicthorn2()
player:update()
if 50 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet )
player:cast("WARDEN_ELVEN_PRAYER")
yrest(1000)
end
catchCavy()
</onLeaveCombat>

<onSkillCast><![CDATA[
if( arg1.Name == "WARDEN_SUMMON_SPIRIT_OF_THE_OAK" ) then
player:cast("WARDEN_HEART_OF_THE_OAK");
player:cast("WARDEN_SUMMON_CHIRON_THE_CENTAUR");
end
]]></onSkillCast>
</profile>

Re: Need help to build a custom Warden/scout farming

Posted: Thu Nov 03, 2011 3:10 am
by rock5
Do you have 2 post on the same subject?

Did you try this?
http://www.solarstrike.net/phpBB3/viewt ... 531#p29531

Re: Need help to build a custom Warden/scout farming

Posted: Thu Nov 03, 2011 6:42 am
by lisa
rock5 wrote:Do you have 2 post on the same subject?
That is correct and both without using code tags.