Bobarkinator
2007-11-21 01:01:33
Hmm, I seem to be having a problem with my SMART not logging in. I would greatly appreciate if someone could help me. I'm using this script :
It will load up SMART, type in my username and password, then sit their and do nothing. Here is a screenshot
My SetupSRL; is this
I've also attached my login.scar.
Again, any help would be greatly appreciated.
program New;
{.include SMART.scar}
{.include SRL/SRL.scar}
procedure DeclarePlayers;
begin
NumberOfPlayers(1);
CurrentPlayer:= 0;
Players[0].Name:= '';
Players[0].Pass:= '';
Players[0].Active:= True;
end;
begin
SetupSRL;
DeclarePlayers;
LoginPlayer;
end.It will load up SMART, type in my username and password, then sit their and do nothing. Here is a screenshot

My SetupSRL; is this
procedure SetupSRL;
begin
{$IFDEF SMART}
SmartSetup('me2', false, false);
wait(10000+random(5000));
SetTargetDC(SmartGetDC);
repeat
wait(100);
until(SmartGetColor(253, 233)<>1118604);
{$ENDIF}
MouseSpeed := 15;
NickNameBMP := 0;
CheckHPFirst := True;
Reincarnate := False;
TalkAfterRandoms := False;
RoadColor := 0;
WaterColor := 0;
BankColor := 0;
LampSkill := 'mining';
SetUpSRLReport;
SetMouseMode(false);
LoadCosineArrays;
SymbolAccuracy:= 0.8;
LoadNPCArray;
LoadSRLBitMaps;
SolveChatRandoms := True;
SetupSRLAutoResponder
UseSandWichSolver := True;
UseBoxSolver := True;
UseCerterSolver := True;
UseFindmod := True;
UseFindtrade := True;
Screenshots := False;
TheFile := RewriteFile(AppPath + 'ChatLog.txt', False);
Writeln ('SRL Compiled in '+ IntToStr(GetTimeRunning) + ' msec');
end;I've also attached my login.scar.
Again, any help would be greatly appreciated.