Hi All.
Since RuneScape just updated, seems they changed the colours for the tabs.
GetCurrentTab is always returning '37' for me.
Can anyone else please see if this is the same case for them?
Thanks
Justin.
Printable View
Hi All.
Since RuneScape just updated, seems they changed the colours for the tabs.
GetCurrentTab is always returning '37' for me.
Can anyone else please see if this is the same case for them?
Thanks
Justin.
Haven't tested what it is returning, but it is screwing up
edit:
Simba Code:function GetCurrentTab: Integer;
var
tP: TPoint;
x,y: integer;
begin
Result := -1;
if (not LoggedIn) then exit;
for Result := 0 to (tab_LogOut - tab_Combat)-1 do
begin
tP.X := 535 + Result mod 8 * 30;
tP.Y := 169 + Result div 8 * 298;
if findcolortolerance(x,y,3775974,tp.x-1,tp.y-1,tp.x+1,tp.y+1,15) Then
break;
end;
Result := Result + tab_Combat;
if BankScreen then
Result := tab_Inv;
end;
this works for me