Yoko

All sides of Injection
It is currently 2025-10-17 01:19:32

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2007-07-11 14:08:49 
Offline

Joined: 2007-07-11 14:06:24
Posts: 3
Добрый день.

Обыскал, весь Ваш форум, так и ненашел скрипт, которы мне нужен.

Мне нужно, чтобы персонаж сам разделил руду по 1 оре и сплавил её.

Но, у нас руда плавиться таким способом:

2Клик на плавилку и потом на руду..

Помогите.

Спасибо


Top
   
 Post subject:
PostPosted: 2007-07-11 19:53:46 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
uo.WaitTargetObject('finditem') #ore
uo.UseObject('Forge')


Top
   
 Post subject:
PostPosted: 2007-07-12 12:49:44 
Offline

Joined: 2007-07-11 14:06:24
Posts: 3
Это что?:(


Top
   
 Post subject:
PostPosted: 2007-07-12 15:32:22 
Offline
User avatar

Joined: 2006-11-02 11:57:11
Posts: 95
Code:
############################################ 
#  Script Name: Плавка по 1 руде#
var Version = ' 2.1'                       #
#  Shard : www.nightday.com.ua             #
#  Created by : Levsha                     #
#  E-Mail : duha@ukr.net                   #
#  ICQ : 32404540                          #
#  Параметры:                              #
var Ore='0x19b9'   ;Тип Руды               #
var Ingot='0x1bf2' ;Тип Ингот            #
############################################
Sub main()
var i
var tp
uo.print("Scripts : Plavka Po 1 Rudinke")
uo.print("Version" + Version)
Wait(2000) 
   UO.AddObject('Gorn')
   While UO.Targeting()==2
      wait(500)
   Wend
   UO.SaveConfig()
   
   UO.AddObject('Sunduk')
   While UO.Targeting()==2
      wait(500)
   Wend
   UO.SaveConfig()
While NOT UO.Dead()
 UO.FindType('0x19B9','-1','Sunduk')
      if UO.GetQuantity('finditem')>0 then
        UO.Grab('1','finditem')
        wait(400)
        CheckLag()
      end if 
repeat
 UO.FindType(Ore,'-1','-1')
      if UO.GetQuantity('finditem')>0 then   
   uo.waittargetobject('Gorn')
   UO.UseType(Ore)
   tp=0
   repeat
    tp=tp+1
    wait(100)
   until UO.InJournal("cliloc# 0xA8E4") OR UO.InJournal("cliloc# 0xA8E5") OR tp>=30
   UO.FindType(Ore,'-1','-1')
      end if
until  UO.GetQuantity('finditem')==0 
repeat
       UO.FindType(Ingot,'-1','-1')
      if UO.GetQuantity('finditem')>0 then
        UO.MoveItem('finditem',0,'Sunduk')
        wait(400)
        CheckLag()
        UO.FindType(Ingot,'-1','-1')
      end if 
until UO.GetQuantity('finditem')==0
wend
End Sub
Sub CheckLag()
If uo.stamina < 5 Then
    Wait(20000)
endif
if uo.Waiting()>0 then
   uo.Exec('canceltarget')
end if
    uo.DeleteJournal()
    uo.Click('backpack')
repeat
       wait(200)
until uo.InJournal('cliloc# 0x9A12');backpack
end sub


Да простит меня аффтор


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited