SRL Archive - SRL Archives

FixBank Procedure...


Nose Smasher

2009-04-30 06:15:14

If you're bank is small and does not use more than the first "page" then the scroll bar doesn't show up… dunno if this is an update or if it's been like this for a while, but an easy fix is this:

[PHP]
procedure FixBank;
begin
if BankScreen then
begin
if GetColor(489, 101) = 2830904 then exit; { <– Added this }
if GetColor(489, 101) <> 1316634 then
begin
Mouse(485, 102, 7, 10, True);
while GetColor(489, 101) <> 1316634 do
Wait(20);
Wait(100 + Random(200));
end;
end;
end;
[/PHP]

Nava2

2009-04-30 07:29:38

Thanks! Toss in a begin..end nest and it'll be great.

Nose Smasher

2009-04-30 18:47:59

lol, didn't catch that at first :p

XcanadamanX

2009-04-30 23:20:21

From: Nava2
Thanks! Toss in a begin..end nest and it'll be great.


apparently you didnt seem to notice my fix in the public bugs?

Nose Smasher

2009-05-01 20:17:43

Sorry Xcan, didn't use the search button before posting this :duh:

XcanadamanX

2009-05-07 01:19:51

Nava2: Ever going to add one of the fixes in the open svn?