Results 1 to 3 of 3

Thread: SMART failure

  1. #1
    Join Date
    Nov 2010
    Location
    Cleveland, Ohio, U.S.A.
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default SMART failure

    I just tried to start SMART using this script:

    Simba Code:
    program new;
    {$DEFINE SMART} // comment this line out if you don't want to use SMART
    {$i srl-6/srl.simba}

    begin
      smartUserAgent := 'Mozilla/5.0 (Windows; U; Win 9x 4.90; de-DE; rv:0.9.2) Gecko/20010726 Netscape6/6.1';  // It would probably be a good idea to change this to something that is more reasonable.
      // smartShowConsole := True;  // This did not help in my debugging efforts.
      clearDebug();
      setupSRL();

      // takeScreenshot('Screen-shot.png');

    end.

    It worked yesterday.

    Something has changed since yesterday.

    I see the Runescape window pop up, then immediately disappear. The Windows console window that shows how Java and SMART are progressing disappears, too. I don't know how to prevent that from happening.

    Here are the messages in the Windows console window that shows the detailed Simba messages.

    Code:
    (Long list of functions loaded.)
    
    libsmartremote
    Script name will be: LogMeIn
    Plugin libtesseract2_32 already loaded: 0
    Plugin SimpleOCR32 already loaded: 1
    Plugin libsmartremote32 already loaded: 2
    formWriteln: Compiled successfully in 2594 ms.
    formWriteln: SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (29-05-17 at 12.25.18 PM).txt
    formWriteln: setupSRL()
    formWriteln: Setting up SRL...
    formWriteln: attempting to spawn smart, attempt #: 1
    formWriteln: initSmart():
    formWriteln: Attempting to pair to a previously spawned client
    formWriteln: smartPairToExistingClient():
    SMART: Located 0 clients
    formWriteln: Found no free clients to pair to
    formWriteln: smartPairToExistingClient(): result = false
    formWriteln: Attempting to spawn a new client..
    formWriteln: smartCreateClient():
    formWriteln: getJavaPath():
    formWriteln: Attempting to search for your Java path
    formWriteln: Found your java path @ C:\Program Files\Java\jre1.8.0_101\bin\java.exe
    formWriteln: getJavaPath()
    formWriteln: Root: http://world1.runescape.com/
    formWriteln: Params: ,j0,f4823488215431579717
    formWriteln: Using plugins "OpenGL32.dll,d3d9.dll"
    SMART: Located 0 clients
    SMART: Failed to pair - No client by that ID
    SMART: Failed to pair - No client by that ID
    SMART: Setting the client's controller to our TID
    SMART: Attempting to connect to localhost:1143
    SMART: Call appears to have failed, or client successfully killed.
    formWriteln: Succesfully spawned a client, attempting to target
    Loading plugin libsmartremote32 at C:\Simba\Plugins\
    Plugin libsmartremote32 already loaded: 0
    SMART: EIOS Requesting Target
    SMART: Client possibly paired to us
    SMART: Already paired: Incrementing refcount
    SMART: Target Identifier: 0x4b947b8
    SMART: EIOS requested image buffer
    SMART: Base: 0x8e10000 Off: 4124
    formWriteln: smartSetAsTarget(): Succesfully set SMART[5264] as Simba's target
    formWriteln: smartCreateClient(): result = true
    formWriteln: Succesfully initialized via spawning a new client
    SMART: Could Not Call
    SMART: Could Not Call
    formWriteln: initSmart() result = True
    formWriteln: Waiting up to 5 minutes for RS to load...
    SMART: Decrementing refcount [5264]
    formWriteln: Succesfully freed SMART[5264]
    formWriteln: Successfully executed.
    SMART: EIOS Releasing Target
    SMART: Decrementing refcount [5264]
    SMART: Freeing client data [5264]

  2. #2
    Join Date
    Oct 2011
    Posts
    192
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    I went to Tools -> Update, and forced an update. Worked for me!

  3. #3
    Join Date
    Nov 2010
    Location
    Cleveland, Ohio, U.S.A.
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    I forced an update. It is still doing the same thing.

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
  •