Bapeths "Master Background" Ship Script Sept 2 2026 - fixed various bugs in targeting code, refined chiv abilities, fixed auto disembark crew bug Script is designed for Dex types (Chiv/Tamer/Archer/Pooner/Thrower/Alchy) What it does: This…
TamingSailing
Bapeths Ocean Master Background.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/54138cac-0511-429b-8b5c-90d142cac18a for latest2# Automation by Jaseowns3## Script: Bapeths Ocean Master Background4## Created by: barryroser#05#############################################6 7# Bapeths "Master Background" Ship Script8#9# Sept 2 2026 - fixed various bugs in targeting code, refined chiv abilities, fixed auto disembark crew bug10# 11# Script is designed for Dex types (Chiv/Tamer/Archer/Pooner/Thrower/Alchy)12#13# What it does:14#15# This script is a background script that should be running at all times16# Generally you should be in "Peace Mode" when on your own ship and in "War Mode" when on an enemy ship17# Use "War Mode" on your own ship for fighting mobs on your own ship (bosses and fishing)18#19# "Peace Mode"20# Auto Bandage and Heal/Cure Potion21# Auto Use Vet Kit if using tames22# Auto Buff Potions (Toggle Setting Below)23# Sense Closest Ship with Tracking Arrow (Toggle with Atlas)24# Auto Deposit Loot into Ship Hatch (Must use Bapeths Ocean Launch Script to Select Hatch)25# Auto Pick-Up Bomb - This will snuff out any active bomb within 2 tiles of your character26# Auto Net Cast at Fishing Spots (Toggle with Party Menu) + Auto Cut Fish27# Auto Attack/All Kill closest enemy when Fray Cooldown is active - This is to ensure ship to ship combat is always happening (Be aware this will attack players)28# Warn when Sacred Journey wears off29#30# "War Mode"31# Auto Bandage, Heal/Cure Potion, and Cleansing Brew when Bleeding/Diseased32# Auto Use Vet Kit if using tames33# Auto Use Optimal Chiv Abilities (Do not use the in game auto ability in the Chiv gump)34# For Alchemy Users - Auto Explode Potion35# Auto Net Cast at Fishing Spots (Toggle with Party Menu) + Auto Cut Fish36# Auto Attack/All Kill closest enemy when Fray Cooldown is active37# Auto Open Enemy Ship Hatches (Do not stand within 1 tile of enemy hatch before all enemy crew is dead)38# Auto Use Weapon Ability39# Warn when Sacred Journey wears off40# 41#42# "WARNING" <--------- Corpse Creek Region43#44# Be aware that there exist very rare "Grey zones" near the Corpse Creek region45# These zones (North and Southwest sides) will turn your crew Grey46# The script will auto attack your own crew if you sail into these areas and turn your crew grey47# If you sail into these areas, turn the script off!48#49# "Recommended Pooner Build"50# Cartography- 10051# Arms Lore -- 8052# Chivalry---- 12053# Anatomy ---- 8054# Fishing ---- 8055# Tactics ---- 10056# Focus ------ 8057# Healing ---- 8058#59# Primary Links: Cannon Damage, Damage on Ships, Melee Special Chance/Special Damage60# Extra Links: Effective Arms Lore, Melee Damage61#62# Armor Aspects: Fortune, Lightning, or Water63# Weapon Aspect: Select for XP or preferred Aspect Special64# 65##############################################################################################################################################################################################################################################################################66#67# "Other Scripts"68#69# THIS SCRIPT MUST BE NAMED "Master Background" OR IT WONT LINK TO OTHER SCRIPTS70# All of the following scripts will link into this Master Background Script to keep it playing continuously71# 72# "Manual Override"73# This script is used to force targets for Auto Attack, Auto Spell Cast, or Auto Cannon Fire74# https://outlands.uorazorscripts.com/script/80d24cbc-c121-484d-af2f-8fe45c765a2b75#76# "Bapeths Ocean Bandage Cross Heal"77# This script can be used to repeat heat a crew of your choice by playing the script hotkey and selecting a crew78# This script can also be used to activate "Relentless Healing Mode" by playing the script hotkey and selecting your bandages79# Relentless Healing Mode will use the ship crew gump to spam heal randomly80#81# "Bapeths Ocean Scripts"82# This is a catalouge of scripts that the user may find helpful on the Ocean83# https://outlands.uorazorscripts.com/search?st=&q=Bapeths+Ocean84#85# "Bapeths Auto Ship-Ability Scripts"86# These scripts are meant to be used to hotkey any ship ability that you use87# Each script represents an ability slot that you slot into your ship and will create a cooldown when used (See Required Section Below)88# https://outlands.uorazorscripts.com/search?st=&q=Bapeths+Ship+Slot89#90##############################################################################################################################################################################################################################################################################91#92# "REQUIRED <---------"93#94# Bapeths Ship Cooldowns xml file (copy paste into your characters Cooldown file)95# "COPY" Link to get Bapeths Cooldowns "https://outlands.uorazorscripts.com/script/f1e41e2d-411e-461e-9fd0-c4fc2dc234b1"96# "PASTE" FILE PATH : C:\Program Files (x86)\Ultima Online Outlands\ClassicUO\Data\Profiles\"YOUR-ACCOUNT-NAME"\UO Outlands\"YOUR-CHARACTER" Open file in notepad97# The cooldowns with "Tigger Text" Must be adjusted to "your ships stats" and "your Wizard Grimoire upgrades" in the UO in game Options98#99#100# "OPTIONAL <---------"101#102# "Ship Sense"103# This feature will constantly use the tracking arrow on the closest ship on your radar104# To toggle this on/off open the "Atlas" while the script is playing105# Only works in Peace Mode106# Say "[Atlas" to spawn an Atlas in your pack107#108#109# "Auto Net Caster"110# Open the "Party Menu" while the script is playing to toggle this feature on/off111# The script will auto throw nets on fishing spots when nearby112#113# "Auto Loot Drop Control" <----- Important!114# This script uses razor "Auto-Queue Object Delay" setting115# Make sure this setting is turned ON in the razor Options tab > Targeting & Queues sub-tab116# And set "object delay to 503" AUTO LOOTING DROPPING WILL BE SLOW IF YOU DONT DO THIS!117#118# "Spam Reduction"119# Options tab > Targeting & Queues subtab > Uncheck "Attack/Target name overhead"120# Options tab > Targeting & Queues subtab > Uncheck "Show Target Self/Last/Clear Overhead"121# Filters tab > Text & Messages subtab > Check "Filter Repeating Razor Messages" ONLY122# Replace your system messages with your Journal - See Journal options "Hide Messages in Viewport"123#124##############################################################################################################################################################################################################################################################################125#126# "SCRIPT SETTINGS"127#128##############################################################################################################################################################################################################################################################################129#130# "Maximum Self Heal"131#132# This feature will self bandage when as little as 1 hp is missing133# Otherwise self heal will only be used when missing 35 or more HP134# Do not use this feature if you use bandages to primarily heal crewmembers135# (0 = off 1 = on) 136#137# AUTO MAX HEAL138@setvar! "MaxSelfHeal" 0139#140##########################################################################################################################################################################141# 142# "Auto-Drink Buff Pots"143#144# The script will drink Strength, Agility, and Magic Resist if it doesnt detect a buff145# (0 = off 1 = on) 146#147# AUTO BUFF POTS148@setvar! "AutoBuffPots" 1149#150##########################################################################################################################################################################151#152# "Cannon Targeting Mode Gump"153#154# The script will detect when the Cannon Targeting Mode Gump is not on screen and will bring it up155# This only works in Peace Mode to prevent this routine from happening while on an enemy ship156# (0 = off 1 = on) 157#158# CANNON TARGET MODE GUMP159@setvar! "CannonTargetModeGump" 1160#161##########################################################################################################################################################################162# 163# "Auto Disembark Crew"164#165# When on an enemy ship and no more enemy crew are detected anywhere on screen the script will send your crew back to your own deck166# This feature only works when using "Bapeths Simple Boarding" script to board a ship167# This feature is blocked during PvP168# It is possible that the script mistakenly sends your crew back early (while enemy crew are still alive)169# If you find that this feature is not working correctly, disable it below170# (0 = off 1 = on) 171#172# AUTO DISEMBARK CREW173@setvar! "Disembark Crew" 1174#175##########################################################################################################################################################################176# 177# "Auto Cut Fishing Spot Fish"178#179# You must have scissors in your backpack for this to work180# This feature will cut all fishing spot fish the moment it lands in your backpack181# (0 = off 1 = on) 182#183# AUTO CUT FISH184@setvar! "AutoCutFish" 1185#186##########################################################################################################################################################################187# 188# "Select Weapon Abilty"189#190# Select one of the following weapon abilities to auto use while in active combat (warmode on)191# Place a 1 next to the ability you want to use - default is Weapon Ability 2 (pooner scourge)192# Make sure you only set one of the abilities to a value of 1 - the others must be 0193# 194# AUTO WEAPON ABILITY195@setvar! "WeaponAbilityOne" 0196@setvar! "WeaponAbilityTwo" 1197@setvar! "WeaponAbilityThree" 0198##########################################################################################################################################################################199#200# "Auto Mariners Fortune"201#202# Turn this setting on to use "Mariners Fortune" when it is ready203# This Greater Ability must be placed in the "Top Row Greater Slot"204# (0 = off 1 = on) 205#206@setvar! "AutoMarinersFortune" 0207#208# Set your Greater Ability Cooldown (Milliseconds)209@setvar! "BapGreaterCooldown" 216000210#211##########################################################################################################################################################################212#213# Script starts here214 215if "CannonTargetModeGump" = 1216 if not timerexists detectcannongump and not gumpexists 3329337894217 createtimer detectcannongump218 endif219 if timerexists detectcannongump and gumpexists 3329337894220 removetimer detectcannongump221 endif222 if timerexists detectcannongump and not warmode and not gumpexists 3329337894223 if timer detectcannongump >= 1500224 say "[ship"225 waitforgump 4216593270 500 226 gumpresponse 204 4216593270227 waitforgump 4216593270 500 228 waitforgump 3329337894 500229 gumpclose 4216593270230 removetimer detectcannongump231 endif232 endif233endif234 235if "AutoCutFish" = 1 and timerexists netwait236 if not find "BapScissors" backpack and findtype 3999 backpack as bapsci237 @setvar! "BapScissors" bapsci238 endif239 if timer netwait <= 2000 and findtype 9775|15107|17155|17159|17604|17637|28824|28826|28827|28831|28834|28844|44211|44212|44214|44215|44223|44224|44229|44226|44230|44239|44242|44244|44245|44254|44256|44257|47239|47242|47244|47248|47260|15106|15108|15124|17157|17606|28819|28820|28821|28822|28823|28825|28826|28828|28829|28830|28833|28835|28836|28837|28838|28839|28840|28841|28842|28843|28845|44209|44218|44221|44227|44248|44251|44260|47231|47232|47233|47234|47235|47236|47237|47238|47240|47241|47243|47245|47246|47247|47249|47251|47252|47253|47254|47255|47256|47257|47258|47259|47262|47263|47267|47268|47271|47283|47284|47285|2508|7710 as bapfish240 while queued241 //donthing242 endwhile243 dclick "BapScissors"244 wft 500245 target bapfish246 getlabel backpack ping247 endif248endif249 250if "AutoMarinersFortune" = 1251 if not cooldown "Greater Ability"252 say "[GreaterAbility"253 getlabel backpack ping254 cooldown "Greater Ability" BapGreaterCooldown255 endif256endif257 258if "MaxSelfHeal" = 1259 if skill "Healing" >= 20260 if hp = maxhp261 //donothing262 elseif not bandaging and findtype 3617 backpack263 hotkey "Bandage Self"264 getlabel backpack ping265 endif266 endif267endif268if cooldown "PvP"269 if skill "Healing" >= 20270 if hp = maxhp271 //donothing272 elseif not bandaging and findtype 3617 backpack273 hotkey "Bandage Self"274 getlabel backpack ping275 endif276 endif277endif278if not hidden279 if diffhits < 35280 if timerexists crewhealrepeat281 if varexist "CrewHeal" and not bandaging and not hidden and findtype 3617 backpack as baids282 while queued283 // do nothing284 endwhile285 dclick baids286 wft 500287 target "CrewHeal"288 getlabel backpack ping289 if insysmsg "You begin applying the bandages"290 overhead "Healing..." 87 "CrewHeal"291 elseif insysmsg "You are too far away to do that"292 overhead "*Get Closer*" 45 "CrewHeal"293 removetimer crewhealrepeat294 elseif insysmsg "That being is not damaged!"295 overhead "*Full Health*" 78 "CrewHeal" 296 removetimer crewhealrepeat297 createtimer relentlesshealing298 elseif insysmsg "You heal what little damage"299 removetimer crewhealrepeat300 createtimer relentlesshealing301 endif302 if targetexists 303 hotkey "Cancel Current Target"304 removetimer crewhealrepeat305 endif306 endif307 elseif timerexists relentlesshealing308 if not gumpexists 1722920179309 say "[shiphotbars"310 getlabel backpack ping311 endif312 if gumpexists 1722920179 and not bandaging313 gumpresponse 20 1722920179314 getlabel backpack ping315 endif316 if gumpexists 1722920179 and not bandaging317 gumpresponse 21 1722920179318 getlabel backpack ping319 endif320 if gumpexists 1722920179 and not bandaging321 gumpresponse 22 1722920179322 getlabel backpack ping323 endif324 if gumpexists 1722920179 and not bandaging325 gumpresponse 23 1722920179326 getlabel backpack ping327 endif328 if gumpexists 1722920179 and not bandaging329 gumpresponse 24 1722920179330 getlabel backpack ping331 endif332 if gumpexists 1722920179 and not bandaging333 gumpresponse 25 1722920179334 getlabel backpack ping335 endif336 if gumpexists 1722920179 and not bandaging337 gumpresponse 26 1722920179338 getlabel backpack ping339 endif340 endif341 elseif diffhits > 35 and not hidden and not bandaging and findtype 3617 backpack342 hotkey "Bandage Self"343 getlabel backpack ping344 endif345endif346 347if followers >= 1 and skill "Veterinary" >= 20348 if not timerexists vetfullhealthtimer349 createtimer vetfullhealthtimer350 settimer vetfullhealthtimer 5000351 endif352 if hp = maxhits353 //donothing354 else 355 settimer vetfullhealthtimer 5000356 endif357 if timer vetfullhealthtimer >= 5000 and not bandaging and findtype "veterinary supplies" backpack as bapvetsupplies358 clearsysmsg 359 dclick bapvetsupplies360 getlabel backpack ping361 if insysmsg "You or your nearby followers do not require healing"362 settimer vetfullhealthtimer 0363 endif364 endif365endif366 367while poisoned and not targetexists and not hidden and findtype "Orange Potion" backpack as curepot368 while queued369 //donothing370 endwhile371 dclick curepot372 pause 500373 getlabel backpack ping374endwhile375 376if skill "Fishing" >= 80 or skill "Archery" >= 80 or skill "Throwing" >= 80377 if not find "MainPoon"378 if findlayer self lefthand as pooninhand379 @setvar! "MainPoon" pooninhand380 endif381 elseif find "MainPoon" backpack382 dclick "MainPoon"383 pause 500384 getlabel backpack ping385 endif386endif387 388if "AutoBuffPots" = 1 and find "oceantarget" ground389 if not targetexists and not hidden and not casting and not findbuff "Magic Resist Potion" and findtype "Black Potion" self as respot390 while queued391 //donothing392 endwhile393 dclick respot394 pause 500395 endif396 if not targetexists and not hidden and not casting and not findbuff "Strength" and findtype "White Potion" self as wpot397 while queued398 //donothing399 endwhile400 dclick wpot401 pause 500402 endif403 if not targetexists and not hidden and not casting and not findbuff "Agility" and findtype "Blue Potion" self as bpot404 while queued405 //donothing406 endwhile407 dclick bpot408 pause 500409 endif410endif411 412if not targetexists and not casting and not findbuff "Food Satisfaction" and not hidden and findtype 2429|28885|29774|29773|28880|28888|28881|28883|28886|28879 backpack as food413 while queued414 //donothing415 endwhile416 dclick food417 pause 500418 getlabel backpack ping419endif420 421 422if not targetexists and not hidden and not casting and stam < maxstam and findtype "Red Potion" self as redpot423 while queued424 //donothing425 endwhile426 dclick redpot427 pause 500428 getlabel backpack ping429endif430 431if hp < 77 and not hidden and not timerexists brew and not targetexists and findbuff "Bleed" and findtype 50675 backpack as cbrew432 clearsysmsg 433 while queued434 //donothing435 endwhile436 dclick cbrew437 pause 500438 getlabel backpack ping439 if insysmsg "You drink a cleansing brew"440 createtimer brew441 endif442elseif hp < 77 and not hidden and not timerexists brew and not targetexists and findbuff "Diseased" and findtype 50675 backpack as cbrew443 while queued444 //donothing445 endwhile446 dclick cbrew447 pause 500448 getlabel backpack ping449 if insysmsg "You drink a cleansing brew"450 createtimer brew451 endif452endif453if timerexists brew454 if timer brew >= 120000455 removetimer brew456 endif457endif458 459while findtype 3834 backpack 0 as bbook460 @ignore bbook461endwhile462if findtype 7029 backpack as joustignore463 getlabel joustignore joustdesc464 if "jousting" in joustdesc465 @ignore joustignore466 endif467endif468if gumpexists 341416395 and not timerexists senseship469 gumpclose 341416395470 createtimer senseship471 overhead "Ship Sense Enabled" 88472elseif gumpexists 341416395 and timerexists senseship473 gumpclose 341416395474 removetimer senseship475 overhead "Ship Sense Disabled" 38476endif477 478if not warmode and timerexists senseship479 if timer senseship >= 3000 and gumpexists 2890020940 and findtype "spyglass" backpack as bspy480 settimer senseship 0481 gumpresponse 100 2890020940482 endif483endif484 485if not timerexists oceanscan486 createtimer oceanscan487 settimer oceanscan 300488endif489 490if not timerexists checktarget491 createtimer checktarget492 settimer checktarget 18000493endif494 495if not timerexists sacredjourncheck496 createtimer sacredjourncheck497 settimer sacredjourncheck 75000498endif499 500if skill "Chivalry" >= 80 and timer sacredjourncheck >= 75000501 if not findbuff "Sacred Journey"502 overhead "A sacred jounrey awaits..." 201503 endif504 settimer sacredjourncheck 0505endif506 507if insysmsg "repaired"508 gumpclose 1271619955509 say "[Repair"510endif511 512if findtype "fishing net" backpack 2785 as specialnetignore513 @ignore specialnetignore514elseif findtype "fishing net" backpack 2851 as specialnetignore515 @ignore specialnetignore516elseif findtype "fishing net" backpack 2880 as specialnetignore517 @ignore specialnetignore518elseif findtype "fishing net" backpack 2963 as specialnetignore519 @ignore specialnetignore520elseif findtype "fishing net" backpack 2839 as specialnetignore521 @ignore specialnetignore522elseif findtype "fishing net" backpack 2871 as specialnetignore523 @ignore specialnetignore524elseif findtype "fishing net" backpack 2795 as specialnetignore525 @ignore specialnetignore526elseif findtype "fishing net" backpack 2814 as specialnetignore527 @ignore specialnetignore528elseif findtype "fishing net" backpack 2900 as specialnetignore529 @ignore specialnetignore530endif531if not timerexists autonetcast532 if gumpexists 3527489586533 gumpclose 3527489586534 createtimer autonetcast535 overhead "--Auto Net Cast Enabled--" 2085536 endif537endif538if timerexists autonetcast539 if gumpexists 3527489586540 gumpclose 3527489586541 removetimer autonetcast542 overhead "--Auto Net Cast Disabled--" 1779543 endif544endif545if timerexists autonetcast and findtype 1286|18824|3530|26683|39345|29410|29230|2646|18824|441|25769|39434|27641|3707|29230|25769 ground -1 -1 12546 if not timerexists netwait547 createtimer netwait548 settimer netwait 3350549 endif550 if not hidden and not queued and timer netwait >= 3350 and findtype "fishing net" backpack as net551 while queued552 //donothing553 endwhile554 dclick net555 wft 500556 target net557 getlabel backpack ping558 settimer netwait 0559 endif560 if insysmsg "You have completely fished out that location."561 overhead "Fishing spot depleated..." 88562 endif563endif564 565if not warmode566 if timerexists openhull567 removetimer openhull568 endif569 if cooldown "Fray" and not targetexists and find "oceantarget" ground570 if not timerexists BapCrewAttack571 createtimer BapCrewAttack572 settimer BapCrewAttack573 endif574 if timer BapCrewAttack >= 12000575 settimer BapCrewAttack 0576 say "[CrewAttack"577 wft 500578 target "Manual Override"579 target "oceantarget"580 hotkey "Cancel Current Target"581 cooldown "Fray" 60000582 endif583 endif584 if timerexists boardingsuccess and not find "oceantarget" ground585 removetimer boardingsuccess586 endif587 if timerexists boardingsuccess and not warmode and hidden588 warmode on589 getlabel backpack ping590 hotkey "Attack Last Combatant"591 cooldown "Fray" 60000592 endif593 if hidden594 hotkey "Attack Last Combatant"595 cooldown "Fray" 60000596 endif597 598 if not timerexists onetimewarmode599 createtimer onetimewarmode600 endif601 if timerexists onetimepeacemode602 settimer disarmcheck 90000603 removetimer onetimepeacemode604 endif605 if skill "Arms Lore" >= 80 and not timerexists disarmcheck606 createtimer disarmcheck607 settimer disarmcheck 90000608 elseif skill "Arms Lore" >= 80 and timerexists disarmcheck609 clearsysmsg 610 for 4611 if timer disarmcheck >= 90000612 say "[Disarm" 613 getlabel backpack ping614 if insysmsg "You refrain from making disarm attempts."615 settimer disarmcheck 0616 break617 endif618 endif619 endfor620 endif621 622 while findtype 3834 backpack 0 as bbook623 @ignore bbook624 endwhile625 if findtype 7029 backpack as joustignore626 getlabel joustignore joustdesc627 if "jousting" in joustdesc628 @ignore joustignore629 endif630 endif631 if findtype 3713 backpack as crook632 getlabel crook crookdesc633 if "(activated)" in crookdesc634 @ignore crook635 endif636 endif637 if not timerexists petguard638 createtimer petguard639 settimer petguard 5000640 endif641 if not hidden and followers >= 1 and timer petguard >= 14000 and not findbuff "Actively Meditating" and not cooldown "Fray"642 say "all guard me" 45643 settimer petguard 0644 endif645 646 if not hidden and not targetexists 647 if not cooldown "Heal Pot" and not hidden and diffhits > 25 and findtype "Yellow Potion" self as healpot648 while queued649 //donothing650 endwhile651 dclick healpot652 pause 500653 getlabel backpack ping654 endif655 while not hidden and poisoned and not targetexists 656 if not hidden and findtype "Orange Potion" self as curepot657 while queued658 //donothing659 endwhile660 dclick curepot661 pause 500662 getlabel backpack ping663 endif664 endwhile665 endif666 if skill "Chivalry" >= 80 and not gumpexists 1387930325667 say [chivalryhotbar668 pause 250669 endif670 if findtype "5188" ground -1 -1 2 as bomb671 while queued672 //donothing673 endwhile674 dclick bomb675 pause 500676 getlabel backpack ping677 endif678 if findtype "5188" ground -1 -1 22 as bomb679 overhead "***BOMB***" 34 bomb680 endif681 682 if timer oceanscan >= 300 and cooldown "Fray"683 clearsysmsg684 hotkey "Next Enemy Monster Target"685 if not insysmsg "No one matching"686 @setvar! "oceantarget" lasttarget 687 endif688 hotkey "Next Grey Monster Target"689 if not insysmsg "No one matching"690 @setvar! "oceantarget" lasttarget 691 endif692 hotkey "Next Murderer Monster Target"693 if not insysmsg "No one matching"694 @setvar! "oceantarget" lasttarget 695 endif696 settimer oceanscan 0697 endif698 if find "oceantarget" ground -1 -1 12 and not findbuff "Actively Meditating" and cooldown "Fray"699 if find "Manual Override" ground and noto "Manual Override" = hostile700 attack "Manual Override"701 elseif noto "Manual Override" = criminal702 attack "Manual Override"703 elseif noto "Manual Override" = enemy704 attack "Manual Override"705 elseif noto "Manual Override" = murderer706 attack "Manual Override"707 elseif not targetexists 708 hotkey 'Target Closest Enemy Monster'709 @setvar! "oceantarget" lasttarget 710 hotkey 'Target Closest Grey Monster'711 @setvar! "oceantarget" lasttarget 712 hotkey 'Target Closest Murderer Monster'713 @setvar! "oceantarget" lasttarget 714 attack "oceantarget"715 hotkey "Cancel Current Target"716 endif 717 cooldown "Fray" 60000718 endif719 if followers >= 1 and skill "Animal Taming" >= 20 and cooldown "Fray"720 if not timerexists bapallkilltimer721 createtimer bapallkilltimer722 settimer bapallkilltimer 3000723 endif724 if timer bapallkilltimer >= 3000 and find "oceantarget" ground -1 -1 12 and not findbuff "Actively Meditating"725 say "All Kill" 45726 wft 500727 if find "Manual Override" ground and noto "Manual Override" = hostile728 target "Manual Override"729 elseif noto "Manual Override" = criminal730 target "Manual Override"731 elseif noto "Manual Override" = enemy732 target "Manual Override"733 elseif noto "Manual Override" = murderer734 target "Manual Override"735 else 736 hotkey 'Target Closest Enemy Monster'737 @setvar! "oceantarget" lasttarget 738 hotkey 'Target Closest Grey Monster'739 @setvar! "oceantarget" lasttarget 740 hotkey 'Target Closest Murderer Monster'741 @setvar! "oceantarget" lasttarget 742 target "oceantarget" 743 hotkey "Cancel Current Target"744 endif745 cooldown "Fray" 60000746 settimer bapallkilltimer 0747 endif748 endif749 750 if not hidden and find "shiphold" ground -1 -1 2751 clearsysmsg 752 // Arcane Runes removed from loot drop string753 while findtype "chain link|29368|18660|3712|3648|3650|3708|3648|metal chest|3649|29833|29832|20099|31303|31165|tribal ruins|electric ankh|54230|44985|glass display|20049|Pig Iron|broken shield|blackrock fragment|gargish fragment|11753|18705|49482|53694|54570|53696|53876|50612|55420|53280|53473|54831|50278|49528|55204|54684|27612|49223|54591|54601|54718|7408|19948|58325|19959|19822|49730|49729|19944|19949|47613|47612|47611|47610|47611|3986|3966|cathedral tapestry|Darkscale tapestry|large painting|landscape painting|portrait painting|figurine|20291|44987|49730|47107|18653|45127|20103|47103|29363|47105|29361|43453|5899|47109|45250|41509|43447|18657|4025|51308|45156|51304|45214|28769|28799|28803|28765|45211|45248|51259|45220|51328|45218|3842|51327|45222|45241|51336|11858|51375|45282|54722|45255|45246|28795|44983|45235|45251|45238|51258|51314|28761|45236|51260|54718|18400|58325|45252|18656|47111|3839|45239|45242|45254|45281|45247|42241|45216|28775|51321|3838|51318|5901|5905|45259|5903|48407|51302|4248|27611|15296|43166|5359|5981|4026|3985|25359|17686|3836|17087|5356|70148|70151|70154|70157|29030|24434|22336|29036|3843|29025|51098|29034|8826|51094|576|3827|22326|45315|3891|2539|31047|31017|31049|31019|31055|31051|31053|31025|31027|31031|31041|54717|31021|31011|31023|31029|31043|31003|31035|31033|31045|31037|31002|20006|31169|31006|30999|31012|31009|30996|7109|7107|31128|31188|20014|31014|31004|31142|31001|31000|37181|31010|30998|31172|30988|30997|31038|31141|20008|31005|31191|31008|31007|30994|30993|31182|30989|20012|31186|31178|31015|30991|20010|20016|31184|31190|30990|30995|31176|31180|30992|31130|5207|7031|7026|7034|7033|7027|7035|7029|5078|5063|5059|5105|5060|5138|5129|5201|5142|5143|5076|5106|7610|5139|5090|5103|5132|7177|5061|7181|7179|3920|5042|5127|5117|5185|5125|3938|5177|3937|5044|5121|3915|3909|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|3568|3932|5123|5144|5119|5056|5135|5187|5074|5089|3934|3913|3917|3721|5075|5046|5049|7170|5146|5205|5203|5115|5204|5040|5179|5070|5182|5085|5181|3719|7173|5131|3911|5101|7175|7169|3713|5112|22187|9917|3859|3862|3878|3865|3856|3873|3877|3834|3742|3762|3740|3763|10245|3572|3573|3571|3885|7127|4225|12686|19985|19981|19984|19982|19983|19991|19989|19986|19987|19988|19994|19995|19992|19993|19990|19980|19977|19976|19978|7154|19979|43423|7154|4225|7708|2426|7127|3861|24343|3821" backpack as bitem754 drop backpack755 lift bitem 60000756 drop shiphold -1 -1 0757 while queued758 //dotnothing759 endwhile760 endwhile761 while findtype "17619|7710|17617|2508|2463" backpack as fishitem762 drop backpack763 lift fishitem 60000764 drop shiphold -1 -1 0765 while queued766 //dotnothing767 endwhile768 endwhile769 if skill "Magery" = 0770 while findtype 7981|7982|7983|7984|7985|7986|7987|7988|7989|7990|7991|7992|7993|7994|7995|7996|7997|7998|7999|8000|8001|8002|8003|8004|8005|8006|8007|8008|8009|8010|8011|8012|8013|8014|8015|8016|8017|8018|8019|8020|8021|8022|8023|8024|8025|8026|8027|8028|8029|8031|8032|8033|8034|8035|8036|8037|8038|8039|8041|8042|8043|8044|3962|3963|3972|3973|3974|3976|3980|3981 backpack as supplyitems771 drop backpack772 lift supplyitems 60000773 drop shiphold -1 -1 0774 while queued775 //dotnothing776 endwhile777 endwhile778 endif779 endif780elseif warmode 781 if cooldown "Fray" and not targetexists and find "oceantarget" ground782 if not timerexists BapCrewAttack783 createtimer BapCrewAttack784 settimer BapCrewAttack785 endif786 if timer BapCrewAttack >= 12000787 settimer BapCrewAttack 0788 say "[CrewAttack"789 wft 500790 target "Manual Override"791 target "oceantarget"792 hotkey "Cancel Current Target"793 cooldown "Fray" 60000794 endif795 endif796 if not hidden and skill "Healing" >= 20797 if diffhits > 35 and not hidden and not bandaging and findtype 3617 backpack798 hotkey "Bandage Self"799 getlabel backpack ping800 endif801 endif802 803 if not timerexists OTWepAbility804 createtimer OTWepAbility805 createtimer BapWepAbilityReady806 endif807 if find "oceantarget" ground808 if cooldown "Weapon Ability Ready"809 createtimer BapWepAbilityReady810 cooldown "Weapon Ability Ready" 0811 endif812 813 if timerexists BapWepAbilityReady814 if warmode and find "oceantarget" ground -1 -1 12815 if "WeaponAbilityOne" = 1816 say "[WeaponAbility1"817 endif818 if "WeaponAbilityTwo" = 1819 say "[WeaponAbility2"820 endif821 if "WeaponAbilityThree" = 1822 say "[WeaponAbility3"823 endif824 removetimer BapWepAbilityReady825 endif826 endif827 endif828 if not timerexists onetimepeacemode829 createtimer onetimepeacemode830 endif831 if timerexists onetimewarmode832 settimer disarmcheck 90000833 removetimer onetimewarmode834 endif835 if skill "Arms Lore" >= 80 and not timerexists disarmcheck836 createtimer disarmcheck837 settimer disarmcheck 90000838 elseif skill "Arms Lore" >= 80 and timerexists disarmcheck839 clearsysmsg 840 for 4841 if timer disarmcheck >= 90000842 say "[Disarm" 843 getlabel backpack ping844 if insysmsg "You will now attempt to disarm your opponents."845 settimer disarmcheck 0846 break847 endif848 endif849 endfor850 settimer oceanscan 300851 endif852 853 if gumpexists 1244441914 and not timerexists senseship854 gumpclose 1244441914855 createtimer senseship856 overhead "Ship Sense Enabled" 88857 elseif gumpexists 1244441914 and timerexists senseship858 gumpclose 1244441914859 removetimer senseship860 overhead "Ship Sense Disabled" 38861 endif862 863 if timer oceanscan >= 300 and not targetexists 864 clearsysmsg865 hotkey "Next Enemy Monster Target"866 if not insysmsg "No one matching"867 @setvar! "oceantarget" lasttarget 868 endif869 hotkey "Next Grey Monster Target"870 if not insysmsg "No one matching"871 @setvar! "oceantarget" lasttarget 872 endif873 hotkey "Next Murderer Monster Target"874 if not insysmsg "No one matching"875 @setvar! "oceantarget" lasttarget 876 endif877 settimer oceanscan 0878 endif879 if find "oceantarget" ground -1 -1 12 and not findbuff "Actively Meditating" and not targetexists 880 if find "Manual Override" ground and noto "Manual Override" = hostile881 attack "Manual Override"882 elseif noto "Manual Override" = criminal883 attack "Manual Override"884 elseif noto "Manual Override" = enemy885 attack "Manual Override"886 elseif noto "Manual Override" = murderer887 attack "Manual Override"888 elseif not targetexists 889 hotkey 'Target Closest Enemy Monster'890 @setvar! "oceantarget" lasttarget 891 hotkey 'Target Closest Grey Monster'892 @setvar! "oceantarget" lasttarget 893 hotkey 'Target Closest Murderer Monster'894 @setvar! "oceantarget" lasttarget 895 attack "oceantarget"896 hotkey "Cancel Current Target"897 endif 898 cooldown "Fray" 60000899 endif900 if followers >= 1 and skill "Animal Taming" >= 20 and not targetexists 901 if not timerexists bapallkilltimer902 createtimer bapallkilltimer903 settimer bapallkilltimer 3000904 endif905 if timer bapallkilltimer >= 3000 and find "oceantarget" ground -1 -1 12 and not findbuff "Actively Meditating"906 say "All Kill" 45907 wft 500908 if find "Manual Override" ground and noto "Manual Override" = hostile909 target "Manual Override"910 elseif noto "Manual Override" = criminal911 target "Manual Override"912 elseif noto "Manual Override" = enemy913 target "Manual Override"914 elseif noto "Manual Override" = murderer915 target "Manual Override"916 else 917 hotkey 'Target Closest Enemy Monster'918 @setvar! "oceantarget" lasttarget 919 hotkey 'Target Closest Grey Monster'920 @setvar! "oceantarget" lasttarget 921 hotkey 'Target Closest Murderer Monster'922 @setvar! "oceantarget" lasttarget 923 target "oceantarget" 924 hotkey "Cancel Current Target"925 endif926 cooldown "Fray" 60000927 settimer bapallkilltimer 0928 endif929 endif930 931 if "Disembark Crew" = 1932 if not timerexists "recallboardingchecker"933 createtimer recallboardingchecker934 elseif timer recallboardingchecker >= 1000935 if find "oceantarget" ground -1 -1936 settimer recallboardingchecker 0937 endif938 endif939 if not find "oceantarget" ground940 clearsysmsg941 hotkey "Next Enemy Monster Target"942 if not insysmsg "No one matching"943 @setvar! "oceantarget" lasttarget 944 endif945 hotkey "Next Grey Monster Target"946 if not insysmsg "No one matching"947 @setvar! "oceantarget" lasttarget 948 endif949 hotkey "Next Murderer Monster Target"950 if not insysmsg "No one matching"951 @setvar! "oceantarget" lasttarget 952 endif953 endif954 if timerexists boardingsuccess and not find "oceantarget" ground -1 -1 and timer recallboardingchecker >= 1000955 clearsysmsg 956 if not cooldown "PvP"957 removetimer boardingsuccess958 say "[recallboarding"959 endif960 endif961 endif962 963 if not hidden and not targetexists 964 if not cooldown "Heal Pot" and not hidden and diffhits > 25 and findtype "Yellow Potion" self as healpot965 while queued966 //donothing967 endwhile968 dclick healpot969 pause 500970 getlabel backpack ping971 endif972 while not hidden and poisoned and not targetexists and not hidden973 if not hidden and findtype "Orange Potion" self as curepot974 while queued975 //donothing976 endwhile977 dclick curepot978 pause 500979 getlabel backpack ping980 endif981 endwhile982 if hp < 77 and not hidden and not timerexists brew and not targetexists and findbuff "Bleed" and findtype 50675 backpack as cbrew983 clearsysmsg 984 while queued985 //donothing986 endwhile987 dclick cbrew988 pause 500989 getlabel backpack ping990 if insysmsg "You drink a cleansing brew"991 createtimer brew992 endif993 elseif hp < 77 and not hidden and not timerexists brew and not targetexists and findbuff "Diseased" and findtype 50675 backpack as cbrew994 while queued995 //donothing996 endwhile997 dclick cbrew998 pause 500999 getlabel backpack ping1000 if insysmsg "You drink a cleansing brew"1001 createtimer brew1002 endif1003 endif1004 if timerexists brew1005 if timer brew >= 1200001006 removetimer brew1007 endif1008 endif1009 endif1010 1011 if skill "Chivalry" >= 80 and not gumpexists 13879303251012 say "[chivalryhotbar"1013 pause 2501014 endif1015 1016 if findtype "5188" ground -1 -1 22 as bomb1017 overhead "***BOMB***" 34 bomb1018 endif1019 1020 if find "shiphold" ground -1 -1 11021 //donothing1022 elseif not hidden and not queued and findtype "hatch" ground -1 -1 1 as mobship1023 while queued1024 //donothing1025 endwhile1026 if not timerexists openhull1027 clearsysmsg 1028 dclick mobship1029 getlabel backpack ping1030 if insysmsg "You can not access this ship"1031 //add throttle here1032 else 1033 createtimer openhull1034 dclick mobship1035 overhead "Yarr the booty be mine!" 20911036 endif1037 endif1038 endif1039 if not findtype "hatch" ground -1 -1 11040 removetimer openhull1041 endif1042 if not find "oceantarget" ground -1 -1 12 and timer oceanscan >= 3001043 clearsysmsg 1044 hotkey "Next Enemy Monster Target"1045 if not insysmsg "No one matching"1046 @setvar! "oceantarget" lasttarget 1047 endif1048 hotkey "Next Grey Monster Target"1049 if not insysmsg "No one matching"1050 @setvar! "oceantarget" lasttarget 1051 endif1052 hotkey "Next Murderer Monster Target"1053 if not insysmsg "No one matching"1054 @setvar! "oceantarget" lasttarget 1055 endif1056 settimer oceanscan 01057 endif1058 1059 if not hidden and find "oceantarget" ground -1 -1 121060 clearsysmsg 1061 if not hidden and skill "Alchemy" >= 80 and not queued and not cooldown "Explosion Potion" and findtype "Purple Potion" self as purp1062 clearsysmsg 1063 dclick purp1064 wft 5001065 hotkey 'Target Closest Grey Monster'1066 hotkey 'Target Closest Murderer Monster'1067 getlabel backpack ping1068 if insysmsg "Your explosion potion sticks to your target."1069 cooldown "Explosion Potion" 150001070 else 1071 cooldown "Explosion Potion" 150001072 hotkey '> Interrupt'1073 hotkey "Cancel Current Target"1074 dclicktype "Purple Potion"1075 wft 5001076 while targetexists 1077 overhead "THROW IT OVERBOARD!!!" 381078 endwhile1079 endif1080 hotkey "Cancel Current Target"1081 endif1082 1083 if skill "Chivalry" >= 80 and not timerexists chivab1084 if ingump '20/' 13879303251085 createtimer chivab1086 elseif ingump '19/' 13879303251087 createtimer chivab1088 elseif ingump '18/' 13879303251089 createtimer chivab1090 elseif ingump '17/' 13879303251091 createtimer chivab1092 elseif ingump '16/' 13879303251093 createtimer chivab1094 elseif ingump '15/' 13879303251095 createtimer chivab1096 elseif ingump '14/' 13879303251097 createtimer chivab1098 elseif ingump '13/' 13879303251099 createtimer chivab1100 elseif ingump '12/' 13879303251101 createtimer chivab1102 elseif ingump '11/' 13879303251103 createtimer chivab1104 endif1105 endif1106 if skill "Chivalry" >= 80 and timerexists chivab and find "oceantarget" ground -1 -1 121107 if not hidden and not findbuff "Enemy of One"1108 say '[EnemyofOne'1109 pause 5501110 endif1111 removetimer chivab1112 endif1113 if skill "Chivalry" >= 80 and find "oceantarget" ground -1 -1 121114 if not hidden and not findbuff "Divine Fury"1115 say '[DivineFury'1116 pause 5501117 endif1118 1119 if not hidden and not findbuff "Consecrate Weapon"1120 say '[ConsecrateWeapon'1121 pause 5501122 endif1123 removetimer chivab1124 endif1125 endif1126endif1127loop