Log in

View Full Version : Run new script on existing Smart



Mannsderek
12-28-2011, 08:43 PM
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
12-28-2011, 08:46 PM
Open up a new Simba.

putonajonny
12-28-2011, 08:54 PM
Open up a new Simba.
I think he means that SMART Restarts each time he restarts the script.

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
12-31-2011, 02:31 AM
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
12-31-2011, 12:51 PM
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
12-31-2011, 03:33 PM
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