UOS help - convert to item type

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
Post Reply
Russ4ua
Posts: 117

UOS help - convert to item type

Post by Russ4ua »

With razor, I could record a macro picking up a bod, go to razor window, right click the item and convert it to item type. How do you do this with UOS? 30+ years of gaming has left my hands in pretty bad shape. I don't need anything complicated that will sort or resupply. I'll be at the keyboard, just don't want to do it by hand.

Thanks
Madmarz
Posts: 277

Re: UOS help - convert to item type

Post by Madmarz »

You talking about sorting items by type?
Russ4ua
Posts: 117

Re: UOS help - convert to item type

Post by Russ4ua »

I want to pick up by type. For a bod turn in macro and to sort them in my pack. When I record a macro doing it, it's only good for that one specific item. I want to pick up all the bods in my pack and drop them in a corner or onto a vendor.
Madmarz
Posts: 277

Re: UOS help - convert to item type

Post by Madmarz »

ok, are you wanting to get new bods after turning in or just turn them in?
Russ4ua
Posts: 117

Re: UOS help - convert to item type

Post by Russ4ua »

Got it working but I had to put in five or more values. Was hoping for something simple like razor had- for use in future macros. I choose, by hand, to accept or decline the bod. Just wanted to eliminate some dragging and clicking.

movetype 0x2258 0x4122ad58 0x62992 974, 529, -50 1155 1 0
pause 600
waitforcontext 0x62992 1 15000
Pause 10000

Thanks for your time
Madmarz
Posts: 277

Re: UOS help - convert to item type

Post by Madmarz »

Ok well heres a script that will take a bod out of a book, turn it in, get a new bod and put it in another book

Code: Select all

//Before you start this macro, speak either Betty or Thomas while standing next them so they will stand still
@setalias 'FilledBod' //(put bulk order book serial here)
@setalias 'NewBod' //(put bulk order book serial here)
//Thomas the tailor id 0x4104b, Betty the blacksmith id 0x4102e
@setalias 'BodIn' //put id of respective bod type i.e. betty for blacksmith bods
if not listexists 'Bodhue'
  createlist 'Bodhue'
  //Smith hue 1102, tailor hue 1155
  pushlist 'Bodhue' //put bod hue of approprate type here
endif
for 0 to 'Bodhue'
  if not @findtype 0x2258 Bodhue[] 'backpack' 1
    useobject 'FilledBod'
    pause 500
    replygump 0x54f555df 5
    pause 500
    movetype 0x2258 'backpack' 'BodIn' [(0 0 0)] Bodhue[] 1
    pause 1000
    waitforcontext 'BodIn' 1 15000
    waitforgump 'any' 15000
    replygump 'any' 1
    pause 1000
    movetype 0x2258 'backpack' 'NewBod' [(0 0 0)] Bodhue[] 1
    pause 10000
  else
    movetype 0x2258 'backpack' 'BodIn' [(0 0 0)] Bodhue[] 1
    pause 1000
    waitforcontext 'BodIn' 1 15000
    waitforgump 'any' 15000
    replygump 'any' 1
    pause 1000
    movetype 0x2258 'backpack' 'NewBod' [(0 0 0)] Bodhue[] 1
    pause 10000
  endif
endfor
Gargl Kark and Bama like this.
Top
Russ4ua
Posts: 117

Re: UOS help - convert to item type

Post by Russ4ua »

Awesome.
Post Reply