Program HungryMob;
Const
Enemy = $00049B59; // ИД животного
HungryTime=10000; // интервал времни кормки
Meat=$09F1; // тип еды
{$Include 'all.inc'}
Begin
SetARStatus(true);
clearjournal;
while true do
begin
if Connected then
begin
while true do
begin
CheckSave;
MoveItem(findtype(Meat,backpack),1,Enemy,0,0,0);
AddToSystemJournal('Осталось мясо ' + IntToStr(FindFullQuantity));
Wait(HungryTime);
end;
end;
end;
End.
постоянно пишет (System: Some inspecific error when moving item!)
подскажите в чем трабл ?
Re: Кормление животного
Posted: 31.12.2013 22:10
by drabadan
pannir wrote:просто нужно чтобы кидало на животное (Кол.) еды
Program HungryMob;
Const
Enemy = $00049B59; // ИД животного
HungryTime=10000; // интервал времни кормки
Meat=$09F1; // тип еды
{$Include 'all.inc'}
Begin
SetARStatus(true);
clearjournal;
while true do
begin
if Connected then
begin
while true do
begin
CheckSave;
MoveItem(findtype(Meat,backpack),1,Enemy,0,0,0);
AddToSystemJournal('Осталось мясо ' + IntToStr(FindFullQuantity));
Wait(HungryTime);
end;
end;
end;
End.
постоянно пишет (System: Some inspecific error when moving item!)