Bapeths Ocean Launcher by barryroser
Related: Snippetship launch
Description from the author:
# Bapeths Ship Launcher
#
# May 11th 2026 - Fixed Holy Gate bug, added a Line of Sight check after finding a valid dockmaster, fixed setting of false hatch bug
#
#
# Script will loop into 'Master Background' if you have it in your script library
# Run this script near any friendly boats to add any and all friendly crew to the ignore list
#
# This script will launch your ship, ready crew, and load cannons
#
# Script starts here
clearsysmsg
if timerexists alreadylaunched
removetimer alreadylaunched
endif
overhead 'Launch sequence initiated...' 45
if not findtype 5365 backpack
overhead 'I forgot a Spyglass...' 38
overhead 'I forgot a Spyglass...' 38
overhead 'I forgot a Spyglass...' 38
endif
if not findtype "aspect crystal" backpack
overhead "I could use Aspect Crystals..." 78
pause 400
endif
if skill "Magery" >= 80 and followers = 0
overhead "I should get some followers..." 45
pause 400
endif
if skill "Arms Lore" >= 80 and not timerexists disarmcheck
createtimer disarmcheck
settimer disarmcheck 90000
elseif skill "Arms Lore" >= 80 and timerexists disarmcheck
clearsysmsg
for 4
if timer disarmcheck >= 90000
say "[Disarm"
getlabel backpack ping
if insysmsg "You will now attempt to disarm your opponents."
settimer disarmcheck 0
break
endif
endif
endfor
endif
if skill "Arcane" >= 80 and not gumpexists 3954121934
say '[abilityhotbar'
waitforgump 3954121934 500
endif
if skill "Chivalry" >= 80 and not gumpexists 3954121934
say '[abilityhotbar'
waitforgump 3954121934 500
endif
if findtype 3763|3762|3740|3742|10245|20008|20006|20014|20016|20012|20010 backpack as instrument
@ignore instrument
endif
if findtype 3834 backpack 0 as bbook
@ignore bbook
endif
pause 500
while not dead
hotkey "Next Monster Target"
@setvar bdockmaster lasttarget
if noto bdockmaster = "invulnerable"
getlabel bdockmaster desc
if "dockmaster" in desc
menu bdockmaster 1
getlabel backpack ping
gumpresponse 10
waitforgump 3287496917 500
if insysmsg "You already have a ship at sea"
createtimer alreadylaunched
gumpclose 3287496917
break
else
hotkey "Cancel Current Target"
endif
if gumpexists 3287496917
overhead "Which ship shall I captain?" 88
while not targetexists
if not find "bdockmaster" ground
gumpclose 3287496917
overhead "Can not see Dockmaster" 38
overhead "Try again" 38
stop
endif
endwhile
getlabel backpack ping
if insysmsg 'You have traveled'
overhead 'Travel cooldown...' 38
overhead 'Launch Aborted' 38
gumpclose 3287496917
stop
elseif insysmsg 'You have been onboard'
overhead 'Onboard cooldown...' 38
overhead 'Launch Aborted' 38
hotkey "Cancel Current Target"
gumpclose 3287496917
stop
endif
wft 500
overhead "Select Launch Location" 88
while targetexists
//donothing
endwhile
getlabel backpack ping
gumpclose 3287496917
break
endif
endif
endif
endwhile
if not timerexists alreadylaunched
if insysmsg 'A ship cannot be placed'
overhead 'Cannot place there...' 38
overhead 'Try again...' 38
gumpclose 3287496917
replay
elseif insysmsg 'That location is too far away'
overhead 'Cannot place there...' 38
overhead 'Try again...' 38
gumpclose 3287496917
replay
elseif insysmsg 'That location is out of your line of sight'
overhead 'Cannot see that...' 38
overhead 'Try again...' 38
gumpclose 3287496917
replay
elseif insysmsg 'You have been onboard'
overhead 'Onboard cooldown...' 38
overhead 'Launch Aborted' 38
hotkey "Cancel Current Target"
gumpclose 3287496917
stop
elseif insysmsg "while on a house"
overhead "I cannot place that from inside this house..." 38
overhead "Launch Aborted..." 38
gumpclose 3287496917
gumpclose 4216593270
stop
endif
if skill "Chivalry" >= 90
clearsysmsg
say "[SacredJourney"
getlabel backpack ping
if insysmsg "You may not use that ability spell while on a ship"
overhead "I should find some land to make my journey..." 45
gumpclose 1482653814
endif
waitforgump 1482653814 500
gumpresponse 5
waitforgump 1482653814 500
gumpresponse 4
getlabel backpack ping
if insysmsg "You have been in combat too recently to use that ability"
overhead "Argh, I cant do that while fighting..." 45
gumpclose 1482653814
endif
pause 1000
if findtype 30528 ground 2091 -1 1 as chivgate
dclick chivgate
waitforgump 3899019871 3000
gumpresponse 2
endif
overhead "I am charged with Holy Power!" 78
endif
endif
while not dead
clearsysmsg
say "[Embark" 45
getlabel backpack ping
say "[EmbarkFollowers" 45
getlabel backpack ping
say "[Reload" 88
overhead '*Reloading*' 45
getlabel backpack ping
say "[ReadyCrew" 45
getlabel backpack ping
if insysmsg "may ready the crew"
overhead "Crew is not ready..." 38
pause 600
endif
while not gumpexists 3329337894
say "[TargetingMode" 45
getlabel backpack ping
endwhile
if gumpexists 4216593270
gumpclose 4216593270
endif
overhead "Set my Hatch..." 77
setlasttarget
wft 500
while targetexists
//donothing
endwhile
pause 500
getlabel lasttarget desc
if "hold" in desc
//donothing
else
overhead "Invalid Ship Hold" 38
overhead "Try again..." 38
replay
endif
@setvar "shiphold" lasttarget
if not find "shiphold" ground -1 -1 22
overhead "Error, launch code resetting..." 38
replay
endif
if skill "Necromancy" >= 50 and not gumpexists 622436516
say "[necromancyhotbar"
pause 250
endif
hotkey "Cancel Current Target"
overhead "Launch Sequence Complete..." 88
script 'Master Background'
stop
endwhileLaunches and readies a ship from any nearby dockmaster.








