Yoko

All sides of Injection
It is currently 2025-10-19 18:20:44

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Вар Пак
PostPosted: 2009-02-28 11:20:42 
Offline

Joined: 2009-02-09 13:30:13
Posts: 22
Люди есть ли такой скрипт чтобы собирал вар пак например подходил к сундуку и брал от туда реги бутылки и т.д заранее спасибо


Top
   
 Post subject:
PostPosted: 2009-02-28 14:26:35 
Offline

Joined: 2008-12-13 00:00:15
Posts: 174
Code:
sub Yohoho()
   var Chest='0x40112118'
   var RegsQuanity = 65
   var GreaterHealQuanity = 22
   var TotalManaQuanity = 28
   var TotalRefreshQuanity = 16
   var DeadlyPoisonQuanity = 7
   var InvisibilitylQuanity = 1
   var BandageQuanity = 120
   var ParalyzeScrollQuanity = 30
   var FlameStrikeScrollQuanity = 10
   var k = 0, n
   uo.useobject(Chest)
   Checklag()
   dim Regs[8]
   Regs = RegsMassive(Regs)
   for n = 1 to 8
      uo.findtype(Regs[n],-1,Chest)
      Checklag()
      if uo.findcount() >= 1 then
         uo.moveitem('finditem',RegsQuanity,'backpack', 150, 25, 0)
         wait(700)
         Checklag()
      end if
   next
   uo.print('Реги Есть =ъ')
   uo.useobject(Chest)
   dim BottlesColor[5]
   BottlesColor = BottlesColorMassive(BottlesColor)
   for k = 1 to 5
      uo.findtype('0x0F0E',BottlesColor[k],Chest)
      Checklag()
      if uo.findcount() >= 1 then
         if k == 1 then
            uo.moveitem('finditem',GreaterHealQuanity,'backpack', 96, 26, 0)
            wait(700)
            Checklag()
         end if
         if k == 2 then
            uo.moveitem('finditem',TotalManaQuanity,'backpack', 103, 26, 0)
            wait(700)
            Checklag()
         end if
         if k == 3 then
            uo.moveitem('finditem',TotalRefreshQuanity,'backpack', 110, 26, 0)
            wait(700)
            Checklag()
         end if
         if k == 4 then
            uo.moveitem('finditem',DeadlyPoisonQuanity,'backpack', 117, 26, 0)
            wait(700)
            Checklag()
         end if
         if k == 5 then
            uo.moveitem('finditem',InvisibilitylQuanity,'backpack', 124, 26, 0)
            wait(700)
            Checklag()
         end if
      end if
   next
   uo.print('Бутылки тоже =]')
   uo.findtype('0x0E21',-1,Chest)
   if uo.findcount() then
      uo.moveitem('finditem',BandageQuanity,'backpack', 79, 26, 0)
      wait(700)
      Checklag()
   end if
   uo.findtype('0x1F5F',-1,Chest)
   if uo.findcount() then
      uo.moveitem('finditem',FlameStrikeScrollQuanity,'backpack', 69, 26, 0)
      wait(700)
      Checklag()
   end if
   uo.findtype('0x1F52',-1,Chest)
   if uo.findcount() then
      uo.moveitem('finditem',ParalyzeScrollQuanity,'backpack', 69, 26, 0)
      wait(700)
      Checklag()
      uo.print('Ну и Бинты со Скроллами =]')
   end if
   CheckCount()
end sub

Sub RegsMassive(Regs)
   Regs[1]='0x0F86'
   Regs[2]='0x0F8D'
   Regs[3]='0x0F88'
   Regs[4]='0x0F7A'
   Regs[5]='0x0F85'
   Regs[6]='0x0F84'
   Regs[7]='0x0F8C'
   Regs[8]='0x0F7B'
   return Regs
end sub


Sub BottlesColorMassive(BottlesColor)
   BottlesColor[1]='0x09BB'
   BottlesColor[2]='0x09DF'
   BottlesColor[3]='0x0997'
   BottlesColor[4]='0x0998'
   BottlesColor[5]='0x0631'
   return BottlesColor
end sub

Sub Checklag()
   uo.deletejournal()
   uo.click('backpack')
   repeat
      wait(100)
   until uo.injournal('backpack')
end sub

sub CheckCount()
   uo.useobject('backpack')
   wait(500)
   uo.concolor('0x0000')
   uo.print(str(uo.count('0x0F0E','0x09BB'))+" Great Heals")
   wait(100)
   uo.print(str(uo.count('0x0F0E','0x09DF'))+" Total Mana")
   wait(100)
   uo.print(str(uo.count('0x0F0E','0x0997'))+" Total Refresh")
   wait(100)
   uo.print(str(uo.count('0x0F0E','0x0998'))+" Deadly Poison")
   wait(100)
   uo.print(str(uo.count('0x0F0E','0x0631'))+" Invisibility")
   wait(100)
   uo.print(str(uo.count('0x0F0E','0x09A6'))+" Greater Cure")
   wait(100)
   uo.print(str(uo.count('0x0E21','0x0000'))+" Bandages")
   wait(100)
   uo.print(str(uo.count('0x1F52','0x0000'))+" Paralyze Scroll")
end sub


точняк


Top
   
 Post subject: Вар Пак
PostPosted: 2009-02-28 18:32:56 
Offline

Joined: 2009-02-09 13:30:13
Posts: 22
Он вобще не чего не берет(,что делает Yohoho???


Top
   
 Post subject:
PostPosted: 2009-02-28 19:28:16 
Offline

Joined: 2008-12-13 00:00:15
Posts: 174
Code:
var Chest='0x40112118' 


Top
   
 Post subject: Вар Пак
PostPosted: 2009-02-28 21:09:23 
Offline

Joined: 2009-02-09 13:30:13
Posts: 22
Я поставил id ящика ну все равно не берет(((


Top
   
 Post subject:
PostPosted: 2009-02-28 21:34:06 
Offline

Joined: 2008-12-13 00:00:15
Posts: 174
какой шард? %)скинь типы и цвета бутылок )


Top
   
 Post subject: Вар Пак
PostPosted: 2009-02-28 22:32:42 
Offline

Joined: 2009-02-09 13:30:13
Posts: 22
Шард руо myruo.ru


Top
   
 Post subject: Вар Пак
PostPosted: 2009-02-28 22:40:31 
Offline

Joined: 2009-02-09 13:30:13
Posts: 22
Какие кинуть типы?


Top
   
 Post subject: Вар Пак
PostPosted: 2009-02-28 22:42:05 
Offline

Joined: 2009-02-09 13:30:13
Posts: 22
Type=0x0F0C Name=
Quantity: 20 Colour: 0x0000


Top
   
 Post subject: Вар Пак
PostPosted: 2009-03-01 18:55:22 
Offline

Joined: 2009-02-09 13:30:13
Posts: 22
up


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 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