| Yoko http://forum.yoko.com.ua/ |
|
| kaka vsegda ! BS ! http://forum.yoko.com.ua/viewtopic.php?f=20&t=3256 |
Page 1 of 1 |
| Author: | kostya11 [ 2005-03-01 00:16:14 ] |
| Post subject: | kaka vsegda ! BS ! |
Pozolusto, ktonibud ispravte etot skript chtobi on koval iz coppera dageri, igraju na drw, spoibo zaranee! sub Blacksmithing() var Exit=0, LastTimer, Container='0x402D3A86', Forge='0x402C4F5F' ;ID forgei un conteinerim. var CountIng=500 ;konteineris ar ingiem un cik jaanjem var MenuIron="'Blacksmithing' 'Weapons'" var MenuOther="'Colored' 'Weapons'" var MenuSwords="Weapons' 'Swords'" var MenuDagger="'Swords' '(3'" var i=0 dim ColorOfIng[6] dim NameOre[6] NameOre[0]="'Airon" NameOre[1]="'Rusty " NameOre[2]="'Old Copper " NameOre[3]="'Dull Copper " NameOre[4]="'Bronze " ColorOfIng[0]='0x0000' ; Airon ColorOfIng[1]='0x0750' ; Rusty ColorOfIng[2]='0x0590' ; Old Copper ColorOfIng[3]='0x060A' ; Dull Copper ColorOfIng[4]='0x0488' ; Bronze uo.UseObject(Container) while not uo.Dead() for i=0 to 4 uo.FindType('0x1BEF',ColorOfIng[i],Container) if uo.GetQuantity('finditem')>10 then uo.Grab(STR(CountIng),'finditem') wait(1000) uo.Exec('automenu '+MenuDagger) uo.Exec('automenu '+NameOre[i]+MenuSwords) if i>0 Then uo.Exec('automenu '+MenuOther) end if uo.Exec('automenu '+MenuIron) While Exit<>1 uo.DeleteJournal() LastTimer=uo.Timer() uo.UseType(0x1BEF) while not uo.InJournal("You put") and not uo.InJournal("You have failed") wait(100) wend if uo.InJournal("You have failed") then repeat wait(100) until uo.Timer()>=LastTimer+100 ; laiks kameer uztaisa dageri end if CheckLag() uo.FindType('0x0F51',-1,'backpack') if uo.GetQuantity('finditem') then uo.WaitTargetObject('finditem') uo.UseObject(Forge) wait(1000) end if uo.FindType('0x1BEF',-1,'backpack') if uo.GetQuantity('finditem')<10 then uo.FindType('0x1BEF',ColorOfIng[i],Container) if uo.GetQuantity('finditem')<10 then uo.FindType('0x1BEF',ColorOfIng[i],'backpack') uo.SetReceivingContainer(0x402FBD37) uo.Grab('all','finditem') uo.UnSetReceivingContainer() Exit=1 end if else wait(1000) uo.Grab(STR(CountIng-10),'finditem') end if wend Exit=0 uo.CancelMenu() end if next wend end sub sub CheckLag() if uo.Waiting()>0 then uo.Exec("canceltarget") end if uo.DeleteJournal() uo.Click('backpack') repeat wait(50) until uo.InJournal('backpack') end sub |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|