Yoko

All sides of Injection
It is currently 2026-01-16 19:54:36

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2004-08-05 16:50:29 
Offline

Joined: 2004-07-19 07:36:16
Posts: 15
Система такая стаит коризина треша ты должен сделать дабл клик по корзине появитя таргет затем этим таргетом на рыбу у тябя в паке!!
Подскажите как токое написать*


Top
   
 Post subject:
PostPosted: 2004-08-05 23:58:34 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
Code:
sub trash()
  var obj1 = uoPromptObject("Object_Of_Type_To_Trash"),obj2 = uoPromptObject("Trash")
  var type = uo.getgraphic(obj1)
  var cont = uo.containerof(obj1)
  uo.findtype(type,"-1",cont)
  while uo.findcount()
    uo.moveitem("finditem")
    while uo.containerof("finditem") == cont
      wait(400)
    wend
    uo.findtype(type)
    while uo.findcount()
      uo.waittargettype(type)
      uo.useobject(obj2)
        wait(600)
      uo.findtype(type)     
    wend
    uo.findtype(type,"-1",cont)
  wend
end sub

sub uoPromptObject(s)
  var needserial = 1
  while needserial
    uo.exec("addobject " + s)
    while uo.targeting()
      wait(50)
    wend
    if uo.getserial(s) <> "0x00000000" then
      needserial = 0
    endif
  wend
  return uo.getserial(s)
end sub

отвяжись...

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited