Tower Security Macro!

Post Reply
morganm
Posts: 289
Joined: Tue Dec 21, 2010 10:46 am

Tower Security Macro!

Post by morganm »

Someone asked for a macro that safely enters and locks the tower doors. So I whipped one up today. Basically what it does is use the key, unlock the door, open the door, re-lock the door, walk 2 north, close the door and then detects hidden.

Be sure you are facing the left (west) door and that you aren't under an object delay timer.

Copy the code below.
Open My Computer and go to C:\Program Files\Razor\Macros
Right click > New > Text Document
Name it DG Tower.macro
Open that file in notepad
Paste the code, save, and close

Now when you open UO and Razor you'll have a new Macro called DG Tower

Code: Select all

Assistant.Macros.DoubleClickAction|1078704557|5993
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.AbsoluteTargetAction|0|0|1080368672|1491|735|12|1653
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.DoubleClickAction|1080368672|1653
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.DoubleClickAction|1078704557|5993
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.AbsoluteTargetAction|0|0|1080368672|1490|736|12|1654
Assistant.Macros.WalkAction|0
Assistant.Macros.WalkAction|0
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.DoubleClickAction|1080368672|1654
Assistant.Macros.UseSkillAction|14
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetRelLocAction|0|-3

User avatar
Alexandria Rose
UOSA Donor!!
UOSA Donor!!
Posts: 146
Joined: Mon Nov 15, 2010 6:55 pm

Re: Tower Security Macro!

Post by Alexandria Rose »

Thanks for this.
Now can you come to my small and hook one up there? Hehe.. Actually should be able to figure out from this macro.
Thanks!
Alex

morganm
Posts: 289
Joined: Tue Dec 21, 2010 10:46 am

Re: Tower Security Macro!

Post by morganm »

No prob!

You really should just have to reset the absolute targets and absolute objects and it will work anywhere.

jlf2n
Posts: 76
Joined: Sun Dec 12, 2010 11:01 pm

Re: Tower Security Macro!

Post by jlf2n »

Be wary of using a macro with walking commands in it. They have been known to cause lag. If it works fine for you then I wouldn't say stop using it but if you get crazy, skip jumping lag this could be the reason. If you do get bogged down from the lag you'll need to reboot the launcher. Simply logging out and back in won't solve it.

User avatar
archaicsubrosa77
UOSA Donor!!
UOSA Donor!!
Posts: 3477
Joined: Fri Jul 03, 2009 5:31 pm
Location: Taylor Michigan

Re: Tower Security Macro!

Post by archaicsubrosa77 »

there is a resynch client option in your misc. razor hotkeys
Derrick wrote:I wish it were possible that a mount could be whacked while you are riding it, but to the best of my knowedge it is not.

User avatar
marmalade
Posts: 1531
Joined: Sun Apr 19, 2009 5:02 pm

Re: Tower Security Macro!

Post by marmalade »

i don't think resynch client fixes this issue.
Image

shuar
Posts: 25
Joined: Thu Oct 28, 2010 5:44 pm

Re: Tower Security Macro!

Post by shuar »

He's correct walking macros in razor can cause some rubberbanding (not sync) issues that don't go away until you close out razor and reload it.

User avatar
Zelek Uther
UOSA Subscriber!
UOSA Subscriber!
Posts: 459
Joined: Tue Oct 19, 2010 11:51 pm
Location: Auckland, New Zealand

Re: Tower Security Macro!

Post by Zelek Uther »

From the Wiki entry on Razor:
Never include walking in a Razor macro
If you "move" in a Razor macro the UO client will lag badly until you restart it, not just log out and back in, but close the UO client completely. There is no known fix for this.
See Derrick's second post on this thread: Strange Client-side lag, razor and possibly house related?
I had walking in a macro, and it gave me Extreme Lag. It made UO almost unplayable!
Zadok Uther - Co-founder of Society of Traders [S^T]

Zelek Uther - Guild Master of Terra Nova [TN]

Post Reply