Bapeths Ocean Dock and Drop by barryroser
Description from the author:
# Bapeths Dock and Drop
# May 4th 2026 - Fixed gump menu conflict with spyglass bug cousing the script to stall
#
# "Peace Mode"
# This script will search for a valid dockmaster NPC, and when ready, will crate and dock your ship
#
# "War Mode"
# The script will attempt to Free Dock your ship - User must manually select docking location (click nearby land)
#
# Script Starts Here
if not warmode
if not timerexists lookingfordockspam
createtimer lookingfordockspam
settimer lookingfordockspam 3000
endif
if timer lookingfordockspam >= 3000
overhead "Looking for Valid Dockmaster" 68
settimer lookingfordockspam 0
endif
hotkey "Next Monster Target"
@setvar! bdockmaster lasttarget
if noto bdockmaster = "invulnerable"
clearsysmsg
getlabel bdockmaster desc
if "dockmaster" in desc
menu bdockmaster 1
getlabel backpack ping
while gumpexists 3287496917
if not timerexists dockmasterfoundspam
createtimer dockmasterfoundspam
settimer dockmasterfoundspam 3000
endif
if timer dockmasterfoundspam >= 3000
overhead "Dockmaster Found!" 88
settimer dockmasterfoundspam 0
menu bdockmaster 1
getlabel backpack ping
endif
if not find "bdockmaster" ground
gumpclose 3287496917
break
endif
if warmode
gumpclose 3287496917
break
endif
clearsysmsg
gumpresponse 8
getlabel backpack ping
if insysmsg "You pay"
overhead "Shipping crate sent" 88
elseif insysmsg "not been stationary long enough to use this feature"
if not timerexists movetimerspam
createtimer movetimerspam
settimer movetimerspam 1500
endif
if timer movetimerspam >= 1500
overhead "Boat Movement Cooldown..." 38
settimer movetimerspam 0
endif
elseif insysmsg "capable of being"
waitforgump 3287496917 500
gumpresponse 7
getlabel backpack ping
if insysmsg "You dock the ship"
overhead "Ship Docked Safely" 88
gumpclose 3287496917
hotkey "Cancel Current Target"
stop
elseif insysmsg "not been stationary long enough to dock."
if not timerexists movetimerspam
createtimer movetimerspam
settimer movetimerspam 1500
endif
if timer movetimerspam >= 1500
overhead "Boat Movement Cooldown..." 38
settimer movetimerspam 0
endif
endif
elseif insysmsg "you are not onboard"
gumpclose 3287496917
overhead "Not on a ship..." 45
stop
endif
endwhile
endif
endif
elseif warmode
clearsysmsg
say "[dock" 88
if not timerexists freedockspam
createtimer freedockspam
settimer freedockspam 3000
endif
if timer freedockspam >= 3000
overhead "Attempting Free-Dock" 88
settimer freedockspam 0
endif
getlabel backpack ping
if insysmsg "not been stationary"
if not timerexists movetimerspam
createtimer movetimerspam
settimer movetimerspam 1500
endif
if timer movetimerspam >= 1500
overhead "Boat Movement Cooldown..." 38
settimer movetimerspam 0
endif
elseif insysmsg "Which location do you wish to dock at?"
wft 500
overhead "Select location to Free-Dock" 68
while targetexists
//donothing
endwhile
getlabel backpack ping
if insysmsg "not been stationary long enough to free-dock"
if not timerexists movetimerspam
createtimer movetimerspam
settimer movetimerspam 1500
endif
if timer movetimerspam >= 1500
overhead "Boat Movement Cooldown..." 38
settimer movetimerspam 0
endif
elseif insysmsg "You free-dock the ship"
overhead "Free Docked!" 88
stop
endif
endif
endif
loopThis script will auto crate your hull and dock your ship safely.








