Hazzah
2012-03-08 17:45:42
Well, I am really really new to scripting and have only ever looked at one script, and I have been spending a lot of time trying to make a decent dhide body crafter. I have been using S1n's dhide crafter as a base and started with editing it. Now right now I have been stuck with my own banking problem, I'm not sure where to go to.
With the empty "if Find" one I am trying to make it so that when the script banks if it see's that the inventory is empty it will continue on to bank, if it see's there are dhidebodies in the inventory it will bank them, then continue to bank, if it see's there are dhides left, it will just close the bank and finish making them.
Also, I know that I shouldn't use cords because it will not be able to find find other peoples hides, but the DTM I make for the bank dhides outdates extremely quickly because of the amount of dhides I have, probably haven't set my tolerances correctly on it or something.
if BankScreen then
begin
wait(RandomRange(200,400));
if FindDTM(dhidebodyDTM,x,y,MIX1,MIY1,MIX2,MIY2) then
begin
MouseItem(RandomRange(1,3),mouse_Right);
wait(RandomRange(400,600));
ChooseOption('27');
end;
//if FindDTM(dhideDTM,x,y,MIX1,MIY1,MIX2,MIY2)
//CloseBank;
//end;
if Find
Mouse(RandomRange(440,460), RandomRange(230,250),0,0,False);
wait(RandomRange(400,600));
ChooseOption('27');
wait(RandomRange(400,600));
CloseBank;
end;
end;With the empty "if Find" one I am trying to make it so that when the script banks if it see's that the inventory is empty it will continue on to bank, if it see's there are dhidebodies in the inventory it will bank them, then continue to bank, if it see's there are dhides left, it will just close the bank and finish making them.
Also, I know that I shouldn't use cords because it will not be able to find find other peoples hides, but the DTM I make for the bank dhides outdates extremely quickly because of the amount of dhides I have, probably haven't set my tolerances correctly on it or something.