SRL Archive - Help

Run new script on existing Smart


Mannsderek

2011-12-28 15:43:58

How could I run a new script or restart a script when I already am running Runescape with Smart?

The way I'm doing it is if my script (that opens up Smart and does the botting) crashes, then I have to close Smart and restart the script. Can I restart the script while having Smart open all the time?

Kyle Undefined

2011-12-28 15:46:53

Open up a new Simba.

putonajonny

2011-12-28 15:54:59

From: Kyle Undefined
Open up a new Simba.

I think he means that SMART Restarts each time he restarts the script.
From: Mannsderek
How could I run a new script or restart a script when I already am running Runescape with Smart?

The way I'm doing it is if my script (that opens up Smart and does the botting) crashes, then I have to close Smart and restart the script. Can I restart the script while having Smart open all the time?

Why does it crash? If SMART crashes you will have to restart it but that shouldn’t happen, at least not very often, as long as this line:
 Smart_Server := 11;
has a constant at the end of it, then SMART shouldn’t restart after you restart the script, but post your script and explain where it is crashing if you want more help.

legoace

2011-12-30 21:31:36

The Smart_Server for the script has to be constant. The first thing I do when I test someone else's script is change Smart_Server to be my "usual" number so SMART doesn't restart itself when I'm running it.

Mannsderek

2011-12-31 07:51:11

From: legoace
The Smart_Server for the script has to be constant. The first thing I do when I test someone else's script is change Smart_Server to be my "usual" number so SMART doesn't restart itself when I'm running it.


Ahhh, thanks a lot. Actually, the issue was that I defined Smart_Server after SetupSRL. It got fixed when I defined it before.

Smart_Server := 26;

SetupSRL;

putonajonny

2011-12-31 10:33:32

From: legoace
The Smart_Server for the script has to be constant. The first thing I do when I test someone else's script is change Smart_Server to be my "usual" number so SMART doesn't restart itself when I'm running it.


Yeah but if you set smart server to Random(5) or something then it will restart SMART each time