Troll
2010-10-16 15:30:28
Well this is proberly a nooby question but smart loads but does not log in.
Im using
E: at the bottom it says
Im using
Program ReflectionBasic;
{$DEFINE SMART}
{$i srl\srl.scar}
{$i reflection\reflection.simba}
Const
{---SMART Setup Constants---}
WORLD = 16;
MEMBERS = false;
SIGNED = true;
{---------------------------}
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
With Players[0] Do
Begin
Name := 'kill joymate';
Pass := '';
Nick := 'joy';
Active := True;
Pin := '';
End;
End;
Procedure DoNPC;
Var NPCs:TNPCArray;
I,II :Integer;
Begin
Repeat
NPCs := SortNPCs(GetNPCs);
Writeln('--NPCs--');
For I:=0 to high(GetNPCs) Do
Begin
Writeln('[' + ToStr(I) + ']Name: ' + NPCs[I].Name + '(' + ToStr(NPCs[I].Tile.X) + ', ' + ToStr(NPCs[I].Tile.Y) + ') ID: ' + ToStr(NPCs[I].ID) + ' - Index:' + ToStr(NPCs[I].Index));
Writeln(' Orientation: ' + ToStr(NPCs[I].Orientation) + ' - Level: ' + ToStr(NPCs[I].Level) + ' - Animation:' + ToStr(NPCs[I].Animation) + + ' - HPRatio:' + ToStr(NPCs[I].HPRatio));
Writeln(' Moving:' + ToStr(NPCs[I].Moving) + ' - InFight:' + ToStr(NPCs[I].Fighting) + ' - Interacting:' + ToStr(NPCs[I].Interacting) + ' - Height:' + ToStr(NPCs[I].Height));
Writeln(' Actions:');
For II:=0 To High(NPCs[I].Actions) Do
Writeln(' ' + NPCs[I].Actions[II]);
End;
Wait(3000);
ClearDebug;
Until(False);
End;
Procedure WhereAmI;
Var loc:TTile;
Begin
loc := GetMyPos; // Get your global position
writeln (inttostr(loc.x) + '/'+ inttostr(loc.y)); // Output it
End;
Begin
Smart_Members := MEMBERS;
Smart_Server := WORLD;
Smart_Signed := SIGNED;
SetupSRL;
writeln('setup srl')
SetUpReflectionEx(true); // Yeah baby!
writeln('setup ref');
DeclarePlayers;
writeln('player declared');
Wait(20000);
writeln('waited');
LoginPlayer;
writeln('login called');
Repeat
If IsFKeyDown(1) Then
DoNPC;
If IsFKeyDown(2) Then
WhereAmI;
Until(false);
End.
Thanks for any helpE: at the bottom it says
From now on, you shall be alerted as to when your SRL is out of date!
Simba news:
Version 750 has been released. You can find the thread on
http://villavu.com
Simba 0.94 (Installer) has also been released. It contains the new
extensions.
If you installed Simba 0.93 or lower, you may want to update your
extensions.
You can find them here: http://simba.villavu.com/bin/Extensions.zip
Also coming soon is the script manager.
Thank you for using Simba,
Hakuna Matata
No Reflection update
No SRL update / Plugins update available!
Compiled succesfully in 999 ms.
%INCLUDEPATH%\SRL/logs/SRL log 16-10-10 0.txt
A new update of Simba is available!
Current version is 715. Latest version is 750
Cont [True] File [C:\Simba\Includes\SRL/logs/SRL log 16-10-10 0.txt]
%INCLUDEPATH%\SRL/logs/SRL log 16-10-10 0.txt
Cont [True] File [C:\Simba\Includes\SRL/logs/SRL log 16-10-10 0.txt]
SRL Compiled in 9204 msec
SMART Initialized.
Loaded: Server 16, Members: False, Signed: True, Super Detail: False.
setup srl
setup ref
player declared
waited
1
2
4