Feeding animal macro(Stealing)

Moderator: Support Moderators

Post Reply
arrowface
Posts: 10
Joined: Wed Feb 15, 2012 4:44 am

Feeding animal macro(Stealing)

Post by arrowface »

Hey guys... first post :]

I was wondering if I could have some help with my stealing macro. I want it to feed the packhorse every 320 loops however whenever I play the macro it feeds the horse every single loop. The macro takes 11 seconds to complete, so 11 * 320 loops should be about an hour. Please take a look:

Say: all guard me
Useskill stealing
wait for target
absolute target
pause .50sec
say: all follow me
lift backpack (0E75) -1
Pause .50sec
Drop to 0x214A1 [@-1,-1,0]
Pause 10sec
End if
For(1 to 320)
"drag and drop food on horse"


The macro works great and I am gaining however I want to be able to macro it for a longer period without having to worry about feeding my horse. Can someone point me in the right direction?

User avatar
Pehiko
UOSA Donor!!
UOSA Donor!!
Posts: 128
Joined: Wed Feb 15, 2012 2:18 am

Re: Feeding animal macro(Stealing)

Post by Pehiko »

Hello Arrowface!

First of all i have GM Stealing without feeding my packhorse and it never abandoned me but if you really want to feed the horse use the "For Loop" option in the Special Construction part of the macro. You will be able to tell razor how many time you want it to Loop a specific part of the macro before finishing it.

(so you will loop the stealing part of the macro 320 time before it finish with the feeding part)

Hope it help

arrowface
Posts: 10
Joined: Wed Feb 15, 2012 4:44 am

Re: Feeding animal macro(Stealing)

Post by arrowface »

Hey, thanks for the reply!

The problem is that I have attempted to use the "for loop" within the macro right here:

Say: all guard me
Useskill stealing
wait for target
absolute target
pause .50sec
say: all follow me
lift backpack (0E75) -1
Pause .50sec
Drop to 0x214A1 [@-1,-1,0]
Pause 10sec
End if
For(1 to 320)
"drag and drop food on horse"


However typing 320 into the "for Loop" creates the "For(1 to 320)" command which feeds the animal every single round. So I'm not sure exactly how to use it :/

User avatar
Pehiko
UOSA Donor!!
UOSA Donor!!
Posts: 128
Joined: Wed Feb 15, 2012 2:18 am

Re: Feeding animal macro(Stealing)

Post by Pehiko »

you need to put the "for Loop" before the stealing.
and put the End For before the feeding..
So it would look like this:

For(1 to 320)
Say: all guard me
Useskill stealing
wait for target
absolute target
pause .50sec
say: all follow me
lift backpack (0E75) -1
Pause .50sec
Drop to 0x214A1 [@-1,-1,0]
Pause 10sec
End For
"drag and drop food on horse"

that way it will repeat the stealing loop 320 time before the feeding part.

The macro might not be exactly that but that is the principle of the loop.

arrowface
Posts: 10
Joined: Wed Feb 15, 2012 4:44 am

Re: Feeding animal macro(Stealing)

Post by arrowface »

Pehiko thank you very much for your quick responses. The macro works perfectly as you constructed it above. I tried it for a smaller loop like 3 jsut to see if it worked properly.

User avatar
Pehiko
UOSA Donor!!
UOSA Donor!!
Posts: 128
Joined: Wed Feb 15, 2012 2:18 am

Re: Feeding animal macro(Stealing)

Post by Pehiko »

No problem, PM me or send me a tell on IRC if you need more help/info.

Post Reply

Return to “New Player Help”