SRL Archive - S.M.A.R.T. Questions and Answers.

SMART doesn't work..


P1nky

2010-03-11 11:59:00

This is the only thing that holds me back to get back to scripting…
I've tried numerous times but now i just gave back ima give it another shot.

the problem:
when i start my script, it will RUN and than open my form and than once i say Start Script, my SCAR just closes automatically, something is wrong with my smart?

so please help if you know the answer. <3 thanks

my Main Loop:

Begin
cleardebug;
Disguise('By P1nky');
ClearDebug;
ClearReport;
Wait(100);
GetApplication.Minimize;
SafeInitForm;
SafeShowFormModal;
ClearDebug;
ClearReport;
begin
Sig;
ScriptID := '864';
SRLID := Edit1.Text;
SRLPassword := Edit2.Text;
SRLPlayerForm(True, [], [], [], []);
Writeln('Waiting For SMART to Start...');
{$IFDEF SRL_SMART}
Smart_Server := World;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ENDIF}
Setupreflection;
If Not (LoggedIn) Then
// DeclarePlayers;
// LoginPlayer;
// Freebitmap(P1nkyBMP);
Begin
SetupSrl;
ActivateClient;
LoginPlayer;
Loads := 0
.................... and so on....