Razor tailoring macro doesn't work

Discussion in 'Server & Client Support' started by musicano, Apr 9, 2016.

  1. musicano

    musicano Member

    Joined:
    Mar 23, 2016
    Messages:
    79
    Likes Received:
    13
    Here is the code.

    !Loop
    Assistant.Macros.DoubleClickTypeAction|3997|True
    Assistant.Macros.WaitForGumpAction|949095101|False|300
    Assistant.Macros.GumpResponseAction|51|0|0
    Assistant.Macros.WaitForGumpAction|949095101|False|300

    Whenever I wear out a sewing kit, it will not automatically go on to the next one, it will pause for like 4 minutes (what causes that error?) and I have to manually re-target a sewing kit n razor. This can be a problem sometimes if I'm making cloaks and my sewing kits are underneath them all
  2. Alice Asteroid

    Alice Asteroid Well-Known Member
    UO:R Subscriber

    Joined:
    Jun 23, 2015
    Messages:
    628
    Likes Received:
    1,088
    You probably need to adjust your pause times. Here is the macro I use for filling out BOD orders of 10. I make the first item and then run this, which makes the last item 9 more items. Never times out, even if I use up a sewing kit.

    Assistant.Macros.ForAction|9
    Assistant.Macros.DoubleClickTypeAction|3997|True
    Assistant.Macros.PauseAction|00:00:05
    Assistant.Macros.GumpResponseAction|21|0|0
    Assistant.Macros.EndForAction
  3. Alice Asteroid

    Alice Asteroid Well-Known Member
    UO:R Subscriber

    Joined:
    Jun 23, 2015
    Messages:
    628
    Likes Received:
    1,088
    Furthermore, I remember Telamon saying once in IRC that the timeouts occur when you use Razor's "wait for action." He recommended changing every wait for action to a pause.
  4. musicano

    musicano Member

    Joined:
    Mar 23, 2016
    Messages:
    79
    Likes Received:
    13
  5. Alice Asteroid

    Alice Asteroid Well-Known Member
    UO:R Subscriber

    Joined:
    Jun 23, 2015
    Messages:
    628
    Likes Received:
    1,088
    It might be. Here's my lumberjacking macro that never times out. How it works: You'll notice that trees often come in groups of four, one at NE, one at SE, one at SW, one at NW. Stand in the middle of them and let her rip. Note: You can only have one hatchet on you at a time and if there's a hatchet anywhere else on the screen, it will get screwy.

    !Loop
    Assistant.Macros.DoubleClickTypeAction|3907|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetRelLocAction|-2|-2
    Assistant.Macros.PauseAction|00:00:02.5000000
    Assistant.Macros.DoubleClickTypeAction|3907|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetRelLocAction|2|-2
    Assistant.Macros.PauseAction|00:00:02.5000000
    Assistant.Macros.DoubleClickTypeAction|3907|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetRelLocAction|2|1
    Assistant.Macros.PauseAction|00:00:02.5000000
    Assistant.Macros.DoubleClickTypeAction|3907|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetRelLocAction|-2|1
    Assistant.Macros.PauseAction|00:00:02.5000000
    Assistant.Macros.DoubleClickTypeAction|3907|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetTypeAction|False|7133
    Assistant.Macros.PauseAction|00:00:02
  6. musicano

    musicano Member

    Joined:
    Mar 23, 2016
    Messages:
    79
    Likes Received:
    13
    Can't get it to work, but it does get further than my macro, at least it is able to target something and get a response.
  7. wylwrk

    wylwrk Well-Known Member

    Joined:
    Jun 18, 2015
    Messages:
    5,473
    Likes Received:
    8,963
    @musicano try disabling the feature located on the "More Options" tab of Razor called, Auto-queue object delay actions.

    As well, the "general tab" has an option called "smart CPU usage reduction. I advise disabling that as well.

    When the macro above stops on you... can you expand on what happens? Is there a timer in minutes and seconds in the lower right corner of Razor when it stops working? If so, what's the amount of time?
  8. musicano

    musicano Member

    Joined:
    Mar 23, 2016
    Messages:
    79
    Likes Received:
    13
    It was already disabled

    Disabling it didn't do anything.

    You might want to see this thread for details. http://uorforum.com/threads/lumberj...nother-server-but-not-here.16140/#post-143338

    No, there isn't.
  9. Rabbit

    Rabbit Member

    Joined:
    Mar 28, 2016
    Messages:
    62
    Likes Received:
    63
    ya it is simply getting hung up on the "wait for target" bit and so it just continues to wait as long as the timeout is set for. So, do what alice said and replace all wait for gumps with small pauses, or reduce the timeouts of all of them to like 2.
  10. musicano

    musicano Member

    Joined:
    Mar 23, 2016
    Messages:
    79
    Likes Received:
    13
    Her sewing macro works, but the lumberjacking one won't. I've tried replacing with with pauses, that doesn't work either, something real simple like this doesn't work, once I change absolute target to relative target.



    1. Double Click (0x420A52BA)
    2. Wait for Target
    3. Absolute Target

Share This Page