Discussion in   Coding Corner   started     8 years ago   March 04, 2016, 03:40:54 PM   by   Evolution

UO Steam Macro Library

Evolution
Offline
1295 Posts
Topic :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:40:54 PM
Last edited on May 25, 2021, 10:22:14 AM

UO Steam Macro Library - UO Evolution Shard

http://www.uosteam.com/
http://www.uosteam.com/uo-steam-faq/
http://www.uosteam.com/uo-steam-guide/
UO Steam Wiki - UOEvolution Wiki

UO Steam Macro Library on github
https://github.com/her/uosteam

Please add your favorite UOSteam Macros in this thread

UOS Custom Scripts Repository - https://drive.google.com/drive/folders/1OWFa8wRwRJtIgHu_5FNhmmXDm9X9HX5G?usp=sharing

Maespark's Pastebin - Pastebin.com


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#1 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:42:30 PM

Ultima Online - Magery and Resists Trainer - UO Steam Script Macro

Code: [Select]
////////////////////////////////////
// This macro is designed for //
// training both magery and //
// resist from 30. It is intended //
// for characters with 40+ //
// intelligence. //
// //
// Turn on loop and click play! //
////////////////////////////////////
if skill 'magery' < 100
if @injournal 'insufficient mana'
clearjournal
useskill 'meditation'
while mana < maxmana
endwhile
else
if skill 'magery' < 30
headmsg 'Buy more skill!'
stop
elseif skill 'magery' < 45
cast 'bless' 'self'
pause 1000
elseif skill 'magery' < 55
cast 'mana drain' 'self'
pause 1000
elseif skill 'magery' < 75
cast 'invisibility' 'self'
pause 1000
elseif skill 'magery' < 100
cast 'mana vampire' 'self'
pause 1000
else
headmsg 'Magery complete!'
stop
endif
endif
elseif skill 'resisting spells' < 100
if @injournal 'insufficient mana'
clearjournal
useskill 'meditation'
while mana < maxmana
endwhile
else
cast 'mana vampire' 'self'
pause 1000
endif
else
headmsg 'Magery and resisting spells complete!'
stop
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#2 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:43:03 PM


Ultima Online - Scroll Trainer - UO Steam Script Macro


[/font][/size]

Code: [Select]
if not @listexists 'Scrolls'
createlist 'Scrolls'
pushlist 'Scrolls' 0x1f66
endif
if mana < 30
clearjournal
useskill 'meditation'
while mana < maxmana
endwhile
else
if @counttype 0xfbf 0x0 'backpack' < 2
movetype 0xfbf 'restock' 'backpack' 0 0 0 0x0 3
pause 1000
endif
if not @findtype 0xfbf 0x0 'backpack'
headmsg 'Get more Pens!'
stop
endif
if not @findobject 'Completed'
headmsg 'Select your Storage for Finished Goods'
promptalias 'Completed'
endif
if not @findobject 'restock'
headmsg 'Select the container with your materials'
promptalias 'restock'
useobject 'restock'
endif
if @counttype 0x1f66 0x0 'backpack' < 1
movetype 0x1f66 'restock' 'backpack' 0 0 0 0x0 10
pause 1000
endif
if @counttype 0xf88 0x0 'backpack' < 10
movetype 0xf88 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if @counttype 0xf86 0x0 'backpack' < 10
movetype 0xf86 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if @counttype 0xef3 0x0 'backpack' < 10
movetype 0xef3 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if @counttype 0xf7b 0x0 'backpack' < 10
movetype 0xf7b 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if @counttype 0xf7a 0x0 'backpack' < 10
movetype 0xf7a 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if skill 'Magery' < 88
headmsg 'Buy more skill!'
stop
elseif skill 'Magery' < 101
if usetype 0xfbf 0x0 'backpack'
waitforgump 0x38920abd 15000
replygump 0x38920abd 51
waitforgump 0x38920abd 15000
replygump 0x38920abd 51
waitforgump 0x38920abd 2000
endif
else
headmsg 'Out of Stock!'
stop
endif
if @counttype 0x1f4c 0x0 'backpack' > 10
movetype 0x1f4c 'backpack' 'Completed'
pause 1000
endif
endif
pause 600


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#3 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:43:31 PM


Ultima Online - Stealth Trainer - UO Steam Script Macro

Code: [Select]
////////////////////////////////////
// Go to any public moongate for //
// this to work. Also, bring a //
// ringmail tunic and sleeves. //
// This macrois designed for //
// training stealth from 0. //
// //
// Turn on loop and click play! //
// //
// ~~Made by kdivers~~ //
////////////////////////////////////
if skill 'hiding' < 80
headmsg 'Train your hiding to 80.0 first!'
stop
endif
if not @findobject 'chest' and not @findtype 0x13ec 'any' 'self'
headmsg 'Buy a ringmail tunic'
stop
else
setalias 'chest' 'found'
endif
if not @findobject 'arms' and not @findtype 0x13ee 'any' 'self'
headmsg 'Buy ringmail sleeves'
stop
else
setalias 'arms' 'found'
endif
if skill 'stealth' < 80
if usetype 0xf6c 'any' 'ground'
waitforgump 0xe0e675b8 15000
replygump 0xe0e675b8 1 1
pause 10000
useskill 'stealth'
pause 600
endif
if usetype 0xf6c 'any' 'ground'
waitforgump 0xe0e675b8 15000
replygump 0xe0e675b8 1 0
pause 10000
useskill 'stealth'
pause 600
endif
elseif skill 'stealth' < 100
if not @findlayer 'self' 13
@equipitem 'chest' 13
pause 600
endif
if not @findlayer 'self' 19
@equipitem 'arms' 19
pause 600
endif
if usetype 0xf6c 'any' 'ground'
waitforgump 0xe0e675b8 15000
replygump 0xe0e675b8 1 1
pause 10000
useskill 'stealth'
pause 600
endif
if usetype 0xf6c 'any' 'ground'
waitforgump 0xe0e675b8 15000
replygump 0xe0e675b8 1 0
pause 10000
useskill 'stealth'
pause 600
endif
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#4 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:44:11 PM

Ultima Online - Sort Your Items - UO Steam Script Macro

Code: [Select]
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
//$$ Sort Yer Stuff
//$$ By: Amonseti
//$$ V 2.5
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
//
//??? USAGE GUIDE LINES:
//??? This macro requires the character to have Item Identification
//??? skill, it is recomended to be 100. not haveing guranteed id's
//??? could be costly ..
//???
//??? Macro will sort thru all items of one container and separate
//??? all weapons and armor into 2 bags. A Junk bag and a Keeper Bag.
//???
//??? have ready 3 bags the first bag is the source bag containing all
//??? the items you want sorted. the 2nd bag is the junk bag, any
//??? weapons or armor that is id'ed and not meeting the keep requirments
//??? is placed into this bag to be sold or trashed what ever you want
//??? to do with it.
//???
//??? and finally the 3rd bag is the keeper bag.. items placed into
//??? this bag must meet any 1 of the following conditions:
//??? A) Any weapons that are Vanquishing.
//??? B) Any Weapons that are Power.
//??? C) Any Weapons with a Slayer attribute.
//??? D) Any armor or shield of Invulnerability.
//??? E) All leather or studded armor reguardless of quality.
//???
//??? Run the Macro and follow the prompting instructions.
//???
// !!*** Init Data ***!!
@clearjournal
unsetalias 'bagtosort'
unsetalias 'stufftosell'
unsetalias 'stufftokeep'
// !! user Input
if not @findobject 'bagtosort'
headmsg 'Select From Bag' '2124'
promptalias 'bagtosort'
endif
pause 700
// !! user Input
if not @findobject 'stufftosell'
headmsg 'Select Junk Bag' '38'
promptalias 'stufftosell'
endif
pause 700
// !! user Input
if not @findobject 'stufftokeep'
headmsg 'Select Keeper Bag' '58'
promptalias 'stufftokeep'
endif
pause 700
//
// !! Static Data
if not listexists 'ItemTypes'
createlist 'ItemTypes'
endif
useobject 'bagtosort'
useobject 'stufftosell'
useobject 'stufftokeep'
clearlist 'ItemTypes'
//Shields
@pushlist 'ItemTypes' 0x1b72 //BronzeShields
@pushlist 'ItemTypes' 0x1b73 //Buckler
@pushlist 'ItemTypes' 0x1b7b //MetalShield
@pushlist 'ItemTypes' 0x1b74 //Metal Kite Shield
@pushlist 'ItemTypes' 0x1b79 //Tear Kite Shield
@pushlist 'ItemTypes' 0x1b7a //WoodenShield
@pushlist 'ItemTypes' 0x1b76 //HeaterShield
//Bone Armor
@pushlist 'ItemTypes' 0x1451 //Bone Helmet
@pushlist 'ItemTypes' 0x144f //Bone Armor
@pushlist 'ItemTypes' 0x1452 //Bone Leggings
@pushlist 'ItemTypes' 0x144e //Bone Arms
@pushlist 'ItemTypes' 0x1450 //Bone Gloves
//Platemail
@pushlist 'ItemTypes' 0x1408 //Close Helmet
@pushlist 'ItemTypes' 0x1410 //Platemail Arms
@pushlist 'ItemTypes' 0x1411 //Platemail Legs
@pushlist 'ItemTypes' 0x1412 //Plate Helm
@pushlist 'ItemTypes' 0x1413 //Plate Gorget
@pushlist 'ItemTypes' 0x1414 //Platemail Gloves
@pushlist 'ItemTypes' 0x1415 //Plate Chest
@pushlist 'ItemTypes' 0x140a //Helmet
@pushlist 'ItemTypes' 0x140c //Bascinet
@pushlist 'ItemTypes' 0x140e //Norse Helm
//Chainmail
@pushlist 'ItemTypes' 0x13bb //Chainmail Coif
@pushlist 'ItemTypes' 0x13be //Chainmail Leggins
@pushlist 'ItemTypes' 0x13bf //Chainmail Tunic
//Ringmail
@pushlist 'ItemTypes' 0x13ee //Ringmail Sleeves
@pushlist 'ItemTypes' 0x13eb //Ringmail Gloves
@pushlist 'ItemTypes' 0x13ec //Ringmail Tunic
@pushlist 'ItemTypes' 0x13f0 //Ringmail Leggins
//Studded
@pushlist 'ItemTypes' 0x13da //Studded Leggings
@pushlist 'ItemTypes' 0x13db //Studded Tunic
@pushlist 'ItemTypes' 0x13d5 //Studded Gloves
@pushlist 'ItemTypes' 0x13d6 //Studded Gorget
@pushlist 'ItemTypes' 0x13dc //Studded Sleeves
//Leather
@pushlist 'ItemTypes' 0x13c6 //Leather Gloves
@pushlist 'ItemTypes' 0x13cd //Leather Sleeves
@pushlist 'ItemTypes' 0x13cc //Leather Tunic
@pushlist 'ItemTypes' 0x13cb //Leather Pants
@pushlist 'ItemTypes' 0x13c7 //Leather Gorget
@pushlist 'ItemTypes' 0x1db9 //Leather Cap
//Female Armor
@pushlist 'ItemTypes' 0x1c04 //Female Plate
@pushlist 'ItemTypes' 0x1c0c //Female Studded Bustier
@pushlist 'ItemTypes' 0x1c02 //Female Studded Armor
@pushlist 'ItemTypes' 0x1c00 //Female Leather Shorts
@pushlist 'ItemTypes' 0x1c08 //Female Leather Skirt
@pushlist 'ItemTypes' 0x1c06 //Female Leather Armor
@pushlist 'ItemTypes' 0x1c0a //Female Leather Bustier
//Fencing
@pushlist 'ItemTypes' 0xf62 //Spear
@pushlist 'ItemTypes' 0x1403 //Short Spear
@pushlist 'ItemTypes' 0xe87 //Pitchfork
@pushlist 'ItemTypes' 0x1405 //Warfork
@pushlist 'ItemTypes' 0x1401 //Kryss
@pushlist 'ItemTypes' 0xf52 //Dagger
//Macing
@pushlist 'ItemTypes' 0x13b0 //War axe
@pushlist 'ItemTypes' 0xdf0 //Black Staff
@pushlist 'ItemTypes' 0x1439 //War Hammer
@pushlist 'ItemTypes' 0x1407 //War Mace
@pushlist 'ItemTypes' 0xe89 //Quarter Staff
@pushlist 'ItemTypes' 0x143d //Hammer Pick
@pushlist 'ItemTypes' 0x13b4 //Club
@pushlist 'ItemTypes' 0xe81 //Shepherds Crook
@pushlist 'ItemTypes' 0x13f8 //Gnarled Staff
@pushlist 'ItemTypes' 0xf5c //Mace
@pushlist 'ItemTypes' 0x143b //Maul
//Swords
@pushlist 'ItemTypes' 0x13b9 //Viking Sword
@pushlist 'ItemTypes' 0xf61 //Longsword
@pushlist 'ItemTypes' 0x1441 //Cutlass
@pushlist 'ItemTypes' 0x13b6 //Scimitar
@pushlist 'ItemTypes' 0xec4 //Skinning Knife
@pushlist 'ItemTypes' 0x13f6 //Butcher Knife
@pushlist 'ItemTypes' 0xf5e //Broadsword
@pushlist 'ItemTypes' 0x13ff //Katana
@pushlist 'ItemTypes' 0xec3 //Cleaver
//Axes
@pushlist 'ItemTypes' 0xf43 //Hatchet
@pushlist 'ItemTypes' 0xf45 //Executioner's Axe
@pushlist 'ItemTypes' 0xf4d //Bardiche
@pushlist 'ItemTypes' 0xf4b //Double Axe
@pushlist 'ItemTypes' 0x143e //Halberd
@pushlist 'ItemTypes' 0x13fb //Large Battle Axe
@pushlist 'ItemTypes' 0x1443 //Two Handed Axe
@pushlist 'ItemTypes' 0xf47 //Battle Axe
@pushlist 'ItemTypes' 0xf49 //Axe
@pushlist 'ItemTypes' 0xe85 //Pickaxe
@pushlist 'ItemTypes' 0xe86 //Pickaxe
//Bows
@pushlist 'ItemTypes' 0x13fd //HeavyXbow
@pushlist 'ItemTypes' 0xf50 //Xbow
@pushlist 'ItemTypes' 0x13b2 //bow
// !!*** End of Data Init ***!!
//
//
//
// !! cycle all items listed in var ItemTypes
for 0 to 'ItemTypes'
// !! Process all items found of current cyucled ItemType
while @findtype 'ItemTypes[]' 'any' 'bagtosort'
@clearjournal
moveitem found 'stufftosell'
// !! Id the item using Item ID Skill
pause 1500
useskill 'Item Identification'
waitfortarget 15000
target! found
pause 1500
//
// !!*** Item to do conditionals ***!!
// !!*** If any of these conditions are true
// !!*** The Item is a keeper , (Sure wish we
// !!*** Could use switchs bleh )
// !!*****************************************!!
if @injournal 'Silver' 'system'
moveitem found 'stufftokeep'
headmsg 'Silver' '2213'
@clearjournal
elseif @injournal 'Vanquishing' 'system'
moveitem found 'stufftokeep'
headmsg 'Vanquishing' '2213'
@clearjournal
elseif @injournal 'Power' 'system'
moveitem found 'stufftokeep'
headmsg 'Power' '2213'
@clearjournal
elseif @injournal 'Exorcism' 'system'
moveitem found 'stufftokeep'
headmsg 'Exorcisim' '2213'
@clearjournal
elseif @injournal 'Air' 'system'
moveitem found 'stufftokeep'
headmsg 'Air' '2213'
@clearjournal
elseif @injournal 'Daemon' 'system'
moveitem found 'stufftokeep'
headmsg 'Daemon' '2213'
@clearjournal
elseif @injournal 'Gargoyle' 'system'
moveitem found 'stufftokeep'
headmsg 'Gargoyle' '2213'
@clearjournal
elseif @injournal 'Fey' 'system'
moveitem found 'stufftokeep'
headmsg 'Fey' '2213'
@clearjournal
elseif @injournal 'Respond' 'system'
moveitem found 'stufftokeep'
headmsg 'Respond' '2213'
@clearjournal
elseif @injournal 'Repond' 'system'
moveitem found 'stufftokeep'
headmsg 'Repond' '2213'
@clearjournal
elseif @injournal 'Vacuum' 'system'
moveitem found 'stufftokeep'
headmsg 'Vacuum' '2213'
@clearjournal
elseif @injournal 'Flame' 'system'
moveitem found 'stufftokeep'
headmsg 'Flame' '2213'
@clearjournal
elseif @injournal 'Elemental' 'system'
moveitem found 'stufftokeep'
headmsg 'Elemental' '2213'
@clearjournal
elseif @injournal 'Earth' 'system'
moveitem found 'stufftokeep'
headmsg 'Earth' '2213'
@clearjournal
elseif @injournal 'Water' 'system'
moveitem found 'stufftokeep'
headmsg 'Water' '2213'
@clearjournal
elseif @injournal 'Ogre' 'system'
moveitem found 'stufftokeep'
headmsg 'Ogre' '2213'
@clearjournal
elseif @injournal 'Orc' 'system'
moveitem found 'stufftokeep'
headmsg 'Orc' '2213'
@clearjournal
elseif @injournal 'Arachnid' 'system'
moveitem found 'stufftokeep'
headmsg 'Arachnid' '2213'
@clearjournal
elseif @injournal 'Spider' 'system'
moveitem found 'stufftokeep'
headmsg 'Spider' '2213'
@clearjournal
elseif @injournal 'Scorpion' 'system'
moveitem found 'stufftokeep'
headmsg 'Scorpion' '2213'
@clearjournal
elseif @injournal 'Terathan' 'system'
moveitem found 'stufftokeep'
headmsg 'Terathan' '2213'
@clearjournal
elseif @injournal 'Reptile' 'system'
moveitem found 'stufftokeep'
headmsg 'Reptile' '2213'
@clearjournal
elseif @injournal 'Dragon' 'system'
headmsg 'Dragon' '2213'
moveitem found 'stufftokeep'
@clearjournal
elseif @injournal 'Lizardman' 'system'
moveitem found 'stufftokeep'
headmsg 'Lizardman' '2213'
@clearjournal
elseif @injournal 'Ophidian' 'system'
moveitem found 'stufftokeep'
headmsg 'Ophidan' '2213'
@clearjournal
elseif @injournal 'Snake' 'system'
moveitem found 'stufftokeep'
headmsg 'Snake' '2213'
@clearjournal
elseif @injournal 'Undead' 'system'
moveitem found 'stufftokeep'
headmsg 'Undead' '2213'
@clearjournal
elseif @injournal 'Blood' 'system'
moveitem found 'stufftokeep'
headmsg 'Blood' '2213'
@clearjournal
elseif @injournal 'Poison' 'system'
moveitem found 'stufftokeep'
headmsg 'Poison' '2213'
@clearjournal
elseif @injournal 'Troll' 'system'
moveitem found 'stufftokeep'
headmsg 'Troll' '2213'
@clearjournal
elseif @injournal 'Fire' 'system'
moveitem found 'stufftokeep'
headmsg 'Fire' '2213'
@clearjournal
elseif @injournal 'Snow' 'system'
moveitem found 'stufftokeep'
headmsg 'Snow' '2213'
@clearjournal
elseif @injournal 'Demon' 'system'
moveitem found 'stufftokeep'
headmsg 'Demon' '2213'
@clearjournal
elseif @injournal 'Balron' 'system'
moveitem found 'stufftokeep'
headmsg 'Balron' '2213'
@clearjournal
//
elseif @injournal 'Invulnerability' 'system'
moveitem found 'stufftokeep'
headmsg 'Invulnerability' '2213'
@clearjournal
elseif @injournal 'Leather Gloves' 'system'
moveitem found 'stufftokeep'
headmsg 'Leather Gloves' '2213'
@clearjournal
elseif @injournal 'Leather Sleeves' 'system'
moveitem found 'stufftokeep'
headmsg 'Leather Sleeves' '2213'
@clearjournal
elseif @injournal 'Leather Tunic' 'system'
moveitem found 'stufftokeep'
headmsg 'Leather Tunic' '2213'
@clearjournal
elseif @injournal 'Leather Leggings' 'system'
moveitem found 'stufftokeep'
headmsg 'Leather Leggings' '2213'
@clearjournal
elseif @injournal 'Leather Gorget' 'system'
moveitem found 'stufftokeep'
headmsg 'Leather Gorget' '2213'
@clearjournal
elseif @injournal 'Leather Cap' 'system'
moveitem found 'stufftokeep'
headmsg 'Leather Cap' '2213'
@clearjournal
elseif @injournal 'studded' 'system'
moveitem found 'stufftokeep'
headmsg 'Studded Armor!!' '2213'
@clearjournal
endif
@clearjournal
endwhile
endfor
msg '[e whistle'
headmsg 'All Done' '2124'
stop


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#5 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:44:39 PM


Ultima Online - Recall Escape - UO Steam Script Macro

Code: [Select]
if not listexists 'home'
createlist 'home'
pushlist 'home' 0x401fb957 //serial for runebook for char 1
pushlist 'home' 0x4048cd67 //serial for runebook for char 2
pushlist 'home' 0x40725d1b //serial for runebook for char 3
pushlist 'home' 0x41b25eac //serial for runebook for char 4
pushlist 'home' 0x4048603a //serial for etc
endif
while @findtype 0x22c5 'any' 'backpack'
ignoreobject 'found'
for 0 to 'home'
if @Serial 'found' == serial 'home[]'
if @Serial 'found' == serial 0x41b25eac //for tamers, remove if statement


if your not a tamer
msg 'all come'
msg 'all come'
endif
cast "Recall"
waitfortarget 2000
target! 'found'
break
endif
endfor
endwhile
clearignorelist


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#6 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:45:09 PM

Ultima Online - Weapon Swap - UO Steam Script Macro


One Button weapon swap

Code: [Select]
if not listexists 'swapweapons'


createlist 'swapweapons'


endif


if list 'swapweapons' < 1


pushlist 'swapweapons' 0x41cebcd4 //set serial here


pushlist 'swapweapons' 0x41cebe3d //set serial here


endif


if findobject 'lefthand'


clearhands 'both'


pause 500


endif


equipitem swapweapons[0] 1


poplist 'swapweapons' 'front'


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#7 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:46:24 PM

Ultima Online - Cure/Heal Potion Drinker - UO Steam Script Macro

Code: [Select]
// $$$$$$$$ Cure Heal Pot Chugger $$$$$$$$
// $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
// ?? By Amonseti
// ?? V2.1
// ?? This macro only requires that there
// ?? be Cure and / or Heal pots in the
// ?? Main pack or any bag in the main.
// ??
// ?? Macro will first check if you are
// ?? holding a weapon and clear your hands
// ?? to allow for pot chuggins. It will
// ?? then do a check to see if you are
// ?? Poisoned and attempt to cure it.
// ?? with a cure pot. other wise it will
// ?? chug a heal pot.
// ??
// ?? When done the macro will automatically
// ?? re-equip the weapon you were using..
// ??
// !! Check if holding a weapon !!
if @findlayer 'self' 2
// !! Unequip wep
togglehands 'left'
pause 600
//
// !! Check poison state
if poisoned 'self'
// !! Player is poisoned: Cure it
if @findtype 0xf07 0 'backpack'
@setalias 'Potion' 'found'
useobject! 'Potion'
else
headmsg 'OUT!!! of Cure potions'
endif
else
// !! Not poisoned: Heal wounds
if @findtype 0xf0c 0 'backpack'
@setalias 'Potion' 'found'
useobject! 'Potion'
else
headmsg 'OUT!!! of Heal potions'
endif
endif
//
pause 600
// !! Re-Equip Weapon player was holding
togglehands 'left'
else
// !! Check poison state
if poisoned 'self'
// !! Player is poisoned: Cure it
if @findtype 0xf07 0 'backpack'
@setalias 'Potion' 'found'
useobject! 'Potion'
else
headmsg 'OUT!!! of Cure potions'
endif
else
// !! Not poisoned: Heal wounds
if @findtype 0xf0c 0 'backpack'
@setalias 'Potion' 'found'
useobject! 'Potion'
else
headmsg 'OUT!!! of Heal potions'
endif
endif
endif



Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#8 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:47:10 PM


Ultima Online - Dex Potion Drinker - UO Steam Script Macro


Code: [Select]
// $$$$$$$$$$$ Dex Pot Chugger $$$$$$$$$$$
// $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
// ?? By Amonseti
// ?? V2.0
// ?? This macro only requires that there
// ?? be Dex pots in the Main pack or any
// ?? bag in the main.
// ??
// ?? Macro will first check if you are
// ?? holding a weapon and clear your hands
// ?? to allow for pot chuggins.
// ??
// ?? When done the macro will automatically
// ?? re-equip the weapon you were using..
// ??
//
// !! Check if holding a weapon !!
if @findlayer 'self' 2
// !! Unequip wep
togglehands 'left'
pause 600
//
if @findtype 0xf08 0 'backpack'
@setalias 'Potion' 'found'
useobject! 'Potion'
else
headmsg 'OUT!!! of Dex potions'
endif
//
pause 600
// !! Re-Equip Weapon player was holding
togglehands 'left'
else
if @findtype 0xf08 0 'backpack'
@setalias 'Potion' 'found'
useobject! 'Potion'
else
headmsg 'OUT!!! of Dex potions'
endif
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#9 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:47:41 PM

Ultima Online - Inscription Trainer - UO Steam Script Macro

Code: [Select]
////////////////////////////////////
// This macro is designed for //
// training inscription from 30. //
// It is intended for characters //
// with 40+ intelligence. //
// //
// Turn on loop and click play! //
// //
// ~~Made by kdivers~~ //
////////////////////////////////////
if not @findtype 0xfbf 0x0 'backpack'
headmsg 'Get more scribes pens!'
stop
endif
if @ingump 0x38920abd 'You lack the required'
useskill 'meditation'
while mana < maxmana
endwhile
endif
if @ingump 0x38920abd 'You do not have enough'
headmsg 'Get more supplies!'
stop
endif
if skill 'inscription' < 30
headmsg 'Buy more skill!'
stop
elseif skill 'inscription' < 55
if usetype 0xfbf
waitforgump 0x38920abd 15000
replygump 0x38920abd 22
waitforgump 0x38920abd 15000
replygump 0x38920abd 51
waitforgump 0x38920abd 2000
endif
elseif skill 'inscription' < 75
if usetype 0xfbf
waitforgump 0x38920abd 15000
replygump 0x38920abd 36
waitforgump 0x38920abd 15000
replygump 0x38920abd 30
waitforgump 0x38920abd 2000
endif
elseif skill 'inscription' < 95
if usetype 0xfbf
waitforgump 0x38920abd 15000
replygump 0x38920abd 43
waitforgump 0x38920abd 15000
replygump 0x38920abd 23
waitforgump 0x38920abd 2000
endif
elseif skill 'inscription' < 101
if usetype 0xfbf
waitforgump 0x38920abd 15000
replygump 0x38920abd 50
waitforgump 0x38920abd 15000
replygump 0x38920abd 9
waitforgump 0x38920abd 2000
endif
else
headmsg 'Inscription complete!'
stop
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#10 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:48:10 PM

Ultima Online - UO Spellbook Maker - UO Steam Script Macro


Code: [Select]
//===============================================================
//=---------------------Spell Book Maker------------------------=
//=-------------------------By:Hawt-----------------------------=
//=-------------------------------------------------------------=
//=--------This script will make scrolls 1-64, Place them-------=
//=-----------in the book, meditate, and adjust when------------=
//=----to use mediation Based on what scrolls you are making----=
//=----I have broke the script down pretty good in order for----=
//=--------others to learn from 'dissecting' the script --------=
//=-------------------------------------------------------------=
//===============================================================
//=Gives Target for you too select the spellbook you want filled=
//===============================================================
if not @findobject 'spellbook'
sysmsg '!!!! Target Empty Spell Book !!!!' '23'
promptalias 'spellbook'
endif
//===============================================================
//=-----List of the gump buttons for the 8 Spell Circles.-------=
//===============================================================
if not listexists 'Circle'
@createlist 'Circle'
endif
if 'list' 'Circle' == '0'
@pushlist 'Circle' '1'
@pushlist 'Circle' '8'
@pushlist 'Circle' '15'
@pushlist 'Circle' '22'
@pushlist 'Circle' '29'
@pushlist 'Circle' '36'
@pushlist 'Circle' '43'
@pushlist 'Circle' '50'
endif
//==============================================================
//=--------List of the gump buttons for each scroll------------=
//==============================================================
if not listexists 'Spells'
@createlist 'Spells'
endif
if 'list' 'Spells' == '0'
@pushlist 'Spells' '2'
@pushlist 'Spells' '9'
@pushlist 'Spells' '16'
@pushlist 'Spells' '23'
@pushlist 'Spells' '30'
@pushlist 'Spells' '37'
@pushlist 'Spells' '44'
@pushlist 'Spells' '51'
endif
//==============================================================
//=-------------List of different Mana lvls--------------------=
//==============================================================
if not listexists 'Mana'
@createlist 'Mana'
endif
if 'list' 'Mana' == '0'
@pushlist 'Mana' '4'
@pushlist 'Mana' '6'
@pushlist 'Mana' '9'
@pushlist 'Mana' '11'
@pushlist 'Mana' '14'
@pushlist 'Mana' '20'
@pushlist 'Mana' '40'
@pushlist 'Mana' '50'
endif
//==============================================================
//=--------------List all Scrolls for each spell---------------=
//==============================================================
//=----------I did not make this list i took the list----------=
//=------------from another in The script library--------------=
//=-------------------Thank you Kadoba!!-----------------------=
//=http://www.runuo.com/community/resources/fill-spellbook.57/-=
//==============================================================
if not listexists 'scrolls'
@createlist 'scrolls'
endif
if 'list' 'scrolls' == '0'
@pushlist 'scrolls' 0x1f2d // Reactive Armor
@pushlist 'scrolls' 0x1f2e // Clumsy
@pushlist 'scrolls' 0x1f2f // Create Food
@pushlist 'scrolls' 0x1f30 // Feeblemind
@pushlist 'scrolls' 0x1f31 // Heal
@pushlist 'scrolls' 0x1f32 // Magic Arrow
@pushlist 'scrolls' 0x1f33 // Night Sight
@pushlist 'scrolls' 0x1f34 // Weaken
@pushlist 'scrolls' 0x1f35 // Agility
@pushlist 'scrolls' 0x1f36 // Cunning
@pushlist 'scrolls' 0x1f37 // Cure
@pushlist 'scrolls' 0x1f38 // Harm
@pushlist 'scrolls' 0x1f39 // Magic Trap
@pushlist 'scrolls' 0x1f3a // Magic Untrap
@pushlist 'scrolls' 0x1f3b // Protection
@pushlist 'scrolls' 0x1f3c // Strength
@pushlist 'scrolls' 0x1f3d // Bless
@pushlist 'scrolls' 0x1f3e // Fireball
@pushlist 'scrolls' 0x1f3f // Magic Lock
@pushlist 'scrolls' 0x1f40 // Poison
@pushlist 'scrolls' 0x1f41 // Telekinesis
@pushlist 'scrolls' 0x1f42 // Teleport
@pushlist 'scrolls' 0x1f43 // Unlock
@pushlist 'scrolls' 0x1f44 // Wall of Stone
@pushlist 'scrolls' 0x1f45 // Arch Cure
@pushlist 'scrolls' 0x1f46 // Arch Protection
@pushlist 'scrolls' 0x1f47 // Curse
@pushlist 'scrolls' 0x1f48 // Fire Field
@pushlist 'scrolls' 0x1f49 // Greater Heal
@pushlist 'scrolls' 0x1f4a // Lightning
@pushlist 'scrolls' 0x1f4b // Mana Drain
@pushlist 'scrolls' 0x1f4c // Recall
@pushlist 'scrolls' 0x1f4d // Blade Spirit
@pushlist 'scrolls' 0x1f4e // Dispel Field
@pushlist 'scrolls' 0x1f4f // Incognito
@pushlist 'scrolls' 0x1f50 // Magic Reflection
@pushlist 'scrolls' 0x1f51 // Mind Blast
@pushlist 'scrolls' 0x1f52 // Paralyze
@pushlist 'scrolls' 0x1f53 // Poison Field
@pushlist 'scrolls' 0x1f54 // Summon Creature
@pushlist 'scrolls' 0x1f55 // Dispel
@pushlist 'scrolls' 0x1f56 // Energy Bolt
@pushlist 'scrolls' 0x1f57 // Explosion
@pushlist 'scrolls' 0x1f58 // Invisibility
@pushlist 'scrolls' 0x1f59 // Mark
@pushlist 'scrolls' 0x1f5a // Mass Curse
@pushlist 'scrolls' 0x1f5b // Paralyze Field
@pushlist 'scrolls' 0x1f5c // Reveal
@pushlist 'scrolls' 0x1f5d // Chain Lightning
@pushlist 'scrolls' 0x1f5e // Energy Field
@pushlist 'scrolls' 0x1f5f // Flamestrike
@pushlist 'scrolls' 0x1f60 // Gate Travel
@pushlist 'scrolls' 0x1f61 // Mana Vampire
@pushlist 'scrolls' 0x1f62 // Mass Dispel
@pushlist 'scrolls' 0x1f63 // Meteor Swarm
@pushlist 'scrolls' 0x1f64 // Polymorph
@pushlist 'scrolls' 0x1f65 // Earthquake
@pushlist 'scrolls' 0x1f66 // Energy Vortex
@pushlist 'scrolls' 0x1f67 // Ressurrection
@pushlist 'scrolls' 0x1f68 // Summon Air Elemental
@pushlist 'scrolls' 0x1f69 // Summon Daemon
@pushlist 'scrolls' 0x1f6a // Summon Earth Elemental
@pushlist 'scrolls' 0x1f6b // Summon Fire Elemental
@pushlist 'scrolls' 0x1f6c // Summon Water Elemental
endif
//===============================================================
//=-------Basically telling the script when to meditate---------=
//===============================================================
if mana < Mana[0]
useskill 'meditation'
while not mana == maxmana
endwhile
endif
//===============================================================
//=-----------------Checks for Blank Scrolls.-------------------=
//===============================================================
if not @findtype '0xef3' 'any' 'backpack'
sysmsg '#### No Scrolls###'
stop
endif
//===============================================================
//=---Checks for Scribe Pens, if finding one is uses the pen.---=
//===============================================================
if @usetype '0xfbf' 'any' 'backpack'
waitforgump '0x38920abd' '5000'
else
sysmsg '####No Pens ####' '23'
stop
endif
//==============================================================
//=-----------------Gump Buttons to be pressed.----------------=
//==============================================================
replygump '0x38920abd' Circle[0]
waitforgump '0x38920abd' '5000'
replygump '0x38920abd' Spells[0]
waitforgump '0x38920abd' '5000'
pause 900
//==============================================================
//=------------Checks for Scroll to be placed in book----------=
//==============================================================
if @movetype scrolls[0] 'backpack' 'spellbook' 0 0 0 'any' '1'
pause '1000'
poplist 'Spells' 'front'
poplist 'scrolls' 'front'
endif
//==============================================================
//=--------After Finishing a complete circle of spells---------=
//=-----This changes the Spell Circle and When to meditate.----=
//==============================================================
if list 'Spells' == 0
poplist 'Circle' 'front'
poplist 'Mana' 'front'
endif
//==============================================================
//=----This stops the script when completeing a full book.-----=
//==============================================================
if list 'scrolls' == 0
unsetalias 'spellbook'
sysmsg 'Spell Book Should Be Full' '23'
stop
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#11 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:48:47 PM


Ultima Online - Lumberjack Assistant - UO Steam Script Macro

Code: [Select]
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
//$$ Manual Lumberjacking assistant
//$$ By: Amonseti
//$$ V 1.8
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
//
//??? USAGE GUIDE LINES:
//??? Simply create a new macro. give it an appropreate name,
//??? Any will do.
//???
//??? Run the macro. with an axe equiped or in your backpack
//??? The macro will look for a tree first tile west
//??? of where your character is standing.
//??? The macro will tell you when to move onto the next
//??? tree until your weight has exceeded 380stones. ( This
//??? is based off of assuming your lumberjacker has 100strength)
//??? There are some trees that due to terrain height are unchoppable
//??? if for some reason you find yourself just standing there not
//??? Collecting wood ... Then move on to next tree.
//???
//???
//
//
// !! Find and equip any axe in backpack ***
if not listexists 'AxeList'
createlist 'AxeList'
endif


// !! axe data
@clearlist 'AxeList'
@pushlist 'AxeList' 0xf43 //Hatchet
@pushlist 'AxeList' 0xf45 //Executioner's Axe
@pushlist 'AxeList' 0xf4d //Bardiche
@pushlist 'AxeList' 0xf4b //Double Axe
@pushlist 'AxeList' 0x143e //Halberd
@pushlist 'AxeList' 0x13fb //Large Battle Axe
@pushlist 'AxeList' 0x1443 //Two Handed Axe
@pushlist 'AxeList' 0xf47 //Battle Axe
@pushlist 'AxeList' 0xf49 //Axe
//
// !! Equip Axe
for 0 to 'AxeList'
if @findtype 'AxeList[]' 'any' 'backpack'
unsetalias 'AXE'
setalias 'AXE' 'found'
endif
endfor
//******************************************
//
// !! Main chopping routine
while weight < 380
clearjournal
if not @findlayer 'self' 2
equipitem 'AXE' 2
pause 600
endif
//
useobject 'LeftHand'
waitfortarget 1000
targettileoffset -1 0 0
pause 500
//
//
//****** Wait for it **********************
// !! System hickup insurance loop
for 60
if @injournal 'enough wood here' 'system'
break
elseif @injournal 'You chop' 'system'
break
elseif @injournal "fail to" "system"
break
elseif @injournal "You can't" "system"
break
elseif @injournal "You can" "system"
break
elseif not @findlayer 'self' 2
break
else
pause 100
endif
endfor
//
//******************************************
//
//*** Display proper feedback
if @injournal "You can't" "system"
pause 500
endif
if @injournal 'enough wood here' 'system'
headmsg 'NO MORE WOOD' '2124'
headmsg 'go to next tree' '2124'
msg '[e whistle'
pause 2000
endif
if @injournal 'some ordinary' 'system'
headmsg '--Ordinary wood--' '1150'
clearjournal
endif
if @injournal 'some oak' 'system'
headmsg '--OAK--' '2010'
clearjournal
endif
if @injournal 'some ash' 'system'
headmsg '--ASH--' '1191'
clearjournal
endif
if @injournal 'some yew' 'system'
headmsg '--YEW--' '1192'
msg '[e ah'
clearjournal
endif
if @injournal 'some heartwood' 'system'
headmsg '>!!!--HEARTWOOD--!!!<' '1193'
msg '[e yea'
clearjournal
endif
if @injournal 'some bloodwood' 'system'
headmsg '>!!!--BLOODWOOD--!!!<' '1194'
msg '[e woohoo'
clearjournal
endif
if @injournal 'some frostwood' 'system'
headmsg '>!!!--FROSTWOOD--!!!<' '1151'
msg '[e woohoo'
clearjournal
endif
//******************************************
//
//
endwhile
headmsg 'Over Weight Fatty !' '89'
headmsg 'go home and unload!' '89'




Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#12 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:49:30 PM


Ultima Online - Mining - UO Steam Script Macro

Code: [Select]
if not @findalias 'Beetle'
promptalias 'Beetle'
endif
if counttype 0x19b9 'any' 'backpack' < 188
movetype 0x19b9 'backpack' 'Beetle'
endif
if not listexists 'miningerrormessages'
createlist 'miningerrormessages'
pushlist 'miningerrormessages' 'no metal here'
pushlist 'miningerrormessages' "You can't mine there"
pushlist 'miningerrormessages' "Target cannot be seen"
pushlist 'miningerrormessages' "You can't mine that"
endif
if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack'
useobject 'found'
else
sysmsg "You do not have any digging tools!"
stop
endif
waitfortarget 500
if direction == 0
targettileoffset 0 -1 0
elseif direction == 1
targettileoffset 1 -1 0
elseif direction == 2
targettileoffset 1 0 0
elseif direction == 3
targettileoffset 1 1 0
elseif direction == 4
targettileoffset 0 1 0
elseif direction == 5
targettileoffset -1 1 0
elseif direction == 6
targettileoffset -1 0 0
elseif direction == 7
targettileoffset -1 -1 0
endif
pause 200
if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack'
useobject 'found'
else
sysmsg "You do not have any digging tools!"
stop
endif
waitfortarget 500
if direction == 1
targettileoffset 0 -1 0
elseif direction == 2
targettileoffset 1 -1 0
elseif direction == 3
targettileoffset 1 0 0
elseif direction == 4
targettileoffset 1 1 0
elseif direction == 5
targettileoffset 0 1 0
elseif direction == 6
targettileoffset -1 1 0
elseif direction == 7
targettileoffset -1 0 0
elseif direction == 0
targettileoffset -1 -1 0
endif
pause 200
if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack'
useobject 'found'
else
sysmsg "You do not have any digging tools!"
stop
endif
waitfortarget 500
if direction == 7
targettileoffset 0 -1 0
elseif direction == 0
targettileoffset 1 -1 0
elseif direction == 1
targettileoffset 1 0 0
elseif direction == 2
targettileoffset 1 1 0
elseif direction == 3
targettileoffset 0 1 0
elseif direction == 4
targettileoffset -1 1 0
elseif direction == 5
targettileoffset -1 0 0
elseif direction == 6
targettileoffset -1 -1 0
endif
pause 10



Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#13 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:50:06 PM

Ultima Online - Fishing - UO Steam Script Macro


This macro will fish a target location and cut the fish into steaks then
organize your bags so all the junk will be in a bag and the fish steaks go
to your fishing bag.

Code: [Select]
\\\\\\\\\\Make sure you delete anything between this\\\\\\\\\\\\\\\\\\\\\\


usetype 0xdbf \\\\\\\\\\\\Uses your fishing pole\\\\\\\\\\\\\
waitfortarget 15000
targettile 5210 787 -5 \\\\\\\\\\\\Create a test macro and record the


target area you will use\\\\\\\\\\\\\\\\\\\\
pause 1000
usetype 0xf52 \\\\\\\\\\Uses your knife on a fish


type\\\\\\\\\\\\\\\\\\\\\\
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0xf52 \\\\\\\\\\\\\\\This one is a duplicate but for some reason


the first one doesn't work\\\\\\\\\\
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9cf
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9ce
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9cd
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x170d
pause 1000
msg '[organizeme' \\\\\\\\\\\\\\\Organizes items in your inventory\\\\\\\\
canceltarget \\\\\\Crucial to avoid target lock during world
saves\\\\\\\\\\


If you don't know what I mean by using a test macro then follow the below


steps:


1) Create a new macro named test
2) Click record
3) Double click your fishing pole
4) Click where you want to fish and if you can fish there
5) Copy just the targettile from the test macro and paste over line 3


[/size]That is the only customization you should have to do to this macro between
characters and locations.[/font]


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#14 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:50:36 PM

Ultima Online - UO Bandself - UO Steam Script Macro

Code: [Select]
smart bandage self

I still keep a standard bandage self hotkey but here is one that I put
together. I mainly did this to avoid accidentally interrupting a heal,
starting it all over. I also add it to the front end of other macros on my
healers to make sure I don't skip a heal.

if not timerexists 'Bandage Timer'

createtimer 'Bandage Timer'

settimer 'Bandage Timer' 10250

endif

//poisoned

if poisoned 'self' and timer 'Bandage Timer' >= 10250

bandageself

waitfortarget 1500

target! 'self'

settimer 'Bandage Timer' 0

endif

if hits < maxhits and timer 'Bandage Timer' >= 10250

bandageself

waitfortarget 1500

target! 'self'

settimer 'Bandage Timer' 0

endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#15 Re :   UO Steam Macro Library
8 years ago  March 04, 2016, 03:51:00 PM


Auto Heal Pets

Code: [Select]
if not findalias 'pet'
promptalias 'pet'
endif
if not inrange 'pet' 1
headmsg 'Get closer.'
unsetalias 'pet'
stop
endif
if diffhits 'pet' <= 0
headmsg 'Pet full health.'
unsetalias 'pet'
stop
endif
if @findtype 0xe21
@useobject 'found'
else
headmsg 'out of bandages'
stop
endif
clearjournal
waitfortarget 1000
target! 'pet'
if injournal 'not damaged' 'system'
headmsg 'not hurt'
unsetalias 'pet'
stop
endif
clearjournal
while not @injournal 'you finish applying' 'system'
//headmsg 'pausing'
pause 50
endwhile
replay


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#16 Re :   UO Steam Macro Library
8 years ago  March 12, 2016, 04:28:46 PM


First macro is simple attacker macro:
 
getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
attack 'enemy'
pause 1250


second is attacker with secondary ability:


setability 'secondary' 'on'
getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
attack 'enemy'
 pause 1250


third is an attacker with a grab at end to loot all corpses:


getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
attack 'enemy'
pause 1250
 msg '[grab'


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#17 Re :   UO Steam Macro Library
8 years ago  March 13, 2016, 04:03:45 PM


Heals 2 pets. Heals Lowest pet as long as it is within 1 tile.

Code: [Select]
//Heals 2 pets.
//Included weight check on self
@cleartargetqueue
@clearjournal
if dead 'self'
  stop
endif
//Setup
if not findalias 'pet1'
  headmsg 'Select first pet'
  promptalias 'pet1'
endif
if not findalias 'pet2'
  headmsg 'Select second pet'
  promptalias 'pet2'
endif
//Feed pets
if not timerexists 'feed'
  createtimer 'feed'
endif
if timer 'feed' > 600000
  if @inrange 'pet1' 1 or @inrange 'pet2' 1
    headmsg 'Feeding Pets!!!'
    pause 600
    feed 'pet1' '0x9f1' 'any' '1'
    pause 700
    feed 'pet2' '0x9f1' 'any' '1'
    settimer 'feed' 0
  endif
endif
//Heal them to full
while hits 'pet1' == maxhits 'pet1' and hits 'pet2' == maxhits 'pet2'
  pause 50
endwhile
if diffhits 'pet1' > diffhits 'pet2'
  if inrange 'pet1' 1
    bandage
    autotargetobject 'pet1'
    pause 6100
  endif
else
  if inrange 'pet2' 1
    bandage
    autotargetobject 'pet2'
    pause 6100
  endif
endif
if not @injournal 'finish' 'system'
  pause 1100
  replay
else if @injournal 'finish' 'system'
  @clearjournal
  replay
elseif @injournal 'too far away' 'system'
  @clearjournal
  replay
elseif @injournal 'stay close enough' 'system'
  @clearjournal
  replay
endif
if mana > 25
  while weight >= maxweight
    cast 'bless'
    autotargetself!
    pause 1500
  endwhile
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Fysen
Offline
9 Posts
#18 Re :   UO Steam Macro Library
8 years ago  April 12, 2016, 05:47:06 AM

I'm really picky about my targeting system, so I made this alternate tab-target style macro. This takes care of the 1] Targeting closest enemy 2] Enabling War Mode 3] Auto-attacking closest enemy 4] Disabling War Mode

Enjoy! =D

Code: [Select]
@getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
  // Set the next line to the distance you want to be at for the macro to insist on turning on war mode.
  if distance 'enemy' <= 8
    warmode 'on'
  endif
  // Set the next line to the distance you want to be at for the macro to insist you needn't be in war mode any longer.
  if distance 'enemy' > 12
    warmode 'off'
  endif
  autotargetobject! 'enemy'
  attack! 'enemy'
endif
if not @findobject 'enemy'
  warmode 'off'
endif
@clearusequeue
@cancelautotarget

Evolution
Offline
1295 Posts
#19 Re :   UO Steam Macro Library
7 years ago  November 06, 2016, 04:02:14 PM


Train Carpentry - UOS Macro

I decided to post this handy script i wrote, it trains carpentry from 30 to 100 fully automated.
All you need is a bag with boards and ingots, at least 50 tinkering, and at least 1 tinker tool in you backpack.

At some point the macro starts crafting "ballot box", which come deeded.
Be sure you don't keep any valuable deeds (PS,SoT,Repair Deeds, Commodity) in your backpack as the macro will trash them.

Code: [Select]
//setting aliases
if not @findalias 'init1'
  sysmsg 'Target a restock container' 232
  promptalias 'fletch_restock' 0x42d175f5 
  sysmsg 'Target the trash barrel' 232
  @setalias 'init1' 'self'
  promptalias 'trash1' 0x4249518f
endif
if not listexists 'carpenstuff'
  createlist 'carpenstuff'
  pushlist 'carpenstuff' 0x9aa
  pushlist 'carpenstuff' 0xb4f
  pushlist 'carpenstuff' 0x27aa
  pushlist 'carpenstuff' 0x14f0
  pushlist 'carpenstuff' 0x27a8
  pushlist 'carpenstuff' 0x13f8
endif
//Tinker skill check
if skill 'Tinkering' < 45
  sysmsg 'Tinkering skill is too low, train it first' 232
  stop
endif
//check backpack for boards
if counttype 0x1bd7 0 'backpack' < 40
  movetype 0x1bd7 'fletch_restock' 'backpack'[(0 0 0)] 0 245
  pause 650
endif
// check for ingots
if counttype 0x1bf2 0 'backpack' < 10
  movetype 0x1bf2 'fletch_restock' 'backpack'[(0 0 0)] 0 45
  pause 650
endif
//craft tinker kits
//=================
while @counttype 0x1eb8 0 'backpack' < 3
  usetype! 0x1eb8
  waitforgump 0x38920abd 2000
  @replygump 0x38920abd 8
  waitforgump 0x38920abd 2000
  @replygump 0x38920abd 23
  waitforgump 0x38920abd 2000
endwhile
//check for carpenter saws
while @counttype 0x1034 0 'backpack' < 3
  usetype 0x1eb8
  waitforgump 0x38920abd 2000
  @replygump 0x38920abd 8
  waitforgump 0x38920abd 2000
  replygump 0x38920abd 51
  waitforgump 0x38920abd 15000
endwhile
// Crafting carpen stuff
If skill 'Carpentry' > 79 and skill 'Carpentry' < 100
   usetype 0x1034
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 22
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 16
elseif skill 'Carpentry' > 72 and skill 'Carpentry' < 79
   usetype 0x1034
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 22
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 23
elseif skill 'Carpentry' > 65 and skill 'Carpentry' < 72
   usetype 0x1034
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 22
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 30
elseif skill 'Carpentry'> 48 and skill 'Carpentry' < 65
   usetype 0x1034
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 43
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 128
elseif skill 'Carpentry' < 48 and skill 'Carpentry' > 45
   usetype 0x1034
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 30
elseif skill 'Carpentry' < 45
    usetype 0x1034
   replygump 0x38920abd 15
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 2
   waitforgump 0x38920abd 1500
else
   usetype 0x1034
   waitforgump 0x38920abd 1500
   replygump 0x38920abd 21
endif
//Handling trash
for 0 to 'carpenstuff'
while @findtype carpenstuff[] 'any' 'backpack'
  moveitem 'found' 'trash1'
  pause 650
endwhile
endfor
if skill 'Carpentry' == 100
 sysmsg 'Congrats!!' 232
 stop
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#20 Re :   UO Steam Macro Library
7 years ago  November 06, 2016, 04:04:49 PM


Train Bowcraft - UOS Macro

This UOS script trains bowcraft from 30 to 100 fully automated.

All you need is a bag with boards and ingots, at least 50 tinkering, and at least 1 tinker tool in you backpack.

Be sure you don't keep any valuable bows/xbows in your backpack as the macro will trash them.

Code: [Select]
//setting aliases
if not @findalias 'init1'
  sysmsg 'Target a restock container' 232
  promptalias 'fletch_restock' 0x42d175f5 
  sysmsg 'Target the trash barrel' 232
  @setalias 'init1' 'self'
  promptalias 'trash1' 0x4249518f
endif
if not listexists 'craftbows'
  createlist 'craftbows'
  pushlist 'craftbows' 0x13b2
  pushlist 'craftbows' 0xf50
  pushlist 'craftbows' 0x26c2
  pushlist 'craftbows' 0x13fd
  pushlist 'craftbows' 0x26c3
endif
//Tinker skill check
if skill 'Tinkering' < 45
  sysmsg 'Tinkering skill is too low, train it first' 232
  stop
endif
// check for ingots
if counttype 0x1bf2 0 'backpack' < 10
  movetype 0x1bf2 'fletch_restock' 'backpack'[(0 0 0)] 0 45
  pause 650
endif
//craft tinker kits
//=================
while @counttype 0x1eb8 0 'backpack' < 3
  usetype! 0x1eb8
  waitforgump 0x38920abd 2000
  @replygump 0x38920abd 8
  waitforgump 0x38920abd 2000
  @replygump 0x38920abd 23
  waitforgump 0x38920abd 2000
endwhile
//check for fletching kits
while @counttype 0x1022 0 'backpack' < 3
  usetype 0x1eb8
  waitforgump 0x38920abd 2000
  @replygump 0x38920abd 8
  waitforgump 0x38920abd 2000
  @replygump 0x38920abd 142
  waitforgump 0x38920abd 2000
endwhile
//check backpack for boards
if counttype 0x1bd7 0 'backpack' < 40
  movetype 0x1bd7 'fletch_restock' 'backpack'[(0 0 0)] 0 245
  pause 650
endif
// Crafting bows
If skill 'Bowcraft' > 90
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 30
waitforgump 0x38920abd 1500
elseif skill 'Bowcraft' > 80 and skill 'Bowcraft' < 90
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 16
elseif skill 'Bowcraft' > 70 and skill 'Bowcraft' < 80
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 23
elseif skill 'Bowcraft'> 60 and skill 'Bowcraft' < 70
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 9
elseif skill 'Bowcraft' < 60
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 2
else
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 21
endif
//Handling trash
for 0 to 'craftbows'
while @findtype craftbows[] 'any' 'backpack'
  moveitem 'found' 'trash1'
  pause 650
endwhile
endfor
if skill 'Bowcraft' = 100
 sysmsg 'Congrats!!' 232
 stop
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#21 Re :   UO Steam Macro Library
7 years ago  November 06, 2016, 04:08:09 PM


Discord - UOS Macro

This is a macro that I crafted, basically it asks for target to discord, it will follow until that target has been discorded then ask for new target:

Code: [Select]
if injournal 'That creature is already in discord'
  clearjournal
  unsetalias 'todiscord'
else
  if not findalias 'todiscord'
    sysmsg 'Target an todiscord'
    promptalias 'todiscord'
  endif
  useskill 'Discordance'
  waitfortarget 10000
  target!  'todiscord'
  while not inrange 'todiscord' 2
    if @x 'todiscord' > x 'self' and @y 'todiscord' > y 'self'
      walk 'Southeast'
    elseif @x 'todiscord' < x 'self' and @y 'todiscord' > y 'self'
      walk 'Southwest'
    elseif @x 'todiscord' > x 'self' and @y 'todiscord' < y 'self'
      walk 'Northeast'
    elseif @x 'todiscord' < x 'self' and @y 'todiscord' < y 'self'
      walk 'Northwest'
    elseif @x 'todiscord' > x 'self' and @y 'todiscord' == y 'self'
      walk 'East'
    elseif @x 'todiscord' < x 'self' and @y 'todiscord' == y 'self'
      walk 'West'
    elseif @x 'todiscord' == x 'self' and @y 'todiscord' > y 'self'
      walk 'South'
    elseif @x 'todiscord' == x 'self' and @y 'todiscord' < y 'self'
      walk 'North'
    endif
  endwhile
  pause 500
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#22 Re :   UO Steam Macro Library
7 years ago  November 06, 2016, 04:09:26 PM


UO Steam Lumberjack Macro

Code: [Select]
//Magery Version
//1. need 2 full runebooks marked 1 tile south and same elevation of the choppable tree
//2. Organizer agent 'Boards' needs to be configured from your backpack to dropoff container with boards and 5 specials on it
//3. pauses after recalls are set to 2000 for 0fc. Change to 1750 for 1fc and 1500 for 2fc
if not @findobject 'TreeBookOne'
promptalias 'TreeBookOne'
endif
if not @findobject 'TreeBookTwo'
promptalias 'TreeBookTwo'
endif
if not @findobject 'HomeLumber'
promptalias 'HomeLumber'
endif
if not listexists 'TreeBook'
createlist 'TreeBook'
pushlist 'TreeBook' 'TreeBookOne'
pushlist 'TreeBook' 'TreeBookTwo'
endif
if not listexists 'Runes'
createlist 'Runes'
pushlist 'Runes' 5
pushlist 'Runes' 11
pushlist 'Runes' 17
pushlist 'Runes' 23
pushlist 'Runes' 29
pushlist 'Runes' 35
pushlist 'Runes' 41
pushlist 'Runes' 47
pushlist 'Runes' 53
pushlist 'Runes' 59
pushlist 'Runes' 65
pushlist 'Runes' 71
pushlist 'Runes' 77
pushlist 'Runes' 83
pushlist 'Runes' 89
pushlist 'Runes' 95
endif
For 0 to 'TreeBook'
For 0 to 'Runes'
pause 500
clearjournal
pause 500
useobject TreeBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
//tells you which rune you are on, see runelist above
sysmsg 'Rune' 33
sysmsg Runes[] 33
pause 2000
//equips axe if it's not SC
if not @findobject 'lefthand'
//change type to your axe
if findtype 0xf47 0 'backpack'
setalias 'axe' 'found'
equipitem 'axe' 2
endif
endif
while not @injournal 'enough wood here'
pause 300
//chop logs to boards
if @findtype 0x1bdd 'any' 'backpack'
useobject 'LeftHand'
waitfortarget 1000
target! 'found'
else
//chop trees
useobject 'LeftHand'
waitfortarget 1000
targettileoffset 0 -1 0
endif
// Change this if your getting overweight, Subtract 25 from your max weight.
if weight > 480
//make remaining logs boards
while @findtype 0x1bdd 'any' 'backpack'
useobject 'LeftHand'
waitfortarget 1000
target! 'found'
pause 500
endwhile
//recall home
useobject 'HomeLumber'
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 5
pause 2000
//unload
organizer 'Boards'
while organizing
pause 500
endwhile
//go back to where you were
useobject TreeBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
pause 2000
//re-equip axe if needed
if not @findobject 'lefthand'
equipitem 'axe' 2
pause 1000
endif
endif
if @injournal 'use an axe'
break
endif
endwhile
endfor
endfor


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#23 Re :   UO Steam Macro Library
7 years ago  November 06, 2016, 04:10:41 PM


UO Steam - Animal Taming Macro

Code: [Select]
// Author: Di
// Description: find, chase and tame nearby pets accordingly to skill level
// v2.1: pet release and tamed detection improvements
// v2.0: improved pets list and created unstuck pathfind heuristic
// Configure skill limit      ▼
if skill! 'animal taming' >= 100
  setskill 'animal taming' 'locked'
  stop
endif
@createlist 'pets'
@clearlist 'pets'
if skill 'animal taming' < 60
  // Eagle
  pushlist 'pets' 0x5
  // Goat
  pushlist 'pets' 0xd1
  // Pig
  pushlist 'pets' 0xcb
  pushlist 'pets' 0x122
  // Hind
  pushlist 'pets' 0xed
  // Timber wolf
  pushlist 'pets' 0xe1
  // Llama
  pushlist 'pets' 0xdc
  // Horse
  pushlist 'pets' 0xcc
  pushlist 'pets' 0xe2
  pushlist 'pets' 0xe4
  pushlist 'pets' 0xc8
  pushlist 'pets' 0x3e9f
  pushlist 'pets' 0x3ea0
  pushlist 'pets' 0x3ea1
  pushlist 'pets' 0x3ea2
  // Cow
  pushlist 'pets' 0xe7
  pushlist 'pets' 0xd8
  // Bear
  pushlist 'pets' 0xa7
  pushlist 'pets' 0xd3
  // Cougar
  pushlist 'pets' 0x3f
elseif skill 'animal taming' < 75
  // Grizzly Bear
  pushlist 'pets' 0xd4
  // Grey Wolf
  pushlist 'pets' 0x1b
  pushlist 'pets' 0x19
  // Snow Leopard
  pushlist 'pets' 0x41
  pushlist 'pets' 0x40
  // Walrus
  pushlist 'pets' 0xdd
  // Polar Bear
  pushlist 'pets' 0xd5
  // Great Hart
  pushlist 'pets' 0xea
elseif skill 'animal taming' < 95.1
  // Gaman
  pushlist 'pets' 0xf8
  // Bull
  pushlist 'pets' 0xe8
  pushlist 'pets' 0xe9
  // Great Hart
  pushlist 'pets' 0xea
  // White Wolf
  pushlist 'pets' 0x25
  pushlist 'pets' 0x22
  // Snow Leopard
  pushlist 'pets' 0x41
  pushlist 'pets' 0x40
else
  // Bull
  pushlist 'pets' 0xe8
  pushlist 'pets' 0xe9
  // Unicorn
  pushlist 'pets' 0x7a
  // Ki-rin
  pushlist 'pets' 0x84
endif
if not listexists 'errors'
  createlist 'errors'
  pushlist 'errors' 'too many owners'
  pushlist 'errors' 'only be tamed by'
  pushlist 'errors' 'no chance of taming'
  pushlist 'errors' 'looks tame already'
  //pushlist 'errors' 'clear path to the animal'
  pushlist 'errors' 'cannot be seen'
endif
@createlist 'unstuck'
if list 'unstuck' == 0
  pushlist 'unstuck' 'east'
  pushlist 'unstuck' 'west'
  pushlist 'unstuck' 'south'
  pushlist 'unstuck' 'north'
endif
// Search
if not @findobject 'pet'
  for 0 to 'pets'
    if @findtype 'pets[]' 'any' 'ground'
      @settimer 'stuck' 0
      @setalias 'pet' 'found'
      break
    endif
  endfor
else
  // Pathfind
  @settimer 'pathfind' 0
  while @findobject 'pet' and not @inrange 'pet' 2
    if dead
      break
    elseif @timer 'pathfind' >= 5000
      // Diverge
      if direction == 0
        @poplist 'unstuck' 'north'
      elseif direction == 2
        @poplist 'unstuck' 'east'
      elseif direction == 4
        @poplist 'unstuck' 'south'
      elseif direction == 6
        @poplist 'unstuck' 'west'
      endif
      // Unstuck
      if list 'unstuck' != 0
        for 5
          run 'unstuck[0]'
          pause 100
        endfor
        poplist 'unstuck' 'front'
      endif
      break
    elseif @x 'pet' > x 'self' and @y 'pet' > y 'self'
      run 'southeast'
    elseif @x 'pet' < x 'self' and @y 'pet' > y 'self'
      run 'southwest'
    elseif @x 'pet' > x 'self' and @y 'pet' < y 'self'
      run 'northeast'
    elseif @x 'pet' < x 'self' and @y 'pet' < y 'self'
      run 'northwest'
    elseif @x 'pet' > x 'self' and @y 'pet' == y 'self'
      run 'east'
    elseif @x 'pet' < x 'self' and @y 'pet' == y 'self'
      run 'west'
    elseif @x 'pet' == x 'self' and @y 'pet' > y 'self'
      run 'south'
    elseif @x 'pet' == x 'self' and @y 'pet' < y 'self'
      run 'north'
    endif
    pause 100
  endwhile
  if @inrange 'pet' 2
    // Tame
    clearjournal
    useskill 'animal taming'
    waitfortarget 1000
    target! 'pet'
    // Handle
    if @property '(tame)' 'pet'
      for 5
        if @gumpexists 0x909cc741 or not @findobject 'pet'
          break
        elseif dead or followers == 0
          break
        elseif @name 'pet' != 'trashpet'
          rename 'pet' 'trashpet'
        else
          msg 'trashpet release'
        endif
        pause 500
      endfor
      replygump 0x909cc741 2
      sysmsg 'Success: tamed and released!' 88
      ignoreobject 'pet'
      @unsetalias 'pet'
    else
      @settimer 'stuck' 0
      for 0 to 'errors'
        if @injournal 'errors[]'
          sysmsg 'Ignore: error message!' 25
          ignoreobject 'pet'
          @unsetalias 'pet'
          break
        endif
      endfor
    endif
  elseif @timer 'stuck' >= 20000
    sysmsg 'Ignore: stuck timeout!' 25
    ignoreobject 'pet'
    @unsetalias 'pet'
  endif
endif



Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#24 Re :   UO Steam Macro Library
7 years ago  November 06, 2016, 04:12:59 PM


Tailor BOD Filler - UOS Macro

Check the "Loop" option.

Configure:
- "Bulk Source": the BOD book full of BODs you wanna fill;
- "Bulk Destination": an empty BOD book you'll place filled BODs;
- "Restock" container with leather, cloth and sewing kits;
- "Trash BODs Destination": it can be an empty container the macro will place BODs it could not fill for a reason;
- "Trash Barrel": select your house's trash barrel;
- Have a scissors in your backpack.

Important:
- Your character must be nearby all selected/required containers.
- If you have configured something wrong you can just go to the Macros tab, click the "Active Objects" -> "Clear All" button and play the macro again.

Code: [Select]
// Author: Kraz
// Description: Tailoring BOD Filler
// v2.1: fixed issue where it could not craft footwear
// v2.0: (1) easier to update, read and edit craft info, (2) search, recycle and combine existing items before crafting, (3) faster crafting due to gump category swap improvements, (4) added resource handler
if not @findobject 'Bulk Source'
  promptalias 'Bulk Source'
endif
if not @findobject 'Bulk Destination'
  promptalias 'Bulk Destination'
endif
if not @findobject 'Restock'
  promptalias 'Restock'
endif
if not @findobject 'Trash BODs Destination'
  promptalias 'Trash BODs Destination'
endif
if not @findobject 'Trash Barrel'
  promptalias 'Trash Barrel'
endif
// Craft info placeholder
if not listexists 'Craft'
  @createlist 'Craft'
  // 0: Category, 1: Button, 2: Graphic, 3: Resource Button, 4: Resource Color
endif
// Search for a BOD to fill
if @findtype 0x2258 0x483 'backpack' and @property 'small' 'found'
  // Reset craft state
  @clearlist 'Craft'
  @unsetalias 'crafting'
  // Define and open new BOD
  @setalias 'bod' 'found'
  useobject! 'bod'
  waitforgump 0x5afbd742 15000
  // Combine items
  if not targetexists 'server'
    replygump 0x5afbd742 2
    waitforgump 0x5afbd742 15000
    waitfortarget 5000
  endif
  // Check for tools
  if @findtype 0xf9d 0 'backpack'
    pause 1500
    @setalias 'tool' 'found'
    useobject! 'tool'
    waitforgump 0x38920abd 15000
    // Craft
    while targetexists 'server'
      // Define BOD material type
      @setalias 'cloth' 'bod'
      if @ingump 0x5afbd742 'leather' or @ingump 0x5afbd742 'studded'
        @unsetalias 'cloth'
      elseif @ingump 0x5afbd742 'boots' and not @ingump 0x5afbd742 'fur boots'
        @unsetalias 'cloth'
      elseif @ingump 0x5afbd742 'shoes' or @ingump 0x5afbd742 'sandals'
        @unsetalias 'cloth'
      endif
      // Craft requirements
      if @findalias 'cloth'
        // Check for cut cloths
        if @counttype 0x1766 'any' 'backpack' < 50 and @counttype 0x1767 'any' 'backpack' < 50
          if @movetype 0x1766 'Restock' 'backpack' 0 0 0 'any' 100 or @movetype 0x1767 'Restock' 'backpack' 0 0 0 'any' 100
            pause 1500
          else
            sysmsg 'Out of cloths!' 25
            @canceltarget
            stop
          endif
        endif
        if not @findalias 'crafting'
          // Hats
          if @ingump 0x5afbd742 'skullcap'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 2
            @pushlist 'Craft' 0x1544
          elseif @ingump 0x5afbd742 'bandana'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 9
            @pushlist 'Craft' 0x1540
          elseif @ingump 0x5afbd742 'floppy hat'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 16
            @pushlist 'Craft' 0x1713
          elseif @ingump 0x5afbd742 'cap'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 23
            @pushlist 'Craft' 0x1715
          elseif @ingump 0x5afbd742 'wide-brim hat'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 30
            @pushlist 'Craft' 0x1714
          elseif @ingump 0x5afbd742 'tall straw hat'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 44
            @pushlist 'Craft' 0x1716
          elseif @ingump 0x5afbd742 'straw hat'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 37
            @pushlist 'Craft' 0x1717
          elseif @ingump 0x5afbd742 "wizard's hat"
            @pushlist 'Craft' 1
            @pushlist 'Craft' 51
            @pushlist 'Craft' 0x1718
          elseif @ingump 0x5afbd742 'bonnet'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 58
            @pushlist 'Craft' 0x1719
          elseif @ingump 0x5afbd742 'feathered hat'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 65
            @pushlist 'Craft' 0x171a
          elseif @ingump 0x5afbd742 'tricorne hat'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 72
            @pushlist 'Craft' 0x171b
          elseif @ingump 0x5afbd742 'jester hat'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 79
            @pushlist 'Craft' 0x171c
          elseif @ingump 0x5afbd742 'flower garland'
            @pushlist 'Craft' 1
            @pushlist 'Craft' 86
            @pushlist 'Craft' 0x2306
            // Shirts
          elseif @ingump 0x5afbd742 'doublet'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 2
            @pushlist 'Craft' 0x1f7b
          elseif @ingump 0x5afbd742 'fancy shirt'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 16
            @pushlist 'Craft' 0x1efd
          elseif @ingump 0x5afbd742 'formal shirt'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 86
            @pushlist 'Craft' 0x2310
          elseif @ingump 0x5afbd742 'shirt'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 9
            @pushlist 'Craft' 0x1517
          elseif @ingump 0x5afbd742 'tunic'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 23
            @pushlist 'Craft' 0x1fa1
          elseif @ingump 0x5afbd742 'surcoat'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 30
            @pushlist 'Craft' 0x1ffd
          elseif @ingump 0x5afbd742 'plain dress'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 37
            @pushlist 'Craft' 0x1f01
          elseif @ingump 0x5afbd742 'fancy dress'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 44
            @pushlist 'Craft' 0x1f00
          elseif @ingump 0x5afbd742 'cloak'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 51
            @pushlist 'Craft' 0x1515
          elseif @ingump 0x5afbd742 'robe'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 58
            @pushlist 'Craft' 0x1f03
          elseif @ingump 0x5afbd742 'jester suit'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 65
            @pushlist 'Craft' 0x1f9f
          elseif @ingump 0x5afbd742 'fur cape'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 72
            @pushlist 'Craft' 0x230a
          elseif @ingump 0x5afbd742 'gilded dress'
            @pushlist 'Craft' 8
            @pushlist 'Craft' 79
            @pushlist 'Craft' 0x230e
            // Pants
          elseif @ingump 0x5afbd742 'short pants'
            @pushlist 'Craft' 15
            @pushlist 'Craft' 2
            @pushlist 'Craft' 0x152e
          elseif @ingump 0x5afbd742 'long pants'
            @pushlist 'Craft' 15
            @pushlist 'Craft' 9
            @pushlist 'Craft' 0x1539
          elseif @ingump 0x5afbd742 'kilt'
            @pushlist 'Craft' 15
            @pushlist 'Craft' 16
            @pushlist 'Craft' 0x1537
          elseif @ingump 0x5afbd742 'skirt'
            @pushlist 'Craft' 15
            @pushlist 'Craft' 23
            @pushlist 'Craft' 0x1516
            // Miscellaneous
          elseif @ingump 0x5afbd742 'body sash'
            @pushlist 'Craft' 22
            @pushlist 'Craft' 2
            @pushlist 'Craft' 0x1541
          elseif @ingump 0x5afbd742 'half apron'
            @pushlist 'Craft' 22
            @pushlist 'Craft' 9
            @pushlist 'Craft' 0x153b
          elseif @ingump 0x5afbd742 'full apron'
            @pushlist 'Craft' 22
            @pushlist 'Craft' 16
            @pushlist 'Craft' 0x153d
            // Footwear
          elseif @ingump 0x5afbd742 'fur boots'
            @pushlist 'Craft' 29
            @pushlist 'Craft' 9
            @pushlist 'Craft' 0x2307
          else
            break
          endif
        endif
      else
        if not @findalias 'crafting'
          // Leather
          if @ingump 0x5afbd742 'leather gorget'
            @pushlist 'Craft' 36
            @pushlist 'Craft' 23
            @pushlist 'Craft' 0x13c7
          elseif @ingump 0x5afbd742 'leather cap'
            @pushlist 'Craft' 36
            @pushlist 'Craft' 30
            @pushlist 'Craft' 0x1db9
          elseif @ingump 0x5afbd742 'leather gloves'
            @pushlist 'Craft' 36
            @pushlist 'Craft' 37
            @pushlist 'Craft' 0x13c6
          elseif @ingump 0x5afbd742 'leather sleeves'
            @pushlist 'Craft' 36
            @pushlist 'Craft' 44
            @pushlist 'Craft' 0x13cd
          elseif @ingump 0x5afbd742 'leather leggings'
            @pushlist 'Craft' 36
            @pushlist 'Craft' 51
            @pushlist 'Craft' 0x13cb
          elseif @ingump 0x5afbd742 'leather tunic'
            @pushlist 'Craft' 36
            @pushlist 'Craft' 58
            @pushlist 'Craft' 0x13cc
            // Studded
          elseif @ingump 0x5afbd742 'studded gorget'
            @pushlist 'Craft' 43
            @pushlist 'Craft' 2
            @pushlist 'Craft' 0x13d6
          elseif @ingump 0x5afbd742 'studded gloves'
            @pushlist 'Craft' 43
            @pushlist 'Craft' 9
            @pushlist 'Craft' 0x13d5
          elseif @ingump 0x5afbd742 'studded sleeves'
            @pushlist 'Craft' 43
            @pushlist 'Craft' 16
            @pushlist 'Craft' 0x13dc
          elseif @ingump 0x5afbd742 'studded leggings'
            @pushlist 'Craft' 43
            @pushlist 'Craft' 23
            @pushlist 'Craft' 0x13da
          elseif @ingump 0x5afbd742 'studded tunic'
            @pushlist 'Craft' 43
            @pushlist 'Craft' 30
            @pushlist 'Craft' 0x13db
            // Female Armor
          elseif @ingump 0x5afbd742 'leather shorts'
            @pushlist 'Craft' 50
            @pushlist 'Craft' 2
            @pushlist 'Craft' 0x1c00
          elseif @ingump 0x5afbd742 'leather skirt'
            @pushlist 'Craft' 50
            @pushlist 'Craft' 9
            @pushlist 'Craft' 0x1c08
          elseif @ingump 0x5afbd742 'leather bustier'
            @pushlist 'Craft' 50
            @pushlist 'Craft' 16
            @pushlist 'Craft' 0x1c0a
          elseif @ingump 0x5afbd742 'studded bustier'
            @pushlist 'Craft' 50
            @pushlist 'Craft' 23
            @pushlist 'Craft' 0x1c0c
          elseif @ingump 0x5afbd742 'female leather armor'
            @pushlist 'Craft' 50
            @pushlist 'Craft' 30
            @pushlist 'Craft' 0x1c06
          elseif @ingump 0x5afbd742 'studded armor'
            @pushlist 'Craft' 50
            @pushlist 'Craft' 37
            @pushlist 'Craft' 0x1c02
          elseif @ingump 0x5afbd742 'thigh boots'
            @pushlist 'Craft' 29
            @pushlist 'Craft' 51
            @pushlist 'Craft' 0x1711
          elseif @ingump 0x5afbd742 'shoes'
            @pushlist 'Craft' 29
            @pushlist 'Craft' 37
            @pushlist 'Craft' 0x170f
          elseif @ingump 0x5afbd742 'sandals'
            @pushlist 'Craft' 29
            @pushlist 'Craft' 30
            @pushlist 'Craft' 0x170d
          elseif @ingump 0x5afbd742 'boots'
            @pushlist 'Craft' 29
            @pushlist 'Craft' 44
            @pushlist 'Craft' 0x170b
          else
            break
          endif
          // Define resource
          if @ingump 0x5afbd742 'barbed'
            @pushlist 'Craft' 27
            @pushlist 'Craft' 2129
          elseif @ingump 0x5afbd742 'horned'
            @pushlist 'Craft' 20
            @pushlist 'Craft' 2117
          elseif @ingump 0x5afbd742 'spined'
            @pushlist 'Craft' 13
            @pushlist 'Craft' 2220
          else
            @pushlist 'Craft' 6
            @pushlist 'Craft' 0
          endif
        endif
        // Check for leathers
        if @counttype 0x1081 Craft[4] 'backpack' < 50
          while @movetype 0x1081 'backpack' 'Restock'
            pause 1500
          endwhile
          if @movetype 0x1081 'Restock' 'backpack' 0 0 0 Craft[4] 100
            pause 1500
          else
            sysmsg 'Out of leathers!' 25
            @canceltarget
            stop
          endif
        endif
      endif
      // Search for existing items
      while @findtype Craft[2] 'any' 'backpack'
        target! 'found'
        waitfortarget 5000
        if not targetexists 'server' and @injournal 'must be exceptional' 'system'
          // Recycle this item
          if usetype! 0xf9f
            waitfortarget 5000
            target! 'found'
            pause 1500
          endif
          // Unable to recycle, trash item
          if @findobject 'found'
            @moveitem! 'found' 'Trash Barrel'
            pause 1500
          endif
          replygump 0x5afbd742 2
          waitforgump 0x5afbd742 15000
          waitfortarget 5000
          clearjournal
        endif
      endwhile
      // Craft new items if necessary
      if targetexists 'server'
        // Check tool before craft
        if not @findobject 'tool'
          break
        endif
        // Swap resource and category only once per BOD
        if not @findobject 'crafting' 'any' 'backpack'
          @setalias 'crafting' 'bod'
          // Resource
          if list 'Craft' == 5
            replygump 0x38920abd 7
            waitforgump 0x38920abd 5000
            replygump 0x38920abd Craft[3]
            waitforgump 0x38920abd 5000
          endif
          // Category
          replygump 0x38920abd Craft[0]
          waitforgump 0x38920abd 5000
        endif
        replygump 0x38920abd Craft[1]
        waitforgump 0x38920abd 5000
        pause 250
      endif
    endwhile
    // BOD is complete, move to destination
    if not targetexists 'server'
      @moveitem 'bod' 'Bulk Destination'
      // Trash BOD or missing definitions
    elseif not @findalias 'crafting'
      @moveitem 'bod' 'Trash BODs Destination'
    endif
    // Out of tools
  elseif not @movetype 0xf9d 'Restock' 'backpack'
    sysmsg 'Out of sewing kits!' 25
    @canceltarget
    stop
  endif
  pause 1500
elseif not property 'Deeds In Book: 0' 'Bulk Source'
  useobject! 'Bulk Source'
  waitforgump 0x54f555df 15000
  replygump 0x54f555df 5
  pause 1500
else
  sysmsg 'Unable to find BODs to fill.' 64
  @canceltarget
  stop
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#25 Re :   UO Steam Macro Library
7 years ago  November 06, 2016, 04:14:20 PM


Blacksmith BOD Filler - UOS Macro

Check the "Loop" option.

Configure:
- "Bulk Source": the BOD book full of BODs you wanna fill;
- "Bulk Destination": an empty BOD book you'll place filled BODs;
- "Restock" container with ingots and tongs (or smith hammers);
- "Trash BODs Destination": it can be an empty container the macro will place BODs it could not fill for a reason;
- "Trash Barrel": select your house's trash barrel.

Important:
- Your character must be nearby all selected/required containers.
- If you have configured something wrong you can just go to the Macros tab, click the "Active Objects" -> "Clear All" button and play the macro again.

Code: [Select]
// Author: Kraz
// Description: Blacksmith BOD Filler
// v2.0: (1) easier to update, read and edit craft info, (2) search, recycle and combine existing items before crafting, (3) faster crafting due to gump category swap improvements, (4) added resource handler
if not @findobject 'Bulk Source'
  promptalias 'Bulk Source'
endif
if not @findobject 'Bulk Destination'
  promptalias 'Bulk Destination'
endif
if not @findobject 'Restock'
  promptalias 'Restock'
endif
if not @findobject 'Trash BODs Destination'
  promptalias 'Trash BODs Destination'
endif
if not @findobject 'Trash Barrel'
  promptalias 'Trash Barrel'
endif
// Craft info placeholder
if not listexists 'Craft'
  @createlist 'Craft'
  // 0: Category, 1: Button, 2: Graphic, 3: Resource Button, 4: Resource Color
endif
// Search for a BOD to fill
if @findtype 0x2258 0x44E 'backpack' and @property 'small' 'found'
  // Reset craft state
  @clearlist 'Craft'
  @unsetalias 'crafting'
  // Define and open new BOD
  @setalias 'bod' 'found'
  useobject! 'bod'
  waitforgump 0x5afbd742 15000
  // Combine items
  if not targetexists 'server'
    replygump 0x5afbd742 2
    waitforgump 0x5afbd742 15000
    waitfortarget 5000
  endif
  // Check for tools
  if @findtype 0xfbb 0 'backpack' or @findtype 0x13e3 0 'backpack'
    pause 1500
    @setalias 'tool' 'found'
    useobject! 'tool'
    waitforgump 0x38920abd 15000
    // Craft
    while targetexists 'server'
      if not @findalias 'crafting'
        // Ringmail
        if @ingump 0x5afbd742 'ringmail gloves'
          @pushlist 'Craft' 1
          @pushlist 'Craft' 2
          @pushlist 'Craft' 0x13eb
        elseif @ingump 0x5afbd742 'ringmail leggings'
          @pushlist 'Craft' 1
          @pushlist 'Craft' 9
          @pushlist 'Craft' 0x13f0
        elseif @ingump 0x5afbd742 'ringmail sleeves'
          @pushlist 'Craft' 1
          @pushlist 'Craft' 16
          @pushlist 'Craft' 0x13ee
        elseif @ingump 0x5afbd742 'ringmail tunic'
          @pushlist 'Craft' 1
          @pushlist 'Craft' 23
          @pushlist 'Craft' 0x13ec
          // Chainmail
        elseif @ingump 0x5afbd742 'chainmail coif'
          @pushlist 'Craft' 8
          @pushlist 'Craft' 2
          @pushlist 'Craft' 0x13bb
        elseif @ingump 0x5afbd742 'chainmail leggings'
          @pushlist 'Craft' 8
          @pushlist 'Craft' 9
          @pushlist 'Craft' 0x13be
        elseif @ingump 0x5afbd742 'chainmail tunic'
          @pushlist 'Craft' 8
          @pushlist 'Craft' 16
          @pushlist 'Craft' 0x13bf
          // Platemail
        elseif @ingump 0x5afbd742 'platemail arms'
          @pushlist 'Craft' 15
          @pushlist 'Craft' 2
          @pushlist 'Craft' 0x1410
        elseif @ingump 0x5afbd742 'platemail gloves'
          @pushlist 'Craft' 15
          @pushlist 'Craft' 9
          @pushlist 'Craft' 0x1414
        elseif @ingump 0x5afbd742 'platemail gorget'
          @pushlist 'Craft' 15
          @pushlist 'Craft' 16
          @pushlist 'Craft' 0x1413
        elseif @ingump 0x5afbd742 'platemail legs'
          @pushlist 'Craft' 15
          @pushlist 'Craft' 23
          @pushlist 'Craft' 0x1411
        elseif @ingump 0x5afbd742 'platemail tunic'
          @pushlist 'Craft' 15
          @pushlist 'Craft' 30
          @pushlist 'Craft' 0x1415
        elseif @ingump 0x5afbd742 'female plate'
          @pushlist 'Craft' 15
          @pushlist 'Craft' 37
          @pushlist 'Craft' 0x1c04
          // Helmets
        elseif @ingump 0x5afbd742 'bascinet'
          @pushlist 'Craft' 22
          @pushlist 'Craft' 2
          @pushlist 'Craft' 0x140c
        elseif @ingump 0x5afbd742 'close helmet'
          @pushlist 'Craft' 22
          @pushlist 'Craft' 9
          @pushlist 'Craft' 0x1408
        elseif @ingump 0x5afbd742 'helmet'
          @pushlist 'Craft' 22
          @pushlist 'Craft' 16
          @pushlist 'Craft' 0x140a
        elseif @ingump 0x5afbd742 'norse helm'
          @pushlist 'Craft' 22
          @pushlist 'Craft' 23
          @pushlist 'Craft' 0x140e
        elseif @ingump 0x5afbd742 'plate helm'
          @pushlist 'Craft' 22
          @pushlist 'Craft' 30
          @pushlist 'Craft' 0x1412
          // Shields
        elseif @ingump 0x5afbd742 'buckler'
          @pushlist 'Craft' 29
          @pushlist 'Craft' 2
          @pushlist 'Craft' 0x1b73
        elseif @ingump 0x5afbd742 'bronze shield'
          @pushlist 'Craft' 29
          @pushlist 'Craft' 9
          @pushlist 'Craft' 0x1b72
        elseif @ingump 0x5afbd742 'heater shield'
          @pushlist 'Craft' 29
          @pushlist 'Craft' 16
          @pushlist 'Craft' 0x1b76
        elseif @ingump 0x5afbd742 'metal shield'
          @pushlist 'Craft' 29
          @pushlist 'Craft' 23
          @pushlist 'Craft' 0x1b7b
        elseif @ingump 0x5afbd742 'metal kite shield'
          @pushlist 'Craft' 29
          @pushlist 'Craft' 30
          @pushlist 'Craft' 0x1b74
        elseif @ingump 0x5afbd742 'tear kite shield'
          @pushlist 'Craft' 29
          @pushlist 'Craft' 37
          @pushlist 'Craft' 0x1b79
          // Bladed
        elseif @ingump 0x5afbd742 'broadsword'
          @pushlist 'Craft' 36
          @pushlist 'Craft' 9
          @pushlist 'Craft' 0xf5e
        elseif @ingump 0x5afbd742 'cutlass'
          @pushlist 'Craft' 36
          @pushlist 'Craft' 23
          @pushlist 'Craft' 0x1441
        elseif @ingump 0x5afbd742 'dagger'
          @pushlist 'Craft' 36
          @pushlist 'Craft' 30
          @pushlist 'Craft' 0xf52
        elseif @ingump 0x5afbd742 'katana'
          @pushlist 'Craft' 36
          @pushlist 'Craft' 37
          @pushlist 'Craft' 0x13ff
        elseif @ingump 0x5afbd742 'kryss'
          @pushlist 'Craft' 36
          @pushlist 'Craft' 44
          @pushlist 'Craft' 0x1401
        elseif @ingump 0x5afbd742 'longsword'
          @pushlist 'Craft' 36
          @pushlist 'Craft' 51
          @pushlist 'Craft' 0xf61
        elseif @ingump 0x5afbd742 'scimitar'
          @pushlist 'Craft' 36
          @pushlist 'Craft' 58
          @pushlist 'Craft' 0x13b6
        elseif @ingump 0x5afbd742 'viking sword'
          @pushlist 'Craft' 36
          @pushlist 'Craft' 65
          @pushlist 'Craft' 0x13b9
          // Axes
        elseif @ingump 0x5afbd742 'large battle axe'
          @pushlist 'Craft' 43
          @pushlist 'Craft' 30
          @pushlist 'Craft' 0x13fb
        elseif @ingump 0x5afbd742 'double axe'
          @pushlist 'Craft' 43
          @pushlist 'Craft' 16
          @pushlist 'Craft' 0xf4b
        elseif @ingump 0x5afbd742 "executioner's axe"
          @pushlist 'Craft' 43
          @pushlist 'Craft' 23
          @pushlist 'Craft' 0xf45
        elseif @ingump 0x5afbd742 'battle axe'
          @pushlist 'Craft' 43
          @pushlist 'Craft' 9
          @pushlist 'Craft' 0xf47
        elseif @ingump 0x5afbd742 'two handed axe'
          @pushlist 'Craft' 43
          @pushlist 'Craft' 37
          @pushlist 'Craft' 0x1443
        elseif @ingump 0x5afbd742 'war axe'
          @pushlist 'Craft' 43
          @pushlist 'Craft' 44
          @pushlist 'Craft' 0x13b0
        elseif @ingump 0x5afbd742 'axe'
          @pushlist 'Craft' 43
          @pushlist 'Craft' 2
          @pushlist 'Craft' 0xf49
          // Polearms
        elseif @ingump 0x5afbd742 'bardiche'
          @pushlist 'Craft' 50
          @pushlist 'Craft' 2
          @pushlist 'Craft' 0xf4d
        elseif @ingump 0x5afbd742 'halberd'
          @pushlist 'Craft' 50
          @pushlist 'Craft' 23
          @pushlist 'Craft' 0x143e
        elseif @ingump 0x5afbd742 'short spear'
          @pushlist 'Craft' 50
          @pushlist 'Craft' 44
          @pushlist 'Craft' 0x1403
        elseif @ingump 0x5afbd742 'spear'
          @pushlist 'Craft' 50
          @pushlist 'Craft' 58
          @pushlist 'Craft' 0xf62
        elseif @ingump 0x5afbd742 'war fork'
          @pushlist 'Craft' 50
          @pushlist 'Craft' 65
          @pushlist 'Craft' 0x1405
          // Bashing
        elseif @ingump 0x5afbd742 'war mace'
          @pushlist 'Craft' 57
          @pushlist 'Craft' 30
          @pushlist 'Craft' 0x1407
        elseif @ingump 0x5afbd742 'hammer pick'
          @pushlist 'Craft' 57
          @pushlist 'Craft' 2
          @pushlist 'Craft' 0x143d
        elseif @ingump 0x5afbd742 'mace'
          @pushlist 'Craft' 57
          @pushlist 'Craft' 9
          @pushlist 'Craft' 0xf5c
        elseif @ingump 0x5afbd742 'maul'
          @pushlist 'Craft' 57
          @pushlist 'Craft' 16
          @pushlist 'Craft' 0x143b
        elseif @ingump 0x5afbd742 'war hammer'
          @pushlist 'Craft' 57
          @pushlist 'Craft' 37
          @pushlist 'Craft' 0x1439
        else
          break
        endif
        // Define resource
        if @ingump 0x5afbd742 'valorite'
          @pushlist 'Craft' 62
          @pushlist 'Craft' 2219
        elseif @ingump 0x5afbd742 'verite'
          @pushlist 'Craft' 55
          @pushlist 'Craft' 2207
        elseif @ingump 0x5afbd742 'agapite'
          @pushlist 'Craft' 48
          @pushlist 'Craft' 2425
        elseif @ingump 0x5afbd742 'gold'
          @pushlist 'Craft' 41
          @pushlist 'Craft' 2213
        elseif @ingump 0x5afbd742 'bronze ingots'
          @pushlist 'Craft' 34
          @pushlist 'Craft' 2418
        elseif @ingump 0x5afbd742 'shadow iron'
          @pushlist 'Craft' 20
          @pushlist 'Craft' 2406
        elseif @ingump 0x5afbd742 'dull copper'
          @pushlist 'Craft' 13
          @pushlist 'Craft' 2419
        elseif @ingump 0x5afbd742 'copper'
          @pushlist 'Craft' 27
          @pushlist 'Craft' 2413
        else
          @pushlist 'Craft' 6
          @pushlist 'Craft' 0
        endif
      endif
      // Check for ingots
      if @counttype 0x1bf2 Craft[4] 'backpack' < 50
        while @movetype 0x1bf2 'backpack' 'Restock'
          pause 1500
        endwhile
        if @movetype 0x1bf2 'Restock' 'backpack' 0 0 0 Craft[4] 100
          pause 1500
        else
          sysmsg 'Out of ingots!' 25
          @canceltarget
          stop
        endif
      endif
      // Search for existing items
      while @findtype Craft[2] Craft[4] 'backpack'
        target! 'found'
        waitfortarget 5000
        if not targetexists 'server' and @injournal 'must be exceptional' 'system'
          // Recycle this item
          replygump 0x38920abd 14
          waitfortarget 5000
          target! 'found'
          pause 1500
          // Unable to recycle, trash item
          if @findobject 'found'
            @moveitem! 'found' 'Trash Barrel'
            pause 1500
          endif
          replygump 0x5afbd742 2
          waitforgump 0x5afbd742 15000
          waitfortarget 5000
          clearjournal
        endif
      endwhile
      // Craft new items if necessary
      if targetexists 'server'
        // Check tool before craft
        if not @findobject 'tool'
          break
        endif
        // Swap resource and category only once per BOD
        if not @findobject 'crafting' 'any' 'backpack'
          @setalias 'crafting' 'bod'
          // Resource
          if list 'Craft' == 5
            replygump 0x38920abd 7
            waitforgump 0x38920abd 5000
            replygump 0x38920abd Craft[3]
            waitforgump 0x38920abd 5000
          endif
          // Category
          replygump 0x38920abd Craft[0]
          waitforgump 0x38920abd 5000
        endif
        replygump 0x38920abd Craft[1]
        waitforgump 0x38920abd 5000
        pause 250
      endif
    endwhile
    // BOD is complete, move to destination
    if not targetexists 'server'
      @moveitem 'bod' 'Bulk Destination'
      // Trash BOD or missing definitions
    elseif not @findalias 'crafting'
      @moveitem 'bod' 'Trash BODs Destination'
    endif
    // Out of tools
  elseif not @movetype 0xfbb 'Restock' 'backpack' and not @movetype 0x13e3 'Restock' 'backpack'
    sysmsg 'Out of tongs and smith hammers!' 25
    @canceltarget
    stop
  endif
  pause 1500
elseif not property 'Deeds In Book: 0' 'Bulk Source'
  useobject! 'Bulk Source'
  waitforgump 0x54f555df 15000
  replygump 0x54f555df 5
  pause 1500
else
  sysmsg 'Unable to find BODs to fill.' 64
  @canceltarget
  stop
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#26 Re :   UO Steam Macro Library
7 years ago  November 06, 2016, 04:15:37 PM


Simple Cross Heal - UOS Macro

Check the "Do not auto interrupt" option and assign a hotkey.

Code: [Select]
// Author: Di
// Description: seek low hp friend, miniheal, disrupt paralyze and invisibility if mortaled
// Seek
@unsetalias 'target'
for 15
  @getfriend 'humanoid' 'transformation' 'friend'
  if not @findobject 'friend'
    break
  elseif @inrange 'friend' 10 and not dead 'friend'
    if criminal 'friend' or murderer 'friend'
      if @inregion 'guards' 'friend'
        continue
      endif
    endif
    if not @findobject 'target' or hits 'target' > hits 'friend'
      @setalias 'target' 'friend'
    endif
  endif
endfor
@setalias 'friend' 'target'
// Help
if @findobject 'friend' and not dead 'friend'
  if targetexists 'beneficial'
    target! 'friend'
  endif
  if paralyzed 'friend'
    cast 'clumsy' 'friend'
  elseif yellowhits 'friend'
    cast 'invisibility' 'friend'
  else
    miniheal 'friend'
  endif
  while waitingfortarget
    if criminal 'friend' or murderer 'friend'
      if @inregion 'guards' 'friend'
        sysmsg 'Target cancelled, guards zone!' 55
        cancelautotarget
        break
      endif
    endif
  endwhile
else
  headmsg '* No friend *' 25
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#27 Re :   UO Steam Macro Library
6 years ago  April 06, 2018, 04:58:51 PM

Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Luckbox
Offline
33 Posts
#28 Re :   UO Steam Macro Library
6 years ago  April 25, 2018, 01:59:53 PM

This is my macro for dyeing items much quicker, without the need to retarget item after using each tub.
Launch macro, target item you want to dye once, then just keep doubleclicking tubs. This way you can also dye your ethy without need to remount each time.

Code: [Select]
headmsg 'Choose item' promptalias 'item'
headmsg 'Keep clicking tubs'
while not dead
  while not targetexists 'any'
    pause 10
  endwhile
  target! 'item'
endwhile

Evolution
Offline
1295 Posts
#29 Re :   UO Steam Macro Library
5 years ago  August 13, 2018, 05:28:50 PM


Top UO Steam Macros on UO Evolution Shard
www.uoevolution.com


//Angelic Faith Buff
//Make sure you are in Human Form
cast "Vampiric Embrace"
pause 3500
msg '[cs angelicfaith'
pause 10000
cast "Vampiric Embrace"


//MiniHeal Self
if diffhits > 1
  miniheal
endif


//Bless Self
cast "Bless"
waitfortarget 15000
target! 'self'


//Eat Enchanted Apple
usetype '0x2fd8'


//Gift of Renewal Self
cast 'gift of renewal'
waitfortarget 15000
target! 'self'


----------
Offensive- Make sure you set your target as enemy for these
----------
//Set Enemy
//Use this and Target who you want to kill
setalias 'enemy'
 
//Curse Enemy
 if inrange 'enemy' 10
  cast 'Curse' 'enemy'
  while waitingfortarget
    clearjournal
  endwhile
 
//Strangle Enemy
if inrange 'enemy' 10
  cast 'Strangle' 'enemy'
  while waitingfortarget
    clearjournal
  endwhile


//Evil Omen Enemy
if inrange 'enemy' 10
  cast 'Evil Omen' 'enemy'
  while waitingfortarget
  endwhile
 
//Magic Arrow Enemy
if inrange 'enemy' 10
  cast 'Magic Arrow' 'enemy'
  while waitingfortarget
  endwhile
 
//Poison Enemy
if inrange 'enemy' 10
  cast 'Poison ' 'enemy'
  while waitingfortarget
  endwhile
 
//Cast Harm Enemy (must be 1 tile away)
if inrange 'enemy' 1
  cast 'harm' 'enemy'
  while waitingfortarget
  endwhile
endif


//Fireball Enemy
if inrange 'enemy' 10
  cast 'fireball' 'enemy'
  while waitingfortarget
  endwhile
endif
 
//Lightning Enemy
if inrange 'enemy' 10
  cast 'lightning' 'enemy'
  while waitingfortarget
  endwhile
endif


//Explosion Enemy
if inrange 'enemy' 10
  cast 'Explosion' 'enemy'
  while waitingfortarget
  endwhile
endif
 
//Energy Bolt Enemy
if inrange 'enemy' 10
  cast 'Energy Bolt' 'enemy'
  while waitingfortarget
  endwhile
endif


//Flamestrike Enemy
if inrange 'enemy' 10
  cast 'Flame Strike' 'enemy'
  while waitingfortarget
  endwhile
endif
 
//Explosion Flamestrike Enemy
if inrange 'enemy' 10
  cast 'Explosion' 'enemy'
  while waitingfortarget
  endwhile
endif
pause 500
if inrange 'enemy' 10
  cast 'Flame strike' 'enemy'
  while waitingfortarget
  endwhile
endif


//Toggle Triple Slash
//Make sure gump is up
replygump 0x7ec42f38 1000


//Toggle Shield Spike
//Make sure gump is up
replygump 0x4239a64f 1006


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#30 Re :   UO Steam Macro Library
4 years ago  May 07, 2019, 02:04:28 AM

//Animal Lore trainer by Radament
//v1.0
if not findalias 'animal' 
msg 'Choose animal to begin training' 
prompt alias 'animal'
endif
useskill 'Animal Lore'
waitfortarget 15000
target! 'animal'


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#31 Re :   UO Steam Macro Library
4 years ago  March 30, 2020, 10:36:28 AM

//Infernos Target and attack nearest enemy (champ macro)
getenemy 'criminal''enemy''grey''red''murderer''closest'
if @findobject 'enemy'
  autotargetobject! 'enemy'
  setability 'secondary' on
  attack! 'enemy'
  target! 'enemy'
  @clearusequeue
  @cancelautotarget
  stop
endif
//


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#32 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:23:00 AM


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#33 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:23:49 AM

how do i target the tile in front of me 
targettileoffset 1 0 0

Psylus 03/14/2021
targettilerelative (serial) (range) [reverse = 'true' or 'false'] [graphic]


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#34 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:25:01 AM

//Get that enemy bar lightning fast//
@getenemy 'murderer'  'criminal' 'closest'
pause 100
paperdoll 'enemy'
pause 100
// change x value based on your screen resolution -40
clickscreen! 1880 265


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#35 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:27:48 AM

/////////////////////////
//Author: Maelune
//Title: [claim -c w/ Master Keys
//
//Usage: If you don't have master keys, change macro to use
//       your storage key(s) or use a bank crystal!
//
//       Do Not Loop!
/////////////////////////
//Master Keys
if not timerexists 'ffp'
  createtimer 'ffp'
  settimer 'ffp' 1000
endif
//Skin corpse using [claim -c
while @findtype 0x2006 'any' 'ground' 'any' 2
  setalias 'corpse' 'found'
  msg '[claim -c'
  waitfortarget 1200
  @target 'corpse'
  ignoreobject 'corpse'
  if timer 'ffp' > 1000 //also Master Keys
    msg '[ffp'
    settimer 'ffp' 0
  endif
endwhile
//gold vacuum
while @findtype 0xeed '0' 'backpack' or @findtype 0xeed '0' 'ground'
  useobject 'found'
  ignoreobject 'found'
endwhile
pause 200
@target 'self' //clears target cursor
//final Master Key sub
while @findtype 0x1079 'any' 'backpack'
  pause 150
  while @findtype 0x1079 'any' 'backpack'
    msg '[ffp'
  endwhile
endwhile
clearignorelist


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#36 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:28:05 AM

//skin stuff
while @findtype 0x2006 'any' 'ground' 'any' 2
  setalias 'corpse' 'found'
  if @findtype 0x13f6 2419 'backpack'
    useobject 'found'
    waitfortarget 5000
    @target 'corpse'
  endif
  ignoreobject 'corpse'
endwhile
clearignorelist


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#37 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:34:38 AM

Here's a script to detect quest items on the ground for the Reagent Key quest. Copy and paste into UOS.

UO Evolution Shard


//-------Silly Apprentice ----------Quest Items
if @findtype 0x13f8 '1153' 'ground'
  headmsg 'Whitewood Stick' 35 'found'
  playsound 43
  pause 1000
endif
if @findtype 0x1366 '0' 'ground'
  headmsg 'Sharpening Stone' 35 'found'
  playsound 43
  pause 1000
endif
if @findtype 0x122a '2151' 'ground'
  headmsg 'Melted Blue Wax' 35 'found'
  playsound 43
  pause 1000
endif
if @findtype 0x122c '2151' 'ground'
  headmsg 'Melted Blue Wax' 35 'found'
  playsound 43
  pause 1000
endif
if @findtype 0x122d '2151' 'ground'
  headmsg 'Melted Blue Wax' 35 'found'
  playsound 43
  pause 1000
endif
if @findtype 0x122e '2151' 'ground'
  headmsg 'Melted Blue Wax' 35 'found'
  playsound 43
  pause 1000
endif
if @findtype 0x122b '2151' 'ground'
  headmsg 'Melted Blue Wax' 35 'found'
  playsound 43
  pause 1000
endif
if @findtype 0x18df '1822' 'ground'
  headmsg 'Sandlewood Root' 35 'found'
  playsound 43
  pause 1000
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#38 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:35:04 AM

//This macro will steal a bag from a bag on the ground,
//then after 10 attempts, will pick the bag up and replace
//it on the ground. Just gotta edit the bag types, and the
//positioning of the bag. Default is 1 tile in front of the character facing south.
for 10
  useskill 'stealing'
  waitfortarget 15000
  target! 0x407dbbf7 //edit to the bag your stealing
  moveitem 0x407753c6 'backpack' 44 72 0 // //edit to the bag your stealing
  pause 600
  moveitem 0x407dbbf7 0x403049a0 //edit to the bag your stealing
  pause 600
  pause 11000
endfor
moveitem 0x403049a0 'backpack' 48 65 0 //edit to the bag on the ground
pause 2000
moveitem 0x403049a0 'ground' 1802 2818 255 //edit to the bag on the ground
pause 600


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#39 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:35:38 AM

Nice little macro to stock up on bandaids in new haven

while weight < 400
  replygump 0xfcc8d6e3 1
  pause 400
  replygump 0x709c9a52 2
  pause 400
endwhile


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#40 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:35:54 AM

UO Steam Easter Egg Quest
[7:00 AM]
if @findtype 0x9b5 'any' 'ground' 'any'
  headmsg 'egg' 35 'found'
  playsound 42
  pause 1000
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#41 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:45:11 AM

Macro for Jewelry Looting/sorting
https://pastebin.com/auyLDF96


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#42 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:48:27 AM

This is a nice collection of UOS Macros, this was not specifically for UO Evolutions so some of these scrips will need modification

uosteam/resource at master · her/uosteam · GitHub


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#43 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:49:44 AM

Updated macro for training Begging!

https://pastebin.com/ZBszyPbY


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#44 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:51:10 AM

//stealing from pack animal
if not @findobject pack
  @getfriend 'any' 'closest'
  if @findtype 0xe75 'any' friend
    useobject found
    setalias 'pack' 'found'
  endif
endif
@movetype 0xe21 'backpack' pack 0 0 0 'any' 'any' 0
pause 1000
if @findtype 0xe21 'any' friend
  useskill 'Stealing'
  waitfortarget 2000
  target! found
  pause 1000
else
  unsetalias 'pack'
  pause 1000
  replay
endif
pause 9000


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#45 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:52:26 AM

Here is a copy of the original UOSteam's script documentation

https://drive.google.com/file/d/1i5jU985b0BXenYgyqf0n_ywIqW0oExCk/view?usp=sharing


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#46 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:53:33 AM

  1. ////////////////////////////

  2. //Title: Macro for taming the closest animal

  3. //Author: Maelune

  4. //

  5. //Requirements: Taming!

  6. //A pet leash!

  7. //

  8. //Instructions: Stand near a thing you want to tame and start up this macro.

  9. //Do not have loop checked. If it is a hostile mob, you may need

  10. //to slowly walk away to avoid it hitting you with physical dmg

  11. //and thus hitting itself with reflecting damage and interrupting

  12. //the taming process.

  13. //

  14. //Notes: Still in beta, if something doesn't seem to be working,

  15. //contact author!

  16. ////////////////////////////

  17. clearjournal

  18. @unsetalias 'tamable'

  19. if not findalias 'tamable'

  20. @getenemy 'murderer' 'enemy' 'gray' 'criminal' 'closest'

  21. @setalias 'tamable' 'enemy'

  22. endif

  23. while findalias 'tamable'

  24. while not @injournal 'start to tame' or @injournal 'to continue taming'

  25. useskill 'animal taming'

  26. waitfortarget 5000

  27. target! 'tamable'

  28. warmode 'on'

  29. warmode 'off'

  30. warmode 'on'

  31. if property 'Loyalty' 'tamable' == "Wonderfully Happy"

  32. pause 150

  33. msg 'All stop'

  34. pause 500

  35. usetype 0x1374 'any' 'backpack'

  36. waitfortarget 5000

  37. target! 'tamable'

  38. pause 250

  39. clearjournal

  40. elseif not @findobject 'tamable'

  41. unsetalias 'tamable'

  42. clearjournal

  43. stop

  44. endif

  45. endwhile

  46. //clearjournal

  47. //endwhile

  48. if property 'Loyalty' 'tamable' == "Wonderfully Happy"

  49. pause 150

  50. msg 'All stop'

  51. pause 500

  52. usetype 0x1374 'any' 'backpack'

  53. waitfortarget 5000

  54. target! 'tamable'

  55. pause 250

  56. @unsetalias 'tamable'

  57. endif

  58. if not @findobject 'tamable'

  59. @unsetalias 'tamable'

  60. endif

  61. endwhile

  62. clearjournal

  63. stop


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#47 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:54:43 AM

This is a Lockpicking Macro for UO Evolution Shard

@clearjournal
if counttype 0x14fc '' 'backpack' > 0
  usetype 0x14fc '' 'backpack'
  waitfortarget 15000
  if skill 'lockpicking' == 100
    stop
  elseif skill 'lockpicking' < 30
    target! 0x422a6716
  elseif skill 'lockpicking' < 40
    target! 0x404b8cc1
  elseif skill 'lockpicking' < 50
    target! 0x405ceb71
  elseif skill 'lockpicking' < 60
    target! 0x405ced38
  elseif skill 'lockpicking' < 70
    target! 0x405cee53
  elseif skill 'lockpicking' < 80
    target! 0x405cef6e
  elseif skill 'lockpicking' < 90
    target! 0x405cf09f
  elseif skill 'lockpicking' < 100
    target! 0x405cf1c4
  else
    headmsg 'OUT of Picks'
    playsound 25
    stop
  endif
  Pause 4000
  if @injournal 'the lock quickly yeilds' 'system' or @injournal 'This does not appear to be locked.' 'system'
    @clearjournal
    usetype 0x100e '' 'backpack'
    waitfortarget 15000
    target! 0x419166d5
    pause 1000
  endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#48 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:57:03 AM

Player made macro repository for UO Evolution?

https://drive.google.com/open?id=1OWFa8wRwRJtIgHu_5FNhmmXDm9X9HX5G


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#49 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:58:37 AM

  1. ////////////////////////////

  2. //Title: Macro for spamming Volcanic Eruption

  3. //Author: Maelune

  4. //

  5. //Requirements: Spellweaving Spellbook

  6. // Tome of Nature

  7. // 100% LRC

  8. // 120+ Animal Taming

  9. // 140+ Animal Lore

  10. // 120+ Spellweaving

  11. //

  12. //Instructions: Stand still and run the macro on loop! Advisable to be in

  13. //Wraith Form, but not required.

  14. //

  15. //Notes: Still in beta, if something doesn't seem to be working,

  16. //contact author!

  17. ////////////////////////////

  18. //Self buffs!

  19. if not buffexists 'protection'

  20. cast 'protection'

  21. pause 500

  22. endif

  23. if not buffexists 'bless'

  24. cast 'bless'

  25. waitfortarget 5000

  26. target! 'self'

  27. pause 250

  28. endif

  29. if not buffexists 'gift of life'

  30. cast 'gift of life'

  31. waitfortarget 5000

  32. target! 'self'

  33. pause 250

  34. endif

  35. //timers!

  36. if not timerexists 'enchantedgrove'

  37. createtimer 'enchantedgrove'

  38. settimer 'enchantedgrove' 13000

  39. endif

  40. if not timerexists 'evasion'

  41. createtimer 'evasion'

  42. settimer 'evasion' 22000

  43. endif

  44. if not timerexists 'wildfire'

  45. createtimer 'wildfire'

  46. settimer 'wildfire' 5000

  47. endif

  48. //Spells!

  49. //if timer 'enchantedgrove' > 13000

  50. // msg "[cs enchantedgrove"

  51. // waitfortarget 8500

  52. // target! 'self'

  53. // settimer 'enchantedgrove' 0

  54. // pause 100

  55. //endif

  56. if timer 'evasion' > 22000

  57. cast 'evasion'

  58. settimer 'evasion' 0

  59. pause 500

  60. endif

  61. if timer 'wildfire' > 5000

  62. cast "Wildfire"

  63. waitfortarget 15000

  64. target! 'self'

  65. settimer 'wildfire' 0

  66. pause 100

  67. else

  68. msg '[cs volcaniceruption'

  69. waitfortarget 15000

  70. target! 'self'

  71. pause 100

  72. endif

  73. @getenemy 'murderer' 'enemy' 'gray' 'criminal' 'closest'

  74. if @findobject 'enemy' and @inrange 'enemy' 10

  75. if hits 'enemy' == maxhits 'enemy'

  76. virtue 'honor'

  77. waitfortarget 5000

  78. target! 'enemy'

  79. pause 300

  80. endif

  81. endif

  82. //@setability 'secondary' 'on'

  83. //clearability

  84. @setability 'primary' 'on'

  85. attack! 'enemy'


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#50 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 11:59:27 AM

  1. ////******************************************************////

  2. //Title: Double Axe Whirlwind

  3. //Author: Maelune

  4. //Version: 1.0

  5. //Purpose: Automatically equip your axe, select the closest target, and

  6. // begin whirlwinding!

  7. //

  8. //Requirements: A Double Axe

  9. //

  10. //Instructions: Copy this entire text into a UOSteam Macro! Replace the serial

  11. // ID of the axe at the beginning of the macro with that of your own.

  12. //

  13. //Notes: This macro will constantly be trying to switch to the nearest target

  14. // in order to keep your character whirlwinding as much as possible.

  15. // Several of the buffs are turned off by default due to long cast

  16. // times. They can be useful though depending on what you fight.

  17. // Uncomment the ones you'd like to use!

  18. ////******************************************************////

  19. if not @findobject 'axe'

  20. @setalias 'axe' 0x4296e090 //Replace me with your axe's serial!

  21. endif

  22. ////******************************************************////

  23. clearignorelist

  24. while @getenemy 'murderer' 'enemy' 'gray' 'criminal' 'closest'

  25. while @findobject 'axe' 'any' 'backpack'

  26. clearhands right //Uncomment this one if 1handed axe

  27. //clearhands both //Uncomment this one if 2handed axe

  28. pause 300

  29. equipitem 'axe' 1

  30. endwhile

  31. attack! 'enemy'

  32. if mana >= 10

  33. @setability 'secondary' 'on'

  34. endif

  35. //***Self Buffs. Comment or uncomment to your liking!***//

  36. if not timerexists 'ConsecrateWeaponTimer'

  37. createtimer 'ConsecrateWeaponTimer'

  38. settimer 'ConsecrateWeaponTimer' 9000

  39. elseif timer 'ConsecrateWeaponTimer' > 9000

  40. cast 'Consecrate Weapon'

  41. pause 1000

  42. settimer 'ConsecrateWeaponTimer' 0

  43. endif

  44. if buffexists 'Polymorph'

  45. cast 'Polymorph'

  46. pause 1000

  47. endif

  48. //**************auto-cast Vamp Embrace*****************//

  49. //*****Causes strangeness if you were in Wraith Form*****

  50. //if @findtype 0x25e 'any' 'self'

  51. // if color < 33918 or color > 33918

  52. // cast 'vampiric embrace'

  53. // pause 2500

  54. // endif

  55. //endif

  56. //////*******************************************////////

  57. attack! 'enemy'

  58. endwhile


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#51 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:05:26 PM

if not @findtype 0xe21 'any' 'backpack'
  headmsg 'Get more bandaids!'
  stop
endif
while skill 'Veterinary' > 100
  if findtype 0xf8 'any' 'ground'
    if hits 'found' < 40
      usetype 0xe21 'any' 'backpack'
      waitfortarget 15000
      target! 'found'
      pause 6000
    endif
    if hits 'found' > 40
      cast 'magic arrow'
      waitfortarget 15000
      target! 'found'
      pause 1000
    endif
  endif
endwhile


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#52 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:11:15 PM

this will look for corpses then add them to your [event or [task automatically if needed for either.   alternately you could add the event/task sections to your already existing jewelry looter macro just above the ignore/unset area at the bottom after looting corpses:

if @findtype 0x2006 'any' 'ground' 1 2
  @useobject! 'found'
  @setalias 'Corpse' 'found'
  pause 500
  // today event
  msg '[today'
  waitforgump 0x7432b553 2000
  replygump 0x7432b553 1000
  waitfortarget 500
  target! 'Corpse'
  canceltarget
// task 
  msg '[tasktarget'
  waitfortarget 2000
  target! 'Corpse'
  pause 100
  canceltarget
  @ignoreobject 'Corpse'
  @unsetalias 'Corpse'
endif
pause 1000


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#53 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:14:04 PM

//       Uncomment the ones you'd like to use!
////**////
if not @findobject 'axe'
  @setalias 'axe' 0x41721e14 //Replace me with your axe's serial!
endif
////**////
clearignorelist
while @getenemy 'murderer' 'enemy' 'gray' 'criminal' 'closest'
  while @findobject 'axe' 'any' 'backpack'
    clearhands right //Uncomment this one if 1handed axe
    //clearhands both //Uncomment this one if 2handed axe
    pause 300
    equipitem 'axe' 1
  endwhile
  attack! 'enemy'
  if mana >= 10
    @setability 'secondary' 'on'
  endif
  //Self Buffs. Comment or uncomment to your liking!//
  if not timerexists 'ConsecrateWeaponTimer'
    createtimer 'ConsecrateWeaponTimer'
    settimer 'ConsecrateWeaponTimer' 9000
  elseif timer 'ConsecrateWeaponTimer' > 9000
    cast 'Consecrate Weapon'
    pause 1000
    settimer 'ConsecrateWeaponTimer' 0
  endif
  if buffexists 'Polymorph'
    cast 'Polymorph'
    pause 1000
  endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#54 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:18:20 PM

Leather skinning macro for UO Evolution

/////////////////////////
//Author: Maelune
//Title: [claim -c w/ Master Keys
//
//Usage: If you don't have master keys, change macro to use 
//       your storage key(s) or use a bank crystal!
//       
//       Do Not Loop!
/////////////////////////
//Master Keys
if not timerexists 'ffp'
  createtimer 'ffp'
  settimer 'ffp' 1000
endif
//Skin corpse using [claim -c
while @findtype 0x2006 'any' 'ground' 'any' 2
  setalias 'corpse' 'found'
  msg '[claim -c'
  waitfortarget 1200
  @target 'corpse'
  ignoreobject 'corpse'
  if timer 'ffp' > 1000 //also Master Keys
    msg '[ffp'
    settimer 'ffp' 0
  endif
endwhile
//gold vacuum
while @findtype 0xeed '0' 'backpack' or @findtype 0xeed '0' 'ground'
  useobject 'found'
  ignoreobject 'found'
endwhile
pause 200
@target 'self' //clears target cursor
//final Master Key sub
while @findtype 0x1079 'any' 'backpack'
  pause 150
  while @findtype 0x1079 'any' 'backpack'
    msg '[ffp'
  endwhile
endwhile
clearignorelist


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#55 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:20:09 PM

//Alamiester's Chest Cleaner v0.6//
//30July2017

unsetalias 'Chest'
if not @findobject 'Chest'
  promptalias 'Chest'
endif
@removelist 'Loot'
@removelist 'Ammo'
@removelist 'Gems'
@removelist 'Regs'
@removelist 'Armor'
@removelist 'Weapons'
@removelist 'Scrolls'
@removelist 'Jewelry'
@removelist 'Tools'
@removelist 'Potions'
@removelist 'Trash'
////// Select Bags //////
if not @findobject 'AmmoBag'
  headmsg 'Select a bag for Ammo'
  promptalias 'AmmoBag'
endif
if not @findobject 'GemBag'
  headmsg 'Select a bag for Gems'
  promptalias 'GemBag'
endif
if not @findobject 'RegBag'
  headmsg 'Select a bag for Reagents'
  promptalias 'RegBag'
endif
if not @findobject 'ArmorBag'
  headmsg 'Select a bag for Armor'
  promptalias 'ArmorBag'
endif
if not @findobject 'WeapBag'
  headmsg 'Select a bag for Weapons'
  promptalias 'WeapBag'
endif
if not @findobject 'ScrollBag'
  headmsg 'Select a bag for Scrolls'
  promptalias 'ScrollBag'
endif
if not @findobject 'JewBag'
  headmsg 'Select a bag for Jewelry'
  promptalias 'JewBag'
endif
if not @findobject 'ToolBag'
  headmsg 'Select a bag for Tools'
  promptalias 'ToolBag'
endif
if not @findobject 'PotBag'
  headmsg 'Select a bag for Potions'
  promptalias 'PotBag'
endif
if not @findobject 'TrashBag'
  headmsg 'Select a bag for Trash'
  promptalias 'TrashBag'
endif
/// Create item lists ///
if not listexists 'Loot'
  createlist 'Loot'
endif
if not listexists 'Ammo'
  createlist 'Ammo'
endif
if not listexists 'Gems'
  createlist 'Gems'
endif
if not listexists 'Regs'
  createlist 'Regs'
endif
if not listexists 'Armor'
  createlist 'Armor'
endif
if not listexists 'Weapons'
  createlist 'Weapons'
endif
if not listexists 'Scrolls'
  createlist 'Scrolls'
endif
if not listexists 'Jewelry'
  createlist 'Jewelry'
endif
if not listexists 'Tools'
  createlist 'Tools'
endif
if not listexists 'Potions'
  createlist 'Potions'
endif
if not listexists 'Trash'
  createlist 'Trash'
endif
pause 2500
////// Identify items in lists //////
////// Loot List //////
@pushlist 'Loot' 0x14ec // Treasure Map
@pushlist 'Loot' 0xe24  // Ointments
@pushlist 'Loot' 0xeed  // Gold
////// Ammo List //////
@pushlist 'Ammo' 0xf3f  //Arrows
@pushlist 'Ammo' 0x1bfb //Crossbow Bolt
////// Gems List //////
@pushlist 'Gems' 0xf10 // Emerald
@pushlist 'Gems' 0xf13 // Ruby
@pushlist 'Gems' 0xf15 // Citrine
@pushlist 'Gems' 0xf16 // Amethyst
@pushlist 'Gems' 0xf19 // Sapphire
@pushlist 'Gems' 0xf21 // Star Sapphire
@pushlist 'Gems' 0xf25 // Amber
@pushlist 'Gems' 0xf26 // Diamond
@pushlist 'Gems' 0xf2d // Tourmaline
////// Regs List //////
@pushlist 'Regs' 0xf7a // Black Pearl
@pushlist 'Regs' 0xf7b // Blood Moss
@pushlist 'Regs' 0xf7d // Daemon Blood
@pushlist 'Regs' 0xf78 // Batwing
@pushlist 'Regs' 0xf84 // Garlic
@pushlist 'Regs' 0xf85 // Ginseng
@pushlist 'Regs' 0xf86 // Mandrake Root
@pushlist 'Regs' 0xf88 // Nightshade
@pushlist 'Regs' 0xf8a // Pig Iron
@pushlist 'Regs' 0xf8c // Sulphurous Ash
@pushlist 'Regs' 0xf8d // Spider's Silk
@pushlist 'Regs' 0xf8f // Grave Dust
@pushlist 'Regs' 0xf8e // Nox Crystal
////// Armor Lists //////
////// Shields //////
@pushlist 'Armor' 0x1b72 // Bronze Shield
@pushlist 'Armor' 0x1b73
@pushlist 'Armor' 0x1b74 // Metal Kite Shield
@pushlist 'Armor' 0x1b76 // Heater Shield
@pushlist 'Armor' 0x1b79 // Tear Kite Shield
@pushlist 'Armor' 0x1b7a // Wooden Shield
@pushlist 'Armor' 0x1b7b  // Metal Shield
////// Platemail //////
@pushlist 'Armor' 0x140a // Helmet
@pushlist 'Armor' 0x140c // Bascinet
@pushlist 'Armor' 0x140e // Norse Helm
@pushlist 'Armor' 0x1408 // Close Helmet
@pushlist 'Armor' 0x1410 // Platemail Arms
@pushlist 'Armor' 0x1411 // Platemail Legs
@pushlist 'Armor' 0x1412 // Plate Helm
@pushlist 'Armor' 0x1413 // Plate Gorget
@pushlist 'Armor' 0x1414 // Platemail Gloves
@pushlist 'Armor' 0x1415 // Plate Chest
////// Chainmail //////
@pushlist 'Armor' 0x13bb // Chainmail Coif
@pushlist 'Armor' 0x13be // Chainmail Leggins
@pushlist 'Armor' 0x13bf // Chainmail Tunic
////// Ringmail //////
@pushlist 'Armor' 0x13eb // Ringmail Gloves
@pushlist 'Armor' 0x13ec // Ringmail Tunic
@pushlist 'Armor' 0x13ee // Ringmail Sleeves
@pushlist 'Armor' 0x13f0 // Ringmail Leggins
////// Studded //////
@pushlist 'Armor' 0x13d5 // Studded Gloves
@pushlist 'Armor' 0x13d6 // Studded Gorget
@pushlist 'Armor' 0x13da // Studded Leggings
@pushlist 'Armor' 0x13db // Studded Tunic
@pushlist 'Armor' 0x13dc // Studded Sleeves
////// Leather //////
@pushlist 'Armor' 0x13c6 // Leather Gloves
@pushlist 'Armor' 0x13c7 // Leather Gorget
@pushlist 'Armor' 0x13cb // Leather Pants
@pushlist 'Armor' 0x13cc // Leather Tunic
@pushlist 'Armor' 0x13cd // Leather Sleeves
@pushlist 'Armor' 0x1db9 // Leather Cap
///// Female Armor /////
@pushlist 'Armor' 0x1c00 // Female Leather Shorts
@pushlist 'Armor' 0x1c0a // Female Leather Bustier
@pushlist 'Armor' 0x1c0c // Female Studded Bustier
@pushlist 'Armor' 0x1c02 // Female Studded Armor
@pushlist 'Armor' 0x1c04 // Female Plate
@pushlist 'Armor' 0x1c06 // Female Leather Armor
@pushlist 'Armor' 0x1c08 // Female Leather Skirt
////// Bone //////
@pushlist 'Armor' 0x144e // Bone Sleeves
@pushlist 'Armor' 0x144f // Bone Tunic
@pushlist 'Armor' 0x1450 // Bone Glove
@pushlist 'Armor' 0x1451 // Bone Helmet
@pushlist 'Armor' 0x1452 // Bone Legs
///// Weapons Lists /////
@pushlist 'Weapons' 0xf43
@pushlist 'Weapons' 0xec4 // Skinning Knife
///// Swordsmanship /////
@pushlist 'Weapons' 0xf4b // Double Axe
@pushlist 'Weapons' 0xf4d // Bardiche
@pushlist 'Weapons' 0xf5e  // Broadsword
@pushlist 'Weapons' 0xf61
@pushlist 'Weapons' 0xec3  //Cleaver
@pushlist 'Weapons' 0x13b6 // Scimitar
@pushlist 'Weapons' 0x13b9 // Viking Sword
@pushlist 'Weapons' 0x13fb // Large Battle Axe
@pushlist 'Weapons' 0x13ff
@pushlist 'Weapons' 0x143e // Halbred
@pushlist 'Weapons' 0x1441 // Cutlass
@pushlist 'Weapons' 0x1443 // Two Handed Axe
@pushlist 'Weapons' 0x26ba // Scythe
@pushlist 'Weapons' 0x26bb // Bone Harvester
@pushlist 'Weapons' 0x26bd // Bladed Staff
@pushlist 'Weapons' 0x26c1 // Crescent Blade
////// Fencing //////
@pushlist 'Weapons' 0xe87  //Pitchfork
@pushlist 'Weapons' 0xf52 // Dagger
@pushlist 'Weapons' 0xf62
@pushlist 'Weapons' 0x1401
@pushlist 'Weapons' 0x1403 // Short Spear
@pushlist 'Weapons' 0x1405 // War Fork
@pushlist 'Weapons' 0x26be // Pike
@pushlist 'Weapons' 0x26bf // Double Bladed Staff
@pushlist 'Weapons' 0x26c0 // Lance
////// Archery //////
@pushlist 'Weapons' 0xf50  // Crossbow
@pushlist 'Weapons' 0x13b2 // Bow
@pushlist 'Weapons' 0x13fd // Heavy Crossbow
@pushlist 'Weapons' 0x26c2 // Composite Bow
@pushlist 'Weapons' 0x26c3 // Repeating Crossbow
////// Maces //////
@pushlist 'Weapons' 0xdf0  // Black Staff
@pushlist 'Weapons' 0xe81  // Shepherd's Crook
@pushlist 'Weapons' 0xe89  // Quarter Staff
@pushlist 'Weapons' 0xf5c  // Mace
@pushlist 'Weapons' 0x13b0 // War Axe
@pushlist 'Weapons' 0x13b4
@pushlist 'Weapons' 0x13f8 // Gnarled Staff
@pushlist 'Weapons' 0x1407 // War Mace
@pushlist 'Weapons' 0x1439 // War Hammer
@pushlist 'Weapons' 0x143b // Maul
@pushlist 'Weapons' 0x143d // Hammer Pick
@pushlist 'Weapons' 0x26bc // Scepter
///// Scrolls List /////
@pushlist 'Scrolls' 0x1f2d // Reactive Armor
@pushlist 'Scrolls' 0x1f2e // Clumsy
@pushlist 'Scrolls' 0x1f2f // Create Food
@pushlist 'Scrolls' 0x1f30 // Feeblemind
@pushlist 'Scrolls' 0x1f31 // Heal
@pushlist 'Scrolls' 0x1f32 // Magic Arrow
@pushlist 'Scrolls' 0x1f33 // Night Sight
@pushlist 'Scrolls' 0x1f34 // Weaken
@pushlist 'Scrolls' 0x1f35 // Agility
@pushlist 'Scrolls' 0x1f36 // Cunning
@pushlist 'Scrolls' 0x1f37 // Cure
@pushlist 'Scrolls' 0x1f38 // Harm
@pushlist 'Scrolls' 0x1f39 // Magic Trap
@pushlist 'Scrolls' 0x1f3a // Magic Untrap
@pushlist 'Scrolls' 0x1f3b // Protection
@pushlist 'Scrolls' 0x1f3c // Strength
@pushlist 'Scrolls' 0x1f3d // Bless
@pushlist 'Scrolls' 0x1f3e // Fireball
@pushlist 'Scrolls' 0x1f3f // Magic Lock
@pushlist 'Scrolls' 0x1f40 // Poison
@pushlist 'Scrolls' 0x1f41 // Telekinesis
@pushlist 'Scrolls' 0x1f42 // Teleport
@pushlist 'Scrolls' 0x1f43 // Unlock
@pushlist 'Scrolls' 0x1f44 // Wall of Stone
@pushlist 'Scrolls' 0x1f45 // Arch Cure
@pushlist 'Scrolls' 0x1f46 // Arch Protection
@pushlist 'Scrolls' 0x1f47 // Curse
@pushlist 'Scrolls' 0x1f48 // Fire Field
@pushlist 'Scrolls' 0x1f49 // Greater Heal
@pushlist 'Scrolls' 0x1f4a // Lightning
@pushlist 'Scrolls' 0x1f4b // Mana Drain
@pushlist 'Scrolls' 0x1f4c // Recall
@pushlist 'Scrolls' 0x1f4d // Blade Spirit
@pushlist 'Scrolls' 0x1f4e // Dispel Field
@pushlist 'Scrolls' 0x1f4f // Incognito
@pushlist 'Scrolls' 0x1f50 // Magic Reflection
@pushlist 'Scrolls' 0x1f51 // Mind Blast
@pushlist 'Scrolls' 0x1f52 // Paralyze
@pushlist 'Scrolls' 0x1f53 // Poison Field
@pushlist 'Scrolls' 0x1f54 // Summon Creature
@pushlist 'Scrolls' 0x1f55 // Dispel
@pushlist 'Scrolls' 0x1f56 // Energy Bolt
@pushlist 'Scrolls' 0x1f57 // Explosion
@pushlist 'Scrolls' 0x1f58 // Invisibility
@pushlist 'Scrolls' 0x1f59 // Mark
@pushlist 'Scrolls' 0x1f5a // Mass Curse
@pushlist 'Scrolls' 0x1f5b // Paralyze Field
@pushlist 'Scrolls' 0x1f5c // Reveal
@pushlist 'Scrolls' 0x1f5d // Chain Lightning
@pushlist 'Scrolls' 0x1f5e // Energy Field
@pushlist 'Scrolls' 0x1f5f // Flamestrike
@pushlist 'Scrolls' 0x1f60 // Gate Travel
@pushlist 'Scrolls' 0x1f61 // Mana Vampire
@pushlist 'Scrolls' 0x1f62 // Mass Dispel
@pushlist 'Scrolls' 0x1f63 // Meteor Swarm
@pushlist 'Scrolls' 0x1f64 // Polymorph
@pushlist 'Scrolls' 0x1f65 // Earthquake
@pushlist 'Scrolls' 0x1f66 // Energy Vortex
@pushlist 'Scrolls' 0x1f67 // Ressurrection
@pushlist 'Scrolls' 0x1f68 // Summon Air Elemental
@pushlist 'Scrolls' 0x1f69 // Summon Daemon
@pushlist 'Scrolls' 0x1f6a // Summon Earth Elemental
@pushlist 'Scrolls' 0x1f6b // Summon Fire Elemental
@pushlist 'Scrolls' 0x1f6c // Summon Water Elemental
@pushlist 'Scrolls' 0xef3 // Blank Scrolls
////// Jewelry List /////
@pushlist 'Jewelry' 0x1086
@pushlist 'Jewelry' 0x108a
@pushlist 'Jewelry' 0x1f06
@pushlist 'Jewelry' 0x1f09
////// Tool List //////
@pushlist 'Tools' 0xe86  // A Gargoyle's Pickaxe/Pickaxe/Executioner's Axe
@pushlist 'Tools' 0xf39  // Shovel
@pushlist 'Tools' 0xf43  // Hatchet
@pushlist 'Tools' 0xf45  // Gargoyles Axe
@pushlist 'Tools' 0xf47  // Battle Axe
@pushlist 'Tools' 0xf49  // A Sturdy Hatchet/Axe
@pushlist 'Tools' 0x13f6 // Gargoyles Knife
////// Potion List /////
@pushlist 'Potions' 0xf0a // A Lesser Poison Potion
@pushlist 'Potions' 0xf0b // A Refresh Potion
@pushlist 'Potions' 0xf0c // A Lesser Heal Potion
@pushlist 'Potions' 0xf07 // A Lesser Cure Potion
@pushlist 'Potions' 0xf08 // An Agility Potion
@pushlist 'Potions' 0xf09 // A Strength Potion
////// Trash List //////
@pushlist 'Trash' 0x1010
@pushlist 'Trash' 0x1f01 // Plain Dress
@pushlist 'Trash' 0x1f0b // Orc Helm
@pushlist 'Trash' 0x1f9f // Jester Suit
@pushlist 'Trash' 0x1515
@pushlist 'Trash' 0x1516 // Skirt
@pushlist 'Trash' 0x153b // Half Apron
@pushlist 'Trash' 0x1540
@pushlist 'Trash' 0x1544
@pushlist 'Trash' 0x1713
@pushlist 'Trash' 0x1714
@pushlist 'Trash' 0x1715
@pushlist 'Trash' 0x1716
@pushlist 'Trash' 0x1717
@pushlist 'Trash' 0x1718 // Wizard's Hat
@pushlist 'Trash' 0x1719
@pushlist 'Trash' 0x171a
@pushlist 'Trash' 0x171b
@pushlist 'Trash' 0x171c // Jester Hat
@pushlist 'Trash' 0x2306
@pushlist 'Trash' 0x2310 // Formal Shirt
//Start grabbing items from chest, walking away from chest will stop the script
useobject 'Chest'
pause 1000
////// Loot //////
for 0 to Loot
  if @inrange 'Chest' 2
    if @movetype Loot[] 'Chest' 'backpack' 'any' 'any' 'any'
      pause 1300
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Ammo //////
for 0 to Ammo
  if @inrange 'Chest' 2
    if @movetype Ammo[] 'Chest' 'AmmoBag' 'any' 'any' 'any'
      pause 500
      continue
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Gems //////
for 0 to Gems
  if @inrange 'Chest' 2
    if @movetype Gems[] 'Chest' 'GemBag' 'any' 'any' 'any'
      pause 1500
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Reagents //////
for 0 to Regs
  if @inrange 'Chest' 2
    if @movetype Regs[] 'Chest' 'RegBag'  'any' 'any' 'any'
      pause 1500
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Armor //////
for 0 to Armor
  if @inrange 'Chest' 2
    if @movetype Armor[] 'Chest' 'ArmorBag'
      pause 1500
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Weapons //////
for 0 to Weapons
  if @inrange 'Chest' 2
    if @movetype Weapons[] 'Chest' 'WeapBag'
      pause 1500
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Scrolls //////
for 0 to Scrolls
  if @inrange 'Chest' 2
    if @movetype Scrolls[] 'Chest' 'ScrollBag'  'any' 'any' 'any'
      pause 1500
      continue
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Jewelry //////
for 0 to Jewelry
  if @inrange 'Chest' 2
    if @movetype Jewelry[] 'Chest' 'JewBag'
      pause 500
      continue
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Tools //////
for 0 to Tools
  if @inrange 'Chest' 2
    if @movetype Tools[] 'Chest' 'ToolBag'
      pause 700
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Potions //////
for 0 to Potions
  if @inrange 'Chest' 2
    if @movetype Potions[] 'Chest' 'PotBag' 'any' 'any' 'any'
      pause 700
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
endfor
////// Trash //////
for 0 to Trash
  if @inrange 'Chest' 2
    if @movetype Trash[] 'Chest' 'TrashBag'
      pause 800
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  unsetalias 'Chest'
endfor
msg 'Finished Cleaning Chest!'
 


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#56 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:20:49 PM

//Alamiester's Chest Cleaner v0.9//
//13DEC2017//
//i added in gargoyle tools,  and seperated them from the basic tools, that go into tool houses.  just in case someone doesnt want to collect the basic tools.//

unsetalias 'Chest'
if not @findobject 'Chest'
  promptalias 'Chest'
endif
pause 500
@removelist 'Loot'
@removelist 'Ammo'
@removelist 'Gems'
@removelist 'Regs'
@removelist 'Armor'
@removelist 'Weapons'
@removelist 'Scrolls'
@removelist 'Jewelry'
@removelist 'Tools'
@removelist 'GargTools'
@removelist 'Potions'
@removelist 'Trash'
////// Select Bags //////
if not @findobject 'AmmoBag'
  headmsg 'Select a bag for Ammo'
  promptalias 'AmmoBag'
endif
if not @findobject 'GemBag'
  headmsg 'Select a bag for Gems'
  promptalias 'GemBag'
endif
if not @findobject 'RegBag'
  headmsg 'Select a bag for Reagents'
  promptalias 'RegBag'
endif
if not @findobject 'ArmorBag'
  headmsg 'Select a bag for Armor'
  promptalias 'ArmorBag'
endif
if not @findobject 'WeapBag'
  headmsg 'Select a bag for Weapons'
  promptalias 'WeapBag'
endif
if not @findobject 'ScrollBag'
  headmsg 'Select a bag for Scrolls'
  promptalias 'ScrollBag'
endif
if not @findobject 'JewBag'
  headmsg 'Select a bag for Jewelry'
  promptalias 'JewBag'
endif
if not @findobject 'ToolBag'
  headmsg 'Select a bag for Tools'
  promptalias 'ToolBag'
endif
if not @findobject 'GargBag'
  headmsg 'Select a bag for Gargoyle Tools'
  promptalias 'GargBag'
endif
if not @findobject 'PotBag'
  headmsg 'Select a bag for Potions'
  promptalias 'PotBag'
endif
if not @findobject 'TrashBag'
  headmsg 'Select a bag for Trash'
  promptalias 'TrashBag'
endif
/// Create item lists ///
if not listexists 'Loot'
  createlist 'Loot'
endif
if not listexists 'Ammo'
  createlist 'Ammo'
endif
if not listexists 'Gems'
  createlist 'Gems'
endif
if not listexists 'Regs'
  createlist 'Regs'
endif
if not listexists 'Armor'
  createlist 'Armor'
endif
if not listexists 'Weapons'
  createlist 'Weapons'
endif
if not listexists 'Scrolls'
  createlist 'Scrolls'
endif
if not listexists 'Jewelry'
  createlist 'Jewelry'
endif
if not listexists 'Tools'
  createlist 'Tools'
endif
if not listexists 'GargTools'
  createlist 'GargTools'
endif
if not listexists 'Potions'
  createlist 'Potions'
endif
if not listexists 'Trash'
  createlist 'Trash'
endif
pause 200
////// Identify items in lists //////
////// Loot List //////
@pushlist 'Loot' 0x14ec // Treasure Map
@pushlist 'Loot' 0x1724 // Coconut
@pushlist 'Loot' 0x1725 // Coconut
@pushlist 'Loot' 0x1726 // Coconut
@pushlist 'Loot' 0xa25  // Lantern Of Souls
@pushlist 'Loot' 0xdca  // A Special Fishing Net
@pushlist 'Loot' 0xeed  // Gold
@pushlist 'Loot' 0xe24  // Ointments
////// Ammo List //////
@pushlist 'Ammo' 0xf3f  //Arrows
@pushlist 'Ammo' 0x1bfb //Crossbow Bolt
////// Gems List //////
@pushlist 'Gems' 0xf10 // Emerald
@pushlist 'Gems' 0xf13 // Ruby
@pushlist 'Gems' 0xf15 // Citrine
@pushlist 'Gems' 0xf16 // Amethyst
@pushlist 'Gems' 0xf19 // Sapphire
@pushlist 'Gems' 0xf21 // Star Sapphire
@pushlist 'Gems' 0xf25 // Amber
@pushlist 'Gems' 0xf26 // Diamond
@pushlist 'Gems' 0xf2d // Tourmaline
////// Regs List //////
@pushlist 'Regs' 0xef3 // Blank Scrolls
@pushlist 'Regs' 0xf7a // Black Pearl
@pushlist 'Regs' 0xf7b // Blood Moss
@pushlist 'Regs' 0xf7d // Daemon Blood
@pushlist 'Regs' 0xf78 // Batwing
@pushlist 'Regs' 0xf84 // Garlic
@pushlist 'Regs' 0xf85 // Ginseng
@pushlist 'Regs' 0xf86 // Mandrake Root
@pushlist 'Regs' 0xf88 // Nightshade
@pushlist 'Regs' 0xf8a // Pig Iron
@pushlist 'Regs' 0xf8c // Sulphurous Ash
@pushlist 'Regs' 0xf8d // Spider's Silk
@pushlist 'Regs' 0xf8e // Nox Crystal
@pushlist 'Regs' 0xf8f // Grave Dust
////// Armor Lists //////
////// Shields //////
@pushlist 'Armor' 0x1b72 // Bronze Shield
@pushlist 'Armor' 0x1b73 // Buckler
@pushlist 'Armor' 0x1b74 // Metal Kite Shield
@pushlist 'Armor' 0x1b76 // Heater Shield
@pushlist 'Armor' 0x1b79 // Tear Kite Shield
@pushlist 'Armor' 0x1b7a // Wooden Shield
@pushlist 'Armor' 0x1b7b // Metal Shield
////// Platemail //////
@pushlist 'Armor' 0x140a // Helmet
@pushlist 'Armor' 0x140c // Bascinet
@pushlist 'Armor' 0x140e // Norse Helm
@pushlist 'Armor' 0x1408 // Close Helmet
@pushlist 'Armor' 0x1410 // Platemail Arms
@pushlist 'Armor' 0x1411 // Platemail Legs
@pushlist 'Armor' 0x1412 // Plate Helm
@pushlist 'Armor' 0x1413 // Plate Gorget
@pushlist 'Armor' 0x1414 // Platemail Gloves
@pushlist 'Armor' 0x1415 // Plate Chest
////// Chainmail //////
@pushlist 'Armor' 0x13bb // Chainmail Coif
@pushlist 'Armor' 0x13be // Chainmail Leggins
@pushlist 'Armor' 0x13bf // Chainmail Tunic
////// Ringmail //////
@pushlist 'Armor' 0x13eb // Ringmail Gloves
@pushlist 'Armor' 0x13ec // Ringmail Tunic
@pushlist 'Armor' 0x13ee // Ringmail Sleeves
@pushlist 'Armor' 0x13f0 // Ringmail Leggins
////// Studded //////
@pushlist 'Armor' 0x13d5 // Studded Gloves
@pushlist 'Armor' 0x13d6 // Studded Gorget
@pushlist 'Armor' 0x13da // Studded Leggings
@pushlist 'Armor' 0x13db // Studded Tunic
@pushlist 'Armor' 0x13dc // Studded Sleeves
////// Leather //////
@pushlist 'Armor' 0x13c6 // Leather Gloves
@pushlist 'Armor' 0x13c7 // Leather Gorget
@pushlist 'Armor' 0x13cb // Leather Pants
@pushlist 'Armor' 0x13cc // Leather Tunic
@pushlist 'Armor' 0x13cd // Leather Sleeves
@pushlist 'Armor' 0x1db9 // Leather Cap
///// Female Armor /////
@pushlist 'Armor' 0x1c00 // Female Leather Shorts
@pushlist 'Armor' 0x1c0a // Female Leather Bustier
@pushlist 'Armor' 0x1c0c // Female Studded Bustier
@pushlist 'Armor' 0x1c02 // Female Studded Armor
@pushlist 'Armor' 0x1c04 // Female Plate
@pushlist 'Armor' 0x1c06 // Female Leather Armor
@pushlist 'Armor' 0x1c08 // Female Leather Skirt
////// Bone //////
@pushlist 'Armor' 0x144e // Bone Sleeves
@pushlist 'Armor' 0x144f // Bone Tunic
@pushlist 'Armor' 0x1450 // Bone Glove
@pushlist 'Armor' 0x1451 // Bone Helmet
@pushlist 'Armor' 0x1452 // Bone Legs
@pushlist 'Armor' 0x1f0b // Orc Helm
@pushlist 'Armor' 0x41cc1c1e // Orc Helm
@pushlist 'Armor' 0x41def200 // Orc Helm
///// Weapons Lists /////
//@pushlist 'Weapons' 0xf43
///// Swordsmanship /////
@pushlist 'Weapons' 0xf4b  // Double Axe
@pushlist 'Weapons' 0xf4d  // Bardiche
@pushlist 'Weapons' 0xf5e  // Broadsword
@pushlist 'Weapons' 0xf61  // Longsword
@pushlist 'Weapons' 0xec3  // Cleaver
@pushlist 'Weapons' 0xec4  // Skinning Knife
@pushlist 'Weapons' 0x13b6 // Scimitar
@pushlist 'Weapons' 0x13b9 // Viking Sword
@pushlist 'Weapons' 0x13f6 // Butcher Knife
@pushlist 'Weapons' 0x13fb // Large Battle Axe
@pushlist 'Weapons' 0x13ff // Katana
@pushlist 'Weapons' 0x143e // Halbred
@pushlist 'Weapons' 0x1441 // Cutlass
@pushlist 'Weapons' 0x26ba // Scythe
@pushlist 'Weapons' 0x26bb // Bone Harvester
@pushlist 'Weapons' 0x26bd // Bladed Staff
@pushlist 'Weapons' 0x26c1 // Crescent Blade
////// Fencing //////
@pushlist 'Weapons' 0xf52  // Dagger
@pushlist 'Weapons' 0xf62  // Spear
@pushlist 'Weapons' 0xe87  // Pitchfork
@pushlist 'Weapons' 0x1401 // Kryss
@pushlist 'Weapons' 0x1403 // Short Spear
@pushlist 'Weapons' 0x1405 // War Fork
@pushlist 'Weapons' 0x26be // Pike
@pushlist 'Weapons' 0x26bf // Double Bladed Staff
@pushlist 'Weapons' 0x26c0 // Lance
////// Archery //////
@pushlist 'Weapons' 0xf50  // Crossbow
@pushlist 'Weapons' 0x13b2 // Bow
@pushlist 'Weapons' 0x13fd // Heavy Crossbow
@pushlist 'Weapons' 0x26c2 // Composite Bow
@pushlist 'Weapons' 0x26c3 // Repeating Crossbow
////// Maces //////
@pushlist 'Weapons' 0xdf0  // Black Staff
@pushlist 'Weapons' 0xe81  // Shepherd's Crook
@pushlist 'Weapons' 0xe89  // Quarter Staff
@pushlist 'Weapons' 0xf5c  // Mace
@pushlist 'Weapons' 0x13b0 // War Axe
@pushlist 'Weapons' 0x13b4 // Club
@pushlist 'Weapons' 0x13f8 // Gnarled Staff
@pushlist 'Weapons' 0x1407 // War Mace
@pushlist 'Weapons' 0x1439 // War Hammer
@pushlist 'Weapons' 0x143b // Maul
@pushlist 'Weapons' 0x143d // Hammer Pick
@pushlist 'Weapons' 0x26bc // Scepter
///// Scrolls List /////
@pushlist 'Scrolls' 0x1f2d // Reactive Armor
@pushlist 'Scrolls' 0x1f2e // Clumsy
@pushlist 'Scrolls' 0x1f2f // Create Food
@pushlist 'Scrolls' 0x1f30 // Feeblemind
@pushlist 'Scrolls' 0x1f31 // Heal
@pushlist 'Scrolls' 0x1f32 // Magic Arrow
@pushlist 'Scrolls' 0x1f33 // Night Sight
@pushlist 'Scrolls' 0x1f34 // Weaken
@pushlist 'Scrolls' 0x1f35 // Agility
@pushlist 'Scrolls' 0x1f36 // Cunning
@pushlist 'Scrolls' 0x1f37 // Cure
@pushlist 'Scrolls' 0x1f38 // Harm
@pushlist 'Scrolls' 0x1f39 // Magic Trap
@pushlist 'Scrolls' 0x1f3a // Magic Untrap
@pushlist 'Scrolls' 0x1f3b // Protection
@pushlist 'Scrolls' 0x1f3c // Strength
@pushlist 'Scrolls' 0x1f3d // Bless
@pushlist 'Scrolls' 0x1f3e // Fireball
@pushlist 'Scrolls' 0x1f3f // Magic Lock
@pushlist 'Scrolls' 0x1f40 // Poison
@pushlist 'Scrolls' 0x1f41 // Telekinesis
@pushlist 'Scrolls' 0x1f42 // Teleport
@pushlist 'Scrolls' 0x1f43 // Unlock
@pushlist 'Scrolls' 0x1f44 // Wall of Stone
@pushlist 'Scrolls' 0x1f45 // Arch Cure
@pushlist 'Scrolls' 0x1f46 // Arch Protection
@pushlist 'Scrolls' 0x1f47 // Curse
@pushlist 'Scrolls' 0x1f48 // Fire Field
@pushlist 'Scrolls' 0x1f49 // Greater Heal
@pushlist 'Scrolls' 0x1f4a // Lightning
@pushlist 'Scrolls' 0x1f4b // Mana Drain
@pushlist 'Scrolls' 0x1f4c // Recall
@pushlist 'Scrolls' 0x1f4d // Blade Spirit
@pushlist 'Scrolls' 0x1f4e // Dispel Field
@pushlist 'Scrolls' 0x1f4f // Incognito
@pushlist 'Scrolls' 0x1f50 // Magic Reflection
@pushlist 'Scrolls' 0x1f51 // Mind Blast
@pushlist 'Scrolls' 0x1f52 // Paralyze
@pushlist 'Scrolls' 0x1f53 // Poison Field
@pushlist 'Scrolls' 0x1f54 // Summon Creature
@pushlist 'Scrolls' 0x1f55 // Dispel
@pushlist 'Scrolls' 0x1f56 // Energy Bolt
@pushlist 'Scrolls' 0x1f57 // Explosion
@pushlist 'Scrolls' 0x1f58 // Invisibility
@pushlist 'Scrolls' 0x1f59 // Mark
@pushlist 'Scrolls' 0x1f5a // Mass Curse
@pushlist 'Scrolls' 0x1f5b // Paralyze Field
@pushlist 'Scrolls' 0x1f5c // Reveal
@pushlist 'Scrolls' 0x1f5d // Chain Lightning
@pushlist 'Scrolls' 0x1f5e // Energy Field
@pushlist 'Scrolls' 0x1f5f // Flamestrike
@pushlist 'Scrolls' 0x1f60 // Gate Travel
@pushlist 'Scrolls' 0x1f61 // Mana Vampire
@pushlist 'Scrolls' 0x1f62 // Mass Dispel
@pushlist 'Scrolls' 0x1f63 // Meteor Swarm
@pushlist 'Scrolls' 0x1f64 // Polymorph
@pushlist 'Scrolls' 0x1f65 // Earthquake
@pushlist 'Scrolls' 0x1f66 // Energy Vortex
@pushlist 'Scrolls' 0x1f67 // Ressurrection
@pushlist 'Scrolls' 0x1f68 // Summon Air Elemental
@pushlist 'Scrolls' 0x1f69 // Summon Daemon
@pushlist 'Scrolls' 0x1f6a // Summon Earth Elemental
@pushlist 'Scrolls' 0x1f6b // Summon Fire Elemental
@pushlist 'Scrolls' 0x1f6c // Summon Water Elemental
////// Jewelry List /////
@pushlist 'Jewelry' 0x1086
@pushlist 'Jewelry' 0x108a
@pushlist 'Jewelry' 0x1f06
@pushlist 'Jewelry' 0x1f09
////// Tool List //////
@pushlist 'Tools' 0xe86  // Pickaxe (Mining)
@pushlist 'Tools' 0xf39  // Shovel (Mining)
@pushlist 'Tools' 0xf43  // Hatchet (Lumberjacking)
@pushlist 'Tools' 0xf45  // An Executioners Axe (Lumberjacking)
@pushlist 'Tools' 0xf47  // Battle Axe (Lumberjacking)
@pushlist 'Tools' 0xf49  // Axe (Lumberjacking)
@pushlist 'Tools' 0x1443 // Two Handed Axe (Lumberjacking)
////// Gargoyles Tool List //////
@pushlist 'GargTools' 0xe86  // A Gargoyle's Pickaxe (Mining)
@pushlist 'GargTools' 0xf45  // Gargoyles Axe (Lumberjacking)
@pushlist 'GargTools' 0xf49  // A Sturdy Hatchet (Lumberjacking)
@pushlist 'GargTools' 0x13f6 // Gargoyles Knife (Tailoring)
////// Potion List /////
@pushlist 'Potions' 0xf0a // A Lesser Poison Potion
@pushlist 'Potions' 0xf0b // A Refresh Potion
@pushlist 'Potions' 0xf0c // A Lesser Heal Potion
@pushlist 'Potions' 0xf07 // A Lesser Cure Potion
@pushlist 'Potions' 0xf08 // An Agility Potion
@pushlist 'Potions' 0xf09 // A Strength Potion
////// Trash List //////
//@pushlist 'Trash' 0x1010
@pushlist 'Trash' 0x1efd // Fancy Shirt
@pushlist 'Trash' 0x1f00 // Fancy Dress
@pushlist 'Trash' 0x1f01 // Plain Dress
@pushlist 'Trash' 0x1f9f // Jester Suit
@pushlist 'Trash' 0x1f03 // Robe
@pushlist 'Trash' 0x1515 // Cloak
@pushlist 'Trash' 0x1516 // Skirt
@pushlist 'Trash' 0x1517 // Shirt
@pushlist 'Trash' 0x152e // Short Pants
@pushlist 'Trash' 0x153b // Half Apron
@pushlist 'Trash' 0x1537 // Kilt
@pushlist 'Trash' 0x1539 // Long Pants
//@pushlist 'Trash' 0x1540
@pushlist 'Trash' 0x1544 // Skullcap
@pushlist 'Trash' 0x170b // Boots
@pushlist 'Trash' 0x170f // Shoes
@pushlist 'Trash' 0x170d // Sandals
@pushlist 'Trash' 0x1711 // Thigh Boots
//@pushlist 'Trash' 0x1713
//@pushlist 'Trash' 0x1714
@pushlist 'Trash' 0x1715 // Cap
//@pushlist 'Trash' 0x1716
//@pushlist 'Trash' 0x1717
@pushlist 'Trash' 0x1718 // Wizard's Hat
//@pushlist 'Trash' 0x1719
//@pushlist 'Trash' 0x171a
@pushlist 'Trash' 0x171b // Tricorne hat
@pushlist 'Trash' 0x171c // Jester Hat
@pushlist 'Trash' 0x2306 // Flower Garland
@pushlist 'Trash' 0x2310 // Formal Shirt
//Start grabbing items from chest, walking away from chest will stop the script
useobject 'Chest'
pause 500
////// Loot //////
for 0 to Loot
  if @inrange 'Chest' 2
    if @movetype Loot[] 'Chest' 'backpack' 'Any' 'Any' 'Any'
      pause 100
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Loot' 12
  pause 100
endfor
pause 100
////// Ammo //////
for 0 to Ammo
  if @inrange 'Chest' 2
    if @movetype Ammo[] 'Chest' 'AmmoBag' 'Any' 'Any' 'Any'
      //      pause 500
      continue
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Ammo' 12
  pause 100
endfor
pause 100
////// Gems //////
for 2 to Gems
  if @inrange 'Chest' 2
    if @movetype! Gems[] 'Chest' 'GemBag' 'Any' 'Any' 'Any'
      pause 100
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Gems' 12
  pause 100
endfor
pause 100
////// Reagents //////
for 2 to Regs
  if @inrange 'Chest' 2
    if @movetype! Regs[] 'Chest' 'RegBag'  'Any' 'Any' 'Any'
      pause 100
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Reagents' 12
  pause 100
endfor
pause 100
////// Armor //////
for 2 to Armor
  if @inrange 'Chest' 2
    if @movetype Armor[] 'Chest' 'ArmorBag' 'Any' 'Any' 'Any'
      //      pause 1000
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Armor' 12
  pause 100
endfor
pause 100
////// Weapons //////
for 2 to Weapons
  if @inrange 'Chest' 2
    if @movetype Weapons[] 'Chest' 'WeapBag' 'Any' '0' 'Any'
      //      pause 1000
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Weapons' 12
  pause 100
endfor
pause 100
////// Scrolls //////
for 2 to Scrolls
  if @inrange 'Chest' 2
    if @movetype! Scrolls[] 'Chest' 'ScrollBag'  '0' '999' '0'
      pause 100
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Scrolls' 12
  pause 100
endfor
pause 100
////// Jewelry //////
for 2 to Jewelry
  if @inrange 'Chest' 2
    if @movetype Jewelry[] 'Chest' 'JewBag' 'Any' 'Any' 'Any'
      //      pause 1000
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Jewelry' 12
  pause 100
endfor
pause 100
////// Tools //////
for 1 to Tools
  if @inrange 'Chest' 2
    if @movetype Tools[] 'Chest' 'ToolBag' 'Any' '0' 'Any'
      //      pause 700
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Tools' 12
  pause 100
endfor
pause 100
////// Gargoyle Tools //////
for 1 to GargTools
  if @inrange 'Chest' 2
    if @movetype GargTools[] 'Chest' 'GargBag' 'Any' '2419' 'Any'
      //      pause 700
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Gargoyle Tools' 12
  pause 100
endfor
pause 100
////// Potions //////
for 2 to Potions
  if @inrange 'Chest' 2
    if @movetype Potions[] 'Chest' 'PotBag' 'Any' 'Any' 'Any'
      //      pause 700
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Potions' 12
  pause 100
endfor
pause 100
////// Trash //////
for 1 to Trash
  if @inrange 'Chest' 2
    if @movetype Trash[] 'Chest' 'TrashBag' 'Any' '0' 'Any'
      //      pause 700
    endif
  endif
  if not @inrange 'Chest' '2'
    headmsg 'Stopping...'
    stop
  endif
  sysmsg 'Cleaning Trash' 12
  pause 100
endfor
pause 100
msg 'Finished Cleaning Chest!'

Last edited by Alamiester on Wed Jan 16, 2019 7:46 pm, edited 5


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#57 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:27:08 PM

//========================
//Azrael The Angel Of Death
//(Night666)
//========================
//Death Necro Trainer
//========================
//You will need a LRC (LMC optional)
//Change the pause if lag or no FC & FCR present
//Change target this script was made in a free shard
//with custom Trainer Npc.
//========================
//Training
if skill 'Necromancy' < 110 and skill 'Necromancy' >= 40
  //Pain spike
  if skill 'Necromancy' < 40
    cast 'Pain Spike'
    waitfortarget 15000
    //Change Target
    target! 0x15ba7
    //Horrific Beast
  elseif skill 'Necromancy' >= 40 and skill 'Necromancy' < 70
    cast 'Horrific Beast'
    //Wither
  elseif skill 'Necromancy' >= 70 and skill 'Necromancy' < 90
    cast 'Wither'
    //Lich Form
  elseif skill 'Necromancy' >= 90 and skill 'Necromancy' < 110
    cast 'Lich Form'
    //Vampiric Embrace
  elseif skill 'Necromancy' >= 110 and skill 'Necromancy' < 120
    cast 'Vampiric Embrace'
  endif
else
  stop
endif
//Pause until next cast, change this Value
pause 8000
//End Training
//Meditation
if mana <= 30
  useskill 'Meditation'
  while mana != maxmana
    pause 10000
  endwhile
endif
//End Meditation


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#58 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:28:05 PM

✠ Deathwish ✠04/05/2020
while not dead
  if mana < 60
    useskill 'meditation'
    while not mana == maxmana
    endwhile
  endif
  //Set Goal
  if skill 'Magery' == 100
    stop
  endif
  if skill 'Magery' >= 30 and skill 'Magery' < 50
    cast 'Bless' 'self'
  endif
  if skill 'Magery' >= 50 and skill 'Magery' < 70
    cast 'Magic Reflection'
  endif
  if skill 'Magery' >= 70 and skill 'Magery' < 90
    cast 'Mass Dispel' 'self'
  endif
  if skill 'Magery' >= 90 and skill 'Magery' < 120
    cast 'earthquake'
  endif
  if skill 'Magery' >= 120
    stop
  endif
  pause '2500'
endwhile

[8:00 PM]
for working magery all the way up to 120


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#59 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:31:22 PM

Psylus 04/16/2020
For spamming Nature's Fury ~ left optional stuff in in case you feel like uncommenting

if dead 'self'
  stop
endif
//@setability 'secondary' 'on'
//clearability
@setability 'primary' 'on'
if not timerexists 'casttime'
  createtimer 'casttime'
  settimer 'casttime' 3000
endif
if not buffexists 'gift of life'
  cast 'gift of life'
  waitfortarget 5000
  target! 'self'
  pause 100
endif
//pause 300
//if not buffexists "Consecrate Weapon" and timer 'casttime' > 1490
//  if timer 'castconcentrate' > 9000
//    cast 'Consecrate Weapon'
//    settimer 'casttime' 0
//   settimer 'castconcentrate' 0
//  endif
//endif
if timer 'casttime' > 1800
  if followers < 6
    msg '[cs naturefury'
    waitfortarget 4000
    targettilerelative 'self' 1 'false'
    settimer 'casttime' 0
  endif
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#60 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:31:33 PM

if weight > 400
  if counttype 0x19b9 'any' 'backpack' > 2
    @usetype 0x19b9
    waitfortarget 750
    pause 250
    target! 'mobile forge'
  endif
  if counttype 0x19b8 'any' 'backpack' > 2
    @usetype 0x19b8
    waitfortarget 750
    pause 250
    target! 'mobile forge'
  endif
  if counttype 0x19b7 'any' 'backpack' > 2
    @usetype 0x19b7
    waitfortarget 750
    pause 250
    target! 'mobile forge'
  endif
  if counttype 0x19ba 'any' 'backpack' > 2
    @usetype 0x19ba
    waitfortarget 750
    pause 250
    target! 'mobile forge'
  endif
  pause 250
  if weight > 400
    usetype 0x1be8
    waitforgump 0x6abce12 1000
    pause 250
    replygump 0x6abce12 31
    waitforgump 0x6abce12 1000
    pause 250
    waitforgump 0x6abce12 1000
    pause 250
    replygump 0x6abce12 0
  endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#61 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:32:24 PM

IF skill "Bushido" < 60
cast "Confidence"
pause 7000
ELSEIF skill "Bushido" < 75
cast "Counter Attack"
pause 7000
ELSEIF skill "Bushido" < 97.5
cast "Evasion"
pause 7000
ENDIF


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#62 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:32:46 PM

//banishes revenant lions and rotting corpses within 4 tiles from you.  ***requires a Cleric Spellbook.

while @findtype 0x9b 'any' 'ground' 'any' 4
  msg '[cs banishevil'
  waitfortarget 15000
  target! 'found'
  @ignoreobject 'found'
  pause 600
endwhile
while @findtype 0xfb 'any' 'ground' 'any' 4
  msg '[cs banishevil'
  waitfortarget 15000
  target! 'found'
  @ignoreobject 'found'
  pause 600
endwhile
clearignorelist


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#63 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:38:40 PM
Last edited on April 04, 2021, 12:39:32 PM

//uses a shovel on the tile you are standing on
usetype '0xf39'
waitfortarget 15000
targettileoffset 0 0 0
pause 8000
//if you dig up sand it will add it to the reagent key
while findtype '0x11ea''backpack'
  waitforcontext 0x44a3f49e 2 15000
  pause 200
  replygump 0x6abce12 0
endwhile

 

Version 2

 

Aryel05/09/2020
//uses a shovel on the tile you are standing on
usetype '0xf39'
waitfortarget 15000
targettileoffset 0 0 0
pause 8000
//if you dig up sand it will add it to the reagent key
if weight > 475 
  waitforcontext 0x44a3f49e 2 15000
  pause 200
  replygump 0x6abce12 0
end


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#64 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:40:45 PM

Shink pets quickly

msg 'all follow me'
//finds either regular crafted pet leashes or the 1000 use magic leashes
if @findtype '0x1374' 'any' 'backpack'
  @setalias 'leash' 'found'
  useobject 'leash'
  waitfortarget 15000
  //reassign target! serial below to your own pets serial
  target! 0x186fe3
  useobject 'leash'
  waitfortarget 15000
  //reassign target! serial below to your own pets serial
  target! 0x186fe2
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#65 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:41:33 PM

//Get Nearest Enemy CHAMP
@getenemy 'grey''red''murderer''criminal''closest'
@attack! 'enemy'
@setability 'secondary' on
if not timerexists 'ConsecrateWeaponTimer'
  createtimer 'ConsecrateWeaponTimer'
  settimer 'ConsecrateWeaponTimer' 9000
elseif timer 'ConsecrateWeaponTimer' > 9000
  cast 'Consecrate Weapon'
  settimer 'ConsecrateWeaponTimer' 0
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#66 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:42:06 PM

elseif skill 'Tailoring' < 80
  if usetype 0xf9d 0x0 'backpack'
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 8
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 58
    pause 2000
    if usetype 0xf9f 0x0 'backpack'
      waitfortarget 2000
      @targettype! 0x1f03 0x0 'backpack'
    endif
  endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#67 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:43:26 PM

//Get Enemy Grey Only
getenemy 'gray''criminal''closest'
if @findobject 'enemy'
  autotargetobject! 'enemy'
  if criminal 'enemy'
    attack! 'enemy'
    target! 'enemy'
    @clearusequeue
    @cancelautotarget
    stop
  endif
  if gray 'enemy'
    attack! 'enemy'
    target! 'enemy'
    @clearusequeue
    @cancelautotarget
    stop
  endif
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#68 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:45:05 PM

Honor Enemy

if hits 'enemy' == maxhits 'enemy'
virtue 'honor'
waitfortarget 5000
target! 'enemy'
pause 300
 endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#69 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:48:56 PM

//Get Enemy Grey Only
getenemy 'gray''criminal''closest'
if @findobject 'enemy'
  autotargetobject! 'enemy'
  if criminal 'enemy'
    attack! 'enemy'
    target! 'enemy'
    @clearusequeue
    @cancelautotarget
    stop
  endif
  if gray 'enemy'
    attack! 'enemy'
    target! 'enemy'
    @clearusequeue
    @cancelautotarget
    stop
  endif
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#70 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:49:26 PM

while not dead 'self'
  if war 'self'
    @getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
    attack 'enemy'
  endif
endwhile


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#71 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:49:49 PM

@getenemy 'murderer' 'enemy' 'gray' 'criminal' 'closest'
if @findobject 'enemy' and @inrange 'enemy' 10
 
  if graphic 'found' == '0x10f'
    ignoreobject 'found'
    replay
  endif
  if hits 'enemy' == maxhits 'enemy'
    virtue 'honor'
    waitfortarget 5000
    target! 'enemy'
    pause 300
  endif
[3:27 PM]
this is the one I'm using to honor


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#72 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:50:32 PM

Twinkle Tinker Christmas Quest,  Book and items on table at New guild house , Steam macro to help find them on ground.

if @findtype 0x1054 'any' 'ground' 'any'
  headmsg 'rusty bits' 35 'found'
  playsound 42
  pause 1000
endif
if @findtype 0x105c 'any' 'ground' 'any'
  headmsg 'screws' 35 'found'
  playsound 42
  pause 1000
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#73 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:51:28 PM

////////////////////////////////////
//   This macro is designed for   //
//   training Necromancy from 40. //
//                                //
//  Turn on loop and click play!  //
//                                //
//      Made by Vertex101     //
////////////////////////////////////
if skill 'Necromancy' < 100
  if @injournal 'insufficient mana'
    clearjournal
    useskill 'Meditation'
    while mana < maxmana
    endwhile
  else
    if skill 'Necromancy' < 40
      headmsg 'Please buy skill to continue!'
      stop
    elseif skill 'Necromancy' < 55
      cast "Wraith Form"
      waitfortarget 7000
    elseif skill 'Necromancy' < 75
      cast "Horrific Beast"
      waitfortarget 7000
    elseif skill 'Necromancy' < 90
      cast "Wither"
      waitfortarget 7000
    elseif skill 'Necromancy' < 100
      cast "Lich Form"
      waitfortarget 7000
    endif
  endif
else
  headmsg 'Necromancy complete!'
  stop
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#74 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:51:58 PM

getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
attack 'enemy'
while @inrange 'enemy' 10
  if @findobject 'enemy'
    @setability 'primary' 'on'
    attack! 'enemy'
    pause 600
  endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#75 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:52:21 PM

@Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
  autotargetobject! 'enemy'
  setability 'secondary' 'on'
  attack! 'enemy'
  pause 100
endif
@clearusequeue
@cancelautotarget 


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#76 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:53:51 PM


wear leather until ~ 60 then put on a bone tunic, let it go over night youll be good

////////////////////////////
// Stealth Macro //
// Add armor logic below //
useskill 'Hiding'
for 5
  walk "South"
endfor
turn "North"
for 5
  walk "North"
endfor
pause 4000
 


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#77 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:54:56 PM

This is the UOSteam script for searching Ilsh for Valentine's day quest items on UO Evolution (turn on your sound)

if @findtype 0xfbe 'any' 'ground' 'any'
  headmsg 'cupid book' 35 'found'
  playsound 42
  pause 1000
endif
if @findtype 0x9b5 'any' 'ground' 'any'
  headmsg 'cupid egg' 35 'found'
  playsound 42
  pause 1000
endif
if @findtype 0x170d 'any' 'ground' 'any'
  headmsg 'cupid shoes' 35 'found'
  playsound 42
  pause 1000
endif
if @findtype 0xf3f 'any' 'ground' 'any'
  headmsg 'cupid arrow' 35 'found'
  playsound 42
  pause 1000
endif
if @findtype 0xf04 'any' 'ground' 'any'
  headmsg 'cupid potion' 35 'found'
  playsound 42
  pause 1000
endif
if @findtype 0x1541 'any' 'ground' 'any'
  headmsg 'cupid sash' 35 'found'
  playsound 42
  pause 1000
endif
if @findtype 0x99b 'any' 'ground' 'any'
  headmsg 'cupid rum' 35 'found'
  playsound 42
  pause 1000
endif
if @findtype 0xe76 'any' 'ground' 'any'
  headmsg 'cupid bag' 35 'found'
  playsound 42
  pause 1000
endif
if @findtype 0x14ef 'any' 'ground' 'any'
  headmsg 'cupid scroll' 35 'found'
  playsound 42
  pause 1000
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#78 Re :   UO Steam Macro Library
3 years ago  April 04, 2021, 12:55:26 PM

//////////////////////////
// Mining with orc forge
// by kbruder
// for UO Evolution
// set your max weight here
if weight <= 411
  usetype '0xe86' 'any'
  pause 300
  targettileoffset 0 0 0
  pause 300
else
  if @findtype '0x19b9' 'any' 'backpack'
    useobject 'found'
    pause 300
    @target '0x4186a9bd'
    pause 1000
  endif
  if @findtype '0x19ba' 'any' 'backpack'
    useobject 'found'
    pause 300
    @target '0x4186a9bd'
    pause 1000
  endif
  if @findtype '0x19b8' 'any' 'backpack'
    useobject 'found'
    pause 300
    @target '0x4186a9bd'
    pause 1000
  endif
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#79 Re :   UO Steam Macro Library
3 years ago  April 12, 2021, 09:28:19 PM

///initial attack then carries over to "1v1 mob" macro loop/////
@getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
cast 'enemy of one'
virtue 'honor'
target 'enemy'
pause 500
msg 'all kill'
target 'enemy'
pause 500
playmacro '1v1 mob'
///this the single target attack loop macro that the "honor" macro feeds into///
if stam <= 85
  cast 'divine fury'
endif
if @inrange 'enemy' 10
  useskill 'discordance'
  target! 'enemy'
endif
setability 'primary' 'on'
attack 'enemy'
pause 300
if @inrange 'enemy' 10
  // Dump harmful target into current enemy
  if targetexists 'harmful'
    target! 'enemy'
    // Harm if enemy is standing next to you
  elseif @inrange 'enemy' 1
    cast 'Harm' 'enemy'
  else
    // Handle sequence, alias trick
    if not @findalias 'Sequencing'
      cast 'FireBall' 'last'
      @setalias 'Sequencing' 'self'
    else
      cast 'fireball' 'last'
      @unsetalias 'Sequencing'
    endif
    // Wait until cast is finished
    while waitingfortarget 'harmful'
    endwhile
  endif
endif

@MisterG
omg still with colors?
 


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#80 Re :   UO Steam Macro Library
3 years ago  April 12, 2021, 09:28:41 PM

///Honor Macro///
@getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
paperdoll 'enemy'
pause 100
// change x value based on your screen resolution -40
clickscreen! 1880 265
cast 'enemy of one'
virtue 'honor'
pause 500
target 'enemy'
cast 'consecrate weapon'
pause 500
cast 'curse weapon'
pause 250
msg 'all kill'
target 'enemy'
pause 500
playmacro '1v1'


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#81 Re :   UO Steam Macro Library
3 years ago  April 12, 2021, 09:29:02 PM

///1v1 Macro///
if stam <= 85
  cast 'divine fury'
endif
if @inrange 'enemy' 10
  useskill 'discordance'
  target! 'enemy'
endif
setability 'primary' 'on'
attack 'enemy'
pause 300


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#82 Re :   UO Steam Macro Library
3 years ago  April 12, 2021, 09:29:19 PM

///Harm - Fireball Sequence///
if @inrange 'enemy' 10
  // Dump harmful target into current enemy
  if targetexists 'harmful'
    target! 'enemy'
    // Harm if enemy is standing next to you
  elseif @inrange 'enemy' 1
    cast 'Harm' 'enemy'
  else
    // Handle sequence, alias trick
    if not @findalias 'Sequencing'
      cast 'FireBall' 'last'
      @setalias 'Sequencing' 'self'
    else
      cast 'fireball' 'last'
      @unsetalias 'Sequencing'
    endif
    // Wait until cast is finished
    while waitingfortarget 'harmful'
    endwhile
  endif
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1295 Posts
#83 Re :   UO Steam Macro Library
3 years ago  April 12, 2021, 09:29:44 PM

cast 'Ki Attack'
if inrange 'enemy' 11
  cast "teleport"
  waitfortarget 1000
  while targetexists
    if inrange 'enemy' 11
      targettilerelative 'enemy' 1 'true'
    endif
  endwhile
  attack 'enemy'
endif
playmacro 'primary ability'


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

UltimaKnight
Offline
1 Posts
#84 Re :   UO Steam Macro Library
2 years ago  May 25, 2021, 09:00:00 PM

Just a rellay basic macro, mostly cut and past easy to  use,. some ids saved so it allways targets doom bosses. cast heal at the end, well heal over time with clerics. 

there is no use id for your weapon .,  this is due to hot keys i use to switch, 

attack 0x1743ed

attack 0x180fa9

attack 0x182230

attack 0x42040723

attack 0x184c88

attack 0x185253

setability 'primary'

attack 0x1743ed

pause 1500

setability 'primary'

attack 0x1743ed

pause 1500

cast "Enemy of One"

pause 1500

attack 0x1743ed

pause 150

cast "Divine Fury"

pause 1500

attack 0x1743ed

pause 1500

setability 'primary'

pause 1500

attack 0x1743ed

pause 1500

cast "Divine Fury"

pause 1500

attack 0x1743ed

pause 1500

setability 'primary'

pause 1500

attack 0x1743ed

pause 1500

cast "Consecrate Weapon"

pause 150

setability 'primary'

pause 1500

attack 0x1743ed

replygump 0xddd2ad23 2

waitforgump 0xddd2ad23 15000

replygump 0xddd2ad23 2

waitforgump 0xddd2ad23 15000

waitfortarget 15000

target! 'self'

attack 0x1743ed

End Of text --------------------------------------------

 

alt configs, 

if @findobject youritemid 'any' 'backpack' 

clearhands right

equipitem youritemid 1

endif

clearignorelist

while @getenemy 'murderer' 'enemy' 'gray' 'criminal' 'closest'

//while @getenemy 'enemy' 'gray' 'criminal' 'closest'

//***Prevents you from attacking gray pets directly***///

if @property 'Loyalty' 'enemy' == "Wonderfully Happy" or @property 'Loyalty' 'enemy' == "Extremely Happy"

ignoreobject 'enemy'

pause 150

//@getenemy 'murderer' 'enemy' 'gray' 'criminal' 'closest'

@getenemy 'enemy' 'gray' 'criminal' 'closest'

endif

if @property 'Loyalty' 'enemy' == "Very Happy" or @property 'Loyalty' 'enemy' == "Happy"

ignoreobject 'enemy'

pause 150