SRL Archive - Jr. Member General Help and Discussion

How to run multiple SMART's at the same time


kozak94

2014-12-19 09:31:51

Hey guys, I'm looking for a guide to run multiple scripts and SMARTs at the same time. I currently run 2 SMART's and each script interferes with the other.

-When running script 1, it will assign the SMART of script 2, and disable it. What is the proper way of running multiple scripts?
If anyone knows any guides or tutorials, I would greatly appreciate it. Thank you!

bonsai

2014-12-19 10:03:16

Gunner wrote a tut on that

kozak94

2014-12-19 10:23:50

I am aware of that tutorial. I am not looking to run 4+ clients, rather just two. I am unable to do so, as each client interferes with the other. What is the procedure for that?

Kevin

2014-12-19 11:43:55

I honestly have no idea how you're hitting this issue. I run multiple SMARTs without any changes and never see any of this conflict. Do you have a really old PC, and are you starting the scripts at almost exactly the same time?

KeepBotting

2014-12-19 16:52:46

From: kozak94
I am aware of that tutorial. I am not looking to run 4+ clients, rather just two. I am unable to do so, as each client interferes with the other. What is the procedure for that?


This happens with all scripts? Afaik it's impossible to pair two Simbas to the same SMART unless smartGetAvailablePid is seriously messing up

you could try
smartForceNewClient := true;
before you set up SRL

kozak94

2014-12-20 00:25:16

I am running…

MBP Summer - 2012: 8GB ram +i5
Inside it, I am running a Win7 X64 3GB RAM VM.
-I run one Simba application, from which I first set-up one script with one SMART window and then start another script with another SMART client. After some time, 10-15 minutes, the commands from one SMART leak to the other SMART. I followed the set-up instructions correctly. -To bypass or avoid the problem, I run lower ram VM's with only one SMART, but as you can imagine, my resources are getting eaten.

-Which is the correct way to run multiple scripts?
-One Simba –> 1 Smart client?
-Or is it possible to run more than one script from one SIMBA on corresponding SMART clients?

@KeepBotting: I will try this tomorrow evening.

Kevin

2014-12-20 21:00:21

I run one simba against multiple SMART clients, but there should never be an issue where commands start bleeding AFTER connection. That's very odd and likely a bug (That I personally haven't encountered. Try filing a bug report?

Gunner

2014-12-20 22:03:59

I've never seen this problem either. I know that when restarting scripts after they have stopped, it will seem to grab any open SMART it damn well pleases instead of the one it launched, but as for it jumping between SMART while both scripts are running, I just don't even know how that's possible.

I don't mean to belittle you at all, but are you sure that the scripts are jumping between clients, and not just messing up at the same time?

Sjoe

2014-12-20 22:46:33

try putting the scripts in different directory folders

Brose

2014-12-21 19:59:50

From: kozak94
Hey guys, I'm looking for a guide to run multiple scripts and SMARTs at the same time. I currently run 2 SMART's and each script interferes with the other.

-When running script 1, it will assign the SMART of script 2, and disable it. What is the proper way of running multiple scripts?
If anyone knows any guides or tutorials, I would greatly appreciate it. Thank you!


I am not sure how it works for other people but the way it works for me is like this:

When I am running a script, the script will run in the first available Smart window which isnt running a script.
And I will open a new simba to run a new script for another bot
Say I want to run 2 accounts simultaneously.

I open Simba 1. Then run Script A.
Then I opened another simba and run script B.