Помогите разобратся!
Posted: 2011-01-31 11:00:40
Если я правильно понял, это скрипт на резист, но вот я не пойму как и что куда тыкать, только начал играть и друг установил и настроил инжу, показал только куда вставлять скрипт и забиндил команду инфо, а что и куда вставлять нужно не обьяснил, помогите пожалуйста!
sub main()
var target='0x001A34CD'
var chest='0x40328B45'
uo.useobject(chest)
wait(1000)
while 1
while uo.mana > 10
if uo.bp<5 then
uo.findtype('0x0F7A',-1,chest)
if uo.findcount() then
uo.moveitem('finditem','50','backpack')
checklag()
wait(600)
endif
endif
if uo.ns<5 then
uo.findtype('0x0F88',-1,chest)
if uo.findcount() then
uo.moveitem('finditem','50','backpack')
checklag()
wait(600)
endif
endif
checklag()
uo.cast('Magic Arrow',target)
WaitForMana()
wend
if uo.mana < 10 then
meditation()
endif
wend
endsub
sub checklag()
repeat
UO.DeleteJournal()
UO.Click('backpack')
until backpack()==1
endsub
sub backpack()
var n
for n=0 to 200
if uo.injournal('a backpack') then
return 1
endif
wait(200)
next
endsub
sub meditation()
uo.findtype('0x0F0E','0x09DF','backpack')
if uo.findcount() then
uo.useobject('finditem')
wait(700)
else
while uo.mana < uo.int
if uo.Journal(0)=='You are preoccupied with thoughts of battle.' then
uo.warmode(0)
endif
checklag()
Uo.Useskill('Meditation')
waitformed()
wend
endif
endsub
sub waitformed()
var n
for n=0 to 100
if uo.injournal('You lose|at peace') then
return
endif
wait(500)
next
endsub
Sub WaitForMana()
VAR w,m=uo.mana
for w=0 to 100
if uo.mana<m then
return
endif
wait(200)
next
endsub
sub main()
var target='0x001A34CD'
var chest='0x40328B45'
uo.useobject(chest)
wait(1000)
while 1
while uo.mana > 10
if uo.bp<5 then
uo.findtype('0x0F7A',-1,chest)
if uo.findcount() then
uo.moveitem('finditem','50','backpack')
checklag()
wait(600)
endif
endif
if uo.ns<5 then
uo.findtype('0x0F88',-1,chest)
if uo.findcount() then
uo.moveitem('finditem','50','backpack')
checklag()
wait(600)
endif
endif
checklag()
uo.cast('Magic Arrow',target)
WaitForMana()
wend
if uo.mana < 10 then
meditation()
endif
wend
endsub
sub checklag()
repeat
UO.DeleteJournal()
UO.Click('backpack')
until backpack()==1
endsub
sub backpack()
var n
for n=0 to 200
if uo.injournal('a backpack') then
return 1
endif
wait(200)
next
endsub
sub meditation()
uo.findtype('0x0F0E','0x09DF','backpack')
if uo.findcount() then
uo.useobject('finditem')
wait(700)
else
while uo.mana < uo.int
if uo.Journal(0)=='You are preoccupied with thoughts of battle.' then
uo.warmode(0)
endif
checklag()
Uo.Useskill('Meditation')
waitformed()
wend
endif
endsub
sub waitformed()
var n
for n=0 to 100
if uo.injournal('You lose|at peace') then
return
endif
wait(500)
next
endsub
Sub WaitForMana()
VAR w,m=uo.mana
for w=0 to 100
if uo.mana<m then
return
endif
wait(200)
next
endsub