sub Katana() #uo.setcatchbag('0x402e4240') repeat wait(1000) UO.Usetype('0x1bef') UO.WaitMenu('Blacksmithing','Weapons','Weapons','Swords','Swords','katana') wait (1000) UO.DeleteJournal() while not (UO.InJournal("You put") or UO.InJournal("failed")) wait(300) wend uo.waittargettype(0x13fe) wait(1000) uo.usefromground(0x0fb1) wait(1000) UO.UnSetReceivingContainer() wait(500) UO.WaitTargetGround('0x1bef') wait(500) uo.grab('3') wait(500) until UO.Dead() end sub
sub Cant() repeat while not UO.InJournal("t see the target") wait(300) wend uo.msg("You put") wait(30000) until UO.Dead() end sub
sub Blacksmithing() var Exit=0, LastTimer while Exit<>1 uo.DeleteJournal() LastTimer=uo.Timer() uo.WaitMenu('Blacksmithing','Weapons','Weapons','Swords','Swords','katana') uo.UseType('0x1BEF')
while not uo.InJournal('You put') and not uo.InJournal('You have failed') wait(500) wend
if uo.InJournal('You have failed') then repeat wait(100) until uo.Timer()>=LastTimer+100 end if
uo.FindType('0x13FE',-1,'backpack') wait(500)
if uo.GetQuantity('finditem') then uo.WaitTargetObject('finditem') uo.UseObject('0x4015FDD9') ; Форж end if
uo.FindType('0x1BEF',-1,'backpack') if uo.GetQuantity('finditem')<10 then uo.FindType('0x1BEF','0x0000','0x400C6EE6') ;Cундук с ингами wait(1000) uo.Grab('900','finditem') Endif wait(900) wend end sub
sub Dagger() #uo.setcatchbag('0x402e4240') repeat wait(1000) UO.Usetype('0x1bef') UO.WaitMenu('Blacksmithing','Weapons','Weapons','Swords','Swords','dagger') wait (1000) UO.DeleteJournal() while not (UO.InJournal("You put") or UO.InJournal("failed")) wait(300) wend uo.waittargettype(0x13fe) wait(1000) uo.usefromground(0x0fb1) wait(1000) UO.UnSetReceivingContainer() wait(500) UO.WaitTargetGround('0x1bef') wait(500) uo.grab('3') wait(500) until UO.Dead() end sub
sub Cant() repeat while not UO.InJournal("t see the target") wait(300) wend uo.msg("You put") wait(30000) until UO.Dead() end sub
sub Blacksmithing() var Exit=0, LastTimer while Exit<>1 uo.DeleteJournal() LastTimer=uo.Timer() uo.WaitMenu('Blacksmithing','Weapons','Weapons','Swords','Swords','dagger') uo.UseType('0x1BEF')
while not uo.InJournal('You put') and not uo.InJournal('You have failed') wait(500) wend
if uo.InJournal('You have failed') then repeat wait(100) until uo.Timer()>=LastTimer+100 end if
uo.FindType('0x13FE',-1,'backpack') wait(500)
if uo.GetQuantity('finditem') then uo.WaitTargetObject('finditem') uo.UseObject('0x4015FDD9') ; Форж end if
uo.FindType('0x1BEF',-1,'backpack') if uo.GetQuantity('finditem')<10 then uo.FindType('0x1BEF','0x0000','0x400C6EE6') ;Cундук с ингами wait(1000) uo.Grab('900','finditem') Endif wait(900) wend end sub
_x3ma1_ wrote:почему то не плавит и не берёт с сундука инги
Типы исправь.
надо говорить не типы исправь а вот таких личностей надо в уроки отправлять и только туда чтоб потом не задавали глупых вопросов а то приходят иногда тут такие вот ради одного скрипта и все потом еще раз приходят потом нервы не выдерживают а нервы надо беречь
hammer=UO.ObjAtLayer('Rhand') hamType=UO.GetGraphic(hammer) while True if UO.Count(ingot,color)<=20 then UO.FindType(ingot,color,Cont) UO.Grab('200','finditem') wait(1000) else UO.DeleteJournal() UO.UseType(ingot,color) time=UO.Timer() Repeat wait(500) Until UO.InJournal("You put") OR UO.InJournal("fail") OR UO.InJournal("You must") OR time+200<UO.Timer()
if UO.InJournal("You put") then fizl=0 else fizl=fizl+1 endif if fizl==control then wait(8000) endif
if UO.Count(item)>10 then While UO.Count(item)>0 UO.DeleteJournal() UO.WaitTargetType(item) UO.UseObject(Forge) time=UO.Timer() Repeat wait(500) Until UO.InJournal("You smelt") OR UO.InJournal("consumed") OR UO.InJournal("You must") OR time+200<UO.Timer() Wend UO.Equipt('Rhand',hamType) wait(1000) Endif endif endif if i==60 then UO.DeleteJournal() Repeat UO.UseType(Food) Wait(500) Until UO.InJournal("simply too full") i=0 else i=i+1 endif Wend end sub
Глава III. Мой выбор. …Кто тогда поспешит на отчаянный зов? Но у края, в кольце занесенных мечей, Если дрогнет душа, я почувствую вновь Побратима ладонь у себя на плече. И такой же мальчонка
Last edited by LordTom on 2009-12-23 11:56:12, edited 2 times in total.
SK А секрет размножения - интересен до колик. Вот, кратко СЕКРЕТ РАЗМНОЖЕНИЯ КИТАЙЦЕВ ПРОВЕРЕННЫЙ ИМПЕРИЧЕСКИМ ПУТЁМ! Если разобраться, Камрады, то секрета и нет, никакого… Всё дело в ги
Секретно Экз.№171 Положение о военнопленных Приложение к Постановлению Совета Народных Комиссаров СССР № 1798-800с от 1июля 1941 г. I. ОБЩЕЕ ПОЛОЖЕНИЕ 1. Военнопленными признаются:
Last edited by LordTom on 2009-12-23 20:37:01, edited 2 times in total.
hammer=UO.ObjAtLayer('Rhand') hamType=UO.GetGraphic(hammer) while True if UO.Count(ingot,color)<=20 then UO.FindType(ingot,color,Cont) wait(100) UO.Moveitem('finditem','200','backpack') wait(200) else UO.DeleteJournal() UO.UseType(ingot,color) time=UO.Timer() Repeat wait(500) Until UO.InJournal("You put") OR UO.InJournal("fail") OR UO.InJournal("You must") OR time+200<UO.Timer()
if UO.InJournal("You put") then While UO.Count(item)>0 UO.DeleteJournal() UO.WaitTargetType(item) UO.UseObject(Forge) time=UO.Timer() Repeat wait(500) Until UO.InJournal("You smelt") OR UO.InJournal("consumed") OR UO.InJournal("You must") OR time+200<UO.Timer() Wend UO.Equipt('Rhand',hamType) wait(1000) endif if UO.InJournal("fail") then wait(8000) endif endif if i==60 then UO.DeleteJournal() Repeat UO.UseType(Food) Wait(500) Until UO.InJournal("simply too full") i=0 endif i=i+1 Wend end sub
Ламер спрашивает программер:
Л. Слух я тут прогу накорябал, но че то не работает, посмотри где у меня ошибка?
П. Смерил взглядом Л. и произносит: В ДНК!!!