Razor Tips

Discussion in 'Guides' started by Tater Salad, Dec 29, 2012.

  1. Tater Salad

    Tater Salad Renaissance Volunteers
    Renaissance Volunteers

    Joined:
    Nov 15, 2012
    Messages:
    312
    Likes Received:
    15
    Always make different profiles for different Characters!

    Profiles - Are often overlooked. Make a new profile for each character. It will be easier to customize each one according to its template. Once you have logged a character in and out successfully with its profile, Razor will remember for subsequent logins.


    If you are having problems, like white screens, or can not see your counters at the top of your screen, having problems alt-tabbing.

    Close all instances of razor and UO.

    Right click on your razor icon on your desktop (or where you launch it from) and go to properties, and in your compatibility tab make sure your settings look like this.

    [​IMG]

    Check the boxes for run this program in compatibility mode sp3, Disable visual themes, Disable desktop composition, and run this program as administrator
  2. Tater Salad

    Tater Salad Renaissance Volunteers
    Renaissance Volunteers

    Joined:
    Nov 15, 2012
    Messages:
    312
    Likes Received:
    15
    [​IMG]
    In game commands:

    -AddUseOnce - gives a target. Target the item to add to the Use Once list.
    -Ping - Find your ping.
    -ReNice [Level] - The same as ReduceCPU. Use with one of the following level settings: idle, belownormal, normal, abovenormal, high, realtime. For example, -ReNice idle or -ReNice realtime
    -GetSerial - Get information on the RPV you are viewing to verify authenticity.
    -Help - See the list of Razor in-game commands.
    -Echo-
    -ReduceCPU - The same as ReNice. Use with one of the following level settings: idle, belownormal, normal, abovenormal, high, realtime. For example, -ReduceCPU idle or -ReduceCPU realtime
    -RPVInfo - Get information on the RPV you are viewing to verify authenticity.
    -Setup-t/Disable-t - Use '-setup-t' to enable a translation plugin. '-disable-t' will toggle it off.
    -Where - gives you the coordinates of your character.
    -Time - The time
    -Macro [name] - Use to run a macro in game. Use this format with the name of the macro. For example, I can run my macro titled 'makeleatherarmor' by typing -macro makeleatherarmor

    Hotkey tab:

    Set Last Target: This allows you to assign many things in the game to Razor’s last target. You can also use Razor’s other targeting commands to accomplish the same.

    Stop Macro: This does exactly what you would think.

    Execute Selection: When you are recording your own line items into razor, it can be useful to execute things that you see in the Hotkeys tab without having to assign them to a hotkey and using them. You can Right-click on a line item in your macro, select Begin Recording Here, navigate to the Hotkeys tab, and then execute what you are looking for. The action will be recorded into your macro.



    Wait For Target/Gump vs Manual Pauses: As much as possible, Wait for Target and Wait for Gump pauses were used so that players with varying pings would experience the macro the same way. The timeouts are there so that if a target or gump does not come up the way that it should, the macro will skip back to the beginning. This can be a useful feature in and of itself, but you want to ensure that you set the timeouts properly so that lag and world saves do not cause your macros to delay unnecessarily. Manual pauses are necessary in some macros like Mining in order to get the macro to function properly and will occasionally need to be adjusted to maximize the performance of the macro for you. Additionally, I occasionally use a Pause of 0ms, which is actually just a small minimum delay. Each line item takes a small amount of time to process as the macro moves along, and this is something to consider if you write very long macros.

    Display/Counters Tab: This Razor tab allows you to set up counters that can be used in your macros as well as to put icons with an item count in your titlebar. This can be used to keep track of what items you have on you during gameplay as well as giving you the ability to create more advanced triggers in your macros. Although their use is not covered in this guide, this is something that is worth looking into and experimenting with. For example, you can add an If/Then statement into your macro that restocks ingots to your pack when it gets low automatically so that you do not have to sit at the computer watching the macro work the entire time.

    Restock & Organizer Agents: The Restock and Organizer agents are both valuable assets of the Razor program. You should try to experiment with them and incorporate them into your macros to make them even easier to use. You will find that they work best, as with many other features of Razor, if you have properly set your Object Delay setting on the ‘More Options’ tab of Razor.

    There are a great variety of possibilities that you can try to set up to make things easier for you, even if you are only setting up your macros in the UO Client itself. Another set of small macros might involve setting up dress agents for each wand type (greater heal, lightning, etc.) that you anticipate using, and then creating a macro like: Dress: WandGreaterHeal, Pause .00sec, Exec: Use Item in Hand. The minimum pause inserted in the middle is not entirely necessary if you have your Object Delay set well, but I tend to have mine set for a little better performance, and this added pause creates a slight additional delay to ensure that my wand activation has more reliability. The wand will work fine without the minimum pause as well, although you do have to add and remove specific wands to your dress lists as needed.
  3. Tater Salad

    Tater Salad Renaissance Volunteers
    Renaissance Volunteers

    Joined:
    Nov 15, 2012
    Messages:
    312
    Likes Received:
    15
    The Macros tab is an indispensible tool. Record a set of actions often repeated. The macro can then be run repeatedly to copy the same actions. In this manner, less wear and tear is put on your mouse. Macros can be used to macro skill, even afk or while playing another character.

    Macros are divided into two sections. The column on the left is the macro index of all macroes you make. On the right is the action area, used to set and edit the macros you create. Macros are saved to a folder, 'Macros', in your Razor folder. These can be edited in text format.

    Categories can be created to organize your macros. Be aware, although each character may have its own profile, all macros recorded for any/all characters you use will show in your macro index. Categories allow you to organize your macros in groups. You may want to use groups for each character, crafting skills, pvp actions, etc. The benefit to having all macros show, they only need setting once. Each character can have their own hot key settings depending on how frequent that character would use the macro (if at all).

    Right click the left column for the following options:

    Add Category - Add a category to place macros in. A gump will prompt you to enter a name.
    Delete Category - Highlight a category and click delete to remove it. Macros inside the category will need to be removed first.
    Move to Category - Move macros to the category you choose.
    Refresh Macro List - Update changes made to the list.


    To Create a Macro, begin by clicking the 'New' tab at the bottom of the gump. A second gump prompts you to enter the name of the macro; click 'okay'.
    The macro will now appear in the left index. Highlight the macro name with a left click.
    A list of functions to set the macro will now show beside the right action window.
    Right click the macro name to move it into a category.

    To Set/Record a Macro, highlight the macro in the left index. Click the 'Record' tab on the right and go through the actions in-game that you want in the macro. When you have finished, click the 'Stop' tab. Once the macro is created, the 'Stop' tab will change to a 'Play' tab when the macro is not running. To clear the macro entirely for re-recording, click the Record tab again. A prompt warns your original macro will be cleared.
    You now have the basis of a macro. From here, you can fine tune it with a list of options found with a right-click.:
    [​IMG]

    Reload - Update Razor folder changes without closing Razor. This option will applies to the entire Razor folder, not specific macros. If you have edited a macro in text format, or added a a pre-made macro to the folder that isn't showing up, use this option.
    Save - Saves changes made to Razor in the text file without closing the program.
    Move Up/Down - Highlight a line and move it up or down with these two commands. Useful for changing text placement, misplaced commands, and more.
    Remove Action - Highlight a line and click this option to delete the action from the macro. This cannot be recovered except by re-recording the action.
    Begin Recording Here - Use this option to add actions you have missed. Razor will begin recording in the current macro. The action(s) will appear after the line highlighted.
    Play from Here - Play the macro from the line indicated. Useful for checking macros as you set them.
    Special Constructs - This list of commands is for inserting actions into the macro.
    Pause/Wait - This option gives a second gump of choices. A pause can be entered based on a specific amount of time. Waits can be added for gumps, targets, and old-style menus. Waits can also be added based on hitpoints, mana, or dexterity reaching a specified amount.
    For example: Wait for mana <= 90
    [​IMG]
    Set Last Target - Gives a cursor to set a new last target.
    Comment - Does not actually appear in the macro. This is for user notes and comments.
    "If" Conditional - Set a command depending on circumstances - If mana is <= ; If black pearl =>
    "Else" - You can continue the "if" conditional by adding 'else'. For example:
    If black pearl is <= 32
    Use restock agent 5
    Else If black pearl is => 33
    Use organizer agent 5
    End if
    This would tell razor to restock with restock agent 5 if black pearl if it is equal to or less than 32, use organizer agent 5 if black pearl is equal to or greater than 33.
    "End If" - Use this line to end your 'if' commands. This tells Razor this part of the macro is complete.
    "For Loop" - A command to loop (repeat) all actions following. A gump appears with this option, enter the number of times to repeat.
    "End For" - Use this when actions to be looped have ended. This line tells razor the "for Loop" part of the macro has ended.
  4. Chris

    Chris Renaissance Staff
    Renaissance Staff

    Joined:
    May 14, 2012
    Messages:
    3,385
    Likes Received:
    6,195
    Great guide Tater, Updated the main website link to point to this post.
  5. Vlar

    Vlar Well-Known Member

    Joined:
    Mar 8, 2013
    Messages:
    1,554
    Likes Received:
    1,765
    I found this to be a very useful guide. Thanks for posting Tater! :)

    Oh, I also noticed that the website link doesn't take you straight here. It first takes you to a thread post that says "Under Construction" with this thread being linked at the bottom. :geek:

Share This Page