Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
All types of map decoder by Jaseowns UO Outlands Requirements: have a spyglass (can also put spyglasses in maps to decode bag) selecting a bag with maps to decode selecting a bag or tome where maps should go when done
HousingOrganizing
Tmap decoder all map types handled.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/5edae5f6-d8f4-4874-99da-09a0a160a69b for latest2# Automation by Jaseowns3## Script: Tmap decoder (all map types handled)4## Created by: Jaseowns#66945#############################################6 7# All types of map decoder by Jaseowns8# UO Outlands9# Requirements: 10# have a spyglass (can also put spyglasses in maps to decode bag)11# selecting a bag with maps to decode12# selecting a bag or tome where maps should go when done13if not varexist "j_restock_undecoded_maps"14 overhead "Select a bag with undecoded maps" 8815 setvar j_restock_undecoded_maps16endif17 18if not varexist "j_organize_decoded_maps"19 overhead "Select a bag where decoded maps go" 8820 setvar j_organize_decoded_maps21endif22 23if not findtype "spyglass" backpack24 if findtype "spyglass" j_restock_undecoded_maps as item25 overhead "Grabbing spyglass" 3426 lift item27 drop backpack -1 -1 -128 wait 65029 else30 overhead "Need spyglass" 3431 wait 5000 32 endif33 replay34endif35 36 37if not findtype "map" backpack38 dclick j_restock_undecoded_maps39 wait 20040 overhead "Restock Map" 8841 if findtype "map" j_restock_undecoded_maps as map42 lift map43 drop backpack -1 -1 -144 wait 65045 endif46endif47 48# Close map gump49// ore50gumpclose 336764148451// skinning52gumpclose 347302923753// lumber54gumpclose 133280540155// treasure56gumpclose 152086985157// fishing58gumpclose 258935794259 60 61if findtype "map" backpack as my_map62 getlabel my_map desc63 overhead desc64 65 dclicktype "spyglass" backpack66 wft 150067 target my_map68 69 @setvar! gumpIdToCheck 070 71 if "ore" in desc72 @setvar! gumpIdToCheck 336764148473 elseif "skinning" in desc74 @setvar! gumpIdToCheck 347302923775 elseif "lumber" in desc76 @setvar! gumpIdToCheck 133280540177 elseif "treasure" in desc78 @setvar! gumpIdToCheck 152086985179 elseif "fishing" in desc80 @setvar! gumpIdToCheck 258935794281 else82 overhead "Unknown gump!" 3483 endif84 85 waitforgump gumpIdToCheck 100086 87 if "[100.0%" in desc or "(100.0%" in desc88 dclick j_organize_decoded_maps89 wait 20090 overhead "Moving map..." 8891 lift my_map92 drop j_organize_decoded_maps -1 -1 -193 wait 65094 else95 overhead "Updating..."96 clearsysmsg 97 while gumpexists gumpIdToCheck98 gumpresponse 4 gumpIdToCheck99 wait 500100 if insysmsg "maximum accuracy"101 gumpclose gumpIdToCheck102 replay103 endif104 endwhile105 endif106 107 wait 200108 replay109else110 overhead "Out of maps!" 34111 wait 5000112 replay113endif