Skinner loot script, please help

Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Locked
User avatar
Fiernocht
Legendary Scribe
Posts: 427
Joined: Thu Nov 11, 2010 2:13 pm

Skinner loot script, please help

Post by Fiernocht »

hey all if anyone who is familiar with UO Steam, id like to request a bit of help. I have this macro that skins and loots the hides and gold from corpses, what I am needing some help with is how to add scales of all colors to the loot portion of this scrip. below it is posted

Code: Select all

//you need dagger and scissors in backpack
//auto loot may not work on your server !
//also loots feather's and gold
if not @findtype '0x2006' 'any' 'ground' '1' '2'
  sysmsg ' ******No Corpse Found******' '28'
  stop
else
  @setalias! 'o' 'found'
endif
if not @findtype '0xf52' 'any' 'backpack'
  sysmsg '*****No dagger*****' '25'
  stop
else
  @usetype! '0xf52' 'any' 'backpack'
  waitfortarget '5000'
  target! 'o'
  pause 600
endif
if @findtype! '0x1079' 'any' 'o' 'any' '2'
  @movetype '0x1079' 'o' 'backpack'
  pause 2000
  @usetype! '0xf9f' 'any' 'backpack'
  waitfortarget '2000'
  targettype '0x1079' 'any' 'backpack'
  pause 600
endif
if @findtype! '0x1bd1' 'any' 'o' 'any' '2'
  @movetype '0x1bd1' 'o' 'backpack'
  pause 1000
endif
if @findtype! '0xeed' 'any' 'o' 'any' '2'
  @movetype '0xeed' 'o' 'backpack'
  pause 1000
endif
if @findtype! '0xf26' 'any' 'o' 'any' '2'
  @movetype '0xf26' 'o' 'backpack'
  pause 1000
endif
ignoreobject 'o'
sysmsg 'Corpse Now Ignored' '25'
pause '1500'

this macro works wonders. just set it to a hotkey, smash mobs, hit key, when done hit organizer set up to your BoH. feel free to take this and use it.
“No tree, it is said, can grow to heaven unless its roots reach down to hell.”
― C.G. Jung
User avatar
Fiernocht
Legendary Scribe
Posts: 427
Joined: Thu Nov 11, 2010 2:13 pm

Re: Skinner loot script, please help

Post by Fiernocht »

bump for assistance!
“No tree, it is said, can grow to heaven unless its roots reach down to hell.”
― C.G. Jung
RaeZon
Expert Scribe
Posts: 38
Joined: Mon Feb 04, 2013 9:38 pm
Location: Los Angeles, California

Re: Skinner loot script, please help

Post by RaeZon »

Did this on the fly at the office, the few tests I did worked for me.

Code: Select all

//you need dagger and scissors in backpack
//auto loot may not work on your server !
//also loots feather's and gold
if not @findtype '0x2006' 'any' 'ground' '1' '2'
  sysmsg ' ******No Corpse Found******' '28'
  stop
else
  @setalias! 'o' 'found'
endif
if not @findtype '0xf52' 'any' 'backpack'
  sysmsg '*****No dagger*****' '25'
  stop
else
  @usetype! '0xf52' 'any' 'backpack'
  waitfortarget '5000'
  target! 'o'
  pause 600
endif
if @findtype! '0x1079' 'any' 'o' 'any' '2'
  @movetype '0x1079' 'o' 'backpack'
  pause 2000
  @usetype! '0xf9f' 'any' 'backpack'
  waitfortarget '2000'
  targettype '0x1079' 'any' 'backpack'
  pause 600
endif
if @findtype! '0x1bd1' 'any' 'o' 'any' '2'
  @movetype '0x1bd1' 'o' 'backpack'
  pause 1000
endif
if @findtype! '0xeed' 'any' 'o' 'any' '2'
  @movetype '0xeed' 'o' 'backpack'
  pause 1000
endif
if @findtype! '0xf26' 'any' 'o' 'any' '2'
  @movetype '0xf26' 'o' 'backpack'
  pause 1000
endif
if @findtype! '0x26b4' 'any' 'o' 'any' '2'
  @movetype '0x26b4' 'o' 'backpack'
  pause 1000
endif
ignoreobject 'o'
sysmsg 'Corpse Now Ignored' '25'
pause '1500'
The Chosen One - Alt IGN: Thomas Marshal
Locked