Results 1 to 2 of 2

Thread: Dumb Error

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

    Default Dumb Error

    Theres this one error that randomly thinks the character is logged out.
    Can a failsafe be added into the loggedin function?
    Maybe look for something on the welcome screen and look if something in game isnt there.

  2. #2
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    Well, all I can think of is to add a LoggedOut function, like this:

    SCAR Code:
    function LoggedOut: Boolean;
    begin
      Result := GetColor(378, 244) = 13158;
    end;

    Then edit the LoggedIn function to take that into account:

    SCAR Code:
    function LoggedIn: Boolean;
    var
      cx, cy: Integer;
    begin
      Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492) and not(LoggedOut);
    end;

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
  •