SRL Archive - OSR News and General

Multiple Clients


Eksaw

2014-08-30 13:11:06

Does anyone know if it's possible to open multiple clients? Everytime I have one running and start a new one, it tries to run the script in the client that already open.

Thanks

Ian

2014-08-30 13:14:46

If there is currently a script running in one client and you start a new script it should open a new client. If the 1st script is stopped when you start the 2nd script the 2nd script will use the 1st client.

If this is not happening there's probably an issue with the permissions on your computer which might be fixed by running from an administrator account.

Turpinator

2014-08-30 13:23:14

also, if the scripts are in different folders, this will never happen.

riwu

2014-08-30 19:31:00

You can also add smartForceNewClient:=true; (or TSmart.__ForceNew := True; if using Brandon's ogl include) at the start of script to force it to spawn a new client no matter what.

hakishakataki

2014-08-31 01:46:56


program new;
{$DEFINE SMART8}
{$I SRL-OSR/SRL.Simba}

begin
ClearDebug;
SetupSRL;
end.



here is the code that will generate a new client when run under pascal script.