Razor Smelting?

Discussion in 'Renaissance Discussion' started by Garavar, May 26, 2020.

  1. Garavar

    Garavar Well-Known Member
    UO:R Donor

    Joined:
    May 25, 2020
    Messages:
    1,094
    Likes Received:
    662
    Brand new to this server (first day) and new to Razor/Scripting/Macros....

    I am trying to set up a macro to smelt ore 1 by and 1 and i am driving myself crazy because no matter what I record it doesnt work. Always times out with 30 second timer. Can someone tell me what I am doing wrong?

    !Loop
    Assistant.Macros.LiftTypeAction|6585|1
    Assistant.Macros.DropAction|0x46325064|(109, 65, 0)|0
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.DoubleClickAction|1177971807|6585
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.AbsoluteTargetAction|1|0|0|6377|1326|0|4017
    Assistant.Macros.PauseAction|00:00:02
  2. Whistler's Mother

    Whistler's Mother Active Member

    Joined:
    May 6, 2018
    Messages:
    595
    Likes Received:
    148
    Edit your wait for target, it is set at 30 seconds, make it 1 second.
    Or replace it completly with a time loop for 1 second.
  3. Dream Weaver

    Dream Weaver Well-Known Member

    Joined:
    Mar 23, 2020
    Messages:
    224
    Likes Received:
    291
    You should use restock agents to pull things from containers, and organizer agents to send items to containers (ingots etc). you can find these in the agents tab of razor. So set a restock agent for 1 large ore type, and record yourself restocking it from the bag ore is in, then do the same with an organizer. organizer will send items out of your inventory and into a designated contain. I think that is more reliable than drag and drop.
    Nusir likes this.
  4. Garavar

    Garavar Well-Known Member
    UO:R Donor

    Joined:
    May 25, 2020
    Messages:
    1,094
    Likes Received:
    662
    Tried that, still doesnt work,
  5. Garavar

    Garavar Well-Known Member
    UO:R Donor

    Joined:
    May 25, 2020
    Messages:
    1,094
    Likes Received:
    662
    Not sure I understand this as I said I am brand new to razor. I looked at guide but still not understanding the idea what you are saying
  6. Dream Weaver

    Dream Weaver Well-Known Member

    Joined:
    Mar 23, 2020
    Messages:
    224
    Likes Received:
    291
    Easier to talk on Discord. I am on the UOR discord server, feel free to dm me as same name.
  7. midgetbob

    midgetbob Well-Known Member
    UO:R Subscriber

    Joined:
    Apr 22, 2016
    Messages:
    589
    Likes Received:
    387
    !Loop
    Assistant.Macros.HotKeyAction|0|Restock Agent-10
    Assistant.Macros.AbsoluteTargetAction|0|0|1074475216|2570|956|10|3702
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.DoubleClickTypeAction|6583|True
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.AbsoluteTargetAction|0|0|1106050857|2570|955|5|6558
    Assistant.Macros.PauseAction|00:00:01


    Restock Agent pulls 2 of the smallest ore from a bag (first absolute target).
    Double clicks the ore
    2nd Absolute target is the forge.

    Need a house for this though, as you need to combine the ore to the smallest pile and put it into a locked down bag for weight purposes. I usually do this with a few hundred / thousand ore. Set it and forget it... come back later.
    ORCA likes this.
  8. Garavar

    Garavar Well-Known Member
    UO:R Donor

    Joined:
    May 25, 2020
    Messages:
    1,094
    Likes Received:
    662
    Yeah I don't have a house unfortunately.

    I am currently just winning in Young cave, walking to forge and smelting 1 by 1 but can't figure out Marco just for that.
  9. Zim

    Zim Well-Known Member

    Joined:
    Sep 13, 2014
    Messages:
    300
    Likes Received:
    275
    Carry a bag around in your pack horse. and combine all the ore into that bag (inside the packhorse) and set it on the ground.

    Then do a macro like this:

    ExecuteRestockAgent 5
    Pause 250
    Absolute Target (the bag)
    Pause 1250
    DblClick by Type (the ore)
    Pause 250
    Absolute Target (The Forge)
    Pause 1250
    Loop

    If you never change the container and use the same forge you dont ever have to retarget your macro!! :)

    *edit* You can fiddle around with the long pauses. I add the 250 Milliseconds to my one second pause to account for lag and shinanigans. I sometimes do a 1500 pause after my restock agent because itll target the big clump of ore in the bag for some reason. I also set the bag two tiles away from me and that seems to help too.
  10. BlackEye

    BlackEye Well-Known Member
    UO:R Subscriber

    Joined:
    Nov 24, 2014
    Messages:
    4,917
    Likes Received:
    5,095
    It is super beneficial to learn and understand the above macros and how to use restock agents etc in the long run. Buuuuut, in case you feel overwhelmed by that IT stuff (took me many weeks or even months to switch from manual 1998 game play style to macros) here is another immediate solution:

    Just don't smelt until your chance is 100% (for iron). Gaining by smelting is insignificant and a waste of gold/ingots compared to using the time for even more mining.

    Try to take small steps towards your own macros perhaps. For example, a macro that mines a certain tile 16 times as fast as possible. (I am assuming that you are new to razor scripting)
  11. Hollywood

    Hollywood Well-Known Member
    UO:R Subscriber

    Joined:
    Apr 14, 2017
    Messages:
    3,650
    Likes Received:
    3,752
    You can also use a bank too. Yew has a small stone tower on the south side, at least use to have a forge and anvil and can access your bank from it. I used that a while back to do the same thing you're doing
    Holden likes this.
  12. FisuUO:R

    FisuUO:R Well-Known Member

    Joined:
    Jan 3, 2019
    Messages:
    333
    Likes Received:
    401
    Cove also has a forge next to the bank, very handy
    Holden likes this.
  13. Nusir

    Nusir Well-Known Member
    UO:R Subscriber

    Joined:
    Sep 3, 2017
    Messages:
    1,978
    Likes Received:
    1,473
    If you need it, I can place a house for you to use as a base, somewhere you can get a lot of mountain and just skip the ore pile around with you to store and then use it one at a time.
    Let me know in DM
    Pulse likes this.
  14. Garavar

    Garavar Well-Known Member
    UO:R Donor

    Joined:
    May 25, 2020
    Messages:
    1,094
    Likes Received:
    662
    Thanks, I have a small house now the smallest in game. Very low spawn but reds around that wack me on occasion

Share This Page