Yoko

All sides of Injection
It is currently 2025-10-15 07:59:54

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2004-07-01 01:49:56 
Offline

Joined: 2004-06-30 22:21:58
Posts: 28
помогите разобраться где ошибка!!
sub BSSoul()
VAR Exit=0, LastTimer, Container='0x400AE62C', Forge='0x40035F1A'
VAR CountIng=1000 ; Skol`ko ingov podnimaet
VAR MenuIron=("Blacksmithing","Armor")
VAR MenuOther=("Armor","Plate Mail")
VAR Menuarmor="armor' 'PlateMail'"
VAR menuPlatemail("Plate Mail",'25')
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 '+MenuPlatemail)
UO.Exec('automenu '+NameOre[i]+MenuArmor)
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
EndIf
CheckLag()

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

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

UO.FindType('armor',-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

я хочу чтоб он ковал только плэйту


Top
   
 Post subject:
PostPosted: 2004-07-01 23:47:36 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
http://www.drw.ru/forum/viewtopic.php?t ... l&start=25


Top
   
 Post subject:
PostPosted: 2004-07-04 18:49:54 
Offline

Joined: 2004-06-30 22:21:58
Posts: 28
там написанно на прокачку бса он там делает ножи а я переделал скрипт на кование плэйты но почемуто он не хочет ползать по меню и говорит что скрипт не пашет


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: No registered users and 1 guest


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