Yoko

All sides of Injection
It is currently 2025-12-22 07:01:13

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Бов с выходом
PostPosted: 2008-02-13 21:05:53 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
Вот у меня скрипт, допишите плиз кто может что бы когда ресы в сумке кончатся вырубался клиент(уо) а то немогу найтив хелпе

Code:
sub bowcraft() 
var log='0x1BDD' ; Òèï ëîãîâ
var dagger='0x40059779' ; ID äàãåðà
var making=3000 ; Âðåìÿ èçãîòîâëåíèÿ
var shaft='0x1BD4'
 
  uo.Exec('addobject sunduk')
  while uo.Targeting()
    wait(300)
  wend
  while not uo.DeaD()
    uo.FindType(log,'-1','backpack')
    if uo.FindCOunt() then
      wait(300)
    else
      uo.FindType(log,'-1','sunduk')
      if uo.FindCount() then
        uo.moveitem('finditem','1')
        wait(500)
      else
        uo.Exec('terminate bowcraft')
      end if
    end if
    uo.WaitMenu('What','shaft')
    uo.WaitTargetType(log)
    uo.UseObject(dagger)
    wait(making)
    if uo.Count(shaft) > 100 then
      uo.FindType(shaft,'-1','backpack')
      uo.moveitem('finditem','100','sunduk')
      wait(500)
    end if
  wend
end sub


Top
   
 Post subject:
PostPosted: 2008-02-13 21:45:52 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
    uo.FindType(log,'-1','backpack')
    if uo.FindCOunt() then
      wait(300)
    else
      uo.FindType(log,'-1','sunduk')
      if uo.FindCount() then
        uo.moveitem('finditem','1')
        wait(500)
      else
        uo.Exec('terminate bowcraft')
      end if
    end if

ужас :lol:

Скрипт тут если ненаходит в сумке то он ищет в сундуке, если ненашол то убивает себя...

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2008-02-13 22:54:50 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
та не убивает:( он ищет в сундуке потом ложит в сум ку и ищет в сумке все нормасно работает


Top
   
 Post subject:
PostPosted: 2008-02-14 00:25:51 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Shadowdancer wrote:
та не убивает:( он ищет в сундуке потом ложит в сум ку и ищет в сумке все нормасно работает


Тогда где проблема?

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2008-02-14 00:51:44 
Offline
User avatar

Joined: 2005-08-09 23:16:57
Posts: 97
uo.closeuo() :?


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


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