Yoko

All sides of Injection
It is currently 2025-12-23 19:24:31

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2006-11-02 01:05:04 
Offline

Joined: 2006-03-05 17:13:50
Posts: 37
Code:
Вот скрипт:

Var Forge='0x401FD813' ;Это форжа
Var Sunduk='0x400AEE18' ;Это сундук где инги
Var TItem='0x1404' ;Это тип итема который крафтаем, War Fork в данном случае

sub MenuIron()
   uo.cancelmenu()
   uo.automenu('Blacksmithing','Weapons')
   uo.automenu('Weapons','Spears & Forks')
   uo.automenu('Spears & Forks','war fork (8 iron ingot)')
end sub

sub MenuColor()
   uo.cancelmenu()
   uo.automenu('Blacksmithing','Colored Armor & Weapons')
   uo.automenu('Colored Armor & Weapons','Weapons')
   uo.automenu('Weapons','Spears & Forks')
   uo.automenu('Spears & Forks','War Fork')
end sub

sub BlacksmithyWarFork()
VAR i=1

Dim TIngot[18] ; Типы ингов
For i=1 To 18
   TIngot[i]='0x1BEF' ;Большинство ингов этого типа
next
TIngot[5]='0x1BE3' ;Copper
TIngot[7]='0x1BE5' ;Silver
TIngot[9]='0x1BE9' ;Shadow

Dim CIngot[18] ; Цвета ингов
CIngot[1]='0x0000' ;Iron
CIngot[2]='0x0750' ;Rusty
CIngot[3]='0x0590' ;Old Copper
CIngot[4]='0x060A' ;Dull Copper
CIngot[5]='0x0000' ;Copper
CIngot[6]='0x0488' ;Bronze
CIngot[7]='0x0000' ;Silver
CIngot[8]='0x0000' ;Gold
CIngot[9]='0x096B' ;Shadow
CIngot[10]='0x0014' ;Rose
CIngot[11]='0x0193' ;Agapite
CIngot[12]='0x04C2' ;Blood Rock
CIngot[13]='0x07D5' ;Verite
CIngot[14]='0x00CE' ;Valorite
CIngot[15]='0x052D' ;Mytheril
CIngot[16]='0x0455' ;Black Rock
CIngot[17]='0x0028' ;Obsidian
CIngot[18]='0x08AF' ;Plutonium

MenuIron()

uo.useobject(Sunduk)
wait(200)

While 1==1
ff:
   UO.FindType(TIngot[i],CIngot[i],'backpack')
   Wait(200)
   If UO.Count(TIngot[i],CIngot[i])<8 Then
      If UO.Count(TIngot[i],CIngot[i])>0 Then
         UO.SetReceivingContainer(Sunduk)
         cheklag()
         UO.Grab('0','finditem')
         wait(1000)
         UO.UnSetReceivingContainer()
      end if
      UO.FindType(TIngot[i],CIngot[i],Sunduk)
      Wait(200)
      If UO.GetQuantity('finditem')>=8 Then
         cheklag()
         UO.Grab('100','finditem')
         Wait(1000)
      else
         i=i+1
         If i>18 Then
            uo.closeuo()
         end if
         MenuColor()
         goto ff
      end if
   end if

   cheklag()
   UO.DeleteJournal()
   UO.UseType(TIngot[i],CIngot[i])

   while NOT UO.InJournal("You put") AND NOT UO.InJournal("You have failed")
      wait(50)
   wend

   UO.FindType(TItem,-1,'backpack')
   wait(10)
   If UO.GetQuantity('finditem')>0 then
      UO.WaitTargetObject('finditem')
      UO.UseObject(Forge)
      Wait(1000)
   Endif 
wend
end sub

sub cheklag()
uo.deletejournal()
uo.click('backpack')
Repeat
wait(100)
Until UO.InJournal("backpack")
end sub


после запуска просто закрывает уо !!!! Помогите!ПЛЗ!


Top
   
 Post subject:
PostPosted: 2006-11-02 01:37:43 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
 uo.closeuo() 

удалить

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


Top
   
 Post subject:
PostPosted: 2006-11-02 12:48:12 
Offline

Joined: 2006-03-05 17:13:50
Posts: 37
NMY wrote:
Code:
 uo.closeuo() 

удалить



выбрасывает : Runtime error


Top
   
 Post subject:
PostPosted: 2006-11-02 14:36:13 
Offline
Sphere expert
User avatar

Joined: 2004-10-01 08:27:38
Posts: 1143
Location: Уфа
))). Знакомый скрипт то какой.

Если честна то я его даже не тестал ни разу. На коленках написал.
Могут быть баги.

_________________
Сделал дело - флуди смело !!!


Top
   
 Post subject:
PostPosted: 2006-11-02 14:38:35 
Offline

Joined: 2006-03-05 17:13:50
Posts: 37
Askaneli wrote:
))). Знакомый скрипт то какой.

Если честна то я его даже не тестал ни разу. На коленках написал.
Могут быть баги.



:D да знакомый ник! :) можеш помочь???ПЛЗ


Top
   
 Post subject:
PostPosted: 2006-11-02 17:26:03 
Offline
Expert!
User avatar

Joined: 2005-05-20 20:30:10
Posts: 548
дело видимо тут

Code:
Dim TIngot[18] ; Типы ингов 
For i=1 To 18
   TIngot[i]='0x1BEF' ;Большинство ингов этого типа
next
TIngot[5]='0x1BE3' ;Copper
TIngot[7]='0x1BE5' ;Silver
TIngot[9]='0x1BE9' ;Shadow



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

All times are UTC+02:00


Who is online

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