SRL Archive - OSR Help

Error while running srl-6 startup script HALP PLOX


Wu-Tang Clan

2013-09-28 10:54:54

Alright so here's the deal, while I was trying to get srl-6 to work so I could fix up my div script for a new release, I got an error.

Exception in Script: Duplicate declaration "procedure((False=0, True=1))" at line 269, column 51 in file "C:\Simba\Includes\srl-6\lib\misc\smart.simba"

I searched this and saw I had to change the interpreter to lape, after doing so and restarting the computer, I still get it. regularly it would say line 268, but I looked up the function in smart.simba and pressed enter to see if the procedure was being targeted or the line was just being stupid. After updating and restarting a few times, overriding updates, and trying to put {} around include functions, I think it's safe to say that I need some help from you guys. Has anybody else had this problem and come out the champion?

For your info, line 269 of the smart.simba file reads:
procedure smartSetDebug(enable: boolean); overload;
begin
smartSetNativeButton(__smartCurrentTarget, 0, 101, not enable);
end;

Olly

2013-09-28 11:21:08

What ogl plugin are you using?

Wu-Tang Clan

2013-09-28 13:04:19

From: Olly
What ogl plugin are you using?


Brandon's.

On a side note: I tried updating to SMART 8.3 (somebody repped me on this thread and said to do this- I would love to know who it is to return the favor), but now I get this error:


-- 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
-------- Using parameters "[http://world76.runescape.com/, f7680955474426332389]"
-------- getJavaPath():
---------- Attempting to search for your Java path
---------- Found your java path @ C:\Program Files (x86)\Java\jre6\bin\java.exe
-------- getJavaPath()
-------- FATAL ERROR: Failed to spawn a SMART client
Successfully executed.

If you know how to fix that then I'm all ears.
Could it be something with the startup code I'm running?


program new;
{$DEFINE SMART}
{$i srl-6/srl.simba}

begin
clearDebug();
setupSRL();
end.

Sjoe

2013-09-28 13:05:53

From: Wu-Tang Clan
Brandon's.

On a side note: I tried updating to SMART 8.3 (somebody repped me on this thread and said to do this- I would love to know who it is to return the favor), but now I get this error:


-- 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
-------- Using parameters "[http://world76.runescape.com/, f7680955474426332389]"
-------- getJavaPath():
---------- Attempting to search for your Java path
---------- Found your java path @ C:\Program Files (x86)\Java\jre6\bin\java.exe
-------- getJavaPath()
-------- FATAL ERROR: Failed to spawn a SMART client
Successfully executed.

If you know how to fix that then I'm all ears.
Could it be something with the startup code I'm running?


program new;
{$DEFINE SMART}
{$i srl-6/srl.simba}

begin
clearDebug();
setupSRL();
end.


Did u add your java path on environment variables?

Wu-Tang Clan

2013-09-28 13:07:44

From: Sjoe
Did u add your java path on environment variables?


As far as I know I didn't do that. Can you explain?

Sjoe

2013-09-28 13:09:36

From: Wu-Tang Clan
As far as I know I didn't do that. Can you explain?


come on skype

Hoodz

2013-09-28 13:27:54

From: Wu-Tang Clan
Brandon's.

On a side note: I tried updating to SMART 8.3 (somebody repped me on this thread and said to do this- I would love to know who it is to return the favor), but now I get this error:


-- 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
-------- Using parameters "[http://world76.runescape.com/, f7680955474426332389]"
-------- getJavaPath():
---------- Attempting to search for your Java path
---------- Found your java path @ C:\Program Files (x86)\Java\jre6\bin\java.exe
-------- getJavaPath()
-------- FATAL ERROR: Failed to spawn a SMART client
Successfully executed.

If you know how to fix that then I'm all ears.
Could it be something with the startup code I'm running?


program new;
{$DEFINE SMART}
{$i srl-6/srl.simba}

begin
clearDebug();
setupSRL();
end.

not sure but i thought you needed atleast jre7 (latest java)

Wu-Tang Clan

2013-09-28 13:31:39

Sjoe has fixed it!
Turns out I had to delete the jre6 in my java folder so it Simba would properly target my jre7.
He is a star to behold :3

Sjoe

2013-09-28 13:36:18

From: Wu-Tang Clan
Sjoe has fixed it!
Turns out I had to delete the jre6 in my java folder so it Simba would properly target my jre7.
He is a star to behold :3


Kind words, ty :)

Tlachtli

2013-12-03 16:31:54

I'm bumping this because I'm having the same problem, but with what must be a different cause. My Simba and SRL-6 are up-to-date, I have SMART 8.3, I have Java 7.45 (both x32 and x64 installed, and no trace of JRE6 whatsoever on my PC), and my PATH variable is correct (I've tried with it pointing to both the x32 and the x64 jre7s, neither worked). I run Simba as admin, and the problem is not in my firewall either (problem still persists both when exceptions were made in the firewall and when it was taken down completely).

Attempting to run the same demo code provided above
program new;
{$DEFINE SMART}
{$i srl-6/srl.simba}

begin
clearDebug();
setupSRL();
end.

Returns this:
-- 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
---------- Found your java path @ C:\Program Files (x86)\Java\jre7\bin\java.exe
-------- getJavaPath()
-------- Using parameters [http://world27.runescape.com/, f2930126111206084581]
-------- Using plugins "OpenGL32.dll"
-------- FATAL ERROR: Failed to spawn a SMART client
-------- Freeing the minimap mask
Successfully executed.

The problem is that something is stopping SMART from spawning a client, the debug produced this at the time of the fatal error:
formWriteln: ---------- smartGetParameters(): Succesfully grabbed paramters
formWriteln: -------- getJavaPath():
formWriteln: ---------- Attempting to search for your Java path
formWriteln: ---------- Found your java path @ C:\Program Files (x86)\Java\jre7\bin\java.exe
formWriteln: -------- getJavaPath()
formWriteln: -------- Using parameters [http://world27.runescape.com/, f2930126111206084501]
formWriteln: -------- Using plugins "OpenGL32.dll"
SMART: Located 0 clients
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
formWriteln: -------- FATAL ERROR: Failed to spawn a SMART client
formWriteln: -------- Freeing the minimap mask
formWriteln: Successfully executed.

rsbots2013

2014-02-03 15:49:58

I just got this problem switching back to SMART from browser. It was working properly yesterday. I dont know what could have caused this.
Can anyone help?

Marmellot

2014-02-06 01:42:00

I was having the same issue. I had Simba installed in Program Files. I tried reinstalling in C (the default) and that fixed it.

Choomah

2014-03-29 17:25:10

Was having the same problem. A reinstall fixed it.