SRL Archive - Help

Gametab fix, i need.


Hitman490

2008-02-18 14:11:36

Hi i can't acess timothy's gametab fix thread. Can someone please post it here? I know how to implement it.

ducels

2008-02-18 14:22:37

{*******************************************************************************
function TabExists(TabNumber: Integer): Boolean;
By: Flyboy
Description: Returns true if tab exists.
Very useful for tutorial Is. as well as a simple double check to make sure
your fully logged in.
*******************************************************************************}

function TabExists(TabNumber: Integer): Boolean;
begin
case TabNumber of
1: Result := (GetColor(542, 185) = 13816532);
2: Result := (GetColor(576, 188) = 3831858);
3: Result := (GetColor(609, 185) = 14872817);
4: Result := (GetColor(644, 180) = 1854335);
5: Result := (GetColor(675, 183) = 9870237);
6: Result := (GetColor(708, 184) = 13822416);
7: Result := (GetColor(741, 187) = 5598593);
8: Result := (GetColor(575, 483) = 3720957);
9: Result := (GetColor(607, 485) = 993018);
10: Result := (GetColor(639, 490) = 1103866);
11: Result := (GetColor(674, 484) = 5331808);
12: Result := (GetColor(711, 481) = 3105656);
13: Result := (GetColor(742, 482) = 2401713);
14: Result := (GetColor(753, 4) = 3985241) Or (GetColor(753, 6) = 658751);
15: Result := (GetColor(537, 481) = 4938339);
end;
end;

nippy

2008-02-21 05:14:14

how exactly do you incorporate that into a script? help please.

n3ss3s

2008-02-21 05:26:10

Open the GameTab.scar in your SCAR 3.14\Includes\SRL\SRL\Core\, find the TabExists, replace it with that one.

nippy

2008-02-21 05:31:32

thanks mate :D I love you!

RusinaRange

2008-02-21 11:18:05

if i don't have tabexists what then???

n3ss3s

2008-02-21 11:28:40

You do have TabExist, but without the new up to date version your GameTab switching is dead.

janneza

2008-02-22 02:07:47

i have same problem i dont have TabExist in the folder SCAR 3.14\Includes\SRL\SRL\Core\

SO WHAT DO I DO???

HayHay89

2008-02-22 02:19:20

From: janneza
i have same problem i dont have TabExist in the folder SCAR 3.14\Includes\SRL\SRL\Core\

SO WHAT DO I DO???


u could try downloading rev 14!!!!!

lol

and tabexist is in gametab

janneza

2008-02-22 02:27:57

I can't because it says:


(tge same with RusinaRange…)

n3ss3s

2008-02-22 04:28:18

and what else?

If that was the full output, it would say "Press any key to continue…".

Anyway, this is not the thread for SvN problems…


But you do have the SRL folder? go to GameTab.scar, search TabExists from there and replace it…

nobody u kno

2008-02-23 08:22:03

From: ducels
{*******************************************************************************
function TabExists(TabNumber: Integer): Boolean;
By: Flyboy
Description: Returns true if tab exists.
Very useful for tutorial Is. as well as a simple double check to make sure
your fully logged in.
*******************************************************************************}

function TabExists(TabNumber: Integer): Boolean;
begin
case TabNumber of
1: Result := (GetColor(542, 185) = 13816532);
2: Result := (GetColor(576, 188) = 3831858);
3: Result := (GetColor(609, 185) = 14872817);
4: Result := (GetColor(644, 180) = 1854335);
5: Result := (GetColor(675, 183) = 9870237);
6: Result := (GetColor(708, 184) = 13822416);
7: Result := (GetColor(741, 187) = 5598593);
8: Result := (GetColor(575, 483) = 3720957);
9: Result := (GetColor(607, 485) = 993018);
10: Result := (GetColor(639, 490) = 1103866);
11: Result := (GetColor(674, 484) = 5331808);
12: Result := (GetColor(711, 481) = 3105656);
13: Result := (GetColor(742, 482) = 2401713);
14: Result := (GetColor(753, 4) = 3985241) Or (GetColor(753, 6) = 658751);
15: Result := (GetColor(537, 481) = 4938339);
end;
end;


I used that to replace my gametabs and i got about 50 errors after going through and deleting the errors.

janneza

2008-02-25 01:23:45

now i have TabExist bu t now the problem is in math.scar it says this.
Line 58: [error] (224:11) : unknow identifier 'CreateTPAFromBMP' in script C:\Program Files\Scar 3.14\includes\srl\srl\core\Math.scar

smil3y3

2008-02-25 02:19:16

thanks for the script

Griff

2008-04-02 18:59:08

i dont really understand this gametab thing, but when i run narcles it sais i need the gametab update or something… is this it? if so, how do i get this running properly? (i have scar 3.14 and svn 14

MylesMadness

2008-04-02 19:29:52

if you have those your good. Although scar 3.15 would be better

nielsie95

2008-04-03 11:10:41

You don't need the gametab fix with the latest SRL, so let's close this ;)