Пишу частенько скрипты, но в чём то трабла. К экспертам вопрос =) замарачиваюсь такими темами но чё т они не здоровые какие то, да и в синтаксисе ошибки. Посоветуйте как от них избавится и встать на истинный путь %))
Бьем по груше,цепляем курсу )) ппц
Code: var mace='0x1406' sub EqMace() uo.Print('Nadenem novyju=)') wait(10) uo.findtype('0x1406','1','backpack') wait(10) uo.Equipt('Rhand',mace) end sub
sub gogo() while uo.life < 10000 wait(10) while uo.str < 59 if uo.InJournal('Your war mace') then EqMace() end if uo.DeleteJournal() uo.Print("Poka vishe 60 sila ne podnjalas :( ") wait(10) Training() wend UO.UseType('0x1EFE') # Сила достигла 59,одели курсу -9. while uo.life < 59 if uo.InJournal('Your war mace') then EqMace() end if uo.DeleteJournal() uo.Print("Progress.Sila > 60") Training() wait(10) wend uo.UseType('0x1530') #Сила стала больше 68 одели курсу -8. while uo.life < 59 if uo.InJournal('Your war mace') then EqMace() end if uo.DeleteJournal() uo.Print("Progress.Sila > 68") wait(10) Training() wait(10) wend uo.UseType('0x170C') #Сила стала больше 74 одели курсу -5. uo.Print("Progress.Sila > 74") while uo.life < 59 if uo.InJournal('Your war mace') then EqMace() end if uo.DeleteJournal() Training() wait(10) wend uo.UseType('0x1F02') #Сила стала больше 79 одели курсу -10. uo.Print("Progress.Sila > 79") while uo.life < 59 if uo.InJournal('Your war mace') then EqMace() end if uo.DeleteJournal() Training() wait(10) wend uo.UseType('0x1530') #Сила стала больше 89 одели еще курсу -5. uo.Print("Progress.Sila > 89") while uo.life < 59 if uo.InJournal('Your war mace') then EqMace() end if uo.DeleteJournal() Training() wait(10) wend uo.UseType('0x172E') #Сила стала больше 94.Потом продолжим... uo.Print("Progress.Sila > 94 .Prodolzhenie zavtra") while uo.life < 59 if uo.InJournal('Your war mace') then EqMace() end if uo.DeleteJournal() Training() wait(10) wend wend end sub
sub Training() uo.Press(0x60) wait(3000) end sub
Одеваемся -раздеваемся ))
Code: Var sword='' #Оружие Var shield='' #Щит Var Sunduk='' #Сундук Var backpack='' #Backpack Var Mana='' # Манки Var color1='' #Цвет манки Var color2='' #Цвет гх Var color3='' Цвет a Lesser Explosion Var gh='' #GreaterHeal Var bandage='' #Бинты Var arrow='' #Стрелы Var shlem='' # Шлем Var plaitmail='' #Грудь Var gorget='' #Шея Var ledings='' # Ноги Var perchi='' # Перчатки Var plechi='' # Плечи Var bomba='' # a Lesser Explosion Var lyk='' #Лук Var Erune='' # Экстренная рунка Var bm='' # Blood Mose Var ns='' # Nightshaide Var gin='' # Ginseng Var ss='' # Spider silk Var sa='' # Sulfurous Ash Var mr='' # Mandreik Root Var gar='' # Garlik
Sub odevanie() uo.findtype(shlem,Sunduk) #Шлем uo.moveitem('finditem',1, backpack) uo.UseType('finditem') uo.Print(Шлем) wait(100) uo.findtype(gorget,Sunduk) #Шея uo.moveitem('finditem',1, backpack) uo.UseType('finditem') Uo.Print(Шея) wait(100) uo.findtype(plaitmail,Sunduk) #Грудь uo.moveitem('finditem',1, backpack) uo.UseType('finditem') Uo.Print(Грудь) wait(100) uo.findtype(ledings,Sunduk) #Ноги uo.moveitem('finditem',1, backpack) uo.UseType('finditem') Uo.Print(Ноги) wait(100) uo.findtype(plechi,Sunduk) #Плечи uo.moveitem('finditem',1, backpack) uo.UseType('finditem') Uo.Print(Плечи) wait(100) uo.findtype(perchi,Sunduk) #Перчатки uo.moveitem('finditem',1, backpack) uo.UseType('finditem') Uo.Print(Перчатки) wait(100) uo.findtype(sword,Sunduk) uo.moveitem('finditem',1, backpack) Uo.Print(Оружие) wait(100) uo.Equipt('Rhand',sword) uo.findtype(shield,Sunduk) uo.moveitem('finditem',1, backpack) Uo.Print(Щит) wait(100) uo.Equipt('Lhand',shield) uo.findtype(mana,color1,Sunduk) uo.moveitem('finditem',5,backpack) Uo.Print(Мана) wait(100) uo.findtype(gh,color2,Sunduk) uo.moveitem('finditem',5,backpack) Uo.Print(Лечилки) wait(100) uo.findtype(Erune,Sunduk) uo.moveitem('finditem',1,backpack) Uo.Print(Рунка) wait(100) uo.findtype(bandage,Sunduk) uo.moveitem('finditem',30,backpack) Uo.Print(Бинты) wait(100) uo.findtype(arrow,Sunduk) uo.moveitem('finditem',100,backpack) Uo.Print(Стрелы) wait(100) for i=1 to 20 uo.findtype(bomba,color3,Sunduk) uo.moveitem('finditem',1,backpack) wait(10) next Uo.Print(Бомбы) uo.findtype(lyk,Sunduk) uo.moveitem('finditem',1,backpack) wait(100) Uo.Print(Лук) wait(50) uo.findtype(ss,Sunduk) uo.moveitem('finditem',30,backpack) wait(50) uo.findtype(ns,Sunduk) uo.moveitem('finditem',30,backpack)
wait(50) uo.findtype(gin,Sunduk) uo.moveitem('finditem',30,backpack)
wait(50) uo.findtype(mr,Sunduk) uo.moveitem('finditem',30,backpack)
wait(50) uo.findtype(bm,Sunduk) uo.moveitem('finditem',30,backpack)
wait(50) uo.findtype(sa,Sunduk) uo.moveitem('finditem',30,backpack) wait(50) uo.findtype(gar,Sunduk) uo.moveitem('finditem',30,backpack) wait(50) uo.findtype(bp,Sunduk) uo.moveitem('finditem',30,backpack) Uo.Print( Реги ) wait(200) end sub
######Инскрипт До проверки в уо:######
Code: Var blank='0x0E34' Var garlic='' Var nightshade='' Var scroll='' Var backpack='' Var sunduk='' Var msg1='You put' Var msg2='You fail to complete'
Sub inscript() While not uo.Dead() uo.findtype(blank,'0x0000',backpack) if uo.Count('finditem') < 0 then Uo.findtype(blank,'0x0000',sunduk) uo.moveitem('finditem',100,backpack) Else uo.print('Осталось'+str(finditem)) End if uo.findtype(nightshade,'0x0000',backpack) if uo.Count('finditem') < 0 then Uo.findtype(nightshade,'0x0000',sunduk) uo.moveitem('finditem',100,backpack) Else uo.print('Осталось'+str(finditem)) End if uo.findtype(garlic,'0x0000',backpack) if uo.Count('finditem') < 0 then Uo.findtype(garlic,'0x0000',sunduk) uo.moveitem('finditem',100,backpack) Else uo.print('Осталось'+str(finditem)) End if Uo.WaitMenu('First Circle','Weaken') Uo.usetype(blank) while not uo.InJournal(msg1) or uo.InJournal(msg2) wait(1000) wend Uo.DeleteJournal() Uo.findtype(scroll,'0x0000',backpack) If uo.Count('finditem') > 15 then Uo.moveitem('finditem',all,sunduk) Else uo.print('В паке'+str(finditem)) End if Uo.findtype(scroll,'0x0000',sunduk) uo.print('На данный момент'+str(finditem)) Wend End sub
####Инскрипт после проверки в уo####
Code: sub BlankRecall() UO.DeleteJournal() while NOT UO.Dead() getblank() wait(400) getman() wait(600) getblood() wait(800) getblack() wait(900) uo.Print('Poexali =)') UO.UseType('0x0E34') #Перо UO.Exec("waitmenu 'Spell''Fourth Circle''Spell''Recall'") #Путь к Заклинанию wait(6000) Rec1() wend end sub
Еще одна чушь )) :
Code: VAR backpack=''
sub schitalka() Uo.Print('Bottles') Uo.findtype('x','x',backpack) uo.print('Total Mana'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('Total Refresh'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('Greater Heal'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('Invise'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('Explosions'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('Empty Bottles'+str(finditem)) Wait(3000) Uo.Print('Regi') Uo.findtype('x','x',backpack) uo.print('MR'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('NS'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('GA'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('GIN'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('BM'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('BP'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('SS'+str(finditem)) Uo.findtype('x','x',backpack) uo.print('SA'+str(finditem)) End sub
###############################################
Мож у кого такое было пропишите лекарство.
|