Kyl's RestockAgent for casting Lightning

Moderator: Support Moderators

Post Reply
Kylock
Posts: 426
Joined: Sat Jun 07, 2008 12:54 am

Kyl's RestockAgent for casting Lightning

Post by Kylock »

Wanted to make this thread for people unfamiliar with Razor and it's capabilities.
If you want to macro magery in town with a buncha regs over night, there's no better way. I see people lose 1000s of regs by just leavin em in their pack and macroin all day, it's dumb.

By making this macro with Restock Agent you can withdraw however many reagents you want from your bank, cast the spell, and repeat.



Step 1 - Gather the reagents you're going to need, and make sure you have the spell you want to cast obviously.

Step 2 - Open Razor ~ Click the Agents tab, hit the drop-down box and select a Restock-#. Once you've chosen a # click Add Target and add the reagents you're going to be using. Example Lightning = 1 root + 1 ash
This is what it should look like so far:
Image

Step 3 - Go to the Macros tab and create a new one, named Lightning or whatever you want. Then press record (do not do anything ingame while you're doing this) --press record. Click the "Hot Keys" tab and dropdown the Agents section. Click on the Restock Agent# you made, and hit 'Execute Selected' right after you press that, go to your UO client and target yourself. By targetting yourself, this will remove the regs from your bank. If you were in your house, you could target a container. Go back to the Macros tab and hit stop.
Image
Once you've got all that right, play the macro and make sure it takes the reagents from your bank - it will check to see if you have 1 of each of those regs on you already, so bank all your regs. If it doesn't work, start over.

Step 4 -We need to put a delay in before you start casting lightning, so the regs have time to be withdrawn from your bank. Right click under Absolute Target and go to Special Constructs -> Insert Pause/Wait : 2500 milliseconds (bout 2.5 secs). Get your lightning spell icon out & ready and also have your skills open with meditation handy. Right click under the pause for 2.5sec, and click "Begin Recording Here" - cast lightning, target yourself then use meditation. Press stop. Also, check the loop box in the bottom right corner.
Image

Step 5 - Here's the most annoying part, putting in the delays and brains into the macro. Right click on where it says Exec:Restock Agent-3 go to Special Constructs -> insert "if" conditional -- If Mana >= 11 -- once you've inserted that you're going to have to right click on that line, and hit "Move Up" so it's above the Exe:Restock Agent-3. Basically, thats just a check to see if your mana is high enough to cast lightning, before it starts gathering the regs and casting the spell. Now after the "Exec: Target Self" line go to special constructs->insert pause/wait for 2500 milliseconds.
Image

Step 6 - Right click on the line Pause 2.50sec, after Exe:Target Self and goto special construct -> insert "else". That should be above the UseSkill Meditation Line. Now right click on the Meditation line, and Insert a Pause/Wait, click the bottom box and put in "Wait for: Mana >= 15" this will give you a little time to med up between casts.
All said and done your macro should look like this:
Image


Let me know if you can't figure it out, have any suggestions for me, or if i made a mistake somewhere. Thanks


EDIT: If you've got GM Meditation & 100 int before you start, you might want to insert some more delays or an IF for hit points, because you can kill yourself with too many casts
Last edited by Kylock on Tue Jul 29, 2008 5:03 am, edited 1 time in total.

User avatar
Sauron
Posts: 79
Joined: Mon Jun 16, 2008 12:59 am
Location: Colorado USA

Re: Kyl's RestockAgent for casting Lightning

Post by Sauron »

Nice one :D

User avatar
TwoTon
Posts: 1176
Joined: Wed Jun 04, 2008 6:57 pm
Location: North Of Minoc
Contact:

Re: Kyl's RestockAgent for casting Lightning

Post by TwoTon »

*claps*

Kylock
Posts: 426
Joined: Sat Jun 07, 2008 12:54 am

Re: Kyl's RestockAgent for casting Lightning

Post by Kylock »

Tried making the font a bit smaller so it wouldnt be hanging off the edge, but oh well I guess :|

Euph
Posts: 78
Joined: Sat Apr 19, 2008 3:34 am

Re: Kyl's RestockAgent for casting Lightning

Post by Euph »

boo remove this. You're putting thiefs out of business:D

Akshun
Posts: 29
Joined: Fri Jun 13, 2008 11:26 am

Re: Kyl's RestockAgent for casting Lightning

Post by Akshun »

Change your font color as it literally hurts my eyes to try and read it.

That's a ridiculous choice.

The Cat
Posts: 5
Joined: Fri Jul 25, 2008 3:01 pm

Re: Kyl's RestockAgent for casting Lightning

Post by The Cat »

lol the font is fine, i wasn't exactly sure how to get razor to do this for me, now i am. thanks bro

Kylock
Posts: 426
Joined: Sat Jun 07, 2008 12:54 am

Re: Kyl's RestockAgent for casting Lightning

Post by Kylock »

Euph wrote:boo remove this. You're putting thiefs out of business:D
:mrgreen:

Kylock
Posts: 426
Joined: Sat Jun 07, 2008 12:54 am

Re: Kyl's RestockAgent for casting Lightning

Post by Kylock »

throwwback

Post Reply

Return to “New Player Help”