Skip to content
Outlands Hub

Razor script

Dump Boating Loot

by Brozan (Syal) · 242 lines
Download
CombatOrganizing
Dump Boating Loot.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/733a8ccf-b34c-439c-bd1a-def3b1c92187 for latest2# Automation by Jaseowns3## Script: Dump Boating Loot4## Created by: Brozan (Syal)#45235#############################################6 7setvar myShipHold lasttarget 8#Check for a ship hold9if findtype '16019' ground any any 3 true as found10    setvar myShipHold found11elseif findtype '16046' ground any any 3 true as found12      setvar myShipHold found13elseif findtype '15973' ground any any 3 true as found14     setvar myShipHold found15elseif findtype '16057' ground any any 3 true as found16     setvar myShipHold found17else 18    overhead "Cannot find hold, target"19    setvar! myShipHold20endif    21 22overhead "Gold Dump"23#Gold in subpacks routine24clearignore  25createlist coinTypes26clearlist coinTypes27@pushlist 'coinTypes' 'muffins'28@pushlist 'coinTypes' 'gold coin'29foreach x in coinTypes30  while findtype x backpack any any 1 as found31    lift found 999932    drop myShipHold -1 -1 0 33    @ignore myVariable34    wait 60035  endwhile36endfor37 38overhead "Hull Dump"39clearignore  40createlist regTypes41clearlist regTypes42@pushlist 'regTypes' 'cooked fish'43@pushlist 'regTypes' 'Crab SOUTH'44@pushlist 'regTypes' 'Lobster SOUTH'45@pushlist 'regTypes' 'raw fish steak%s%'46@pushlist 'regTypes' 'Blood Moss'47@pushlist 'regTypes' 'Black Pearl%s%'48@pushlist 'regTypes' 'Ginseng'49@pushlist 'regTypes' 'Garlic'50@pushlist 'regTypes' 'Sulfurous Ash'51@pushlist 'regTypes' "Spider's Silk" //'52@pushlist 'regTypes' 'Nightshade'53@pushlist 'regTypes' 'Mandrake Root%s%' //MR54@pushlist 'regTypes' 'cut%s% of raw ribs'55@pushlist 'regTypes' 'cut up leather'56@pushlist 'regTypes' 'clean bandage%s%'57@pushlist 'regTypes' 'arrow'58@pushlist 'regTypes' 'crossbow bolt'59 60foreach x in regTypes61  while findtype x backpack any any 1 as found62    lift found 999963    drop myShipHold -1 -1 0 64    @ignore myVariable65    wait 60066  endwhile67endfor68 69overhead "Unid Dump"70clearignore 71 72sysmsg  'Target Item Dump Bag'73overhead 'Target Item Dump Bag'74setvar noidBag75 76createlist ItemTypes77clearlist ItemTypes78//martial manual79@pushlist 'ItemTypes' 2218780//Shields81@pushlist 'ItemTypes' 0x1b72 //BronzeShields82@pushlist 'ItemTypes' 0x1b73 //Buckler83@pushlist 'ItemTypes' 0x1b7b //MetalShield84@pushlist 'ItemTypes' 0x1b74 //MetalKiteShield85@pushlist 'ItemTypes' 0x1b79 //TearKiteShield86@pushlist 'ItemTypes' 0x1b7a //WoodenShield87@pushlist 'ItemTypes' 0x1b76 //HeaterShield88@pushlist 'ItemTypes' 0x1b77 //HeaterShield89//Platemail90@pushlist 'ItemTypes' 0x1408 //CloseHelmet91@pushlist 'ItemTypes' 0x1410 //PlatemailArms92@pushlist 'ItemTypes' 0x1417 //PlatemailArms93@pushlist 'ItemTypes' 0x1411 //PlatemailLegs94@pushlist 'ItemTypes' 0x1412 //PlateHelm95@pushlist 'ItemTypes' 0x1413 //PlateGorget96@pushlist 'ItemTypes' 0x1418 //PlatemailGloves97@pushlist 'ItemTypes' 0x1415 //PlateChest98@pushlist 'ItemTypes' 0x140a //Helmet99@pushlist 'ItemTypes' 0x140c //Bascinet100@pushlist 'ItemTypes' 0x140e //NorseHelm101//Chainmail102@pushlist 'ItemTypes' 0x13bb //ChainmailCoif103@pushlist 'ItemTypes' 0x13c3 //ChainmailLeggins104@pushlist 'ItemTypes' 0x13c4 //ChainmailChest105@pushlist 'ItemTypes' 0x13c0 //ChainmailHelm106//Ringmail107@pushlist 'ItemTypes' 0x13ef //RingmailArms108@pushlist 'ItemTypes' 0x13f2 //RingmailGloves109@pushlist 'ItemTypes' 0x13ed //RingmailChest110@pushlist 'ItemTypes' 0x13f1 //RingmailLeggins111@pushlist 'ItemTypes' 0x140b //RingmailHelm112//Studded113@pushlist 'ItemTypes' 0x1dba //Studdedcap114@pushlist 'ItemTypes' 0x13e1 //StuddedLeggings115@pushlist 'ItemTypes' 0x13db //StuddedTunic116@pushlist 'ItemTypes' 0x13d5 //StuddedGloves117@pushlist 'ItemTypes' 0x13d6 //StuddedGorget118@pushlist 'ItemTypes' 0x13dc //StuddedSleeves119//Leather120@pushlist 'ItemTypes' 0x13ce //LeatherGloves121@pushlist 'ItemTypes' 0x13cd //LeatherSleeves122@pushlist 'ItemTypes' 0x13d3 //LeatherChest123@pushlist 'ItemTypes' 0x13cb //LeatherPants124@pushlist 'ItemTypes' 0x13c7 //LeatherGorget125@pushlist 'ItemTypes' 0x1db9 //LeatherCap126@pushlist 'ItemTypes' 0x13c5 //LeatherArms127//FemaleArmor128@pushlist 'ItemTypes' 0x1c04 //FemalePlate129@pushlist 'ItemTypes' 0x1c09 //FemalePlateSkirt130@pushlist 'ItemTypes' 0x1c0c //FemaleStuddedBustier131@pushlist 'ItemTypes' 0x1c02 //FemaleStuddedArmor132@pushlist 'ItemTypes' 0x1c09 //FemaleRingmailSkirt133@pushlist 'ItemTypes' 0x1c00 //FemaleLeatherShorts134@pushlist 'ItemTypes' 0x1c09 //FemaleLeatherSkirt135@pushlist 'ItemTypes' 0x1c06 //FemaleLeatherArmor136@pushlist 'ItemTypes' 0x1c0b //FemaleLeatherBustier137@pushlist 'ItemTypes' 0x1c09 //FemaleBoneSkirt138//Fencing139@pushlist 'ItemTypes' 0xf62  //Spear140@pushlist 'ItemTypes' 0x1403 //ShortSpear141@pushlist 'ItemTypes' 0xe87  //Pitchfork142@pushlist 'ItemTypes' 0x1405 //Warfork143@pushlist 'ItemTypes' 0x1401 //Kryss144@pushlist 'ItemTypes' 0xf52  //Dagger145//Macing146@pushlist 'ItemTypes' 0x13b0 //Waraxe147@pushlist 'ItemTypes' 0xdf0  //BlackStaff148@pushlist 'ItemTypes' 0x1439 //WarHammer149@pushlist 'ItemTypes' 0x1407 //WarMace150@pushlist 'ItemTypes' 0xe89  //QuarterStaff151@pushlist 'ItemTypes' 0x143d //HammerPick152@pushlist 'ItemTypes' 0x13b4 //Club153@pushlist 'ItemTypes' 0xe81  //ShepherdsCrook154@pushlist 'ItemTypes' 0x13f8 //GnarledStaff155@pushlist 'ItemTypes' 0xf5c  //Mace156@pushlist 'ItemTypes' 0x143b //Maul157//Swords158@pushlist 'ItemTypes' 0x13b9 //VikingSword159@pushlist 'ItemTypes' 0xf61  //Longsword160@pushlist 'ItemTypes' 0x1441 //Cutlass161@pushlist 'ItemTypes' 0x13b6 //Scimitar162@pushlist 'ItemTypes' 0xec4  //SkinningKnife163@pushlist 'ItemTypes' 0x13f6 //ButcherKnife164@pushlist 'ItemTypes' 0xf5e  //Broadsword165@pushlist 'ItemTypes' 0x13ff //Katana166@pushlist 'ItemTypes' 0xec3  //Cleaver167//Axes168@pushlist 'ItemTypes' 0xf43 //Hatchet169@pushlist 'ItemTypes' 0xf45 //ExecutionersAxe170@pushlist 'ItemTypes' 0xf4d //Bardiche171@pushlist 'ItemTypes' 0xf4b  //DoubleAxe172@pushlist 'ItemTypes' 0x143e //Halberd173@pushlist 'ItemTypes' 0x13fb //LargeBattleAxe174@pushlist 'ItemTypes' 0x1443 //TwoHandedAxe175@pushlist 'ItemTypes' 0xf47  //BattleAxe176@pushlist 'ItemTypes' 0xf49  //Axe177//Bows178@pushlist 'ItemTypes' 0x13fd //HeavyXbow179@pushlist 'ItemTypes' 0xf50  //Xbow180@pushlist 'ItemTypes' 0x13b2 //bow181//Instruments182@pushlist 'ItemTypes' 0xeb2 //Harp183@pushlist 'ItemTypes' 0xe9c //Drums184@pushlist 'ItemTypes' 0xeb3 //Lute185@pushlist 'ItemTypes' 0xe9e //Tambourine186@pushlist 'ItemTypes' 0x2805 //BambooFlute187//Other Helmets188@pushlist 'ItemTypes' 0x140f //NorseHelm189//BoneArmor190@pushlist 'ItemTypes' 0x1451 //BoneHelm191@pushlist 'ItemTypes' 0x1457 //BoneLegs192@pushlist 'ItemTypes' 0x1453 //BoneArms193@pushlist 'ItemTypes' 0x1455 //BoneGloves194//SlayerWands195@pushlist 'ItemTypes' 0xdf2 //SlayerWands196@pushlist 'ItemTypes' 0xdf3 //SlayerWands197@pushlist 'ItemTypes' 0xdf4 //SlayerWands198@pushlist 'ItemTypes' 0xdf5 //SlayerWands199//OtherSTuff, that wasnt in list...200@pushlist 'ItemTypes' 0xdf5 //SlayerWands201@pushlist 'ItemTypes' 0xefa //SpellBook202@pushlist 'ItemTypes' 0x141a //platemailleggings203@pushlist 'ItemTypes' 0x1b7a //woodenshield204@pushlist 'ItemTypes' 0x13e2 //studdedchets205@pushlist 'ItemTypes' 0x1b79 //woodenkiteshield206@pushlist 'ItemTypes' 0x26bd //harpoon207@pushlist 'ItemTypes' 0x1c05 //Femaleplatechest208@pushlist 'ItemTypes' 0x1c0d //studdedbrasier209@pushlist 'ItemTypes' 0x1c01 //leathershorts210@pushlist 'ItemTypes' 0x1b75 //metalkiteshield211@pushlist 'ItemTypes' 0x1c07 //Femaleleather212@pushlist 'ItemTypes' 0x1416 //platemailchest213@pushlist 'ItemTypes' 0x13dd //studdedgloves214@pushlist 'ItemTypes' 0x1454 //Bonechest215@pushlist 'ItemTypes' 0x13d2 //leatherleggings216@pushlist 'ItemTypes' 0x1409 //closehelm217@pushlist 'ItemTypes' 0x13d4 //studdedarms218 219foreach x in ItemTypes220  while findtype x backpack as found221    @hotkey 'set last target'222    @target found223    @setvar myVariable lasttarget224    wait 100225    @getlabel 'myVariable' myLabel226    if 'unidentified' in myLabel227        sysmsg 'Dumping: ' 33228        sysmsg  myLabel 65229        lift myVariable 1230        drop noidBag -1 -1 0 231    else 232        sysmsg 'Skipping' 33233    sysmsg  myLabel 65234    endif235    @ignore myVariable236    wait 400237  endwhile238endfor239 240 241 242script "stayalive2"