Help with equiping...

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Alin
Posts: 8
Joined: 2004-04-13 19:30:26

Help with equiping...

Post by Alin »

I would like to make a script that equips the armour, because on the shard I play you can't use the ,dress ... :(
the pb is that I don't know how to use the ,equip (uo.equip) command...
could someone help me, pls?
Tnx.
Pummy
Posts: 18
Joined: 2004-04-04 07:39:27

Post by Pummy »

Make something like this:
sub EquipArmor()
UO.EquipT('Torso','0x1415')
wait(350)
UO.EquipT('Legs','0x1411')
wait(350)
UO.EquipT('Arms','0x1410')
wait(350)
UO.EquipT('Neck','0x1413')
wait(350)
UO.EquipT('Gloves','0x1414')
wait(350)
UO.EquipT('Hat','0x1412')
wait(350)
UO.EquipT('Brace','0x1086')
;wait(350)
;UO.EquipT('Lhand','0x1b76')
;wait(350)
;UO.EquipT('Rhand','0x13b9')
end sub
Alin
Posts: 8
Joined: 2004-04-13 19:30:26

Post by Alin »

Tnx!
you forgot a wait at the end.. :oops:

Code: Select all

sub EquipArmor() 
UO.EquipT('Torso','0x1415')
wait(800)
UO.EquipT('Legs','0x1411')
wait(800)
UO.EquipT('Arms','0x1410')
wait(800)
UO.EquipT('Neck','0x1413')
wait(800)
UO.EquipT('Gloves','0x1414')
wait(800)
UO.EquipT('Hat','0x1412')
wait(800)
UO.EquipT('Brace','0x1086')
wait(800)
UO.EquipT('Lhand','0x0501')
wait(800)
UO.EquipT('Rhand','0x13b9')
wait(800)
end sub
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

,setdressspeed delay_ms
to use dress/arm on shard with antifastloot protections
Alin
Posts: 8
Joined: 2004-04-13 19:30:26

Post by Alin »

:mrgreen:
tnx !!! ^_^
Alin
Posts: 8
Joined: 2004-04-13 19:30:26

Post by Alin »

i just tryed to use it, but there's this pb: the time that i use to put on the armour the client is stuck, and i can't to a thing.. it even come out the error message that asks me if i should wait 5 sek....
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

these messages removed by "no hung message" at main tab but nothing can be do with delays. use scripts to arm/dress, they work in parallel thread.

i started to changing this but now works frozen
Post Reply