Page 1 of 1

Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 8:05 am
by energyplay
Hi,
can someone explain me or give me a usefull link, how i summon my pet and buff myself in the waypoint file?

Best regards

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 8:10 am
by kuripot
be specific... warden pet?? what kind or the pet from the cavy??

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 9:35 am
by lisa
it's very easy actually, you just add the skills to your profile.

example

Code: Select all

<skill name="WARDEN_POWER_OF_THE_OAK" 			hotkey="MACRO" priority="90" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK"	hotkey="MACRO" priority="90" />
and the bot will do everything else.

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 9:44 am
by Golbez
how would one summon a Flame Manticore that was bought off the ah?

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 9:54 am
by lisa
Golbez wrote:how would one summon a Flame Manticore that was bought off the ah?

Code: Select all

local skillName = GetIdName(493951)
RoMScript("CastSpellByName(\""..skillName.."\");");
yrest(2000)
The Id should be right aslong as it is the flame manticore and not one of the other 10 types of manticore.

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 11:19 am
by energyplay
I want to summon a egg pet like a crow from a cavi.

@lisa
Where can i find the id's of my skill especial buffs?

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 11:27 am
by lisa
Egg pet....
ok profile.

Code: Select all

		<!-- Eggpet options -->
		<option name="EGGPET_ENABLE_CRAFT"	value="false" />		<!-- If using same slot for assist and craft, onlt 1 can be enabled. -->
		<option name="EGGPET_CRAFT_SLOT"	value="1" />
		<option name="EGGPET_ENABLE_ASSIST"	value="false" />
		<option name="EGGPET_ASSIST_SLOT"	value="1" />
		<option name="EGGPET_CRAFT_RATIO"	value="1:1:1" /> 		<!-- mining:woodworking:herbalism ratio to produce. -->
		<option name="EGGPET_CRAFT_INDEXES"	value="" /> 	 		<!-- override auto craft index for mining,woodworking,herbalism eg. "2,,"-->

It is in the default profile, just have a look.

As for the pet skills there is nothing you can do to make a pet use it's skills.
If your pet's loyalty is very high then the pet will use it's skills more regularly, if loyalty is very low then pet won't use it's skills at all.

I am sure there is plenty of information about egg pets on the internet.

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 11:31 am
by rock5
Lisa you beat me to it. I'll add that to keep your pet loyalty up, make sure you have pet food in your inventory such as Miller's Special Cake". It should automatically use them as needed.

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 11:58 am
by lisa
rock5 wrote:Lisa you beat me to it. I'll add that to keep your pet loyalty up, make sure you have pet food in your inventory such as Miller's Special Cake". It should automatically use them as needed.
miller's cake is for nourishment ;)

for loyalty it is, something of happiness, can't remember exactly, you buy it from donkey men, 6000 gold each for 1 loyalty.

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 12:02 pm
by energyplay
thanks and sorry ^^ I think this is a misunderstanding. I wan't summon a egg pet, ok this is in the default.xml profile file. But the buffs is a separate issue. I want buff my self with my own skills, not with skills of my pet. Skills like "Electrostatic Charge" from a mage.

so lisa write this:

Code: Select all

local skillName = GetIdName(493951)
RoMScript("CastSpellByName(\""..skillName.."\");");
yrest(2000)
I understand this to mean that I now need this id 493951 which represent the skill "Electrostatic Charge", isn't so?

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 12:09 pm
by lisa
energyplay wrote:I understand this to mean that I now need this id 493951 which represent the skill "Electrostatic Charge", isn't so?
No, I quoted the persons question that response was for, it wasn't in regards to your question.
energyplay wrote:I want buff my self with my own skills, not with skills of my pet. Skills like "Electrostatic Charge" from a mage.
If you want the bot to use skills then you need to add them to your profile.

Code: Select all

<skill name="MAGE_ELECTROSTATIC_CHARGE"         	hotkey="MACRO" priority="80" />

--=== moving topic ===--
Sorry but this has nothing to do with userfunctions, moving topic to normal rune of magic section.

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 9:08 pm
by Golbez
lisa wrote:
Golbez wrote:how would one summon a Flame Manticore that was bought off the ah?

Code: Select all

local skillName = GetIdName(493951)
RoMScript("CastSpellByName(\""..skillName.."\");");
yrest(2000)
The Id should be right aslong as it is the flame manticore and not one of the other 10 types of manticore.

where do i put this? as a skill in my list?

Re: Functions for summon pet and buffs?

Posted: Thu Jan 26, 2012 9:26 pm
by lisa
Golbez wrote:where do i put this? as a skill in my list?
I have absolutely no idea what a flame manticore pet does.

So if you just summon it once, then put it in your profile onload.

If the pet dies or dissappears and you need to summon it occasionally then you will need code in profile onskillcast.

If it gives you a buff then you need to find out the name or ID of the buff.