Blacksmith 1-100 Macro with (or without) Tinkering

Discussion in 'Guides' started by Daping, Jun 2, 2020.

  1. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    EDIT 08/06/20 : Added a No-Tinkering version at the end of the post.




    Hey there !


    Finally finished my Blacksmithing from none to Grand Master macro, hope it can help some people !

    Time to Setup : 5mn
    Difficulty : Easy

    This macro was made to add to my Recall Miner setup which you can find here : http://uorforum.com/threads/recall-mining-crafter-build.49046/ but you don't need to do any recall mining to use it ! :) It follows the CaptainMorgan's under 40k ingots (Mace/Maul/Kryss/Short Spear/Platemail Gorget/Platemail Gloves)



    - - WHAT DOES IT DO - -



    Pretty simple, it'll autocheck your Blacksmithing level and make the needed items to make you raise Blacksmithing. It'll check tool kit & tongs too and make them if needed. When it's ready, just push start and without having anything to do it'll go from 1 to 100 (whatever your lvl already is at).



    - - WHAT DO YOU NEED - -



    For this to works you need a container (preferably in a house) about 42k iron ingots depending your level, a tool kit and... that's all...



    - - AGENTS & COUNTERS - -



    To run this you need to add 2 counters, 1 is for "Tong" and 1 is for "iron" (take care of case sensitivity)

    I am using 2 restock and 1 organizers which are set like this :

    -Organizer 1 : iron ingots / tongs / tool kit (hotbag = the container)

    -Restock 1 : iron ingots (100) / tool kit (6) / tongs (6)
    -Restock 2 : iron ingots (1000)



    - - MANUAL SETUP - -



    For things to work, files should be setup like this (again case sensitive) :

    [Blacksmithing]
    -- 1-100
    -- [Blacksmithing 1-100]
    ---- Mace
    ---- Maul
    ---- Kryss
    ---- Short Spear
    ---- Platemail Gorget
    ---- Platemail Gloves



    - - MACROS - -



    *1-100*

    Code:
    Assistant.Macros.IfAction|100|2|45|7
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\Blacksmithing 1-100\Mace
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|100|2|50|7
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\Blacksmithing 1-100\Maul
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|100|2|70|7
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\Blacksmithing 1-100\Kryss
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|100|2|86|7
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\Blacksmithing 1-100\Short Spear
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|100|2|94.5|7
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\Blacksmithing 1-100\Platemail Gorget
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|100|2|100|7
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\Blacksmithing 1-100\Platemail Gloves
    Assistant.Macros.EndIfAction
    
    This is the main macro and should be located in the Blacksmithing folder, nothing to touch in this.


    *Mace*

    Code:
    !Loop
    // Toolkit
    Assistant.Macros.WhileAction|50|2|2|tool kit
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651    // Re-Target to your container
    Assistant.Macros.PauseAction|00:00:07
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|23|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndWhileAction
    // Tong
    Assistant.Macros.WhileAction|50|2|3|Tong
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|86|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.EndWhileAction
    // Mace
    Assistant.Macros.IfAction|50|2|100|iron
    Assistant.Macros.HotKeyAction|0|Restock Agent-02          // Re-Target to your container
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:01
    Assistant.Macros.EndIfAction
    Assistant.Macros.DoubleClickTypeAction|4027|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|57|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|9|0|0
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.GumpResponseAction|14|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetTypeAction|False|3932
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|0|0|0
    // Next
    Assistant.Macros.IfAction|100|1|45|7
    Assistant.Macros.HotKeyAction|0|Organizer Agent-01
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\1-100
    Assistant.Macros.EndIfAction
    
    This is the first macro, and like all others items macro it should be located into the Blacksmithing/Blacksmithing 1-100 folder. There is 2 targets to re-target in all of these macros, at the exact same place every time, so remember to re-target all of them (same target every times which is the container where all your ressources are).


    *Maul*

    Code:
    !Loop
    // Toolkit
    Assistant.Macros.WhileAction|50|2|2|tool kit
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:07
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|23|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndWhileAction
    // Tong
    Assistant.Macros.WhileAction|50|2|3|Tong
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|86|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.EndWhileAction
    // Maul
    Assistant.Macros.IfAction|50|2|100|iron
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:01
    Assistant.Macros.EndIfAction
    Assistant.Macros.DoubleClickTypeAction|4027|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|57|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|16|0|0
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.GumpResponseAction|14|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetTypeAction|False|5179
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|0|0|0
    // Next
    Assistant.Macros.IfAction|100|1|50|7
    Assistant.Macros.HotKeyAction|0|Organizer Agent-01
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\1-100
    Assistant.Macros.EndIfAction
    

    *Kryss*

    Code:
    !Loop
    // Toolkit
    Assistant.Macros.WhileAction|50|2|2|tool kit
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:07
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|23|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndWhileAction
    // Tong
    Assistant.Macros.WhileAction|50|2|3|Tong
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|86|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.EndWhileAction
    // Kryss
    Assistant.Macros.IfAction|50|2|100|iron
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:01
    Assistant.Macros.EndIfAction
    Assistant.Macros.DoubleClickTypeAction|4027|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|36|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|30|0|0
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.GumpResponseAction|14|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetTypeAction|False|5121
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|0|0|0
    // Next
    Assistant.Macros.IfAction|100|1|70|7
    Assistant.Macros.HotKeyAction|0|Organizer Agent-01
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\1-100
    Assistant.Macros.EndIfAction
    

    *Short Spear*

    Code:
    !Loop
    // Toolkit
    Assistant.Macros.WhileAction|50|2|2|tool kit
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:07
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|23|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndWhileAction
    // Tong
    Assistant.Macros.WhileAction|50|2|3|Tong
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|86|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.EndWhileAction
    // Short Spear
    Assistant.Macros.IfAction|50|2|100|iron
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:01
    Assistant.Macros.EndIfAction
    Assistant.Macros.DoubleClickTypeAction|4027|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|50|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|16|0|0
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.GumpResponseAction|14|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetTypeAction|False|5123
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|0|0|0
    // Next
    Assistant.Macros.IfAction|100|1|86|7
    Assistant.Macros.HotKeyAction|0|Organizer Agent-01
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\1-100
    Assistant.Macros.EndIfAction
    

    *Platemail Gorget*

    Code:
    !Loop
    // Toolkit
    Assistant.Macros.WhileAction|50|2|2|tool kit
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:07
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|23|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndWhileAction
    // Tong
    Assistant.Macros.WhileAction|50|2|3|Tong
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|86|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.EndWhileAction
    // Platemail Gorget
    Assistant.Macros.IfAction|50|2|100|iron
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:01
    Assistant.Macros.EndIfAction
    Assistant.Macros.DoubleClickTypeAction|4027|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|15|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|16|0|0
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.GumpResponseAction|14|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetTypeAction|False|5139
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|0|0|0
    // Next
    Assistant.Macros.IfAction|100|1|94.5|7
    Assistant.Macros.HotKeyAction|0|Organizer Agent-01
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|0|Play: Blacksmithing\1-100
    Assistant.Macros.EndIfAction
    

    *Platemail Gloves*

    Code:
    !Loop
    // Toolkit
    Assistant.Macros.WhileAction|50|2|2|tool kit
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:07
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|23|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndWhileAction
    // Tong
    Assistant.Macros.WhileAction|50|2|3|Tong
    Assistant.Macros.DoubleClickTypeAction|7864|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|86|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.GumpResponseAction|0|0|0
    Assistant.Macros.EndWhileAction
    // Platemail Gloves
    Assistant.Macros.IfAction|50|2|100|iron
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.PauseAction|00:00:01
    Assistant.Macros.EndIfAction
    Assistant.Macros.DoubleClickTypeAction|4027|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|15|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|9|0|0
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.GumpResponseAction|14|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetTypeAction|False|5140
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|0|0|0
    // Next
    Assistant.Macros.IfAction|100|1|100|7
    Assistant.Macros.HotKeyAction|0|Organizer Agent-01
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|1083|
    Assistant.Macros.EndIfAction
    


    **ADVICE & INFOS**



    -CREATE A NEW PROFILE IN RAZOR, call it "Blacksmithing" .... And use a container in a house to do this. Yeah it can be made from bank chest too but bank chest are personnal. If you create a special profil and do it in a house, as your desired container is set, you'll just need to select the profil on ANY character and push start for this macro works.
    -The macro will use the smelt after each craft TRY so even if it doesn't succeed it'll try to smelt... That's normal and don't change anything it's just that you will get a target cursor until the next craft succeed ! :D



    == FILES ==



    For manual install, just use these files, only need to unrar (use any program like WinRar)


    DropBox : https://www.dropbox.com/s/4w7cfp4c18e9any/Blacksmithing.rar?dl=0



    - - WARNING - - : If you feel like it's too fast and items have not enough time to be crafted (depend on your connexion), just change the 2sec (in the // Item Name section) for 3sec. I made it from my computer & connexion timers...




    -) WITHOUT TINKERING VERSION (-


    This is a version made to simply take tongs from your container and not to make them, only 1 change to do with agent Restock 01 : Only set it to tongs (6)


    The change in the code (if you do it manually) is pretty easy too, just replace the entire // Toolkit and // Tong section for only this :

    Code:
    // Restock
    Assistant.Macros.WhileAction|50|2|3|Tong
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.AbsoluteTargetAction|0|0|1165666125|3355|214|-250|3651
    Assistant.Macros.EndWhileAction
    

    For files download, here is the link :

    DropBox : https://www.dropbox.com/s/t5zxtxe0os63f84/BlacksmithingNoTink.rar?dl=0





    If you have any trouble setting up the macro, just reply here or send me a message on Discord (Daping).

    Hope you Enjoy !
    Last edited: Jun 8, 2020
    Steady Mobbin and FisuUO:R like this.
  2. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    Corrected a bug in both files & code that could sometimes break the macro.
  3. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    Edit 08/06/2020 : Added a version without tinkering !

Share This Page