Giving pet weapons

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

cobra
orc pawn
orc pawn
Posts: 13
Joined: Wed Feb 11, 2004 5:38 am

Giving pet weapons

Post by cobra » Fri May 07, 2004 11:10 am

Hi I play a mage and was wondering if some one can help me work out how to give my pet the weapons i have summoned i can summon the weapons and target pet .

But i have no idea how to give it all the items


/call cast "Belt of Magikot"
/call cast "Muzzle of mardu"
/call cast "Blade of kedge"
/call cast "Blade of kedge"
/tar pet
/face


Give items to pet

thank you

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Fri May 07, 2004 11:15 am

/click

Oid
a snow griffon
a snow griffon
Posts: 416
Joined: Thu Oct 17, 2002 3:26 am
Contact:

Post by Oid » Fri May 07, 2004 11:18 am

remove /face
/click left target
Smokey the Lax says only you can prevent reproduction.

cobra
orc pawn
orc pawn
Posts: 13
Joined: Wed Feb 11, 2004 5:38 am

Post by cobra » Fri May 07, 2004 12:15 pm

Tryed click left target it gives pet first item but i still have 3 other items in mouse cursor also how do i click on the Give button please

Code: Select all


:pet
  
  /call cast "Servant of marr" 
  /call cast "Burnout V"
  /if (!${Me.Buff[Elemental Siphon Recourse].ID}) {
  /call cast "Elemental Siphon"
  /call cast "Belt of Magi'Kot"
  /call cast "Muzzle of mardu"  
  /call cast "Blade of The kedge"
  /call cast "Blade of The kedge"
  }
  /click left target
  /click left target
  /click left target
  /click left target
  }
  /return
  /endmacro 

i tryed

Code: Select all


/click left target
}
/click left target 
}
/click left target 
}
/click left target

but still wont work als tryed adding /delay 5 between clicks but still not working .
thank you for the help

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Fri May 07, 2004 12:44 pm

Code: Select all

/click left target 
} 
/click left target 
} 
/click left target 
} 
/click left target 
:shock: What exactly was that suppose to do?

Code: Select all

:GivePet
  /click left target
  /if ${Cursor.ID} /goto :GivePet

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Pass them as you summon

Post by Chill » Fri May 07, 2004 11:21 pm

I think the easy solution would be to pass the gear as you summon it, since the spells will summon the items to your cursor.

Code: Select all

/target pet

/call cast "Belt of Magikot"
/click left target
/notify GiveWnd GVW_Give_Button leftmouseup

/call cast "Muzzle of mardu"  
/click left target
/notify GiveWnd GVW_Give_Button leftmouseup

/call cast "Blade of The kedge" 
/click left target
/notify GiveWnd GVW_Give_Button leftmouseup

/call cast "Blade of The kedge" 
/click left target
/notify GiveWnd GVW_Give_Button leftmouseup

cobra
orc pawn
orc pawn
Posts: 13
Joined: Wed Feb 11, 2004 5:38 am

Post by cobra » Sat May 08, 2004 6:22 am

Tryed

Code: Select all


/target pet 

/call cast "Belt of Magikot" 
/click left target 
/notify GiveWnd GVW_Give_Button leftmouseup 

/call cast "Muzzle of mardu"  
/click left target 
/notify GiveWnd GVW_Give_Button leftmouseup 

/call cast "Blade of The kedge" 
/click left target 
/notify GiveWnd GVW_Give_Button leftmouseup 

/call cast "Blade of The kedge" 
/click left target 
/notify GiveWnd GVW_Give_Button leftmouseup 

but still having problems Give window seems to stay up for to long :( causing the macro to skip casting 2 items

Code: Select all


#include spellcast.inc

Sub main
   /goto :main

:main 
  
   /goto :buffcheck

:buffcheck
   /if (!${Me.Buff[Xegony's phantasmal guard].ID}) { 
   /call cast "Xegony's phantasmal guard" 
   } 
   /if (!${Me.Buff[Shield of maelin].ID}) { 
   /call cast "Shield of maelin" gem4 
   }
   /if (!${FindItem[Rod Of Mystical Transvergance].ID}) { 
   /echo Making mod rod 
   /tar myself 
   /call cast "Rod Of Mystical Transvergance" gem4
   /delay 5 
   /autoinv 
   /delay 5
   } 
   /if (!${Me.Buff[Bootstrutter's Blessing].ID}) { 
   /cast item "Fabled journeyman's Boots"  
   /delay 1s
   } 
   /goto :pet 
   } 
   /return



:pet
  
  /if (!${Me.Pet.ID}) /call cast "Servant of marr" { 
    /call cast "Burnout V" 
    /echo making Belt of MagiKot
    /call cast "Belt of Magi'kot" 
    /click left target 
    /notify GiveWnd GVW_Give_Button leftmouseup     
  
    /echo making Muzzle of mardu
    /call cast "Muzzle of Mardu" 
    /click left target 
    /notify GiveWnd GVW_Give_Button leftmouseup 
  
    /echo Making Blade of Kedge 1
    /call cast "Blade of the kedge" 
    /click left target 
    /notify GiveWnd GVW_Give_Button leftmouseup 
  
    /echo Making blade of kege 2
    /call cast "Blade of the kedge" 
    /click left target 
    /notify GiveWnd GVW_Give_Button leftmouseup 
   }
   /return
  
   /endmacro 

Excuse my messiness i am just Learning and Not sure how to fix it Thank you for helping

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Sat May 08, 2004 6:48 am

You can give your pet four items at once can you not?

cobra
orc pawn
orc pawn
Posts: 13
Joined: Wed Feb 11, 2004 5:38 am

Post by cobra » Sat May 08, 2004 7:00 am

yes you can but it just gives it first item and for some reason the Give window is not going away fast enough it stays up for a while which causes macro to skip casting all the items for pet .


/click left target
/notify GiveWnd GVW_Give_Button leftmouseup

maybe there is a problem with this line

Thank you for any help

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Sat May 08, 2004 7:03 am

Well duh, MQ runs a hellava lot faster than EQ can. Not to split hairs but if you just use the example I gave you, summon four items and then give ALL the items to the pet BEFORE clicking 'Give', I think it would work much better for you.
Then again... what do I know.

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Post by Chill » Sun May 09, 2004 1:13 am

Can you summon all 4 items and "queue" them up on your cursor?

If you can then go for it.

I am a chanter not a mage so I dont know for sure, but I have trouble casting my imbue spells or anythign else that summons items to my cursor if it is already full.

User avatar
blueninja
a grimling bloodguard
a grimling bloodguard
Posts: 541
Joined: Thu Aug 28, 2003 7:03 am
Location: Göteborg, Sweden

Post by blueninja » Sun May 09, 2004 6:26 am

Yes you can queue them on the cursor.

Oid
a snow griffon
a snow griffon
Posts: 416
Joined: Thu Oct 17, 2002 3:26 am
Contact:

Post by Oid » Sun May 09, 2004 7:06 am

just a tip, when notifying anything on any window, run at least like /delay 3 before you expect it to have taken effect, fuck on a bad day, even thati snt enough
Smokey the Lax says only you can prevent reproduction.

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Post by Chill » Sun May 09, 2004 8:14 am

blueninja wrote:Yes you can queue them on the cursor.
k fine try this then:

Code: Select all

/target pet 

/echo making pet gear
/call cast "Belt of Magikot" 
/call cast "Muzzle of mardu"  
/call cast "Blade of The kedge" 
/call cast "Blade of The kedge" 

/click left target 
/pause 2
/click left target 
/pause 2
/click left target 
/pause 2
/click left target 
/pause 2

/notify GiveWnd GVW_Give_Button leftmouseup
Last edited by Chill on Sun May 09, 2004 8:17 am, edited 1 time in total.

Oid
a snow griffon
a snow griffon
Posts: 416
Joined: Thu Oct 17, 2002 3:26 am
Contact:

Post by Oid » Sun May 09, 2004 8:17 am

Code: Select all

/target pet 

/call cast "Belt of Magikot" 
/call cast "Muzzle of mardu"  
/call cast "Blade of The kedge" 
/call cast "Blade of The kedge" 

/click left target 
/delay 3
/click left target 
/delay 3 
/click left target 
/delay 3 
/click left target 
/delay 3 

/notify GiveWnd GVW_Give_Button leftmouseup
Smokey the Lax says only you can prevent reproduction.