SRL Archive - RS3 Help

can't seem to spawn a SMART client


theholyone

2014-12-01 23:37:58

—— Attempting to spawn a new client..
—— smartCreateClient():
———- smartGetParameters(): Succesfully grabbed paramters
——– getJavaPath():
———- Attempting to search for your Java path
———- Found your java path @ C:\Program Files (x86)\Java\jre7\bin\java.exe
——– getJavaPath()
——– Using parameters [http://world29a.runescape.com/, f204022593050834277]
——– Using plugins "OpenGL32.dll,d3d9.dll"
—— Failed to spawn a SMART client
—- initSmart()
—- Waiting up to 5 minutes for RS to load…
—- 1 minute(s) have passed, client is not ready yet
—- 2 minute(s) have passed, client is not ready yet
—- 3 minute(s) have passed, client is not ready yet
—- 4 minute(s) have passed, client is not ready yet

I've followed the set-up guide letter by letter ( im 99% sure >_> ) but can't seem to fix this :|

I see a cmd window pop up attempting to load something, but it disappears almost instantly

GRIM

2014-12-14 21:31:33

You want to make sure
{$DEFINE SMART}
is in your template.

Hopefully that helps you, also here's a default template i've started working with.

program DefaultScriptTemplate;

{$DEFINE SMART} // Always have this to load smart
{$I SRL-6/SRL.simba} // To load the SRL include files
{$I SPS/lib/SPS-RS3.Simba} // To load the SPS include files

procedure declarePlayers();
begin
setLength(players, 1);
with players[0] do
begin
loginName := 'username';
password := 'password';
isActive := true;
isMember := true;
end
currentPlayer := 0;
end;


// main loop
begin
clearDebug(); // Clear the debug box
smartEnableDrawing := true; // So we can draw on SMART
setupSRL(); // Load the SRL include files
declarePlayers(); // Set up your username/pass

if not isLoggedIn() then // If player isn't logged in then
begin
players[currentPlayer].login(); // Log them in
exitTreasure(); // Exit Treasure Hunter
minimap.setAngle(MM_DIRECTION_NORTH); // Makes compass north and angle high
mainScreen.setAngle(MS_ANGLE_HIGH);
end;

end.

KeepBotting

2014-12-14 21:54:27

setupSrl() loads SMART, what's the debug say?