Results 1 to 4 of 4

Thread: Im logged in and SCAR thinks im logged out

  1. #1
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Im logged in and SCAR thinks im logged out

    Since SRL Rev 35 came out, the LoggedIn function has not been working too well. Randomly SCAR will think im not LoggedIn and the script will terminate/ go to the next player.
    I think this function should get fixed and a function should be added to find if your on the login screen for more accuracy.
    Ive created a function to find if your on the login screen here: http://www.villavu.com/forum/showthread.php?p=598106
    I'd be more than happy if you would consider using my function
    If you dont decide to use it, its fine.

  2. #2
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

  3. #3
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by mormonman View Post
    Its not lag or anything. Usually when the character isnt doing anything scar will think im logged out. When the character is doing something, the script runs fine.

    I did a bit of testing, SCAR needs to find a tree and im in the middle of the GE and this is what I was testing with:

    SCAR Code:
    procedure MainLoop;
    begin
      repeat
      SetupPlayer;
      Writeln('What The Hell');
      repeat
      HackTree;
      until (not LoggedIn);
      until(false);
    end;

    When is was able to find some trees, the script would run smoothly, when I moved to the middle of the GE, the script would setup player over and over again and write What The Hell.

    I added my function OnLoginScreen and made the script check if not LoggedIn and OnLoginScreen and the script runs smoothly.

  4. #4
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    I just wanted that thread bumped/read again.

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
  •