Discussion in   Coding Corner   started     8 years ago   July 18, 2015, 07:05:19 PM   by   Riversilk

[UOSteam] Script to combine quest items

Riversilk
Offline
31 Posts
Topic :   [UOSteam] Script to combine quest items
8 years ago  July 18, 2015, 07:05:19 PM

This script is useful to combine alot of quest items that you get off mobs during Power hours.
For this month of July, it will combine all the Fireworks you loot into a single one.
To adapt to other quest items, just change the type after @findtype in the first line (0xa12 = firework), you can find it by using the "Object Inspector" button and selecting the "graphic" value

Just copy/paste this into a new macro in UOS, then play it

Code: [Select]
// Combine quest items
// Author: Kyramir (UO Evolution)
@unsetalias 'questitem'
clearignorelist
// Set to the quest item type to combine
while @findtype 0xa12 'any' 'backpack'
  if not @findalias 'questitem'
    @setalias 'questitem' 'found'
    ignoreobject 'found'
  else
    autotargetobject 'found'
    useobject 'questitem'
    waitingfortarget
    pause 600
  endif
endwhile
@unsetalias 'questitem'
sysmsg 'FINISH!' 28

Leighton
Offline
118 Posts
#1 Re :   [UOSteam] Script to combine quest items
8 years ago  July 19, 2015, 03:29:25 AM

thnx kyramir,


i was asking in chat for a tool like that some days before.


ty , swift

Riversilk
Offline
31 Posts
#2 Re :   [UOSteam] Script to combine quest items
8 years ago  July 19, 2015, 09:21:16 AM

Yes, i made it remembering your request :D

Smilingdeath
Offline
275 Posts
#3 Re :   [UOSteam] Script to combine quest items
7 years ago  October 18, 2016, 07:43:52 PM

Today I started experimenting with this macro in an attempt to allow me to stack pumpkins and over flowing bags of candy.  So far no luck, but I will work on it more later.