Yoko

All sides of Injection
It is currently 2025-11-13 22:09:56

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Рсклад фулов
PostPosted: 2007-05-08 10:24:57 
Offline

Joined: 2006-03-08 20:53:28
Posts: 115
Можете написать скрипт, на раскладку фулов, суть скрипта в том:
есть два сундука в Одном лежит разный армор там агапит вирит блудрок и т.д. а в другом Лежат сумочки, и чтобы он из того сундука Где лежит арм перекладывал в другой сундук в разные сумки там агапит к агапиту верит к верут блуд рок к блудроку и т.д.
ЗЫ ПОсик юзал),
ЗЫЫ Заранее спасибо


Top
   
 Post subject:
PostPosted: 2007-05-08 12:15:44 
Offline
User avatar

Joined: 2006-05-25 23:02:02
Posts: 185
Location: Uoo
держи
, если етот не подоидет, то я хз чем помоч..

_________________
kak to tak


Top
   
 Post subject:
PostPosted: 2007-05-08 21:35:58 
Offline

Joined: 2006-03-08 20:53:28
Posts: 115
НЕТУ там ничего, много страниц просматрел, кинь те ссылку Хотяб). что так сложно чтоль, я искал не нашел и решил обратится к вам, а мы меня опять на поиск посылаете:)


Top
   
 Post subject:
PostPosted: 2007-05-09 23:43:01 
Offline

Joined: 2006-03-08 20:53:28
Posts: 115
что ни кто не подскажет?


Top
   
 Post subject:
PostPosted: 2007-05-09 23:46:09 
Offline
User avatar

Joined: 2007-02-21 20:15:57
Posts: 479
Раскладывай по типу и цвету.
Вот пример. Можно добавить динамичное изменене контейнеров.

Code:
VAR sunduk1 = '0x407917ED'
VAR sunduk2 = '0x40790AFD'
sub looting()
   DIM Items[51]
   Items[1] = '0x09AA'
   Items[2] = '0x0F26'   
........................................
........................................
   Items[48] = '0x9999'
   Items[49] = '0x9999' 
   Items[50] = '0x9999' 
VAR i
   For i = 1 To 49
      UO.FindType( Items[ i ], '-1', sunduk1 )
      while uo.findcount()
         UO.MoveItem('finditem','0',sunduk2)
         wait(100)
checklag()
         uo.findtype(Items[i],'-1',sunduk1)
      wend
   Next
endsub
Sub checklag()
uo.DeleteJournal()
repeat
    uo.click('backpack')
    wait(200)
until UO.InJournal("backpack|Backpack")
end sub

_________________
Шард Антарес
Ururu


Top
   
 Post subject:
PostPosted: 2007-05-10 10:32:56 
Offline

Joined: 2006-03-08 20:53:28
Posts: 115
Quote:
Items[48] = '0x9999'
Items[49] = '0x9999'
Items[50] = '0x9999'
VAR i
For i = 1 To 49
а можете обьяснить че это значит,
и можно добавить чтоб не один предмет брал а сесь


Top
   
 Post subject:
PostPosted: 2007-05-10 10:34:53 
Offline

Joined: 2006-03-08 20:53:28
Posts: 115
а все разбрался:) ток как тип добавить?


Top
   
 Post subject:
PostPosted: 2007-05-10 12:35:20 
Offline
User avatar

Joined: 2007-02-21 20:15:57
Posts: 479
С массивами разбирайся в уроках.
Добавь в массив типы, частей фулов.
Тут:
Code:
UO.FindType( Items[ i ], '-1', sunduk1 )

Вместо '-1' ставь свой цвет арма. И скрипт перекидает все что нужно.

_________________
Шард Антарес

Ururu


Top
   
 Post subject:
PostPosted: 2007-05-10 14:33:11 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
в виде идеи можно так

Code:
sub rasklad()
var i, color
var sunduk = '0x0000000'

var agapit = '0x0000000'
var mythril = '0x0000000'
var blood = '0x0000000'

Dim color[10]
color[0] = '0x0001' //agapit
color[1] = '0x0002' //mythril
color[2] = '0x0003' //blood rock etc

for i=0 to 10
uo.findtype( -1 , -1 , sunduk )
color=uo.getcolor('finditem')
while uo.findcount()

if color == 0x0001 then
uo.moveitem('finditem', -1 , agapit )
endif
if color == 0x0002 then
uo.moveitem('finditem', -1 , mythril )
endif

if color == 0x0003 then
uo.moveitem('finditem', -1 , blood )
else
uo.ignore('finditem')
uo.findtype( -1 , -1 , sunduk )
wend
next

end sub


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


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

All times are UTC+02:00


Who is online

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