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

S.M.A.R.T 8.3 isn't loading.


arturiccc

2013-10-05 12:03:06

– setupSRL()
—- Setting up SRL…
—- initSmart():
—— Attempting to pair to a previously spawned client
—— smartPairToExistingClient():
——– Found no free clients to pair to
—— smartPairToExistingClient(): result = false
—— Attempting to spawn a new client..
—— smartCreateClient():
———- smartGetParameters(): Succesfully grabbed paramters
——– getJavaPath():
———- Attempting to search for your Java path
———- ERROR: Failed To Find Path: D:\Program Files\Java\
———- WARNING: Failed to find your Java path
———- HINT: If RS is failing to switch to OpenGL mode, add JRE to your systems path before JDK (if you have JDK)
——– getJavaPath()
——– Using parameters [http://world21.runescape.com/, f7507956303343872580]
——– Using plugins "OpenGL32.dll"
——– FATAL ERROR: Failed to spawn a SMART client
Successfully executed.
I know that i need to remove old java and install 7. Got question about how to change path for java in SMART. It shows can't find Path: D:\Program Files\Java\ try'd all… nothing helped.

Olly

2013-10-05 12:06:28

You have the latest java, and tried running simba as an admin?

arturiccc

2013-10-05 12:12:27

From: Olly
You have the latest java, and tried running simba as an admin?

Yes Olly, got java 7 update 40 latest version. Just did through admin, anyway same problem.

Brandon

2013-10-05 13:06:45

Your java is installed on your C drive and your Simba is on your D drive. Thus, it isn't able to find your java in the same drive as simba.

Open the include and change the "GetJavaPath" to 'C:/Program Files(x86)/Java/jre/bin/java.exe' or whatever the location to your Java is. I might re-write the finding algo so that it finds it on any drive later today..

arturiccc

2013-10-05 13:26:11

From: Brandon
Your java is installed on your C drive and your Simba is on your D drive. Thus, it isn't able to find your java in the same drive as simba.

Open the include and change the "GetJavaPath" to 'C:/Program Files(x86)/Java/jre/bin/java.exe' or whatever the location to your Java is. I might re-write the finding algo so that it finds it on any drive later today..

Thanks, I tho same but I deleted all from C there's no java even checked through regedit and %appdata%. Also I reinstalled java and put into D disk same problem.

Brandon

2013-10-05 13:47:23

From: arturiccc
Thanks, I tho same but I deleted all from C there's no java even checked through regedit and %appdata%. Also I reinstalled java and put into D disk same problem.


Ah you are mis-understanding how it works.

Smart's very first parameter is where your Java path should be. If you remove it, Smart will "find" your java location and use that.

You can test it by doing:


{$include_once SRL-6/SRL.Simba}

begin
smartGetJavaPath = False;
SetupSRL;
end.

And that makes smart auto-find the java.

If you wish to hard code the path then you need to edit Smart.simba and replace line 387:

path := getJavaPath();

to:


path := 'C:\Program Files (x86)\Java\jre7\bin\java.exe';

as an example. That's the path where my Java is installed.

Olly

2013-10-05 14:03:26

From: Brandon
Ah you are mis-understanding how it works.

Smart's very first parameter is where your Java path should be. If you remove it, Smart will "find" your java location and use that.

You can test it by doing:


{$include_once SRL-6/SRL.Simba}

begin
smartGetJavaPath = False;
SetupSRL;
end.

And that makes smart auto-find the java.

If you wish to hard code the path then you need to edit Smart.simba and replace line 387:

path := getJavaPath();

to:


path := 'C:\Program Files (x86)\Java\jre7\bin\java.exe';

as an example. That's the path where my Java is installed.


Hmmm, a global path var might not be bad idea.

arturiccc

2013-10-05 15:29:56

I appreciate your work! Thanks.
Now i got this (everything is updated and correctly installed.)
SRL Compiled in 0 msec
Attempting to pair to a smart client..
No free clients to pair to
Failed to pair to any smart previously spawned smart clients
Attempting to spawn a client
Grabbing your best world…
Found best world "3"
Succesfully spawned a client, attempting to target…
Set SMART[2000] as Simba's target
Succesfully freed SMART[2000]
Successfully executed.
Loads till login screen and script executes! Hope you now solution :( <- tested with 3 scripts all the same.

Olly

2013-10-05 15:47:14

From: arturiccc
I appreciate your work! Thanks.
Now i got this (everything is updated and correctly installed.)
SRL Compiled in 0 msec
Attempting to pair to a smart client..
No free clients to pair to
Failed to pair to any smart previously spawned smart clients
Attempting to spawn a client
Grabbing your best world…
Found best world "3"
Succesfully spawned a client, attempting to target…
Set SMART[2000] as Simba's target
Succesfully freed SMART[2000]
Successfully executed.
Loads till login screen and script executes! Hope you now solution :( <- tested with 3 scripts all the same.


Try changing the interpreter to pascalscript, (script > interpreter > pascalscript).

arturiccc

2013-10-05 15:56:41

From: Olly
Try changing the interpreter to pascalscript, (script > interpreter > pascalscript).

Now it shows >>>
[Error] D:\Simba\Includes\SRL-OSR\SRL\misc\MiniReflection.simba(104:48): Invalid number of parameters at line 104
Compiling failed.
still no solution :(

Olly

2013-10-05 16:11:56

From: arturiccc
Now it shows >>>
[Error] D:\Simba\Includes\SRL-OSR\SRL\misc\MiniReflection.simba(104:48): Invalid number of parameters at line 104
Compiling failed.
still no solution :(


replace your minirelfection with the file attached.

arturiccc

2013-10-05 16:39:41

From: Olly
replace your minirelfection with the file attached.

Still same error only line changes
[Error] D:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(68:26): Invalid number of parameters at line 68
Compiling failed.

Olly

2013-10-05 16:51:08

:s you sure you have the latest osr include from github?

arturiccc

2013-10-05 17:45:49

From: Olly
:s you sure you have the latest osr include from github?

Yes i downloaded, the latest from github… keep getting even more errors… reinstalled 6 times with different variations, nothing helped for god sake…

Justin

2013-10-05 20:49:20

From: arturiccc
Yes i downloaded, the latest from github… keep getting even more errors… reinstalled 6 times with different variations, nothing helped for god sake…


If you want to PM me your TeamViewer details I'll be more then happy to take a look for you