SRL Archive - Help

How to test a script on SMART


ragebugger

2012-06-25 14:58:55

How do you keep testing your script on SMART after stopping and restarting it (after changing some code)? When I drag the crosshairs to the SMART window and press play, Simba takes control of my mouse. And restarting START from scratch takes a hell of a long time.
:cartman:

Abu

2012-06-25 15:22:24

In your mainloop add this after begin;

  Smart_Server := 16;
Smart_Members := False;
Smart_Signed := False;
Smart_SuperDetail := False;

That sixteen means SMART won't keep changing servers therefore restarting.

x[Warrior]x3500

2012-06-25 15:23:06

program new;
{$DEFINE SMART}
{$I SRL/SRL.simba}


begin
Smart_Server := 10;
setupsrl;

end.

dont ever need to drag crosshairs onto smart (unless you are gettin an tPoint value for coding). simply stop the script, change a few lines, make sure smart is still enabled, start script.