Skip to content
Outlands Hub

Razor script

Bapeths Ocean Launcher

by barryroser · 246 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Bapeths Ship Launcher May 14th 2026 - Fixed pre-emptive Holy Gate usage Script will loop into 'Master Background' if you have it in your script library If you are re-running this script while already on your ship and at sea you may need to…

Sailing
Bapeths Ocean Launcher.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/3cae6333-e0fd-4287-8762-34d7ea78e952 for latest2# Automation by Jaseowns3## Script: Bapeths Ocean Launcher4## Created by: barryroser#05#############################################6 7# Bapeths Ship Launcher8#9# May 14th 2026 - Fixed pre-emptive Holy Gate usage10# 11#12# Script will loop into 'Master Background' if you have it in your script library13# If you are re-running this script while already on your ship and at sea you may need to "rotate" to resync your ship14#15# This script will launch your ship, ready crew, and load cannons, sacred journey (buff), and set your hatch for the "Master Background" auto loot drop16#17# Script starts here18clearsysmsg 19@clearignore 20if timerexists alreadylaunched21    removetimer alreadylaunched22endif23overhead 'Launch sequence initiated...' 4524if not findtype 5365 backpack25    overhead 'I forgot a Spyglass...' 3826    overhead 'I forgot a Spyglass...' 3827    overhead 'I forgot a Spyglass...' 3828endif29if not findtype "aspect crystal" backpack30    overhead "I could use Aspect Crystals..." 7831    pause 40032endif33if skill "Magery" >= 80 and followers = 034    overhead "I should get some followers..." 4535    pause 40036endif37 38if skill "Arms Lore" >= 80 and not timerexists disarmcheck39    createtimer disarmcheck40    settimer disarmcheck 9000041elseif skill "Arms Lore" >= 80 and timerexists disarmcheck42    clearsysmsg 43    for 444        if timer disarmcheck >= 9000045            say "[Disarm" 46            getlabel backpack ping47            if insysmsg "You will now attempt to disarm your opponents."48                settimer disarmcheck 049                break50            endif51        endif52    endfor53endif54 55if skill "Arcane" >= 80 and not gumpexists 395412193456    say '[abilityhotbar'57    waitforgump 3954121934 50058endif59 60if skill "Chivalry" >= 80 and not gumpexists 395412193461    say '[abilityhotbar'62    waitforgump 3954121934 50063endif64 65if findtype 3763|3762|3740|3742|10245|20008|20006|20014|20016|20012|20010 backpack as instrument66    @ignore instrument67endif68if findtype 3834 backpack 0 as bbook69    @ignore bbook70endif71 72pause 50073 74while not dead75    hotkey "Next Monster Target"76    @setvar bdockmaster lasttarget77    if noto bdockmaster = "invulnerable"78        getlabel bdockmaster desc79        if "dockmaster" in desc80            menu bdockmaster 181            getlabel backpack ping82            gumpresponse 1083            waitforgump 3287496917 50084            if insysmsg "You already have a ship at sea"85                createtimer alreadylaunched86                gumpclose 328749691787                break88            else 89                hotkey "Cancel Current Target"90            endif91            if gumpexists 328749691792                overhead "Which ship shall I captain?" 8893                while not targetexists 94                    if not find "bdockmaster" ground95                        gumpclose 328749691796                        overhead "Can not see Dockmaster" 3897                        overhead "Try again" 3898                        stop99                    endif100                endwhile101                getlabel backpack ping102                if insysmsg 'You have traveled'103                    overhead 'Travel cooldown...' 38104                    overhead 'Launch Aborted' 38105                    gumpclose 3287496917106                    stop107                elseif insysmsg 'You have been onboard'108                    overhead 'Onboard cooldown...' 38109                    overhead 'Launch Aborted' 38110                    hotkey "Cancel Current Target"111                    gumpclose 3287496917112                    stop113                endif114                wft 500115                overhead "Select Launch Location" 88116                while targetexists 117                    //donothing118                endwhile119                getlabel backpack ping120                gumpclose 3287496917121                break122            endif123        endif124    endif125    if findtype "status bar" ground 150 as shiplaunchedcheck126        dclick shiplaunchedcheck127        getlabel backpack ping128        if gumpexists 4216593270129            gumpclose 4216593270130            break131        else132            @ignore shiplaunchedcheck133        endif134    endif135endwhile136 137if not timerexists alreadylaunched138    if insysmsg 'A ship cannot be placed'139        overhead 'Cannot place there...' 38140        overhead 'Try again...' 38141        gumpclose 3287496917142        replay143    elseif insysmsg 'That location is too far away'144        overhead 'Cannot place there...' 38145        overhead 'Try again...' 38146        gumpclose 3287496917147        replay148    elseif insysmsg 'That location is out of your line of sight'149        overhead 'Cannot see that...' 38150        overhead 'Try again...' 38151        gumpclose 3287496917152        replay153    elseif insysmsg 'You have been onboard'154        overhead 'Onboard cooldown...' 38155        overhead 'Launch Aborted' 38156        hotkey "Cancel Current Target"157        gumpclose 3287496917158        stop159    elseif insysmsg "while on a house"160        overhead "I cannot place that from inside this house..." 38161        overhead "Launch Aborted..." 38162        gumpclose 3287496917163        gumpclose 4216593270164        stop165    endif166 167    if insysmsg "A ship rune has been placed"168        if skill "Chivalry" >= 90169            clearsysmsg 170            say "[SacredJourney"171            getlabel backpack ping172            if insysmsg "You may not use that ability spell while on a ship"173                overhead "Sacred Journey must be taken on land..." 45174                gumpclose 1482653814175            endif176            waitforgump 1482653814 500177            gumpresponse 5178            waitforgump 1482653814 500179            gumpresponse 4180            getlabel backpack ping    181            if insysmsg "You have been in combat too recently to use that ability"182                overhead "Argh, I cant do that while fighting..." 45183                gumpclose 1482653814184            endif185            pause 1000186            if findtype 30528 ground 2091 -1 1 as chivgate187                dclick chivgate188                waitforgump 3899019871 3000189                gumpresponse 2190                overhead "I am charged with Holy Power!" 78191            endif192        endif193    endif194endif195 196while not dead197    clearsysmsg 198    say "[Embark" 45199    getlabel backpack ping200    say "[EmbarkFollowers" 45201    getlabel backpack ping202    say "[Reload" 88203    overhead '*Reloading*' 45204    getlabel backpack ping205    say "[ReadyCrew" 45206    getlabel backpack ping207    if insysmsg "may ready the crew"208        overhead "Crew is not ready..." 38209        pause 600210    endif211    while not gumpexists 3329337894212        say "[TargetingMode" 45213        getlabel backpack ping214    endwhile215    if gumpexists 4216593270216        gumpclose 4216593270217    endif218    overhead "Set my Hatch..." 77219    setlasttarget 220    wft 500221    while targetexists 222        //donothing223    endwhile224    pause 500225    getlabel lasttarget desc226    if "hold" in desc227        //donothing228    else 229        overhead "Invalid Ship Hold" 38230        overhead "Try again..." 38231        replay232    endif233    @setvar "shiphold" lasttarget 234    if not find "shiphold" ground -1 -1 22235        overhead "Error, launch code resetting..." 38236        replay237    endif238    if skill "Necromancy" >= 50 and not gumpexists 622436516239        say "[necromancyhotbar"240        pause 250241    endif242    hotkey "Cancel Current Target"243    overhead "Launch Sequence Complete..." 88244    script 'Master Background'245    stop246endwhile