Yoko

All sides of Injection
It is currently 2025-12-25 20:29:04

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2004-06-25 10:59:55 
Offline

Joined: 2004-06-25 10:55:37
Posts: 11
#BS

sub main()

While not UO.Dead()
UO.Exec("usetype 0x1bef") # использовать инги айрона
# можно и любые другие если поменять серийник
UO.Exec("waitmenu 'Blacksmithing' 'Armor' 'Ringmail Armor' 'ringmail gloves'")
Wait(7800); #
if UO.Count("0x13eb") > 1 then # UO.Waittargettype(0x13eb); #
UO.Drop();
endif
if UO.Count("0x1bef") < 6 then # Проверяем есть ли айрон в паке, если нет берем 6 инга
Uo.Exec("waittargetground 0x1bef") # куча айрона под ногами
Uo.exec("grab 6") # взять 6
wait(500)
end if
wend
end sub


помогите пжалуста наити ошибку...он выбираетармор...а дальше не выбирает...ringmail armor...хелп плзз


Top
   
 Post subject:
PostPosted: 2004-06-25 12:47:09 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
UO.Exec("waitmenu 'Blacksmithing' 'Armor' 'Ringmail Armor' 'ringmail gloves'")
надо
UO.Exec("waitmenu 'Blacksmithing' 'Armor' 'Armor' 'Ringmail Armor' 'Ringmail Armor' 'ringmail gloves'")
или типа того.
Меню, выбор, снова меню, выбор, еще меню, еще выбор. А у тебя только первое меню - и дальше одни выборы.

И еще - не обязательно писать полностью строку. Можно только часть - так зачастую лучше

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


Top
   
 Post subject:
PostPosted: 2004-06-25 13:15:08 
Offline

Joined: 2004-06-25 10:55:37
Posts: 11
#BS

sub main()

While not UO.Dead()
UO.Exec("usetype 0x1bef")
UO.Exec("waitmenu 'Blacksmithing' 'Armor' 'Armor' 'Ringmail Armor' 'Ring Mail armor' 'ringmail gloves'")
Wait(7800);
if UO.Count("0x1bef") < 6 then
Uo.Exec("waittargetground 0x1bef")
Uo.exec("grab 6")
wait(500)
end if
wend
end sub


вот такое вот получается...только почему то с земли аирон брать не хочет...я стёр чтоб выкидывал !
помоги с землёй


Top
   
 Post subject:
PostPosted: 2004-06-25 16:52:15 
Offline

Joined: 2004-04-15 14:50:06
Posts: 73
Location: Moscow
Когда береш ни какого вайттаргета не нуна.
напиши просто
uo.exec("grab 6 ~0x1BEF")

_________________
Я где то рядом... 8)


Top
   
 Post subject:
PostPosted: 2004-06-25 19:13:34 
Offline

Joined: 2004-06-25 10:55:37
Posts: 11
#BS

sub main()

While not UO.Dead()
UO.Exec("usetype 0x1bef")
UO.Exec("waitmenu 'Blacksmithing' 'Armor' 'Armor' 'Ringmail Armor' 'Ring Mail armor' 'ringmail gloves'")
Wait(7600);
if UO.Count("0x1bef") < 1 then
uo.exec("grab 10 ~0x1bef")
wait(500)
end if
wend
end sub


получилось такое..но брать с земли всёравно не хочет (((


Top
   
 Post subject:
PostPosted: 2004-06-25 22:38:01 
Offline

Joined: 2004-05-04 00:06:57
Posts: 14
добавь uo.exec('set finddistance 2')
и все заработает :wink:


Top
   
 Post subject:
PostPosted: 2004-06-26 00:32:25 
Offline

Joined: 2004-06-25 10:55:37
Posts: 11
спасибо...терь всё работает


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 5 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