Need help with a stealing macro

Playguides written by Staff and Players.
Much more information on specific skills can be found in our T2A wiki.
Post Reply
Oswald
Posts: 182
Joined: Sun Mar 21, 2010 11:18 pm

Need help with a stealing macro

Post by Oswald »

I find the Razor macro UI pretty intuitive as long as you stay within the limits of what you can do with point and click, but I want to put in some kind of counter so that I can periodically feed my tamed animal.

Anyone know how I can do this?

Bag
Posts: 155
Joined: Thu Feb 25, 2010 2:59 pm

Re: Need help with a stealing macro

Post by Bag »

record dragging pouch, dropping on tamed animal.

steal
pause 1s
if sysmessage "successful"
drag pouch
drop on llama
pause 9s
else
pause 9s

edit: just realized you meant actually feed it apples. below post is right.
Last edited by Bag on Thu Mar 25, 2010 9:01 am, edited 1 time in total.

Hicha
UOSA Donor!!
UOSA Donor!!
Posts: 2264
Joined: Tue May 05, 2009 10:03 am
Location: out selling permits

Re: Need help with a stealing macro

Post by Hicha »

Oswald wrote:I find the Razor macro UI pretty intuitive as long as you stay within the limits of what you can do with point and click, but I want to put in some kind of counter so that I can periodically feed my tamed animal.

Anyone know how I can do this?
Put your stealing macro inside a For/next loop with a bunch of iterations, then after the loop record your feeding macro.

Code: Select all

For (1 to 20)
   Use stealing
   Wait for target
   Absolute target (bag on packhorse)
   Pause 1 sec
   If weight > 36 (set to your weight before stealin the pack)
      Lift pouch
      Drop to Packhorse
   End If
   Pause 9 secs
End For
Lift 1 apple
Drop to packhorse

[x] Loop
Image
"I consider most of you NPC's that inhabit the single player game that I am here to enjoy." - MatronDeWinter

Oswald
Posts: 182
Joined: Sun Mar 21, 2010 11:18 pm

Re: Need help with a stealing macro

Post by Oswald »

Is this possible from within the razor UI or do I need to edit the macro file itself?

If macro file, is that syntactically correct or just pseudo code?

Thanks a bunch, both of you.

Hicha
UOSA Donor!!
UOSA Donor!!
Posts: 2264
Joined: Tue May 05, 2009 10:03 am
Location: out selling permits

Re: Need help with a stealing macro

Post by Hicha »

Oswald wrote:Is this possible from within the razor UI or do I need to edit the macro file itself?

If macro file, is that syntactically correct or just pseudo code?

Thanks a bunch, both of you.
Entirely possible from within Razor, and its more pseudo code but it should be pretty accurate as to what exactly you want the macro to be doing.

You can go either route; having the macro look for the "success" sysmessage or by weight; I prefer to go by weight as other system messages have interrupted my macro in the past.
Image
"I consider most of you NPC's that inhabit the single player game that I am here to enjoy." - MatronDeWinter

Post Reply

Return to “Guides”