Re: перелив
Posted: 2014-02-18 17:44:36
Кто куда тычет, излагай более подробно.
Incorrect User wrote:Кто куда тычет, излагай более подробно.
Incorrect User wrote:Еще раз поправил, добавил чтобы скрипт выключался если все кеги будут пустыми.
Code: Select all
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(10000)
end if
end if
until uo.injournal("keg of poison potions")
uo.moveitem(bottle, 1, keg)
wait(2000)
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
Incorrect User wrote:Парсер? или вообще ничего не пишет? Инжект какой?
Incorrect User wrote:Это уже старая, качай эту viewtopic.php?f=1&t=17391
Incorrect User wrote:На какой строке останавливается
Incorrect User wrote:А на line 37 у тебя какая строчка?
Incorrect User wrote:Ну это инжект падает, походу из за своих проблем, не тянет. Полсностью весь скрипт выложи как есть, я попробую переделать чтобы без меток и т.д