Results 1 to 8 of 8

Thread: SMART Won't take control

  1. #1
    Join Date
    Apr 2012
    Posts
    157
    Mentioned
    10 Post(s)
    Quoted
    57 Post(s)

    Default SMART Won't take control

    Hey guys,

    I got a new PC, and set simba up on it..and now..when I run a script..it won't take control of the mouse in SMART. It always wants my actual mouse to do things. Any ideas?


    Also! If I attempt to use my RS client as my "client" i get an Error: Out of Range on the MMouse command. But if I open a smart window, and do it in there..it works fine, it just takes my mouse.
    Last edited by serajin; 05-29-2012 at 03:50 AM.

  2. #2
    Join Date
    Jan 2008
    Location
    C:\
    Posts
    1,483
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    1) Is SMART included at the top?

    Code:
    {$i SRL/SRL/misc/smart.simba}
    2) Is ActivateClient called sometime after SetupSRL?

  3. #3
    Join Date
    Apr 2012
    Posts
    157
    Mentioned
    10 Post(s)
    Quoted
    57 Post(s)

    Default

    I have {$DEFINE SMART} which let's me open my SMART. I did not have activate client, but it never needed that before. I tried it anyways, after SetupSRL; and DeclarePlayers; I put ActivateClient;, it still request my mouse, even through a SMART window.

    I went ahead and tested it on my old computer..and it's not working there either..so I am obviously missing something.. -_-
    Last edited by serajin; 05-29-2012 at 03:59 AM.

  4. #4
    Join Date
    Jan 2008
    Location
    C:\
    Posts
    1,483
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Is {$DEFINE SMART} the first thing included?

  5. #5
    Join Date
    Apr 2012
    Posts
    157
    Mentioned
    10 Post(s)
    Quoted
    57 Post(s)

    Default

    Yes sir.

    Code:
    program new;
    {$DEFINE SMART}
    //{$i SRL/SRL/misc/smart.simba}
    {$i srl/srl.simba}
    {$i srl/srl/misc/Debug.simba}
    
    procedure DeclarePlayers;

  6. #6
    Join Date
    Jan 2008
    Location
    C:\
    Posts
    1,483
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Hmm... this probably isn't the issue, but do you have the SMART vars declared (before SetupSRL)?

    Simba Code:
    Smart_Server := 21;
      Smart_Members := False;
      Smart_Signed := True;
      Smart_SuperDetail := False;
      SetupSRL;

  7. #7
    Join Date
    Apr 2012
    Posts
    157
    Mentioned
    10 Post(s)
    Quoted
    57 Post(s)

    Default

    That..may have fixed it!

    Yup, that fixed it! Thank you very much!
    Last edited by serajin; 05-29-2012 at 04:17 AM.

  8. #8
    Join Date
    Jan 2008
    Location
    C:\
    Posts
    1,483
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by serajin View Post
    That..may have fixed it!

    Yup, that fixed it! Thank you very much!
    Cool, the one thing I didn't expect

    No problem.

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
  •