Skip to content
Outlands Hub

Razor script

Map Decoder

by AreYouKidden=2 · 113 lines
Download
Housing
Map Decoder.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/99506828-4642-4532-9337-9e52be9db1dc for latest2# Automation by Jaseowns3## Script: Map Decoder4## Created by: AreYouKidden=2#04035#############################################6 7overhead 'Select MapBook'8@setvar 'MapBook'9 10@removelist 'ToolHues'11@createlist 'ToolHues'12@removelist 'MapHues'13@createlist 'MapHues'14@removelist 'MapGumps'15@createlist 'MapGumps'16 17pushlist 'ToolHues' 018pushlist 'ToolHues' 241919pushlist 'ToolHues' 240620pushlist 'ToolHues' 241321pushlist 'ToolHues' 241822pushlist 'ToolHues' 221323pushlist 'ToolHues' 242524pushlist 'ToolHues' 220725pushlist 'ToolHues' 221926pushlist 'ToolHues' 176327 28pushlist 'MapHues' 029pushlist 'MapHues' 209130pushlist 'MapHues' 290431pushlist 'MapHues' 265132pushlist 'MapHues' 279933pushlist 'MapHues' 279634 35pushlist 'MapGumps' 1520869851 'front'36pushlist 'MapGumps' 1520869851 'front'37pushlist 'MapGumps' 2589357942 'front'38pushlist 'MapGumps' 3473029237 'front'39pushlist 'MapGumps' 1332805401 'front'40pushlist 'MapGumps' 3367641484 'front'41 42foreach 'Color' in 'MapHues'43    foreach 'x' in 'MapGumps'44         @setvar 'Gump' 'x' 45    endfor46    poplist 'MapGumps' 'back'47 48    while findtype '5356' 'backpack' 'Color' as 'Map'49        while find 'Map' 'backpack'50 51        if not find 'Tool1' 'backpack'52            foreach 'y' in 'ToolHues'53                if @findtype '5365' 'backpack' 'y' as 'found' and not find 'Tool1' 'backpack'54                    @setvar 'Tool1' 'found'55                    @setvar 'Hue1' 'y'56                endif57            endfor58        endif59        if not find 'Tool1' 'backpack'60            overhead 'Low End Tool not found' 3361            stop62        endif63        if not find 'Tool2' 'backpack'64            foreach 'y' in 'ToolHues'65                if @findtype '5365' 'backpack' 'y' as 'found'66                    @setvar 'Tool2' 'found'67                    @setvar 'Hue2' 'y'68                endif69            endfor70        endif71        if not find 'Tool2' 'backpack'72            overhead 'High End Tool not found' 3373            stop74        endif75 76        overhead 'Using Low End Tool' 'Hue1'77        clearsysmsg 78        dclick 'Tool1'79        pause 10080        wft 500081        target 'Map'82        pause 10083        waitforgump 'Gump'84        gumpresponse 485        pause 150086        87        if insysmsg 'You have reached the maximum'88            clearsysmsg 89            pause 100090            while find 'Map' 'backpack' and find 'Tool2' 'backpack'91                overhead 'Using High End Tool' 'Hue2'92                clearsysmsg 93                dclick 'Tool2'94                pause 10095                wft 500096                target 'Map'97                pause 10098                waitforgump 'Gump'99                gumpresponse 4100                pause 1500        101 102                if insysmsg 'You have reached the maximum accuracy'103                    overhead 'Map Decoded!' 88104                    pause 100105                    lift 'Map' 9999106                    drop 'MapBook'107                    pause 500108                endif109            endwhile110        endif111        endwhile112    endwhile113endfor