Yoko

All sides of Injection
It is currently 2025-12-21 18:18:50

All times are UTC+02:00




Post new topic  Reply to topic  [ 20 posts ] 
Author Message
PostPosted: 2006-05-26 00:34:54 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
Ребята помогите,если есть у кого нить скрипт,который делает армс лорэ на арм,если новый кидает в одну сумку,если нет в другую.


Top
   
 Post subject:
PostPosted: 2006-05-26 00:40:23 
Offline
Expert!
User avatar

Joined: 2006-02-25 21:48:38
Posts: 1032
скрипт на 3 строчки... сам попробуй напиши :wink:

_________________
DerMeister сейчас на нейрале!


Top
   
 Post subject:
PostPosted: 2006-05-26 00:41:54 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
попробывал

Хня получилась

Не запускается даже!


Top
   
 Post subject:
PostPosted: 2006-05-26 11:07:15 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Напиши какие месаги и т.д. выложу.


Top
   
 Post subject:
PostPosted: 2006-05-26 11:15:56 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
sub rasklad()
  var arm=' type of armor '
  var pack1=' ID of pack where are full repeared armors '
  var pack2=' ID of pack where are badly damaged armors '
  var sunduk=' ID of pack-where are all arms '
  var msg1=' msg of full repeared arms '
  var msg2=' msg of badly demaged armors '
  var k
  uo.FindType(arm,'-1',sunduk)
  while uo.FindCount()
    uo.FindType(arm,'-1',sunduk)   
    uo.WaitTargetObject('finditem')
    uo.UseSkill('Arms Lore')
    k = 0
    uo.DeleteJournal()
    repeat
      wait(100)
      k = k + 1
    until uo.InJournal(msg1) or uo.InJournal(msg2) or k(>50)
    if uo.InJournal(msg1) then
      uo.MoveItem('finditem','-1',pack1)
      wait(1000)
    end if
    if uo.InJournal(msg2) then
      uo.MoveItem('finditem','-1',pack2)
      wait(1000)
    end if   
  wend
end sub


Писал в окне ответа.Не проверял, посмотри .


Top
   
 Post subject:
PostPosted: 2006-05-27 16:46:20 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
until uo.InJournal(msg1) or uo.InJournal(msg2) or k(>50)

в этой строке ошибку выдает!


Top
   
 Post subject:
PostPosted: 2006-05-27 16:54:07 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
ilove_skazi wrote:
until uo.InJournal(msg1) or uo.InJournal(msg2) or k(>50)

в этой строке ошибку выдает!


либо ты мсг неправильно прописал либо k > 50 должен быть так

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


Top
   
 Post subject:
PostPosted: 2006-05-27 17:13:19 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
sub unload()
  var n
  var pack1=' ID of pack where are full repeared armors '
  var pack2=' ID of pack where are badly damaged armors '
  var sunduk=' ID of pack-where are all arms '
  var msg=' msg of full repeared arms '
Dim arm[7]
arm[1] = '0x1412' #helm
arm[2] = '0x1413' #gorget
arm[3] = '0x1410' #arms
arm[4] = '0x1414' #gauntlets
arm[5] = '0x1415' #platemail
arm[6] = '0x1411' #legs
arm[7] = '0x1B76' #heater

For n=1 To 7
  repeat
    uo.FindType(arm[n],'-1',sunduk)
    if uo.findcount() then
    uo.deletejournal()
    uo.WaitTargetObject('finditem')
    uo.UseSkill('Arms Lore')
    if uo.InJournal(msg) then
      uo.MoveItem('finditem','-1',pack1)
      wait(1000)
      else
      uo.MoveItem('finditem','-1',pack2)
      wait(1000)
     until uo.findcount()==0
      next
    end if   
   end if
end sub


пробуй...

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


Top
   
 Post subject:
PostPosted: 2006-05-27 17:27:26 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
Можешь добавить, чтоб проверяллось не по месаге о состоянии арма.... а по цыфре дефенса выдаваемой арм лором.... т.е. там пишется сначало уровень дефенса арма, а потом ток фулл репеер или велл вронг и тд!


Top
   
 Post subject:
PostPosted: 2006-05-27 17:32:06 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
ilove_skazi wrote:
Можешь добавить, чтоб проверяллось не по месаге о состоянии арма.... а по цыфре дефенса выдаваемой арм лором.... т.е. там пишется сначало уровень дефенса арма, а потом ток фулл репеер или велл вронг и тд!


зделай пару армс лоре и напишы ,showjournal потом сюда копируй

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


Top
   
 Post subject:
PostPosted: 2006-05-27 17:48:38 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
когда пишу showjournal просит линию и номер:)


Top
   
 Post subject:
PostPosted: 2006-05-27 17:55:00 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
------Journal [10]------
What would you like to evaluate?
Defense [42].This item is a bit worn. It is not repairable.
What would you like to evaluate?
Defense [56].This item is a bit worn. It is not repairable.
Select Target
Targeting Cancelled
Select Target


написал showjournal all


Top
   
 Post subject:
PostPosted: 2006-05-27 17:57:35 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
просто пропишы var msg='fuly repair' и все

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


Top
   
 Post subject:
PostPosted: 2006-05-27 18:05:54 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
Мне почти новые тож надо оставлять.....Если новый арм дает 23 арма, то до 20 арма можно оставлять вещь!

What would you like to evaluate?
You must wait to perform another action
Defense [42].This item is a bit worn. It is not repairable.
What would you like to evaluate?
Defense [45].This item is a bit worn. It is not repairable.
What would you like to evaluate?
You must wait to perform another action
Defense [53].This item is a bit worn. It is not repairable.
What would you like to evaluate?
Defense [57].This item is in full repair. It is not repairable.
What would you like to evaluate?
Defense [39].This item is a bit worn. It is not repairable.
What would you like to evaluate?
Defense [29].This item is a bit worn. It is not repairable.
What would you like to evaluate?
Defense [23].This item is well worn. It is not repairable.
What would you like to evaluate?
Defense [42].This item is a bit worn. It is not repairable.
What would you like to evaluate?
Defense [56].This item is a bit worn. It is not repairable.
Select Target


Top
   
 Post subject:
PostPosted: 2006-05-27 18:06:47 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
Defense [56] это не реальный дефенс :)
У этого 56 реальный девесн 22


Top
   
 Post subject:
PostPosted: 2006-05-27 18:10:12 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
var msg='This item is in full repair'

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


Top
   
 Post subject:
PostPosted: 2006-05-27 18:24:04 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
Блин.....

Мне надо в сумку отклыдвать не только полностью новые арморы, но и чуть-чуть побитые.... а средне побитые и сильно побитые в другую!


Top
   
 Post subject:
PostPosted: 2006-05-27 18:29:02 
Offline
Expert!
User avatar

Joined: 2006-02-25 21:48:38
Posts: 1032
Тогда тут надо сообщения обрабатывать... Удачи =)

_________________
DerMeister сейчас на нейрале!


Top
   
 Post subject:
PostPosted: 2006-05-27 18:29:47 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
var msg='full repair|bit worn'

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


Top
   
 Post subject:
PostPosted: 2006-05-27 19:33:23 
Offline

Joined: 2004-11-28 23:17:38
Posts: 44
Бит ворн идет от армора по котрому 10 раз с меча ударили до велл ворна... а велл ворн уже не дает почти армора!


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

All times are UTC+02:00


Who is online

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