Yoko

All sides of Injection
It is currently 2018-02-20 11:05:31

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: Простой лут.
PostPosted: 2018-02-08 23:07:03 
Offline

Joined: 2009-06-01 10:02:57
Posts: 65
Друзья помогите с простым скриптом. Суть следующая : берет бучер, режет труп, лутит все под ноль, возвращает оружие в руки и завершает работу. Но работать отказывается упорно. В чем дело.


sub LootWithTarget()
uo.selectignorelist("Find")
uo.addobject("corpse")
repeat
wait(100)
until not uo.targeting()
UO.SetArm('CWeapon')
Save()
uo.waittargetobject("corpse")
uo.usetype("0x13F6")
wait(500)
Save()
uo.opencontainer("corpse", 1000)
repeat
if uo.findtype(-1, -1, "corpse") then
Save()
uo.moveitem("finditem", 0, "backpack")
wait(1600)
end if
until not uo.findcount()
uo.selectignorelist(-1)
UO.Arm('CWeapon')
uo.print("Done!")
end sub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited