Back to "item recycle while farming" tags

Item Recycle while Farming V1.1 by daklue

Description: Item Recycle while Farming fixed error line 806

# Item Recycle while Farming by Jaseowns # UO Outlands ######### # Choose what you want to save... ### # will drink the essence juice at end of script @setvar! jase_AutoConsumeArcaneEssence 0 @setvar! globalTimeout 5000 # accuracy @setvar! jase_save_supremely 1 @setvar! jase_save_exceedingly 1 @setvar! jase_save_eminently 0 @setvar! jase_save_surpassingly 0 @setvar! jase_save_accurate 0 # damage @setvar! jase_save_vanquishing 1 @setvar! jase_save_power 1 @setvar! jase_save_force 0 @setvar! jase_save_might 0 @setvar! jase_save_ruin 0 # slayers @setvar! jase_save_slaying 1 # protection @setvar! jase_save_invulnerability 1 @setvar! jase_save_fortification 1 @setvar! jase_save_hardening 0 @setvar! jase_save_guarding 0 @setvar! jase_save_defense 0 @setvar! itemsGoInHere backpack if findtype "pouch" backpack 38 as jootpouch @setvar! itemsGoInHere jootpouch elseif findtype "pouch" backpack 0 as jootpouch @setvar! itemsGoInHere jootpouch endif if skill "Item Identification" = 120 // will do container elseif skill "Item Identification" >= 30 // will do item id skill elseif findtype "wand" backpack as idWandHopefully // will try to use wand else overhead "Jase says: Not able to ID items.." 34 overhead "Jase says: Need skill or wand" 77 sysmsg "Jase says: Not able to ID items.." 34 sysmsg "Jase says: Need skill or wand" 77 stop endif if not findtype 4032|4032|3997|7864|4148|4136 backpack overhead "Jase says: Not able to recycle items.." 34 overhead "Jase says: Need tinker tool, sewing kit or saw" 77 sysmsg "Jase says: Not able to recycle items.." 34 sysmsg "Jase says: Need tinker tool, sewing kit or saw" 77 stop endif ################ ## ## Don't edit below this line ## ############# @setvar! jase_currentItem 0 @setvar! messySourceContainer backpack # Where items get stored.. leave these here for now @setvar! jase_Archery_Storage itemsGoInHere @setvar! jase_Fencing_Storage itemsGoInHere @setvar! jase_Macing_Storage itemsGoInHere @setvar! jase_Mage_Storage itemsGoInHere @setvar! jase_Music_Storage itemsGoInHere @setvar! jase_Shield_Storage itemsGoInHere @setvar! jase_Swords_Storage itemsGoInHere @setvar! jase_Wrestling_Storage itemsGoInHere @setvar! jase_RegularLeather_Storage itemsGoInHere @setvar! jase_StuddedLeather_Storage itemsGoInHere @setvar! jase_BoneLeather_Storage itemsGoInHere @setvar! jase_Ringmail_Storage itemsGoInHere @setvar! jase_Chainmail_Storage itemsGoInHere @setvar! jase_Plate_Storage itemsGoInHere @clearignore # Ignore basic items while findtype 3834|3922 messySourceContainer 0 as item @ignore item endwhile # Swords - puts items into jase_Swords_Storage while findtype 3934|5185|5119|3937|5046|5049|3913|3911|3915|3909|5115|5187|3917|5182 messySourceContainer as item getlabel item desc overhead "Item: {{desc}}" 88 @setvar! saveItem 0 @setvar! ignoreItem 1 if jase_save_slaying = 1 and "slaying" in desc @setvar! saveItem 1 elseif jase_save_supremely = 1 and "supremely" in desc @setvar! saveItem 1 elseif jase_save_exceedingly = 1 and "exceedingly" in desc @setvar! saveItem 1 elseif jase_save_eminently = 1 and "eminently" in desc @setvar! saveItem 1 elseif jase_save_surpassingly = 1 and "surpassingly" in desc @setvar! saveItem 1 elseif jase_save_accurate = 1 and "accurate" in desc @setvar! saveItem 1 elseif jase_save_vanquishing = 1 and "vanquishing" in desc @setvar! saveItem 1 elseif jase_save_power = 1 and "power" in desc @setvar! saveItem 1 elseif jase_save_force = 1 and "force" in desc @setvar! saveItem 1 elseif jase_save_might = 1 and "might" in desc @setvar! saveItem 1 elseif jase_save_ruin = 1 and "ruin" in desc @setvar! saveItem 1 endif if "unidentified" in desc @setvar! jase_currentItem item if skill "Item Identification" = 120 useskill "itemId" wft 500 target messySourceContainer wait 2000 @setvar! ignoreItem 0 elseif skill "Item Identification" >= 30 useskill "itemId" wft 500 target item wait 2000 @setvar! ignoreItem 0 elseif findtype "wand" backpack as idWandHopefully dclick idWandHopefully wft 500 target item @setvar! ignoreItem 0 endif endif if saveItem = 1 overhead "Saving: {{desc}}" 77 @setvar! jase_currentItem 0 lift item drop jase_Swords_Storage 0 0 0 wait 650 @ignore item endif if ignoreItem = 1 if find jase_currentItem backpack if not gumpexists 949095101 if findtype 4032|3997|7864|4148|4136 backpack as recyclerItemKit dclick recyclerItemKit waitforgump 949095101 5000 endif endif if gumpexists 949095101 gumpresponse 3 949095101 wft 500 target jase_currentItem endif endif @ignore item endif endwhile # Macing - puts items into jase_Macing_Storage if jase_Macing_Storage != 0 and jase_Macing_Storage != itemsGoInHere dclick jase_Macing_Storage wait 650 endif while findtype 5044|5181|3932|5179|5040|5127|3713|3568|5112|3721|5177 messySourceContainer as item getlabel item desc overhead "Item: {{desc}}" 88 @setvar! saveItem 0 @setvar! ignoreItem 1 if jase_save_slaying = 1 and "slaying" in desc @setvar! saveItem 1 elseif jase_save_supremely = 1 and "supremely" in desc @setvar! saveItem 1 elseif jase_save_exceedingly = 1 and "exceedingly" in desc @setvar! saveItem 1 elseif jase_save_eminently = 1 and "eminently" in desc @setvar! saveItem 1 elseif jase_save_surpassingly = 1 and "surpassingly" in desc @setvar! saveItem 1 elseif jase_save_accurate = 1 and "accurate" in desc @setvar! saveItem 1 elseif jase_save_vanquishing = 1 and "vanquishing" in desc @setvar! saveItem 1 elseif jase_save_power = 1 and "power" in desc @setvar! saveItem 1 elseif jase_save_force = 1 and "force" in desc @setvar! saveItem 1 elseif jase_save_might = 1 and "might" in desc @setvar! saveItem 1 elseif jase_save_ruin = 1 and "ruin" in desc @setvar! saveItem 1 endif if "unidentified" in desc @setvar! jase_currentItem item if skill "Item Identification" = 120 useskill "itemId" wft 500 target messySourceContainer wait 2000 @setvar! ignoreItem 0 elseif skill "Item Identification" >= 30 useskill "itemId" wft 500 target item wait 2000 @setvar! ignoreItem 0 elseif findtype "wand" backpack as idWandHopefully dclick idWandHopefully wft 500 target item @setvar! ignoreItem 0 endif endif if saveItem = 1 overhead "Saving: {{desc}}" 77 @setvar! jase_currentItem 0 lift item drop jase_Macing_Storage 0 0 0 wait 650 @ignore item endif if ignoreItem = 1 if find jase_currentItem backpack if not gumpexists 949095101 if findtype 4032|3997|7864|4148|4136 backpack as recyclerItemKit dclick recyclerItemKit waitforgump 949095101 5000 endif endif if gumpexists 949095101 gumpresponse 3 949095101 wft 500 target jase_currentItem endif endif @ignore item endif endwhile # Fencing - puts items into jase_Fencing_Storage if jase_Fencing_Storage != 0 and jase_Fencing_Storage != itemsGoInHere dclick jase_Fencing_Storage wait 650 endif while findtype 9917|3922|5121|5125|3719|5123|3938 messySourceContainer as item getlabel item desc overhead "Item: {{desc}}" 88 @setvar! saveItem 0 @setvar! ignoreItem 1 if jase_save_slaying = 1 and "slaying" in desc @setvar! saveItem 1 elseif jase_save_supremely = 1 and "supremely" in desc @setvar! saveItem 1 elseif jase_save_exceedingly = 1 and "exceedingly" in desc @setvar! saveItem 1 elseif jase_save_eminently = 1 and "eminently" in desc @setvar! saveItem 1 elseif jase_save_surpassingly = 1 and "surpassingly" in desc @setvar! saveItem 1 elseif jase_save_accurate = 1 and "accurate" in desc @setvar! saveItem 1 elseif jase_save_vanquishing = 1 and "vanquishing" in desc @setvar! saveItem 1 elseif jase_save_power = 1 and "power" in desc @setvar! saveItem 1 elseif jase_save_force = 1 and "force" in desc @setvar! saveItem 1 elseif jase_save_might = 1 and "might" in desc @setvar! saveItem 1 elseif jase_save_ruin = 1 and "ruin" in desc @setvar! saveItem 1 endif if "unidentified" in desc @setvar! jase_currentItem item if skill "Item Identification" = 120 useskill "itemId" wft 500 target messySourceContainer wait 2000 @setvar! ignoreItem 0 elseif skill "Item Identification" >= 30 useskill "itemId" wft 500 target item wait 2000 @setvar! ignoreItem 0 elseif findtype "wand" backpack as idWandHopefully dclick idWandHopefully wft 500 target item @setvar! ignoreItem 0 endif endif if saveItem = 1 overhead "Saving: {{desc}}" 77 @setvar! jase_currentItem 0 lift item drop jase_Fencing_Storage 0 0 0 wait 650 @ignore item endif if ignoreItem = 1 if find jase_currentItem backpack if not gumpexists 949095101 if findtype 4032|3997|7864|4148|4136 backpack as recyclerItemKit dclick recyclerItemKit waitforgump 949095101 5000 endif endif if gumpexists 949095101 gumpresponse 3 949095101 wft 500 target jase_currentItem endif endif @ignore item endif endwhile # Archery - puts items into jase_Archery_Storage if jase_Archery_Storage != 0 and jase_Archery_Storage != itemsGoInHere dclick jase_Archery_Storage wait 650 endif while findtype 5042|3920|5117 messySourceContainer as item getlabel item desc overhead "Item: {{desc}}" 88 @setvar! saveItem 0 @setvar! ignoreItem 1 if jase_save_slaying = 1 and "slaying" in desc @setvar! saveItem 1 elseif jase_save_supremely = 1 and "supremely" in desc @setvar! saveItem 1 elseif jase_save_exceedingly = 1 and "exceedingly" in desc @setvar! saveItem 1 elseif jase_save_eminently = 1 and "eminently" in desc @setvar! saveItem 1 elseif jase_save_surpassingly = 1 and "surpassingly" in desc @setvar! saveItem 1 elseif jase_save_accurate = 1 and "accurate" in desc @setvar! saveItem 1 elseif jase_save_vanquishing = 1 and "vanquishing" in desc @setvar! saveItem 1 elseif jase_save_power = 1 and "power" in desc @setvar! saveItem 1 elseif jase_save_force = 1 and "force" in desc @setvar! saveItem 1 elseif jase_save_might = 1 and "might" in desc @setvar! saveItem 1 elseif jase_save_ruin = 1 and "ruin" in desc @setvar! saveItem 1 endif if "unidentified" in desc @setvar! jase_currentItem item if skill "Item Identification" = 120 useskill "itemId" wft 500 target messySourceContainer wait 2000 @setvar! ignoreItem 0 elseif skill "Item Identification" >= 30 useskill "itemId" wft 500 target item wait 2000 @setvar! ignoreItem 0 elseif findtype "wand" backpack as idWandHopefully dclick idWandHopefully wft 500 target item @setvar! ignoreItem 0 endif endif if saveItem = 1 overhead "Saving: {{desc}}" 77 @setvar! jase_currentItem 0 lift item drop jase_Archery_Storage 0 0 0 wait 650 @ignore item endif if ignoreItem = 1 if find jase_currentItem backpack if not gumpexists 949095101 if findtype 4032|3997|7864|4148|4136 backpack as recyclerItemKit dclick recyclerItemKit waitforgump 949095101 5000 endif endif if gumpexists 949095101 gumpresponse 3 949095101 wft 500 target jase_currentItem endif endif @ignore item endif endwhile # Shield - puts items into jase_Shield_Storage if jase_Shield_Storage != 0 and jase_Shield_Storage != itemsGoInHere dclick jase_Shield_Storage wait 650 endif while findtype 7034|7033|7027|7035|7026|7029|7031|7107|7109 messySourceContainer as item getlabel item desc overhead "Item: {{desc}}" 88 @setvar! saveItem 0 @setvar! ignoreItem 1 if jase_save_invulnerability = 1 and "invulnerability" in desc @setvar! saveItem 1 elseif jase_save_fortification = 1 and "fortification" in desc @setvar! saveItem 1 elseif jase_save_hardening = 1 and "hardening" in desc @setvar! saveItem 1 elseif jase_save_guarding = 1 and "guarding" in desc @setvar! saveItem 1 elseif jase_save_defense = 1 and "defense" in desc @setvar! saveItem 1 endif if "unidentified" in desc @setvar! jase_currentItem item if skill "Item Identification" = 120 useskill "itemId" wft 500 target messySourceContainer wait 2000 @setvar! ignoreItem 0 elseif skill "Item Identification" >= 30 useskill "itemId" wft 500 target item wait 2000 @setvar! ignoreItem 0 elseif findtype "wand" backpack as idWandHopefully dclick idWandHopefully wft 500 target item @setvar! ignoreItem 0 endif endif if saveItem = 1 overhead "Saving: {{desc}}" 77 @setvar! jase_currentItem 0 lift item drop jase_Shield_Storage 0 0 0 wait 650 @ignore item endif if ignoreItem = 1 if find jase_currentItem backpack if not gumpexists 949095101 if findtype 4032|3997|7864|4148|4136 backpack as recyclerItemKit dclick recyclerItemKit waitforgump 949095101 5000 endif endif if gumpexists 949095101 gumpresponse 3 949095101 wft 500 target jase_currentItem endif endif @ignore item endif endwhile # Mage - puts items into jase_Mage_Storage if jase_Mage_Storage != 0 and jase_Mage_Storage != itemsGoInHere dclick jase_Mage_Storage wait 650 endif while findtype 3834 messySourceContainer as item getlabel item desc overhead "Item: {{desc}}" 88 @setvar! saveItem 0 @setvar! ignoreItem 1 if jase_save_slaying = 1 and "slaying" in desc @setvar! saveItem 1 elseif jase_save_supremely = 1 and "supremely" in desc @setvar! saveItem 1 elseif jase_save_exceedingly = 1 and "exceedingly" in desc @setvar! saveItem 1 elseif jase_save_eminently = 1 and "eminently" in desc @setvar! saveItem 1 elseif jase_save_surpassingly = 1 and "surpassingly" in desc @setvar! saveItem 1 elseif jase_save_accurate = 1 and "accurate" in desc @setvar! saveItem 1 elseif jase_save_vanquishing = 1 and "vanquishing" in desc @setvar! saveItem 1 elseif jase_save_power = 1 and "power" in desc @setvar! saveItem 1 elseif jase_save_force = 1 and "force" in desc @setvar! saveItem 1 elseif jase_save_might = 1 and "might" in desc @setvar! saveItem 1 elseif jase_save_ruin = 1 and "ruin" in desc @setvar! saveItem 1 endif if "unidentified" in desc @setvar! jase_currentItem item if skill "Item Identification" = 120 useskill "itemId" wft 500 target messySourceContainer wait 2000 @setvar! ignoreItem 0 elseif skill "Item Identification" >= 30 useskill "itemId" wft 500 target item wait 2000 @setvar! ignoreItem 0 elseif findtype "wand" backpack as idWandHopefully dclick idWandHopefully wft 500 target item @setvar! ignoreItem 0 endif endif if saveItem = 1 overhead "Saving: {{desc}}" 77 @setvar! jase_currentItem 0 lift item drop jase_Mage_Storage 0 0 0 wait 650 @ignore item endif if ignoreItem = 1 if find jase_currentItem backpack if not gumpexists 949095101 if findtype 4032|3997|7864|4148|4136 backpack as recyclerItemKit dclick recyclerItemKit waitforgump 949095101 5000 endif endif if gumpexists 949095101 gumpresponse 3 949095101 wft 500 target jase_currentItem endif endif @ignore item endif endwhile # Wrestling - puts items into jase_Wrestling_Storage if jase_Wrestling_Storage != 0 and jase_Wrestling_Storage != itemsGoInHere dclick jase_Wrestling_Storage wait 650 endif while findtype 22187 messySourceContainer as item getlabel item desc overhead "Item: {{desc}}" 88 @setvar! saveItem 0 @setvar! ignoreItem 1 if jase_save_slaying = 1 and "slaying" in desc @setvar! saveItem 1 elseif jase_save_supremely = 1 and "supremely" in desc @setvar! saveItem 1 elseif jase_save_exceedingly = 1 and "exceedingly" in desc @setvar! saveItem 1 elseif jase_save_eminently = 1 and "eminently" in desc @setvar! saveItem 1 elseif jase_save_surpassingly = 1 and "surpassingly" in desc @setvar! saveItem 1 elseif jase_save_accurate = 1 and "accurate" in desc @setvar! saveItem 1 elseif jase_save_vanquishing = 1 and "vanquishing" in desc @setvar! saveItem 1 elseif jase_save_power = 1 and "power" in desc @setvar! saveItem 1 elseif jase_save_force = 1 and "force" in desc @setvar! saveItem 1 elseif jase_save_might = 1 and "might" in desc @setvar! saveItem 1 elseif jase_save_ruin = 1 and "ruin" in desc @setvar! saveItem 1 endif if "unidentified" in desc @setvar! jase_currentItem item if skill "Item Identification" = 120 useskill "itemId" wft 500 target messySourceContainer wait 2000 @setvar! ignoreItem 0 elseif skill "Item Identification" >= 30 useskill "itemId" wft 500 target item wait 2000 @setvar! ignoreItem 0 elseif findtype "wand" backpack as idWandHopefully dclick idWandHopefully wft 500 target item @setvar! ignoreItem 0 endif endif if saveItem = 1 overhead "Saving: {{desc}}" 77 @setvar! jase_currentItem 0 lift item drop jase_Wrestling_Storage 0 0 0 wait 650 @ignore item endif if ignoreItem = 1 if find jase_currentItem backpack if not gumpexists 949095101 if findtype 4032|3997|7864|4148|4136 backpack as recyclerItemKit dclick recyclerItemKit waitforgump 949095101 5000 endif endif if gumpexists 949095101 gumpresponse 3 949095101 wft 500 target jase_currentItem endif endif @ignore item endif endwhile # Music - puts items into jase_Music_Storage if jase_Music_Storage != 0 and jase_Music_Storage != itemsGoInHere dclick jase_Music_Storage wait 650 endif while findtype 10245|3740|3762|3763|3742 messySourceContainer as item getlabel item desc overhead "Item: {{desc}}" 88 @setvar! saveItem 0 @setvar! ignoreItem 1 if jase_save_slaying = 1 and "enticement" in desc @setvar! saveItem 1 elseif jase_save_supremely = 1 and "supremely" in desc @setvar! saveItem 1 elseif jase_save_exceedingly = 1 and "exceedingly" in desc @setvar! saveItem 1 elseif jase_save_eminently = 1 and "eminently" in desc @setvar! saveItem 1 elseif jase_save_surpassingly = 1 and "surpassingly" in desc @setvar! saveItem 1 elseif jase_save_accurate = 1 and "accurate" in desc @setvar! saveItem 1 elseif jase_save_vanquishing = 1 and "vanquishing" in desc @setvar! saveItem 1 elseif jase_save_power = 1 and "power" in desc @setvar! saveItem 1 elseif jase_save_force = 1 and "force" in desc @setvar! saveItem 1 elseif jase_save_might = 1 and "might" in desc @setvar! saveItem 1 elseif jase_save_ruin = 1 and "ruin" in desc @setvar! saveItem 1 endif if "unidentified" in desc @setvar! jase_currentItem item if skill "Item Identification" = 120 useskill "itemId" wft 500 target messySourceContainer wait 2000 @setvar! ignoreItem 0 elseif skill "Item Identification" >= 30 useskill "itemId" wft 500 target item wait 2000 @setvar! ignoreItem 0 elseif findtype "wand" backpack as idWandHopefully dclick idWandHopefully wft 500 target item @setvar! ignoreItem 0 endif endif if saveItem = 1 overhead "Saving: {{desc}}" 77 @setvar! jase_currentItem 0 lift item drop jase_Music_Storage 0 0 0 wait 650 @ignore item endif if ignoreItem = 1 if find jase_currentItem backpack if not gumpexists 949095101 if findtype 4032|3997|7864|4148|4136 backpack as recyclerItemKit dclick recyclerItemKit waitforgump 949095101 5000 endif endif if gumpexists 949095101 gumpresponse 3 949095101 wft 500 target jase_currentItem endif endif @ignore item endif endwhile # Armor list - will sort based on item desc while findtype 5075|5074|5061|7610|5070|5063|7175|7179|7169|7177|5090|5089|5076|7610|5085|5078|7170|7181|7177|5204|5207|5203|5201|5205|5078|7177|5101|5105|5103|5131|5106|5078|7177|7947|5060|5059|5103|5056|5106|5063|7177|5142|5146|5143|5138|5144|5139|7173|7177 messySourceContainer as item getlabel item desc overhead "Item: {{desc}}" 88 @setvar! saveItem 0 @setvar! ignoreItem 1 if jase_save_invulnerability = 1 and "invulnerability" in desc @setvar! saveItem 1 elseif jase_save_fortification = 1 and "fortification" in desc @setvar! saveItem 1 elseif jase_save_hardening = 1 and "hardening" in desc @setvar! saveItem 1 elseif jase_save_guarding = 1 and "guarding" in desc @setvar! saveItem 1 elseif jase_save_defense = 1 and "defense" in desc @setvar! saveItem 1 endif if "unidentified" in desc @setvar! jase_currentItem item if skill "Item Identification" = 120 useskill "itemId" wft 500 target messySourceContainer wait 2000 @setvar! ignoreItem 0 elseif skill "Item Identification" >= 30 useskill "itemId" wft 500 target item wait 2000 @setvar! ignoreItem 0 elseif findtype "wand" backpack as idWandHopefully dclick idWandHopefully wft 500 target item @setvar! ignoreItem 0 endif endif if saveItem = 1 overhead "Saving: {{desc}}" 77 @setvar! jase_currentItem 0 if "plate" in desc @setvar! saveItem jase_Plate_Storage elseif "chain" in desc @setvar! saveItem jase_Chainmail_Storage elseif "ring" in desc @setvar! saveItem jase_Ringmail_Storage elseif "bone" in desc @setvar! saveItem jase_BoneLeather_Storage elseif "studded" in desc @setvar! saveItem jase_BoneLeather_Storage elseif "leather" in desc @setvar! saveItem jase_RegularLeather_Storage endif if saveItem = 1 or saveItem = 0 overhead "Unknown save location for {{desc}}" 34 endif lift item drop saveItem 0 0 0 wait globalTimeout @ignore item endif if ignoreItem = 1 if find jase_currentItem backpack if not gumpexists 949095101 if findtype 4032|3997|7864|4148|4136 backpack as recyclerItemKit dclick recyclerItemKit waitforgump 949095101 5000 endif endif if gumpexists 949095101 gumpresponse 3 949095101 wft 500 target jase_currentItem endif endif @ignore item endif endwhile wait 650 gumpclose 949095101 if jase_AutoConsumeArcaneEssence = 1 and findtype 12686 backpack 2609 as item dclick item wft 500 target self endif @clearignore