Воскресенье, 19.05.2024, 16:39 Приветствую Вас Гость


Гильдия -=InS=- (Ultima Onlie)

Гильдия Love BF (My Lands)

Главная | Регистрация | Вход | RSS
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Обмен опытом » Макросы для Injection » Сортировка карт
Сортировка карт
uF_XeonДата: Четверг, 15.10.2009, 20:55 | Сообщение # 1
Рядовой
Группа: Пользователи
Сообщений: 11
Репутация: 2
Статус: Offline
Запускаем макрос и на его просьбы выбираем сумки, где лежат карты и куда/какие складывать.


###########################################
############### Map_Sort_Xeon #################
###########################################

sub Map_Decode()
var cc
uo.print('Выбери мешок с картами ')
uo.exec('addobject Bag0')
while uo.targeting()
wait(100)
wend
wait(100)
uo.print('Выбери мешок для 1 левела ')
uo.exec('addobject Bag1')
while uo.targeting()
wait(100)
wend
wait(100)
uo.print('Выбери мешок для 2 левела ')
uo.exec('addobject Bag2')
while uo.targeting()
wait(100)
wend
wait(100)
uo.print('Выбери мешок для 3 левела ')
uo.exec('addobject Bag3')
while uo.targeting()
wait(100)
wend
wait(100)
uo.print('Выбери мешок для 4 левела ')
uo.exec('addobject Bag4')
while uo.targeting()
wait(100)
wend
wait(100)
uo.print('Выбери мешок для 5 левела ')
uo.exec('addobject Bag5')
while uo.targeting()
wait(100)
wend
wait(100)

uo.useobject('Bag0')
wait(1000)

uo.findtype('0x14EB','0x0000','Bag0')
wait(200)
While uo.findcount()>0
uo.deletejournal()
uo.click('finditem')
repeat
wait(10)
until uo.injournal("Treasure map")

if uo.injournal("Treasure map 1") then
uo.moveitem('finditem','-1','Bag1')
end if

if uo.injournal("Treasure map 2") then
uo.moveitem('finditem','-1','Bag2')
end if

if uo.injournal("Treasure map 3") then
uo.moveitem('finditem','-1','Bag3')
end if

if uo.injournal("Treasure map 4") then
uo.moveitem('finditem','-1','Bag4')
end if

if uo.injournal("Treasure map 5") then
uo.moveitem('finditem','-1','Bag5')
end if
wait(600)

if uo.injournal("Too many items in that container") then
uo.moveitem('finditem','-1','Bag0')
wait(500)
return
end if

else

if uo.injournal("(1 level)") then
uo.moveitem('finditem','-1','Bag1')
end if

if uo.injournal("(2 level)") then
uo.moveitem('finditem','-1','Bag2')
end if

if uo.injournal("(3 level)") then
uo.moveitem('finditem','-1','Bag3')
end if

if uo.injournal("(4 level)") then
uo.moveitem('finditem','-1','Bag4')
end if

if uo.injournal("(5 level)") then
uo.moveitem('finditem','-1','Bag5')
end if

wait(600)
if uo.injournal("Too many items in that container") then
uo.moveitem('finditem','-1','Bag0')
wait(500)
return
end if

end if
uo.findtype('0x14EB','0x0000','Bag0')
wait(200)
wend
end sub

 
Форум » Обмен опытом » Макросы для Injection » Сортировка карт
  • Страница 1 из 1
  • 1
Поиск: