Yoko

All sides of Injection
It is currently 2025-10-14 22:28:53

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: скрипт на бс
PostPosted: 2004-05-17 11:20:29 
Offline

Joined: 2004-05-10 21:27:39
Posts: 12
дайте скрипт плизз на ковку ножей !


Top
   
 Post subject:
PostPosted: 2004-05-17 19:27:41 
Offline
User avatar

Joined: 2004-04-20 06:29:34
Posts: 12
Location: Москва
sub BSSoul()
VAR Exit=0, LastTimer, Container='0x40058930', Forge='0x40181955'
VAR CountIng=1000 ; Skol`ko ingov podnimaet
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]="'"
NameOre[1]="'Rusty "
NameOre[2]="'Old Copper "
NameOre[3]="'Dull Copper "
NameOre[4]="'Bronze "


ColorOfIng[0]='0x0000' ; Iron
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)
Endif
UO.Exec('automenu '+MenuIron)

While Exit<>1
UO.DeleteJournal()
LastTimer=UO.Timer()

UO.UseType(0x1BEF) ; ings

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 ;time to make a dagger
EndIf
CheckLag()

UO.FindType('0x0F51',-1,'backpack')

If UO.GetQuantity('finditem') then
UO.WaitTargetObject('finditem')
UO.UseObject(Forge) ;forge
wait(3000)
Endif

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(Container)
UO.Grab('all','finditem')
UO.UnSetReceivingContainer()
Exit=1
Endif
Else
wait(1000)
UO.Grab(STR(CountIng-10),'finditem')
Endif
Wend
Exit=0
UO.CancelMenu()
Endif
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


Top
   
 Post subject:
PostPosted: 2004-05-17 19:39:41 
Offline

Joined: 2004-05-10 21:27:39
Posts: 12
а вот бы мне еше только на аирон но я не знаю что включить ????


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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