rkroxpunk
2007-07-27 22:56:59
FixBank isn't working for me….really annoying because it's screwing up my script big time. It works for Nielsie but not for me anyone see the prob?
the "Writeln('ajslajsldjasldjas')" is just so i could make sure it was getting to that part which it was……no idea what i'm doing wrong here….oh and don't critisize the script this was extremely rough just trying to get fixbank to work >.<
procedure Bank;
begin
MakeCompass('N')
LowestAngle
if OpenBank3{('feb',False,False)} then
begin
Flag;
Wait(200)
If (BankScreen) then
begin
Writeln('ajslajsldjasldjas')
FIXBANK;
//LoadDTMs;
repeat
FixBank;
if FindDTM(LongBowDTM, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
Mouse(x, y, 2, 2,False)
Wait(40+random(40))
ChooseOption(x,y,'All')
Wait(500+random(200))
end else
if FindDTM(ShortBowDTM, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
Mouse(x, y, 2, 2,False)
Wait(40+random(40))
ChooseOption(x,y,'All')
Wait(500+random(200))
end else
Break;
until(not(FindDTM(LongBowDTM, x, y, MIX1, MIY1, MIX2, MIY2))) And (not (FindDTM(ShortBowDTM, x, y, MIX1, MIY1, MIX2, MIY2)))or(not(LoggedIn))
if (not(FindDTM(LongBowDTM, x, y, MIX1, MIY1, MIX2, MIY2)))or (not (FindDTM(ShortBowDTM, x, y, MIX1, MIY1, MIX2, MIY2)))then
begin
FixBank;
Wait(100+random(100))
if(FindDTM(LogDTM, x, y, 70, 55, 118, 97))then
begin
{Mouse(x,y,2,2,false)
Wait(100+random(100))
ClickOption('All',1)}
WithDraw(1,1,0);
CloseBank;
Writeln('Withdrew logs')
Exit;
end else
begin
Writeln('no more logs in first bank slot, script is finito.')
end;
//FreeDTMs;
end else //bankscreen
begin
Writeln('Not at bank, logging.')
Logout;
Exit;
end;
end else //FindBank3
begin
Writeln('Couldn''t find bank, logging out.')
Logout;
Exit;
end;
end;
end;the "Writeln('ajslajsldjasldjas')" is just so i could make sure it was getting to that part which it was……no idea what i'm doing wrong here….oh and don't critisize the script this was extremely rough just trying to get fixbank to work >.<