Log in

View Full Version : ** Smart Cannot Spawn Clients **



slushpuppy
08-27-2012, 03:48 AM
This error message appears when I attempt to run any sort of script, from these forums or my own.


However when attempting to run the default untitled script
{$DEFINE SMART}
{$I SRL/SRL.Simba}

Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := '';
Pass := '';
Pin := '';
WorldInfo := [27, 42, 45, 46, 48, 52, 59, 70, 72, 78, 79, 87, 104, 115, 117];
BoxRewards := ['XP','xp','lamp'];
LampSkill := Skill_Slayer;
Active := True;
end;
end;

begin
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ELSE}
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}

DeclarePlayers;
SetupSRL;
end.

the error doesn't occur and smart starts normally.

Footy
08-27-2012, 04:11 AM
What version of java are you running? Is your SRL fully updated? Are you on SMART 8.0?

P1ng
08-27-2012, 04:25 AM
Get SMART 8.0

If the problem persists then -

Run Simba as an administrator.
Open Simba without any script loaded.

slushpuppy
08-27-2012, 04:26 AM
I am on SMART 8.0, Simba 991


Edit: P1ng's suggestion of opening simba first then loading a script works. When will this problem be fixed however?

tazer bager
08-29-2012, 03:31 PM
I get the same problem, can't spawn clients. tried running as admin, and tried opening simba first still no luck :/

Footy
08-29-2012, 03:32 PM
Are you on Java6? Smart 8.0? SRL fully updated? Plugins fully updated?

tazer bager
08-29-2012, 03:37 PM
Everything is 100% up to date, yes

Footy
08-29-2012, 03:41 PM
You ran simba.exe, then went to open/your script? What versions of java do you have installed? Can you go to programs and features and screeny/write every single thing on that list that starts with java?

P1ng
08-29-2012, 03:46 PM
As per my earlier post..


If the problem persists then -

Run Simba as an administrator.
Open Simba without any script loaded.

[F]aceless
08-29-2012, 04:14 PM
You ran simba.exe, then went to open/your script? What versions of java do you have installed? Can you go to programs and features and screeny/write every single thing on that list that starts with java?

I have the same problem but here it opens a error message after the "cannot spawn clients" error. it says: could not find file java.exe

anyways i did what u said i have java 6u32
see:
http://www.picamatic.com/view/8631327_Sem_T%C3%ADtulo/

Footy
08-29-2012, 04:16 PM
Simba runs on 32 bit, so you are going to need to delete that and download a 32bit(x86) version of java. I believe there is a 64 bit version of simba, but its very unstable.

[F]aceless
08-29-2012, 04:43 PM
thanks you! worked! Footy, ur awesome :D

tazer bager
08-29-2012, 06:44 PM
You ran simba.exe, then went to open/your script? What versions of java do you have installed? Can you go to programs and features and screeny/write every single thing on that list that starts with java?

Yes, and yes. i have Java version 6 update 33... i've tried absolutley everything and just can't get it to work :(

cheers.

freezeyp
09-04-2012, 08:09 AM
For user that use 64bit version of java, you need to give JVM some arguement to make SMART run, change SmartSpawnClient in SmartParams to this

SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '-d32');

edit:sorry for wrong instruction, after i delete 32bit java, smart can't start up