Incorrect User wrote:
Ну это инжект падает, походу из за своих проблем, не тянет. Полсностью весь скрипт выложи как есть, я попробую переделать чтобы без меток и т.д
var sunduk ='0x60D90F4C', strela ='0x0F3F', bekpak ='0x60BEA14D', bottle, keg
sub test()
wait(1000)
kladem:
UO.FindType('0x0F3F','0x0000','0x60BEA14D')
wait(100)
if not uo.findcount('0x0F3F') then
UO.FindType('0x0F3F','0x0000','0x60D90F4C')
UO.MoveItem('finditem', '1' , '0x60BEA14D')
wait(2000)
Else
goto pereliv
end if
pereliv:
uo.findtype("0x0F0A", -1, "backpack")
wait(100)
if not uo.findcount() then
wait(100)
uo.findtype("0x0F0E", -1, "backpack")
wait(100)
bottle = uo.getserial("finditem")
repeat
uo.deletejournal()
uo.findtype("0x1940", -1, "0x60D9A553")
if uo.findcount() then
keg = uo.getserial("finditem")
uo.click("finditem")
wait(100)
if not uo.injournal("keg of poison potions") then
uo.ignore("finditem")
wait(3000)
end if
end if
until uo.injournal("keg of poison potions")
wait(1000)
uo.moveitem(bottle, 1, keg)
wait(3000)
end if
poison:
If uo.Poisoned() then
heal()
else
UO.FindType('0x0F3F','0x0000','0x60BEA14D')
uo.poison('finditem')
wait(8000)
end if
UO.FindType('0x0F3F','0x0044','0x60BEA14D')
if UO.Count('0x0F3F')<1 then
goto poison
wait(4000)
else
wait(100)
UO.FindType('0x0F3F','0x0044','0x60BEA14D')
UO.MoveItem('finditem', '1' , '0x60D90F4C')
wait (2000)
goto kladem
end if
end sub
sub heal()
if uo.Poisoned() then
uo.waittargetself()
uo.usefromground('0x0E21')
wait(5000)
else
goto poison
end if
end sub