Results 1 to 5 of 5

Thread: LoggedIn Problem

  1. #1
    Join Date
    Nov 2008
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default LoggedIn Problem

    Right so I noticed that LoggedIn isn't working properly for me sometimes (other times, it works flawlessly).

    If you look at the following...
    Code:
        if not(loggedIn) then
        begin
          if activePlayers<=1 then
          begin
            writeln('boo1:: ' + inttostr(activePlayers));
            players[currentplayer].active:=false;
            break;
          end;
        end;
    You should notice, automatically, that I should never see "boo1:: x" unless if my character is logged out, right? Wrong apparently. While running a script, the script has now stopped twice (within 10minutes), outputting that message.

    Yes, I have completely closed and restarted SCAR numerous times.

    Any ideas as to whats going wrong?

  2. #2
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if you have 1 active player it will do that..

  3. #3
    Join Date
    Nov 2008
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Not completely so.

    That is, admittedly, what I had first thought. However, it will never see that I have one active player or not if the character is logged in, since it is all within " if not(loggedIn) then"

  4. #4
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    then it's just a problem with SCAR.. the updates messed like everything up :\

  5. #5
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    If you're using SMART be careful not to switch windows to quickly or too often. Doing that can cause SMART to lose the RS client temporarily causing a black or grey screen which kills your script.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. if LoggedIn
    By Eicca in forum OSR Help
    Replies: 12
    Last Post: 11-04-2007, 04:57 PM

Posting Permissions

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