Page 1 of 1

about finditem

Posted: 09.10.2013 11:06
by mixers
i will to finditem something in a body, make sure the body is freshed, find all types, not simple type. it's like euo's finditem * c_ , %body #findcnt > 0

Re: about finditem

Posted: 09.10.2013 11:31
by nah nah
FindType

use 0xffff as first param
in python you can use -1

Re: about finditem

Posted: 10.10.2013 6:06
by mixers
Oh yee,thak you very much :lol:

Re: about finditem

Posted: 12.10.2013 16:04
by mixers
Program Test;
const
bankcard = $406729D5;

function openbank:boolean;
begin
repeat
findtype($FFFF,banklayer);
if Countex($FFFF,$ffff,banklayer) = 0 then
useobject(bankcard);
until count($FFFF) > 0;
end;

begin
openbank
AddToSystemJournal(IntToStr(FindCount));
end.

it's cant openbank.

Re: about finditem

Posted: 12.10.2013 16:20
by shinma
uosay('bank');

Re: about finditem

Posted: 12.10.2013 22:19
by mixers
it's recall runebook mining.

Re: about finditem

Posted: 12.10.2013 22:36
by nah nah
So do, as would have done manually

Re: about finditem

Posted: 13.10.2013 8:34
by shinma
const
BugInBank =$11111111 ; //Bug must be in BankBox




begin
checklag(60000);
uosay('bank');
wait(1000);
UseObject(bankbox);
checklag(60000);
FindTypeEx (goldcoin,$0000,Backpack,True) ;
checklag(60000);
MoveItem(FindItem,0,bankbox,0,0,0);
end;

Re: about finditem

Posted: 13.10.2013 8:36
by shinma

Re: about finditem

Posted: 16.10.2013 15:54
by mixers
ok, thanks every one.