Log in

View Full Version : I've A Login Bug



TViYH
05-26-2007, 03:07 PM
[Runtime Error] : Out Of Range in line 114 in script C:\Program Files\SCAR 3.06\includes\srl\srl\core\Login.scar

idk what it is, only thing I can think of is that the id i am testing on is I Own Ratz, which has spaces...

Help Wanted Plz


program Elkins121;
{.include SRL\SRL.scar}

Procedure DeclarePlayers;
begin

HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='I_Own_Ratz';
Players[0].Pass :='****';
Players[0].Nick :='atz';
Players[0].Active :=True;
end;


begin
SetupSRL;
ActivateClient;
LoginPlayer;
end.

inSane
05-26-2007, 03:14 PM
You forgot DeclarePlayers; in the mainloop :D

program Elkins121;
{.include SRL\SRL.scar}

Procedure DeclarePlayers;
begin

HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='I_Own_Ratz';
Players[0].Pass :='****';
Players[0].Nick :='atz';
Players[0].Active :=True;
end;


begin
SetupSRL;
DeclarePlayers;
ActivateClient;
LoginPlayer;
end.

TViYH
05-26-2007, 03:18 PM
:duh: im sorry guys...


Thanks!

inSane
05-26-2007, 03:48 PM
Np, we are here to help.

lancelot
05-27-2007, 04:10 PM
i got another problem if i try to log in RS with username Pietje9 SCAR doesn't set the 9 and ive checked no spelling mistakes

evilwalrus
05-28-2007, 08:46 PM
add declare players