Results 1 to 4 of 4

Thread: Makeshift Login Fix

  1. #1
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default Makeshift Login Fix

    In gametab.scar:
    Simba Code:
    {*******************************************************************************
    function GetLobbyTab: Integer;
    By: Bionicle1800
    Description: Gets current lobby tab.
    *******************************************************************************}

    function GetLobbyTab: Integer;
    var
      tx, x, y : Integer;
    begin
      tx := 63;
      for Result := 1 to 5 do
      begin
        if FindColorTolerance(x, y, 3093560, tx, 21, (tx + 122), 49, 2) then
          Exit;
        IncEx(tx, 122);
      end;
      Result := -1;
    end;

    And in login.scar:
    Simba Code:
    //line 659:
      if (LobbyScreen) then
        MouseBox(256, 442, 507, 478, 1); //Button

    I guess it'll be fixed soon enough but I needed this fast so here you go if you do too

    I don't think that switching lobby tabs works yet.

    And no, this is probably not the most efficient way to do this.
    Last edited by Floor66; 03-01-2011 at 08:21 PM.
    Ce ne sont que des gueux


  2. #2
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Ha that's a simple enough fix. Nice job Floor66, I was actually thinking of trying to redo the login on my own, but I didn't know if it would have any purpose because it would probably be updated by the Dev team within a matter of hours.

  3. #3
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think it already has.

    I launched my script, it opened SMART. I checked back onto it 10 minutes later, and it was running.

    That was nice and quick!
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

  4. #4
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

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
  •