Yoko

All sides of Injection
It is currently 2024-03-28 23:01:57

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: simple ore smelt
PostPosted: 2006-12-01 19:09:53 
Offline
User avatar

Joined: 2005-07-06 18:17:24
Posts: 228
Nuzhen prostoj skript 6tob plavil vsu rudu katoraja v backpacke, 6tob plavil prosto a ne po 1. Esli est u kagota vikladite pozhalusta.


Top
   
 Post subject:
PostPosted: 2006-12-01 19:21:44 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Меняем id печки и вперед.
Code:
sub smeltm()
   VAR Forge='0x40004D06'
   VAR WaitTime=1000
   VAR Exit=0
   
   While Exit<>1
      UO.FindType('0x19B9',-1,'backpack')
      If UO.FindCount() Then
         UO.Print("Good!")
         UO.WaitTargetObject(Forge)
         UO.UseObject('finditem')
         wait(WaitTime)
      Else
         UO.Print("Bad!")
         Exit=1
      Endif
   Wend
end sub


Top
   
 Post subject:
PostPosted: 2006-12-01 19:58:35 
Offline
User avatar

Joined: 2005-07-06 18:17:24
Posts: 228
nafig id pe4ki? nado prosta 2x nazhimat' na vse vidi rudi v backapacke.


Top
   
 Post subject:
PostPosted: 2006-12-01 20:38:13 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
sub SMELTING()
  while uo.skillval('Mining') < 1400
         UO.Findtype('0x19B9', '-1','backpack')
         If UO.Findcount() == 0 Then
            UO.Findtype('0x19B8', '-1','backpack')
            If UO.Findcount() == 0 Then
               UO.Findtype('0x19BA', '-1','backpack')
               If UO.Findcount() == 0 Then
                  UO.Findtype('0x19B7', '-1','backpack')
                  If UO.Findcount() == 0 Then
                    return
              Endif
               Endif
            Endif
         Endif
      UO.moveitem('finditem','1','backpack',44,121,0 )
      Wait(100)
      CheckLag()
      UO.UseType('0x19B7')
      Wait(100)
  wend
end sub

Code:
  while uo.skillval('Mining') < 1400

можно поменять на
Code:
while 1

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


Top
   
 Post subject:
PostPosted: 2006-12-01 21:29:39 
Offline
User avatar

Joined: 2005-07-06 18:17:24
Posts: 228
po 1 plavit, a ne vse srazu.

nafig
Code:
-1','backpack'


mne nenado 6tob on vsu rudu po 1 plavil.


Top
   
 Post subject:
PostPosted: 2006-12-01 21:31:36 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
тогда тебе в поиск... я такие неумею писать :roll:

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


Top
   
 Post subject:
PostPosted: 2006-12-01 22:01:47 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Bangbuss wrote:
nafig id pe4ki? nado prosta 2x nazhimat' na vse vidi rudi v backapacke.
Каков вопрос таков и ответ, ты же не указал каким образом происходит плавка.


Top
   
 Post subject:
PostPosted: 2006-12-01 22:57:17 
Offline
User avatar

Joined: 2005-07-06 18:17:24
Posts: 228
Krch govara, nado 6tob posle komandi, 4ar nahadil v backpacke rudu, i 2x nazhal na vse vidi rudi.


Top
   
 Post subject:
PostPosted: 2006-12-02 06:14:23 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Code:
sub smeltm() 
   VAR Forge='0x40004D06'
   VAR WaitTime=1000
   VAR Exit=0
   
   While Exit<>1
      UO.FindType('0x19B9',-1,'backpack')
      If UO.FindCount() Then
         UO.Print("Good!")
         UO.UseObject('finditem')
         wait(WaitTime)
      Else
         UO.Print("Bad!")
         Exit=1
      Endif
   Wend
end sub


Top
   
 Post subject:
PostPosted: 2006-12-02 14:32:13 
Offline
User avatar

Joined: 2005-07-06 18:17:24
Posts: 228
Savage Big Thx


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 13 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