Results 1 to 3 of 3

Thread: How to test a script on SMART

  1. #1
    Join Date
    Jun 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Question How to test a script on SMART

    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.

  2. #2
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    In your mainloop add this after begin;

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

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

  3. #3
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    Simba Code:
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •