Page 1 of 1

pomogite soedinitj scripti

Posted: 2005-05-21 23:05:49
by Dreik
sub BS()
var counter,z,ingcount,gCount,p,CurCOnt,flag=0
dim container[5]
container[0]=0x4004ADBB
container[1]=0x4000697F
container[2]=0x400126E8
container[3]=0x40023F18
container[4]=0x40023F74
container[5]=0x40045F3F
start:
UO.Print("Berem 300 ingov")
UO.Findtype( 0x1BEF, 0x06D6, 0x40030E23 )
UO.Exec( "moveitem finditem 300" )
wait(1000)
while UO.Weight>200
UO.DeleteJournal()
UO.UseType("0x1BEF")
wait(1000)
UO.LClick(480,452)

counter=0
UO.DeleteJournal()
while not UO.InJournal("failed") and not UO.InJournal("You put") and counter<60
wait(500)
counter=counter+1
wend
UO.FindType("0x1414" )

UO.moveitem ('finditem' ,1, container[flag])
if flag==5 then
flag=0
endif
if flag==4 then
flag=5
endif
if flag==3 then
flag=4
endif
if flag==2 then
flag=3
endif
if flag==1 then
flag=2
endif
if flag==0 then
flag=1
endif
wend
goto start
end sub
###################################################
sub BucklerSmelting()
repeat
UO.FindType('0x1B73',-1,'backpack')
wait(275)

If UO.GetQuantity('finditem') then
UO.WaitTargetObject('finditem')
UO.UseObject(0x4001459D) ; ????
Endif

until UO.Dead()
end sub






===============================================
hochu 6tob kogda zdelajet bs splavil , potom vzjal bi ingi itd...

Posted: 2005-05-22 00:33:36
by Dreik
:oops: :oops: :oops:
ne tuda napesal

Posted: 2005-05-24 07:02:47
by I'm
Fixed $)