Improving Razor - Razor Development

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

  1. JimmyTheHand

    JimmyTheHand Well-Known Member
    UO:R Subscriber

    Joined:
    Nov 27, 2017
    Messages:
    513
    Likes Received:
    517
    Enter as a toggle is doable. Had a functionality like that test before my bars system move to razor....

    It simlly didnt send text to the client if the "chat toggle" (enter had been hit) was false. when it gets hit again;
    True-> send text -> False.

    I didnt get used to using it. Caused some rage lol. But over time :)
  2. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    Hey all, curious your opinions on this. I'm always a little hesitate to touch things like targeting and macros. When I grabbed the source for Razor, it was missing some of targets that 1.0.14.x added so I went ahead and added them awhile back. However, if you look at the list, it's not a complete list.

    What are your thoughts on adding these for both "Random" and "Closest"?

    • murderer monster
    • murderer humanoid

    • innocent monster

    • friendly humanoid
    • friendly monster

    • non friendly humanoid
    • non friendly monster

    • criminal monster

    Adding these would make it so every category have an equal number of targets matching all the rest.

    Also, while I'm on the subject. Next/Prev target hotkey. Right now it just cycles through mobiles on the screen in range. I've had a request to make it ignore friends like Closest/Random do -- what are your thoughts on that?
    Labeler likes this.
  3. Baler

    Baler Well-Known Member

    Joined:
    Nov 15, 2015
    Messages:
    718
    Likes Received:
    564
    Put it in there. People will find a use for them. No question about it.

    Plus with the @Quick search bar feature. It's easier than ever to find these hotkeys! :)
  4. El Horno

    El Horno Well-Known Member
    UO:R Subscriber

    Joined:
    Aug 4, 2014
    Messages:
    3,612
    Likes Received:
    4,899
    I suggest you teach razor to handle prompt messages. This would be super useful for stocking vendors and copying runebooks,
    LanDarr likes this.
  5. LanDarr

    LanDarr Renaissance Staff
    Renaissance Staff
    Senior Counselor

    Joined:
    Apr 19, 2013
    Messages:
    5,612
    Likes Received:
    6,118
    you do this and I will use it
  6. BabyGerald

    BabyGerald Member

    Joined:
    Jun 18, 2015
    Messages:
    95
    Likes Received:
    89
    Is there a way to add Next to the mix in each category?
  7. BabyGerald

    BabyGerald Member

    Joined:
    Jun 18, 2015
    Messages:
    95
    Likes Received:
    89
    Is it possible to do this to white worms and summoned demons or elementals?
  8. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    Based on my review of the RunUO code, I can identify the following situations where packet 0xC2 is sent to the client, and then sent back to the server in the following scenarios:
    • Renaming bulk order books
    • Sending broadcast messages to a faction
    • When you request help via your paperdoll, messages that come in use it
    • GM/Admin functions we don't have access to
    • Changing guild abbreviations
    • Changing guild charter
    • Declaring war on another guild
    • Naming a guild
    • Setting a guild title
    • Setting a guild website
    • Naming/renaming a house
    • Renaming a runebook
    • Renaming a recall rune
    • Interacting with a vendor (rentals, prices, collecting gold, etc)
    • Ballot box topic
    • Renaming keys
    • Player bulletin boards
    • Shard polls (is that a thing here?)
    • Setting town crier lines and duration
    • Interacting with a barkeeper
    • Naming/renaming a boat
    [​IMG]

    Since this would obviously make runebook cloning much easier, I also talked to @Chris on IRC about it and he didn't have any objections.

    TL;DR:

    [​IMG]
    Seba, BlackEye, fooka03 and 1 other person like this.
  9. Baler

    Baler Well-Known Member

    Joined:
    Nov 15, 2015
    Messages:
    718
    Likes Received:
    564
    So long as this doesn't affect the economy i'm alright with it.
    Last edited: Jan 23, 2019
  10. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    Yep, it could be added. Target changes do make me a little nervous, since it can open up a whole new world of fighting mechanics. What do people think of "Next Gray Humanoid, Next Murderer Humanoid" etc
    Erza Scarlet and BabyGerald like this.
  11. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    It's possible to do it with everyone mobile in the game. Razor Enhanced, for example, lets you define any mobile graphic and what you want to change it to. Humans can be birds, cats can be dragons, liches can be chickens. That feature inspired this feature, but as you see, I limited it to dragons and drakes.

    Technically, everyone has the ability to edit the art/animation files to make mobiles look like whatever you want but since the most popular "mod" on UOR appeared to be dragon/drake related, I focused on those two first.
    BabyGerald likes this.
  12. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    You might see some increased economic activity around runebook sets.
  13. NCCML

    NCCML Well-Known Member
    UO:R Subscriber

    Joined:
    Jan 18, 2018
    Messages:
    1,412
    Likes Received:
    1,701
    It's not radically different. We already have keys to target closest of each of these. It would give you the ability to cycle through when multiples are on screen, but we can do that now anyway, just a little less intuitively.

    Imo, it isn't world changing. I wouldnt use the next feature for greys or reds specifically, too many hotkeys. I would continue to use the one we already have.
  14. BabyGerald

    BabyGerald Member

    Joined:
    Jun 18, 2015
    Messages:
    95
    Likes Received:
    89
    I think provokers and archers would get a kick out of this feature
  15. BabyGerald

    BabyGerald Member

    Joined:
    Jun 18, 2015
    Messages:
    95
    Likes Received:
    89
    The other suggestion I have was to add 5 more restock agents

    Finally, but this may be way more/too complicated: during or after the macro recording process, is there a way to replace "wait for target" with "pause XX sec." Either by default, a function to convert all the wait for targets into pauses after the macro is finished recording?

    Further, the XX could be a global variable entered at the razor level. This way if connections speeds change over time, adjusting this pause time can be applied to all macros. What's more is that shared macros can be optimized regardless of ping.
  16. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    Close out of Razor, edit the config file, and reopen. I added this long ago. You can have up to 2,147,483,647 restock agents in theory.

    http://www.uor-razor.com/help/#configuration-file

    That wouldn't be to difficult to add. Curious what scenario you'd want to wait longer than the time it took for a target to popup on your mouse? Wait For Target accounts for connect speed since it essentially waits for the server to response to your request, so if you're lagging one minute, and fine the next, you aren't having to modify that number manually.
  17. Baler

    Baler Well-Known Member

    Joined:
    Nov 15, 2015
    Messages:
    718
    Likes Received:
    564
    Request: Pet Command Hotkeys

    The problem with using macros to send a pet command is it will end a currently playing macro.
    So real example is I'm playing a pet bandage macro and I hit my All Guard Me Macro Hotkey. It ends the pet bandage macro.

    All Come
    All Follow Me
    All Guard Me
    All Kill
    All Stay
    All Stop
    PaddyOBrien likes this.
  18. Quick

    Quick Well-Known Member
    UO:R Donor

    Joined:
    Jan 6, 2018
    Messages:
    534
    Likes Received:
    1,136
    Are you able to tie those to UO macros within the client so that it won't break your Razor macros? (that's what I do currently)
  19. Baler

    Baler Well-Known Member

    Joined:
    Nov 15, 2015
    Messages:
    718
    Likes Received:
    564
    Yeah but I can't toggled in game macro's on/off. So if it's a key I use(which it is) I'll be spamming commands like All Kill during conversations. And well. that's not cool.
  20. BabyGerald

    BabyGerald Member

    Joined:
    Jun 18, 2015
    Messages:
    95
    Likes Received:
    89
    Thanks for the first part!

    I find pause works better than wait for target in general. The stand out was using pause in the recall mining and ore processing macro I wrote instead of wait for target.

Share This Page