Improving Razor - Razor Development

Discussion in 'Renaissance Discussion' started by Quick, Apr 22, 2018.

  1. Swunk

    Swunk Member

    Joined:
    Apr 3, 2014
    Messages:
    39
    Likes Received:
    25
    It would be fantastic if we could have a Razor hotkey for opening doors like the one that can be made in game.
  2. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    Hey, sorry forgot to respond to this.

    I'm curious, why not just use the in-game macro/hotkey?
    Blendax likes this.
  3. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    I agree with you, it would easier to manage with a single list. Admittedly, the way the current Razor codebase is setup, it was easier and "fit" better so I went that route. I added it to my todo list to research some more.
  4. Labeler

    Labeler Well-Known Member
    UO:R Donor

    Joined:
    Jul 18, 2016
    Messages:
    3,303
    Likes Received:
    1,581
    ideas


    - is it possible to move items up and down using the CTRL arrow in the list of the organizer and restock agents?
    - i believe scavenger behaves the same. whatever is 1st line, it ll try that 1st. so again, CTRL + arrow movment?
    - i see there is an "undress cloths, how about undress armour?
    - same goes for toggle (cloth vs armour)
    - search box in the friends list

    testing 1.7 @Quick
    Quick likes this.
  5. Southpaw

    Southpaw Active Member

    Joined:
    Oct 29, 2018
    Messages:
    198
    Likes Received:
    82
    Anyone know why when I try and copy a macro in razor that it starts as a note pad?.Even when I make my test macro in razor and put nothing in it. I can go to where all the macros are stored in razor and it is a blank note pad..I just can't seem to copy a macro and make it work.
    Thanks in advance.
  6. Header

    Header Active Member

    Joined:
    May 1, 2018
    Messages:
    128
    Likes Received:
    75
    I see that there is a pause macro hotkey.

    Is it possible to have a pause macro button on the interface under record macro?
    Quick likes this.
  7. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    Hey all, I just wanted to give a quick update on the latest build of Razor.

    Updates/Additions:

    - Supports both the standard OSI client and the new ClassicUO client (still in testing)
    - Added base support for for Linux & Mac
    - Optimized start up times, merged in Ultima.dll.
    - Added Grab Item Hotkey. Use this hotkey, click on an item and it will go in your bag.
    - Added Set Grab Item HotBag Hotkey. Set the bag you want items you grab to go into, uses your main bag by default.
    - Queue Last/Self default to disabled, also auto-queue object delay default to disabled. (This would cause confusion for new people using Razor)
    - Added Criminal, Murderer and Innocent Next/Prev hotkeys
    - Added Next/Previous for Friendly, Grey and Non-Friendly
    - Added sub-categories to the Hotkey menu for Targets
    - Added a hotkey to toggle war mode only, and toggle peace only (instead of toggling one or the other).

    A lot of work has gone into getting Razor to support both the standard OSI client and the new ClassicUO client, along with support for Mac and Linux without special steps to get it going. Because of these changes, all future versions of Razor released will be under the 1.6.x.x versioning schema to (hopefully) avoid confusion. 1.5.0.17 is the last version to support only the OSI client.
    Last edited: May 2, 2019
  8. Header

    Header Active Member

    Joined:
    May 1, 2018
    Messages:
    128
    Likes Received:
    75
    Your killing it on updates quick

    Keep up the hard work!
    Quick likes this.
  9. Zell

    Zell Active Member

    Joined:
    Dec 21, 2018
    Messages:
    153
    Likes Received:
    147
    o_O
    O'Malley and wylwrk like this.
  10. Blendax

    Blendax Well-Known Member
    UO:R Donor

    Joined:
    Sep 18, 2017
    Messages:
    1,856
    Likes Received:
    1,255
    When opening MIBs ... does anyone know where the CSV file gets saved? I assumed it would be in the Razor dir, but I can't find it there.
  11. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    You should see a folder called "JMap" in the root of the Razor folder, and within that is MIBPins.csv
  12. Blendax

    Blendax Well-Known Member
    UO:R Donor

    Joined:
    Sep 18, 2017
    Messages:
    1,856
    Likes Received:
    1,255
    Yeah .. that's where I thought it should be. I opened up 95 MIBs ... and there's no MIBPins.csv in that directory :(.
  13. Blendax

    Blendax Well-Known Member
    UO:R Donor

    Joined:
    Sep 18, 2017
    Messages:
    1,856
    Likes Received:
    1,255
    Ahh .. nevermind . I just created a blank text document , renamed it to MIBPins.csv, opened a MIB, and now it seems to be working again :)
    Thanks @Quick . Awesome work.
    Quick likes this.
  14. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    Oh ok, it doesn't like it when a file doesn't exist. I'll get that fixed. Thanks!
    Blendax likes this.
  15. Khal'Des

    Khal'Des Active Member
    UO:R Subscriber

    Joined:
    Oct 23, 2017
    Messages:
    222
    Likes Received:
    149
    Hey, my crafting macro ends in the middle of a for loop if my tool breaks. I'm interested as to why the macro ends instead of continuing the for loop - something to do with Razor? I have v1.5.0.17.

    I tried debugging it with Say command and when my tool breaks, the macro doesn't reach "Debug_3".

    The idea of the macro is to use 4 similar macros whose only difference is the organizer agent and the next macro being played. So the macro always plays the next macro 1-2-3-4-1-2-3-4...

    Pseudocode for the crafting macro:
    Code:
    Say: Start                         (Debug_1)
    Restock Boards with Absolute Target
    Pause 1 second
    For 10 times:
        Say: N                         (Debug_2)
        Double-click Nails
        Wait for Gump
        GumpResponse Make Last
        Wait for Gump
        Say: ef                        (Debug_3)
    End For
    Say: Organize                      (Debug_4)
    Organizer Agent
    Pause 8 seconds
    Say: End                           (Debug_5)
    Play next macro (with different organizer)
    I also tried replacing the second "Wait for Gump" with a 3 second pause as suggested by a more experienced crafter, but the same behaviour exists (i.e. macro ends in the middle of the for loop). Additionally queued actions seem to break the for loop, but I only experienced this once.

    Only if the tool breaks on the last (10th) iteration of the for loop, the macros will continue.

    I'm all good though - if I put the "!Loop" line in the beginning of the file, then the macro that ends will begin from the start. I'm just putting my findings out here in case it helps improve Razor and my future macros.
  16. JohnM

    JohnM Well-Known Member
    UO:R Donor

    Joined:
    Mar 27, 2015
    Messages:
    2,284
    Likes Received:
    1,573
    Do you restock tools as well at the start? I always have two tools in the bag at the start.
  17. Me Want Food

    Me Want Food Member

    Joined:
    Nov 14, 2015
    Messages:
    64
    Likes Received:
    36
    Hi!

    A little suggestion, dunno if it's a biggy or not but I think it would be easier to assign the hotkey directly to the macro instead of going to the hotkey tab and look it up. (I know I'm lazy :) )
    I made a copy/paste rearrange in paint just to show what I mean.

    Maybe even put a info text below the hotkey window that show up automatic before you hit "Set" if you already has the hotkeycombo to some other macro.
    So if you for exaample check Ctrl + k a label will appaer "that hotkey are already assigned to bla bla macro" if it's already in use.


    Namnlös.png

    Cheers
    Quick likes this.
  18. midgetbob

    midgetbob Well-Known Member
    UO:R Subscriber

    Joined:
    Apr 22, 2016
    Messages:
    589
    Likes Received:
    387
    Using a tailoring macro to make an item then use scissors to cut it up.

    Keep getting a message of, "This item must be in your backpack."

    Double Click (sewing kit (0F9D))
    Wait For Gump (Any)
    GumpResponse (Button 21)
    Pause 6.00sec
    Double Click (scissors (0F9F))
    Wait For Target
    Target by Type robe (1F03)


    There is a robe nearby, but it's in a bag that isn't open. There should be no way the client is "seeing" this to get it confused with items in my main pack
    Last edited: May 27, 2019
  19. Hollywood

    Hollywood Well-Known Member
    UO:R Subscriber

    Joined:
    Apr 14, 2017
    Messages:
    3,650
    Likes Received:
    3,752
    I've always had trouble when raising tailoring and if I'm working on said robe, if there is another one on screen or even a screen off i get that message. I learned to raise tailoring in an isolated house and nowhere near banks.
  20. dissident

    dissident Active Member
    UO:R Subscriber

    Joined:
    May 25, 2014
    Messages:
    479
    Likes Received:
    162
    Would it be possible to add the hue property to organizers/restock agents? That way we could separate things like Tailor and Smith BODs, ores, etc
    Quick likes this.

Share This Page