Imagine Nation Forums

Full Version: Razor: Sparring macros (by soMa)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Will fight with the sparring partners in the Mercenary Camp, wash bandages and equip new heater shields and weapons.

Mace Fighting - Use a Club & Heater Shield
Code:
!Loop
Assistant.Macros.HotKeyAction|1395|
Assistant.Macros.HotKeyAction|1196|
Assistant.Macros.IfAction|7|-1|0
Assistant.Macros.DoubleClickTypeAction|5044|True
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|8|-1|0
Assistant.Macros.DoubleClickTypeAction|7030|True
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|0|0|77
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.DoubleClickTypeAction|3616|True
Assistant.Macros.TargetTypeAction|False|2883
Fencing - Use Dagger & Heater Shield
Code:
!Loop
Assistant.Macros.HotKeyAction|1395|
Assistant.Macros.HotKeyAction|1196|
Assistant.Macros.IfAction|7|-1|0
Assistant.Macros.DoubleClickTypeAction|3922|True
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|8|-1|0
Assistant.Macros.DoubleClickTypeAction|7030|True
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|0|0|77
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.DoubleClickTypeAction|3616|True
Assistant.Macros.TargetTypeAction|False|2883
Swordsmanship - Use Butcher Knife & heater Shield
Code:
!Loop
Assistant.Macros.HotKeyAction|1395|
Assistant.Macros.HotKeyAction|1196|
Assistant.Macros.IfAction|7|-1|0
Assistant.Macros.DoubleClickTypeAction|5110|True
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|8|-1|0
Assistant.Macros.DoubleClickTypeAction|7030|True
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|0|0|77
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.DoubleClickTypeAction|3616|True
Assistant.Macros.TargetTypeAction|False|2883
For Wrestling Just Don't Put A Weapon In your Pack.
Have Lots of bandages to be safe.
Have several weapons and Heater shields in your pack if your afk they will break.
This is my own version. This and more can be installed through the Tools menu in the IN Patcher.
Code:
!Loop
// Attack a Sparring Partner, then hit Play.  Needs:  A supply of weapons, shields and bandages.
// Stand near a water trough as well.
Assistant.Macros.HotKeyAction|1196|
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.IfAction|0|0|70
Assistant.Macros.HotKeyAction|1025|
Assistant.Macros.PauseAction|00:00:03
// Change the Target on the Lines Below to the shield/weapon type you are using.
Assistant.Macros.DoubleClickTypeAction|7030|True
Assistant.Macros.DoubleClickTypeAction|5049|True
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|50|0|3|Bandages
Assistant.Macros.DoubleClickTypeAction|3616|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetTypeAction|False|2883
Assistant.Macros.EndIfAction
So I've copied and pasted a macro to a .macro file and placed it into the /Macros folder, but how do I use it throught razor?
This is a script for Easy uo or uo assist I believe, not razor. Smile
It says Razor in the title...not sure myself.
Yes,
log in using razor then in the macro's tab it should be in the list on the left.
*If you are not seeing it a few things to check would be
-The .macro file has the proper extension
-It's in the right folder

Also make sure uo and razor are closed when putting the .macro file in the folder.
I am following the instructions to the letter, but it isn't working.
You can try to reinstall razor, since the last update razor made, I also can't add scripts I have to make them manually.

(If you can run into me ingame I can run you through making the macro.)
I'm sorry but being even more basic... how do I create a .macro file?
Blascky Wrote:I'm sorry but being even more basic... how do I create a .macro file?
Right click desktop or inside any folder, then go to create a new text document. It should name it "New Document.txt" or something like that. Then you'd just rename it to "macro_name.macro" and Razor can read it.

If you don't see the .txt, you'll need to go to folder options and "Show extensions for known file types." You can google your operating system and something like "show extensions" for instructions specific to the operating system you're on.
Thank you very much, Eru!!