Cartograpy 1-99.5 Macro

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

  1. Daping

    Daping Active Member
    UO:R Donor

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


    Following my macro setup road, it's now Cartography time !

    Time to Setup : 2mn
    Difficulty : Very Easy

    This macro was made following @Savage guide that you can find here : http://uorforum.com/threads/cartography-30-100.11033/



    - - WHAT DOES IT DO - -



    Pretty simple, it'll autocheck your Cartography level and make the needed maps for you to skillup. After each map it'll throw into a trash barrel.




    - - WHAT DO YOU NEED - -



    For this to works you need a container (preferably in a house) with blank scrolls / mapmaker pens. You need to set a trash barrel and to stand in the northern tile like this !

    screenshot_2020-06-24_04-35-31.png

    All you have for these macros to work is to set the agents/counters & re-target the restock agent targets.



    - - AGENTS & COUNTERS - -



    To run you need to add 2 counters, 1 is for "Blank Scrolls" and 1 is for "Mapmaker Pen's" (take care of case sensitivity and be sure it's checked)

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

    -Organizer 1 : Mapmaker Pen's / Blank Scrolls (set hotbog to the container)

    -Restock 1 : Mapmaker Pen's
    -Restock 2 : Blank Scrolls


    Your agents should be set to the same container. I am usually using to set mapmaker pen's to 10 & blank scrolls to 300.



    - - MANUAL SETUP - -



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

    [Cartography]
    -- 1-99.5 Cartography
    -- [Crafts]
    ---- Local Map
    ---- City Map
    ---- Sea Chart
    ---- World Map



    - - MACROS - -




    *1-99.5 Cartography*

    Code:
    Assistant.Macros.IfAction|100|2|54.1|12
    Assistant.Macros.HotKeyAction|0|Play: Cartography\Crafts\Local Map
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|100|2|69.8|12
    Assistant.Macros.HotKeyAction|0|Play: Cartography\Crafts\City Map
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|100|2|77.9|12
    Assistant.Macros.HotKeyAction|0|Play: Cartography\Crafts\Sea Chart
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|100|2|99.5|12
    Assistant.Macros.HotKeyAction|0|Play: Cartography\Crafts\World Map
    Assistant.Macros.EndIfAction
    
    This is the main macro and should be located in the Cartography folder, nothing to touch in this.


    *Local Map*


    Code:
    !Loop
    // Restock
    Assistant.Macros.WhileAction|50|2|2|Mapmaker Pen's
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.AbsoluteTargetAction|0|0|1203881348|3349|214|-246|3651
    Assistant.Macros.PauseAction|00:00:05.4000000
    Assistant.Macros.EndWhileAction
    Assistant.Macros.WhileAction|50|2|5|Blank Scrolls
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.AbsoluteTargetAction|0|0|1077159580|3352|214|-244|2474
    Assistant.Macros.PauseAction|00:00:00.5000000
    Assistant.Macros.EndWhileAction
    // Craft
    Assistant.Macros.DoubleClickTypeAction|4031|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|1|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|2|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.LiftTypeAction|5356|1
    Assistant.Macros.DropAction|0x4853EB7E|(-1, -1, 0)|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    // Skill Check
    Assistant.Macros.IfAction|100|1|54.1|12
    Assistant.Macros.HotKeyAction|0|Play: 1-100 Cartography
    Assistant.Macros.EndIfAction
    
    This should be put in the Crafts folder, all you need to do is to set the 2 absolute targets for the container which is helding your scrolls/pens


    *City Map*


    Code:
    !Loop
    // Restock
    Assistant.Macros.WhileAction|50|2|2|Mapmaker Pen's
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.AbsoluteTargetAction|0|0|1203881348|3349|214|-246|3651
    Assistant.Macros.PauseAction|00:00:05.4000000
    Assistant.Macros.EndWhileAction
    Assistant.Macros.WhileAction|50|2|5|Blank Scrolls
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.AbsoluteTargetAction|0|0|1077159580|3352|214|-244|2474
    Assistant.Macros.PauseAction|00:00:00.5000000
    Assistant.Macros.EndWhileAction
    // Craft
    Assistant.Macros.DoubleClickTypeAction|4031|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|1|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|9|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.LiftTypeAction|5356|1
    Assistant.Macros.DropAction|0x4853EB7E|(-1, -1, 0)|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    // Skill Check
    Assistant.Macros.IfAction|100|1|69.8|12
    Assistant.Macros.EndIfAction
    
    This should be put in the Crafts folder, all you need to do is to set the 2 absolute targets for the container which is helding your scrolls/pens


    *Sea Chart*


    Code:
    !Loop
    // Restock
    Assistant.Macros.WhileAction|50|2|2|Mapmaker Pen's
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.AbsoluteTargetAction|0|0|1203881348|3349|214|-246|3651
    Assistant.Macros.PauseAction|00:00:05.4000000
    Assistant.Macros.EndWhileAction
    Assistant.Macros.WhileAction|50|2|5|Blank Scrolls
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.AbsoluteTargetAction|0|0|1077159580|3352|214|-244|2474
    Assistant.Macros.PauseAction|00:00:00.5000000
    Assistant.Macros.EndWhileAction
    // Craft
    Assistant.Macros.DoubleClickTypeAction|4031|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|1|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|16|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.LiftTypeAction|5356|1
    Assistant.Macros.DropAction|0x4853EB7E|(-1, -1, 0)|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    // Skill Check
    Assistant.Macros.IfAction|100|1|77.9|12
    Assistant.Macros.EndIfAction
    
    This should be put in the Crafts folder, all you need to do is to set the 2 absolute targets for the container which is helding your scrolls/pens


    *World Map*


    Code:
    !Loop
    // Restock
    Assistant.Macros.WhileAction|50|2|2|Mapmaker Pen's
    Assistant.Macros.HotKeyAction|0|Restock Agent-01
    Assistant.Macros.AbsoluteTargetAction|0|0|1203881348|3349|214|-246|3651
    Assistant.Macros.PauseAction|00:00:05.4000000
    Assistant.Macros.EndWhileAction
    Assistant.Macros.WhileAction|50|2|5|Blank Scrolls
    Assistant.Macros.HotKeyAction|0|Restock Agent-02
    Assistant.Macros.AbsoluteTargetAction|0|0|1077159580|3352|214|-244|2474
    Assistant.Macros.PauseAction|00:00:00.5000000
    Assistant.Macros.EndWhileAction
    // Craft
    Assistant.Macros.DoubleClickTypeAction|4031|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|1|0|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.GumpResponseAction|23|0|0
    Assistant.Macros.PauseAction|00:00:03.4000000
    Assistant.Macros.LiftTypeAction|5356|1
    Assistant.Macros.DropAction|0x4853EB7E|(-1, -1, 0)|0
    Assistant.Macros.PauseAction|00:00:00.3000000
    // Skill Check
    Assistant.Macros.IfAction|100|1|99.5|12
    Assistant.Macros.HotKeyAction|0|Organizer Agent-01
    Assistant.Macros.PauseAction|00:00:06
    Assistant.Macros.HotKeyAction|1083|
    Assistant.Macros.EndIfAction
    
    This should be put in the Crafts folder, all you need to do is to set the 2 absolute targets for the container which is helding your scrolls/pens




    **ADVICE & INFOS**



    -CREATE A NEW PROFILE IN RAZOR, call it "Cartography" .... 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 to work.
    -Couldn't get this macro to 100 because last point will need high lvl tmaps and since i am doing these macros essentially for new players and maps can be very expensive, i didn't see any point to add the last points part.




    == FILES ==



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


    Dropbox : https://www.dropbox.com/s/t326ncuz1hjzj4i/Cartography.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: Sep 15, 2020
  2. HateCrime

    HateCrime Well-Known Member
    UO:R Donor

    Joined:
    May 14, 2012
    Messages:
    1,445
    Likes Received:
    489
    No replies on this thread? Thanks for the info. I'll give this is a shot as soon as my lockpicking is done :)
    Steady Mobbin and Daping like this.
  3. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    Yeah no replies yet and no return... If you try it let me know how it goes !

    Thank you for your coment !
  4. Fin

    Fin Well-Known Member
    UO:R Subscriber

    Joined:
    Aug 20, 2014
    Messages:
    481
    Likes Received:
    395
    This man knows how to write macros. Nice work, nice guide.
    Daping likes this.
  5. Daping

    Daping Active Member
    UO:R Donor

    Joined:
    May 19, 2020
    Messages:
    191
    Likes Received:
    107
    Thank you for your message ! I am happy that it did well.
  6. Steady Mobbin

    Steady Mobbin Well-Known Member

    Joined:
    Jan 30, 2016
    Messages:
    1,018
    Likes Received:
    719
    Appreciate your work!
    Daping likes this.
  7. Leeloo

    Leeloo Well-Known Member

    Joined:
    Jul 23, 2020
    Messages:
    622
    Likes Received:
    508
    Great macro as always! I just had to add a small pause between lifting the map and dropping it into my trash bin, probably because of my 200ms ping

Share This Page