SRL Archive - SRL Archives

NoGameTab was broken, very small fix..


EvilChicken!

2008-09-05 08:00:48

Tab 3 and 15 was haxd, atleast the 15-20 times I tried.

Replacement:

function TabExists(TabNumber: Integer): Boolean;
begin
case TabNumber of
1: Result := (GetColor(533, 177) = 65536);
2: Result := (GetColor(565, 175) = 65536);
3: Result := (GetColor(609, 175) = 986897);
4: Result := (GetColor(638, 174) = 65536);
5: Result := (GetColor(670, 176) = 65536);
6: Result := (GetColor(708, 171) = 65536);
7: Result := (GetColor(740, 175) = 65536);
8: Result := (GetColor(575, 474) = 65536);
9: Result := (GetColor(605, 474) = 65536);
10: Result := (GetColor(640, 472) = 65536);
11: Result := (GetColor(680, 472) = 65536);
12: Result := (GetColor(710, 470) = 65536);
13: Result := (GetColor(735, 473) = 65536);
14: Result := (GetColor(743, 1) = 65536);
15: Result := (GetColor(537, 477) = 4940394);
end;
end;

Replacement colors should be constant, tried three times, including world switching.

HyperSecret

2008-09-05 12:01:33

you should try to get a black color of the gametab around the symbol…I believe that is what the other gametabs you didn't edit are…

EvilChicken!

2008-09-05 12:40:49

Why? For neatness' sake?


E: Nava2, are you on crack?

Nava2

2008-09-05 14:33:19

So you don't get people asking if they are constant :)

Renax

2008-09-05 17:22:12

those colors have been constant since day one of Rs2, it makes no sense to not use them.

Gu3st...

2008-09-06 03:01:01

Well.. hopefully this will work until jagex starts rotating them…

Nava2

2008-09-06 10:48:37

Haha, I AM WANT SOME!?!?!KA>?

No, I just wasn't aware that they were constant. I apologize.