У меня вот такая трабла есть скрипт, но нет того кто бы мог мне помочь разобраться, что в нём как и к чему, где какой айди ставить, помоги те кто нить разобраться скрипт сам видел лично рабочий:
Code: Select all
sub bank()
uo.findtype("0x1BF2",-1,-1)
while uo.findcount()
uo.moveitem("finditem",1000,"sunduk")
checklag(800)
uo.findtype("0x1BF2",-1,-1)
wend
end sub
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
sub mining(tile,xm,ym,a)
var i, k,sf,ss,sd
for i=1 to 50
UO.WaitTargetTile(tile, xm, ym, a)
uo.findtype('0x0E86')
wait(50)
if uo.findcount() then
uo.useobject("finditem")
WAIT(100)
for k=1 to 50
wait(100)
if (uo.injournal('cliloc# 0xAD03') or uo.injournal('cliloc# 0x5DE') or
uo.injournal('cliloc# 0xAD00') or uo.injournal('cliloc# 0xA197') or
uo.injournal('You dig') or uo.injournal('cliloc# 0x6B31')) then
k=50
if uo.injournal('cliloc# 0xAD00') then
i=50
end if
uo.deletejournal()
end if
next
else
i=50
end if
wait(50)
next
for sd=1 to 5
uo.findtype('0x19B9',-1,-1)
if uo.findcount() then
uo.moveitem('finditem',1000,'juk')
checklag(800)
uo.findtype("0x19B9",-1,-1)
else
sd=5
end if
wait(500)
next
for sf=1 to 5
uo.findtype('0x19B9',-1,'ground')
if uo.findcount() then
uo.moveitem('finditem',1000,'juk')
checklag(800)
uo.findtype('0x19B9',-1,'ground')
else
sf=5
end if
wait(500)
next
end sub
;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;
sub deletejournal()
uo.deletejournal()
end sub
;;;;;;;;;
;;;;;;;;
sub CheckLag( time )
UO.DeleteJournal()
wait(time*0.8)
UO.msg("[Time")
wait(time*0.2)
repeat
wait(5)
until UO.InJournal('The time is')
end sub
;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
sub gotoxy2(x,y)
var dx, dy, k
UO.DeleteJournal()
while dx<>0 or dy<>0
if uo.stamina > 1 then
dx=x-UO.GetX()
dy=y-UO.GetY()
if dx==0 then
if dy>0 then
UO.Press(35)
else
if dy<0 then
UO.Press(33)
end if
end if
end if
if dx>0 then
if dy>0 then
UO.Press(40)
else
if dy<0 then
UO.Press(39)
else
UO.Press(34)
end if
end if
end if
if dx<0 then
if dy>0 then
UO.Press(37)
else
if dy<0 then
UO.Press(38)
else
UO.Press(36)
end if
end if
end if
end if
wait(100)
else
wait(5000)
end if
wend
end sub
;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
sub pereplavka()
var i,k
uo.set('finddistance','2')
uo.set('distance','2')
;UO.Say("TANK drop")
;CheckLag(1500)
;Uo.say("all follow me")
uo.useobject('juk')
CheckLag(700)
;uo.usefromground('0x19B9')
;uo.ignorereset()
uo.findtype('0x0FB1',-1,'ground')
uo.addobject('anvil','finditem')
CheckLag(700)
uo.findtype('0x19B9',-1,'lastcontainer')
while uo.findcount() > 0
checklag(700)
for i=1 to 3
uo.waittargetobject('anvil')
uo.useobject('finditem')
wait(50)
next
;uo.ignore('finditem')
uo.findtype('0x19B9',-1,'lastcontainer')
wend
end sub
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
sub kirka()
var kolvo, i
uo.findtype('0x0E86',-1,-1)
if uo.findcount()<10 then
kolvo=10 - uo.findcount()
for i = 1 to kolvo
uo.usetype('0x1EB8')
checklag(700)
uo.lclick(70,150)
checklag(700)
uo.lclick(420,315)
checklag(700)
uo.lclick(280,230)
checklag(4000)
next
end if
UO.RClick(196,288)
end sub
sub MAIN()
var i
i=0
while not uo.dead()
uo.set('finddistance','2')
################################
gotoxy2(2158,551)
gotoxy2(2148,551)
gotoxy2(2139,557)
mining(1343, 2139, 557, -90);dull cuper
gotoxy2(2134,558)
mining(1355, 2134, 558, -90);shadow iron
gotoxy2(2133,554)
mining(1355, 2133, 554, -90);shadow iron
gotoxy2(2141,550)
mining(1341, 2141, 550, -90);bronze
gotoxy2(2143,541)
mining(1343, 2143, 541, -90);valorite
gotoxy2(2146,538)
mining(1339, 2146, 538, -90);silver
gotoxy2(2146,552)
gotoxy2(2162,551)
gotoxy2(2164,548)
checklag(3000)
pereplavka()
kirka()
bank()
################################
wend
end sub
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[/quote]
Если вы увидете в скрипте смйлики то это автоматом выставлено там значит стоит восемь и скобка , просто он это распознает как смайл.....
надеюсь услышать ответ ))))
заранее благодарен!
