Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

about finditem

Only working scripts
Post Reply
mixers
Neophyte
Neophyte
Posts: 49
Joined: 03.10.2013 14:11

about finditem

Post 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
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: about finditem

Post by nah nah »

FindType

use 0xffff as first param
in python you can use -1
mixers
Neophyte
Neophyte
Posts: 49
Joined: 03.10.2013 14:11

Re: about finditem

Post by mixers »

Oh yee,thak you very much :lol:
mixers
Neophyte
Neophyte
Posts: 49
Joined: 03.10.2013 14:11

Re: about finditem

Post 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.
shinma
Expert
Expert
Posts: 505
Joined: 28.04.2011 12:05

Re: about finditem

Post by shinma »

uosay('bank');
--->>>ПОИСК ПО ФОРУМУ, НАЧНИ С НЕГО!!!<<<---
--->>>Search the forum, start with him!!!<<<---
95% Ваших вопросов уже кем-то написаны и решены.
mixers
Neophyte
Neophyte
Posts: 49
Joined: 03.10.2013 14:11

Re: about finditem

Post by mixers »

it's recall runebook mining.
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: about finditem

Post by nah nah »

So do, as would have done manually
shinma
Expert
Expert
Posts: 505
Joined: 28.04.2011 12:05

Re: about finditem

Post 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;
--->>>ПОИСК ПО ФОРУМУ, НАЧНИ С НЕГО!!!<<<---
--->>>Search the forum, start with him!!!<<<---
95% Ваших вопросов уже кем-то написаны и решены.
shinma
Expert
Expert
Posts: 505
Joined: 28.04.2011 12:05

Re: about finditem

Post by shinma »

--->>>ПОИСК ПО ФОРУМУ, НАЧНИ С НЕГО!!!<<<---
--->>>Search the forum, start with him!!!<<<---
95% Ваших вопросов уже кем-то написаны и решены.
mixers
Neophyte
Neophyte
Posts: 49
Joined: 03.10.2013 14:11

Re: about finditem

Post by mixers »

ok, thanks every one.
Post Reply