SRL Archive - Help and Support

FixBank


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?

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 >.<

RAM

2007-07-28 01:06:52

I'm gonna ask the obvious…but, do you have SRL and setup declared ?

rkroxpunk

2007-07-28 04:12:16

yesh….:D

Pentti

2007-07-28 07:17:07

You should check if the coordinates on FixBank have changed. …Or colors.

rkroxpunk

2007-07-28 09:31:03

worked for nielsie though…..

Pentti

2007-07-28 09:41:53

From: rkroxpunk
worked for nielsie though…..

Screen set to V-bright?

rkroxpunk

2007-07-28 21:58:49

ok how about if i say this….everything is as it should be :D 32 bit screen very bright la di da di da…..the only thing i can think that it might be is because it's at seers bank where i was testing it and there might be something different

Santa_Clause

2007-07-28 23:39:35

That's…weird.

When you say it doesn't get to the WriteLn part…does it just successfully execute?

rkroxpunk

2007-07-29 06:48:07

It does get to the writeln part…..which is so weird, it's somehow either skipping FixBank or it thinks the bank is fixed and doesn't do it….the script keeps going….