Magery 1-100 Macro with Restock/Med/Organize/RS/Healing

Discussion in 'Guides' started by Daping, May 22, 2020.

  1. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    Hail there !

    This is my 2nd guide, this time i am focusing on Magery !

    So i was just looking for a macro where i could put a character anywhere and macro it to 100 magery without having to interfere. This macro follow more or less Gideon magery guide meaning 1-30 fireball (dunno who could do that, training to vendor is cheaper than having to raise 30pts with regs), 30-62.8 Lighting, 62.8-85 Energy Bolt then 85-100 Flamestrike. This macro is modulable so you can switch lot of things like the spell you wanna use etc...


    EDITED 23/05 : Added a Resist version at the bottom !
    EDITED 24/05 : Ok this is now a V2.0, much more optimized !
    EDITED 25/05 : Modified casting time on spells, faster !
    EDITED 26/05 : Added Files + a 70.1 version !


    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 ! :)


    WHAT DOES IT DO :

    This is now a Healing/Resist Spells version ! (but not mandatory)

    -That's pretty simple, this macro will start by checking your magery level and :
    *IF your magery is under 30 it will take all the regs you have on you and drop them in a container in your bank, then it'll bandage/ med, restock the required regs for Fireball and start casting, if your regs goes under 5 of each, it'll restock.
    *IF your magery is under 62.8 it will take all the regs you have on you and drop them in a container in your bank, then it'll it'll bandage/ med, restock the required regs for Lighting and start casting, if your regs goes under 5 of each, it'll it'll bandage/ med, restock.
    *IF your magery is under 85 it will take all the regs you have on you and drop them in a container in your bank, then it'll it'll bandage/ med, restock the required regs for Energy Bolt and start casting, if your regs goes under 5 of each, it'll restock.
    *IF your magery is under 100 it will take all the regs you have on you and drop them in a container in your bank, then it'll it'll bandage/ med, restock the required regs for Flamestrike and start casting, if your regs goes under 5 of each, it'll restock.



    WHAT DO YOU NEED BEFOREHAND :

    -Regs
    -Spells (the 4 of them)
    -100 INT (you can do without but you'll have to switch some variable in the macro). Just use the fast raise by Herding method that you can find somewhere else on this forum.
    -Opening your bank if you want to use it from bank (good for "young" players but could be dangerous for non-young)
    -Razor Macro setup, for this macro you'll need 2 folders, one from root called "Magery" and one inside "Magery" called "Magery 1-100"
    -Optional : Bandage



    AGENT SETUP :

    For this macro you'll need 5 Organize & 5 Restock (one for each spell), they are all aiming for the same container (you or one inside bank/container), if you want a version without raising Healing/RS, do not set Restock 5 :

    *Organizer 1 : All regs but Black Pearl
    *Organizer 2 : All regs but Mandrake Root & Sulfurous Ash
    *Organizer 3 : All regs but Black Pearl & Nightshade
    *Organizer 4 : All regs but Sulfurous Ash & Spidersilk
    *Organizer 5 : All regs & bandage (bandage only if you set your Restock 5)

    *Restock 1 : Black Pearl
    *Restock 2 : Mandrake Root & Sulfurous Ash
    *Restock 3 : Black & Nightshade
    *Restock 4 : Sulfurous Ash & Spidersilf
    *Restock 5 : Bandage


    MAIN :

    This main macro named "1-100" must be located in the "Magery" folder, don't forget if you change the folder orders or folders/files name to change it in the multiple macro too

    Code:
    // Cast Fireball
    Assistant.Macros.IfAction|100|2|30|25
    Assistant.Macros.HotKeyAction|0|Organizer Agent-01
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|0|Play: Magery\Magery 1-100\Fireball
    Assistant.Macros.EndIfAction
    // Cast Lighting
    Assistant.Macros.IfAction|100|2|62.8|25
    Assistant.Macros.HotKeyAction|0|Organizer Agent-02
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|0|Play: Magery\\Magery 1-100\Lighting
    Assistant.Macros.EndIfAction
    // Cast Energy Bolt
    Assistant.Macros.IfAction|100|2|85|25
    Assistant.Macros.HotKeyAction|0|Organizer Agent-03
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|0|Play: Magery\\Magery 1-100\Energy Bolt
    Assistant.Macros.EndIfAction
    // Cast Flamestrike
    Assistant.Macros.IfAction|100|2|100|25
    Assistant.Macros.HotKeyAction|0|Organizer Agent-04
    Assistant.Macros.PauseAction|00:00:03
    Assistant.Macros.HotKeyAction|0|Play: \Magery\Magery 1-100\Flamestrike
    Assistant.Macros.EndIfAction
    
    You'll just launch this macro and it'll do the rest by himself, just don't forget before to set your agents. and open bank chest if you want it to take from bank


    SPELLS MACROS :

    These are the 4 macros, all representing a spell to use, they must be set into the Magery 1-100 subfolder (inside the Magery folder). I ll explain the first one but they are all working the same way. As shown in the fireball macro you need to manually set your target, if you want to raise Healing/RS just target yourself, if you just want to raise magery, target your spellbook. If you reach 100, it'll just stop the macro and drop all regs / bandage left.

    FIREBALL :



    Code:
    !Loop
    // Regen
    Assistant.Macros.IfAction|50|2|5|Bandages         // Restock Bandage
    Assistant.Macros.HotKeyAction|0|Restock Agent-05
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndIfAction
    Assistant.Macros.WhileAction|0|2|90       // Bandage while HPs under 90 (can be changed)
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.DoubleClickTypeAction|3617|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:10
    Assistant.Macros.EndWhileAction
    Assistant.Macros.IfAction|1|2|9       // Mana Check
    Assistant.Macros.HotKeyAction|1044106|         // Med
    Assistant.Macros.PauseAction|00:00:00.2000000
    Assistant.Macros.IfAction|4|0|you cannot focus your concentration
    Assistant.Macros.PauseAction|00:00:10
    Assistant.Macros.HotKeyAction|1044106|
    Assistant.Macros.EndIfAction
    Assistant.Macros.WaitForStatAction|1|1|100|3600     // Wait for 100 mana (can be changed)
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|50|2|5|Black Pearl         // Restock regs for current spell
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:01.5000000
    Assistant.Macros.ElseAction
    // Cast
    Assistant.Macros.HotKeyAction|3002028|
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.AbsoluteTargetAction|0|1|1080876481|107|123|-256|3834      // Re-Target for yourself or spellbook
    Assistant.Macros.EndIfAction
    Assistant.Macros.PauseAction|00:00:01.3000000
    Assistant.Macros.IfAction|100|1|30|25        // Check Magery for switching spell
    Assistant.Macros.HotKeyAction|0|Play: Magery\1-100      // If Magery up, will go back to main macro
    Assistant.Macros.EndIfAction
    



    LIGHTING :

    Code:
    !Loop
    // Regen
    Assistant.Macros.IfAction|50|2|5|Bandages
    Assistant.Macros.HotKeyAction|0|Restock Agent-05
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndIfAction
    Assistant.Macros.WhileAction|0|2|90
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.DoubleClickTypeAction|3617|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:10
    Assistant.Macros.EndWhileAction
    Assistant.Macros.IfAction|1|2|11
    Assistant.Macros.HotKeyAction|1044106|
    Assistant.Macros.PauseAction|00:00:00.2000000
    Assistant.Macros.IfAction|4|0|you cannot focus your concentration
    Assistant.Macros.PauseAction|00:00:10
    Assistant.Macros.HotKeyAction|1044106|
    Assistant.Macros.EndIfAction
    Assistant.Macros.WaitForStatAction|1|1|100|3600
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|50|2|5|Sulfurous Ash
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:01.5000000
    Assistant.Macros.ElseAction
    // Cast
    Assistant.Macros.HotKeyAction|3002040|
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.AbsoluteTargetAction|0|1|1080876481|107|123|-256|3834
    Assistant.Macros.PauseAction|00:00:01.5000000
    Assistant.Macros.EndIfAction
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.IfAction|100|1|62.8|25
    Assistant.Macros.HotKeyAction|0|Play: Magery\1-100
    Assistant.Macros.EndIfAction
    

    ENERGY BOLT :

    Code:
    !Loop
    // Regen
    Assistant.Macros.IfAction|50|2|5|Bandages
    Assistant.Macros.HotKeyAction|0|Restock Agent-05
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndIfAction
    Assistant.Macros.WhileAction|0|2|90
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.DoubleClickTypeAction|3617|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:10
    Assistant.Macros.EndWhileAction
    Assistant.Macros.IfAction|1|2|20
    Assistant.Macros.HotKeyAction|1044106|
    Assistant.Macros.PauseAction|00:00:00.2000000
    Assistant.Macros.IfAction|4|0|you cannot focus your concentration
    Assistant.Macros.PauseAction|00:00:10
    Assistant.Macros.HotKeyAction|1044106|
    Assistant.Macros.EndIfAction
    Assistant.Macros.WaitForStatAction|1|1|100|3600
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|50|2|5|Black Pearl
    Assistant.Macros.HotKeyAction|0|Restock Agent-03
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:01.5000000
    Assistant.Macros.ElseAction
    // Cast
    Assistant.Macros.HotKeyAction|3002052|
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.AbsoluteTargetAction|0|1|1080876481|107|123|-256|3834
    Assistant.Macros.PauseAction|00:00:01.5000000
    Assistant.Macros.EndIfAction
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.IfAction|100|1|85|25
    Assistant.Macros.HotKeyAction|0|Play: Magery\1-100
    Assistant.Macros.EndIfAction
    

    FLAMESTRIKE :


    Code:
    !Loop
    // Regen
    Assistant.Macros.IfAction|50|2|5|Bandages
    Assistant.Macros.HotKeyAction|0|Restock Agent-05
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.EndIfAction
    Assistant.Macros.WhileAction|0|2|90
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.DoubleClickTypeAction|3617|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:10
    Assistant.Macros.EndWhileAction
    Assistant.Macros.IfAction|1|2|40
    Assistant.Macros.HotKeyAction|1044106|
    Assistant.Macros.PauseAction|00:00:00.2000000
    Assistant.Macros.IfAction|4|0|you cannot focus your concentration
    Assistant.Macros.PauseAction|00:00:10
    Assistant.Macros.HotKeyAction|1044106|
    Assistant.Macros.EndIfAction
    Assistant.Macros.WaitForStatAction|1|1|100|3600
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|50|2|5|Sulfurous Ash
    Assistant.Macros.HotKeyAction|0|Restock Agent-04
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|1059|
    Assistant.Macros.PauseAction|00:00:01.5000000
    Assistant.Macros.ElseAction
    // Cast
    Assistant.Macros.HotKeyAction|3002061|
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.AbsoluteTargetAction|0|1|1080876481|107|123|-256|3834
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.EndIfAction
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.IfAction|100|1|100|25
    Assistant.Macros.HotKeyAction|1083|
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.HotKeyAction|0|Organizer Agent-05
    Assistant.Macros.PauseAction|00:00:06
    Assistant.Macros.EndIfAction
    

    FILES LINK :

    For the Magery 1-100 : https://www.dropbox.com/s/qlffhlvns8tvfwe/Magery 1-100.rar?dl=0
    For the Magery 1-70.1 : https://www.dropbox.com/s/jpok36apjmuqk6v/Magery 1-70.1.rar?dl=0

    Some people just wanted to 100% Recall, so i made a 1-70.1 macro that is working exactly the same.


    Step bye Step Guide :

    -Unrar in your Razor Macro root folder
    -Set up the Agents
    -Re-target the desired casting target / restock target (4 in total per spell so done pretty fast)
    -Just Start !




    - - WARNING - - : If you feel like it's too fast and spells have not enough time to be cast, just change the 1.5sec for like 1.8 or 2sec. I made it from my computer & connexion...


    As you see, this is nothing sophisticated nor complicated.... Whatever your magery level, just launch the macro and it'll automically select the good spell for you.

    Hope it can help new players like me, this version is just for magery (& meditation) leveling, will probably do a resist spells + healing in the next days.


    Thank you for reading !
    Last edited: Jun 2, 2020
    Mel, Witchcraft and RunawaySky like this.
  2. Witchcraft

    Witchcraft Well-Known Member
    UO:R Donor

    Joined:
    Mar 27, 2017
    Messages:
    2,168
    Likes Received:
    2,104
    Awesome work man
    Daping likes this.
  3. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    Edited with a Resist Spells / Healing version
  4. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    Working on the V2 which will be a great improvement, gaining probably like 1s per spells, online probably by tomorrow.
  5. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    Ok this is now the V2, i think it's optimized now.
    Last edited: May 24, 2020
  6. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    -Added Magery 1-100 files
    -Added a new Magery 1-70.1 version with files
    -Added a simple step by step guide
  7. Mel

    Mel Active Member

    Joined:
    May 1, 2015
    Messages:
    144
    Likes Received:
    248
    great work! =)
    Daping likes this.
  8. Zero

    Zero Well-Known Member
    UO:R Donor

    Joined:
    Jul 6, 2020
    Messages:
    663
    Likes Received:
    360
    this has bee a great macro, and he spent alot of time going through issues i had, that were my own fault. Great help. Thanks Daping, i will be using your other ones too, once i get some material built up
  9. Rhurac

    Rhurac New Member

    Joined:
    Oct 2, 2021
    Messages:
    3
    Likes Received:
    3
    I must be stupid because I can't figure out how to get any of this to work... Are you using the Renaissance community version of Razor or a different one? If I try and put in the line:

    Assistant.Macros.IfAction|100|2|30|25

    It just shows if (???)

    Also what do you mean 'Root folder'? Should I be making folders where UOR is installed?
  10. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    I am only using Renaissance stuff.


    For root folder it means inside the main (first) macro folder, should be :

    UORenaissance > Razor > CUO > Macros
  11. Rhurac

    Rhurac New Member

    Joined:
    Oct 2, 2021
    Messages:
    3
    Likes Received:
    3
    I found out I wasn't logging into UO correctly using the Renaissance launcher, so my version of UO and UO Razor was the old one. Of course it couldn't run the script... I will test it out again soon. Thanks for the quick reply Daping.

    On a side note. If that is you on discord in [PvM] could you message me with a few details about your guild. I'm looking to join one where I can relearn how to play this game and coop with people.
  12. Firebat

    Firebat New Member

    Joined:
    Apr 5, 2022
    Messages:
    1
    Likes Received:
    0
    this doesn't seem to work anymore. The main macro just finishes and does not try to cast the individual spell macros. The spell macros by themselves, however, do still work. anyone have any ideas?

Share This Page