Yoko

All sides of Injection
It is currently 2025-11-23 16:32:04

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2007-04-16 11:59:44 
Offline

Joined: 2006-12-24 20:26:50
Posts: 15
вот нашёл скрипт в разделе что ищют многие а он неработает


Code:
sub inscription() 
Var blanc='0x0E34'   # тип бланка
Var food='0x09D0' # тип еды
Var sunduk=0x40013FD5 # ИД где лежат реги и бланки
Var a, k, z, f
Var b='Poison' # Имя вашего скрола
Var msg='You put'
Var msg1='You fail'
Var MaxWeight= 600
Var scroll='0x1F40' # Тип нарисованного скрола
a = 3 # !!!Круг в котором находится ваш спел!!!


 DIM reg[9]

        reg[0]=0x0F88
        reg[1]=0x0F85
        reg[2]=0x0F84
        reg[3]=0x0F8C
        reg[4]=0x0F8D
        reg[5]=0x0F7B
        reg[6]=0x0F7A
        reg[7]=0x0F86
        reg[8]=0x0E34
UO.UseObject(sunduk)
wait(1000)
if a==1 then
    k = 'First'
    uo.Print(' First Circles ')
  end if
  if a==2 then
    k = 'Second'
    uo.Print(' Second Circles ')
  end if
  if a==3 then
    k = 'Third'
    uo.Print(' Third Circles ')
  end if
  if a==4 then
    k = 'Fourth'
    uo.Print(' Fourth Circles ')
  end if
  if a==5 then
    k = 'Fives'
    uo.Print(' Fives Circles ')
  end if
  if a==6 then
    k = 'Sixth'
    uo.Print(' Sixth Circles ')
  end if
  if a==7 then
    k = 'Seventh'
    uo.Print(' Seventh Circles ')
  end if
  if a==8 then
    k = 'Eighth'
    uo.Print(' Eighth Circles ')
  end if
while not uo.Dead()
 
    for f=0 to 8
      if uo.Count(reg[f]) < 1 then
        uo.FindType(reg[f],'-1',sunduk)
          if UO.FindCount() > 0 then
            uo.moveitem('finditem','100')
            wait(1000)
          else
            UO.Print('There are no regs!!!')
            uo.exec("terminate inscription")
          end if
      end if
    next
    uo.WaitMenu('Spell',k,a,b)
    uo.UseType(blanc)
    z = 0
    uo.DeleteJournal()
    repeat
      wait(500)
      z = z + 1
    until uo.InJournal(msg) or uo.InJournal(msg1) or (z > 50)
    if uo.InJournal('hungry') or uo.InJournal('starving') then
      uo.FindType(food,'-1',sunduk)
      uo.moveitem('finditem','20')
      repeat
        uo.UseType(food)
        wait(750)
      until uo.InJournal('simply')
    end if
wend
end sub

Он запускается берёт нс и вырубается!


Top
   
 Post subject:
PostPosted: 2007-04-16 12:13:49 
Offline
User avatar

Joined: 2006-05-25 23:02:02
Posts: 185
Location: Uoo
все прописал в скрипте? тип бланков проверь, полностью все посмотри,бывают такие заморочки


Top
   
 Post subject:
PostPosted: 2007-04-16 14:48:45 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Для удобства я прописал что бы он брал все реги,

Code:
    for f=0 to 8 
      if uo.Count(reg[f]) < 1 then
        uo.FindType(reg[f],'-1',sunduk)
          if UO.FindCount() > 0 then
            uo.moveitem('finditem','100')
            wait(1000)
          else
            UO.Print('There are no regs!!!')
            uo.exec("terminate inscription")
          end if
      end if
    next


а потом уже некоторые оставались не тронутыми а другие он постоянно добирал. Положи по 10 остальных регов в тот же сундук.


Top
   
 Post subject:
PostPosted: 2007-04-17 11:01:49 
Offline

Joined: 2006-12-24 20:26:50
Posts: 15
Scripts Writer wrote:
Для удобства я прописал что бы он брал все реги,

Code:
    for f=0 to 8 
      if uo.Count(reg[f]) < 1 then
        uo.FindType(reg[f],'-1',sunduk)
          if UO.FindCount() > 0 then
            uo.moveitem('finditem','100')
            wait(1000)
          else
            UO.Print('There are no regs!!!')
            uo.exec("terminate inscription")
          end if
      end if
    next


а потом уже некоторые оставались не тронутыми а другие он постоянно добирал. Положи по 10 остальных регов в тот же сундук.


спс все отл работает!


Top
   
 Post subject:
PostPosted: 2009-11-22 14:22:20 
Offline

Joined: 2008-12-06 01:01:20
Posts: 4
а у меня этот скрипт напрочь отказываеться работать.
))=
у меня открываеться меню какой спел рисовать и все )= и не рисует. хотя я и тип скрола прописал и название )=


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