Cannot figure out how to create Macros outside of Razor.

Moderator: Support Moderators

Post Reply
User avatar
Foxhound3857
Posts: 226
Joined: Thu Aug 06, 2009 2:29 pm

Cannot figure out how to create Macros outside of Razor.

Post by Foxhound3857 »

So, I have a couple of fishing macro codes that I want to set up, and the instructions I'm following don't seem to work.

These are the two macros I'm trying to create.

!Loop
// Grubb's Sea Serpent Fisher
Assistant.Macros.DoubleClickTypeAction|3520|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetRelLocAction|-3|0
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.IfAction|4|0|the fish don't seem to be biting here.
Assistant.Macros.SpeechAction|0|52|3|ENU|2|16|69|forward
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.SpeechAction|0|52|3|ENU|5|48|54|4|241|97|stop
Assistant.Macros.ElseAction
Assistant.Macros.PauseAction|00:00:07.5000000
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|you pull out an item along with a monster
Assistant.Macros.SpeechAction|0|52|3|ENU|2|17|149|SEA SERPENT! PREPARE FOR BATTLE!!
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction



!Loop
Assistant.Macros.DoubleClickTypeAction|3520|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.PauseAction|00:00:08
Assistant.Macros.TargetRelLocAction|0|-4
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|4|0|uh oh! that doesn't look like a fish!
Assistant.Macros.SpeechAction|0|690|3|ENU|2|16|69|forward
Assistant.Macros.PauseAction|00:00:15
Assistant.Macros.SpeechAction|0|690|3|ENU|5|48|54|4|241|97|stop
Assistant.Macros.UseSkillAction|21
Assistant.Macros.PauseAction|00:01:00
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|4|0|the fish don't seem to be biting here.
Assistant.Macros.SpeechAction|0|90|3|ENU|2|16|90|F orward one
Assistant.Macros.PauseAction|00:00:01.1000000
Assistant.Macros.SpeechAction|0|90|3|ENU|2|16|90|F orward one
Assistant.Macros.PauseAction|00:00:01.1000000
Assistant.Macros.SpeechAction|0|90|3|ENU|2|16|90|F orward one
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.SpeechAction|0|90|3|ENU|2|16|90|F orward one
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.SpeechAction|0|90|3|ENU|5|48|54|4|241|97|stop
Assistant.Macros.UseSkillAction|21
Assistant.Macros.PauseAction|00:00:08

These are the instructions I'm following.

Installation
1. Create a new Text document in the "Macro" Directory of Razor and give it a ".macro" extension
2. Copy above code into the new text document and save it.
3. Launch Razor
4. Run Macro
5. Enjoy


I've done everything correctly up to step 4, but the macros don't appear in my Razor Macro directory once launched.

Why? What am I doing wrong? Can anyone help me to get these macros working?

Thank you.

zzyzx
UOSA Subscriber!
UOSA Subscriber!
Posts: 380
Joined: Tue Jul 28, 2009 5:58 pm

Re: Cannot figure out how to create Macros outside of Razor.

Post by zzyzx »

You probably have "Hide known file extension types" hidden within your OS so the macro is really saving as Whatever.macro.txt

Just do this. Go to start->run type notepad and hit enter. Paste the macro.

Go to File->Save As

Save it as, WITH THE QUOTES "whateveryouwant.macro" and save it to the Macros folder in the Razor folder.

If you want to unhide known file extension types, start Windows Exlporer (aka My Computer). Go to Tools->Folder Options and click the View tab. Uncheck "Hide extensions for known file types". Click Apply and then OK.

Now you should be able to rename stuff with an extension without having to worry about the previous extension getting appended there.

If you add a new macro I don't believe it will show up immediately in Razor if you are on the Macros tab. You need to go to some other tab then back to Macros.
<Derrick> I guarantee world peace will not be seeded in a UO FreeShard IRC channel

User avatar
Foxhound3857
Posts: 226
Joined: Thu Aug 06, 2009 2:29 pm

Re: Cannot figure out how to create Macros outside of Razor.

Post by Foxhound3857 »

Hey, it worked. The macros are in the directory now and they seem to be working fine.

Thanks a lot for your assistance. I really appreciate it.

zzyzx
UOSA Subscriber!
UOSA Subscriber!
Posts: 380
Joined: Tue Jul 28, 2009 5:58 pm

Re: Cannot figure out how to create Macros outside of Razor.

Post by zzyzx »

Sweeeet. Enjoy!
<Derrick> I guarantee world peace will not be seeded in a UO FreeShard IRC channel

Demetrius
Posts: 933
Joined: Fri Aug 31, 2012 6:51 pm

Re: Cannot figure out how to create Macros outside of Razor.

Post by Demetrius »

Follow the above post and it will work
For those using Windows 7; I had to go to Computer/Local disk C/Users/computer name (ie jane or whatever you named it)/AppData/Roaming/Razor/Macros
This got the macro working. It didn't show up right away, so i clicked on anther tab then back to macros and it showed up! Yay!
Hope this helps!
"The secret to acting is to never let them catch you doing it"
-Marlon Brando

Post Reply

Return to “New Player Help”