Skip to content
Outlands Hub

Razor script

Resource Maps - Ore Map V2.0

by neverstopswing · 255 lines
Download

Set these variables before using.

Gathering
Resource Maps - Ore Map V20.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/20aa7ae5-1779-4e72-b1ff-dc589daa0a99 for latest2# Automation by Jaseowns3## Script: Resource Maps - Ore Map V2.04## Created by: neverstopswing#05#############################################6 7#Set these variables before using. 8@setvar! tomechest 9@setvar! oretome 10@setvar! globalTimeout 65011 12 13 14if not findlayer self lefthand and not findlayer self righthand15    dclicktype 'pickaxe'16    wait 70017endif18dclicktype 'pickaxe'19wait 200020if insysmsg 'You have completely exhausted your mining camp.'21    if findtype 'map' backpack as map22        lift map23        drop 0x024    endif    25    clearjournal26    clearsysmsg 27    target clear28    if findtype 3948 'ground' 0 1 2 as 'bluegate'29        dclick 'bluegate'30        waitforgump 389901987131        gumpresponse 232        cast 'Dispel Field'33        waitfortarget34        target self35        pause 100036        dclicktype 'iron ore'37        if findtype "storage shelf" ground -1 -1 2 as shelf38        menu shelf 139        endif40        if findtype "resource container" ground -1 -1 2 as resource41            overhead 'Dumping Stockpile'42            menu resource 043            wft globalTimeout44            target self45            wait 20046        endif47        if findtype "garden shelf" ground -1 -1 2 as gshelf48            overhead 'Dumping Seeds'49            menu gshelf 050            wft globalTimeout51            target self52            wait 20053        endif54        dclick oretome tomechest    55        waitforgump 166738055956        gumpresponse 2057        waitforgump 166738055958        if insysmsg 'No map of that type is currently being stored.'59            clearsysmsg 60            gumpresponse 2161            waitforgump 166738055962            if insysmsg 'No map of that type is currently being stored.'63                clearsysmsg 64                gumpresponse 2265                waitforgump 166738055966                if insysmsg 'No map of that type is currently being stored.'67                    clearsysmsg68                    gumpresponse 2369                    waitforgump 166738055970                    if insysmsg 'No map of that type is currently being stored.'71                        clearsysmsg72                        gumpresponse 2473                        waitforgump 166738055974                        if insysmsg 'No map of that type is currently being stored.'75                            clearsysmsg76                            gumpresponse 2577                            waitforgump 166738055978                            if insysmsg 'No map of that type is currently being stored.'79                                clearsysmsg80                                gumpresponse 2681                                waitforgump 166738055982                                if insysmsg 'No map of that type is currently being stored.'83                                    clearsysmsg84                                    gumpresponse 2785                                    waitforgump 166738055986                                    if insysmsg 'No map of that type is currently being stored.'87                                        clearsysmsg88                                        gumpresponse 2889                                        waitforgump 166738055990                                        if insysmsg 'No map of that type is currently being stored.'91                                                overhead 'No maps left!'92                                        endif93                                    endif94                                endif95                            endif96                        endif97                    endif98                endif99            endif100        endif101        gumpclose102        wait globalTimeout103        dclicktype 'map'104        overhead 'Ready to go!'105        stop106    endif107    if weight < 464108        if weight < 394109            hotkey 'Recall'110            overhead 'Recalling!'111            waitfortarget112            targettype 'runetome'113        endif114        if weight >= 394115            wait 250116            hotkey 'Drink Strength'117            pause 650118            hotkey 'Recall'119            overhead 'Recalling!'120            waitfortarget121            targettype 'runetome'122        endif123    endif124    if weight >= 464125        overhead 'Too heavy to recall!'126        hotkey 'Gate Travel'127        overhead 'Gating'128        waitfortarget129        targettype 'runetome'130        wait 100131        if findtype 3948 'ground' 0 1 2 as 'bluegate'132            dclick 'bluegate'133            waitforgump 3899019871134            gumpresponse 2135            cast 'Dispel Field'136            waitfortarget137            target self138        endif139    endif140    pause 1000141    dclicktype 'iron ore'142    if findtype "storage shelf" ground -1 -1 2 as shelf143    menu shelf 1144    endif145    if findtype "resource container" ground -1 -1 2 as resource146        overhead 'Dumping Stockpile'147        menu resource 0148        wft globalTimeout149        target self150        wait 200151    endif152    if findtype "garden shelf" ground -1 -1 2 as gshelf153        overhead 'Dumping Seeds'154        menu gshelf 0155        wft globalTimeout156        target self157        wait 200158    endif159    dclick oretome tomechest    160    waitforgump 1667380559161    gumpresponse 20162    waitforgump 1667380559163    if insysmsg 'No map of that type is currently being stored.'164        clearsysmsg 165        gumpresponse 21166        waitforgump 1667380559167        if insysmsg 'No map of that type is currently being stored.'168            clearsysmsg 169            gumpresponse 22170            waitforgump 1667380559171            if insysmsg 'No map of that type is currently being stored.'172                clearsysmsg173                gumpresponse 23174                waitforgump 1667380559175                if insysmsg 'No map of that type is currently being stored.'176                    clearsysmsg177                    gumpresponse 24178                    waitforgump 1667380559179                    if insysmsg 'No map of that type is currently being stored.'180                        clearsysmsg181                        gumpresponse 25182                        waitforgump 1667380559183                        if insysmsg 'No map of that type is currently being stored.'184                            clearsysmsg185                            gumpresponse 26186                            waitforgump 1667380559187                            if insysmsg 'No map of that type is currently being stored.'188                                clearsysmsg189                                gumpresponse 27190                                waitforgump 1667380559191                                if insysmsg 'No map of that type is currently being stored.'192                                    clearsysmsg193                                    gumpresponse 28194                                    waitforgump 1667380559195                                    if insysmsg 'No map of that type is currently being stored.'196                                            overhead 'No maps left!'197                                    endif198                                endif199                            endif200                        endif201                    endif202                endif203            endif204        endif205    endif206    gumpclose207    wait globalTimeout208    dclicktype 'map'209    overhead 'Ready to go!'210    stop211endif212if weight > 440213    clearjournal214    clearsysmsg 215    target clear216    overhead 'Dropping off..'217    hotkey 'Gate Travel'218    overhead 'Gating'219    waitfortarget220    targettype 'runetome'221    wait 100222    if findtype 3948 'ground' 0 1 2 as 'bluegate'223        dclick 'bluegate'224        waitforgump 3899019871225        gumpresponse 2       226    endif227    pause 1000228    dclicktype 'iron ore'229    if findtype "storage shelf" ground -1 -1 2 as shelf230    menu shelf 1231    endif232    if findtype "resource container" ground -1 -1 2 as resource233        overhead 'Dumping Stockpile'234        menu resource 0235        wft globalTimeout236        target self237        wait 200238    endif239    if findtype "garden shelf" ground -1 -1 2 as gshelf240        overhead 'Dumping Seeds'241        menu gshelf 0242        wft globalTimeout243        target self244        wait 200245    endif246    if findtype 3948 'ground' 0 1 2 as 'bluegate'247        dclick 'bluegate'248        waitforgump 3899019871249        gumpresponse 2250        say 'all guard me'251        replay252    endif253    stop254endif255loop