Log Out Function

Discussion in 'Outdated RS Scripts' started by ProphesyOfWolf, Jan 26, 2008.

Log Out Function
  1. Unread #1 - Jan 26, 2008 at 12:37 PM
  2. ProphesyOfWolf
    Joined:
    Dec 6, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    ProphesyOfWolf Member

    Log Out Function

    I made a new logout function for SCAR.. Since the new update, the old one doesn't work, so.. To save people time, I made this. It's called LogOut2, and can be used like the old one! Enjoy!

    Code:
    {*******************************************************************************
    function LogOut2: Boolean;
    By: ProphesyOfWolf
    Description: Logs out the current player. Returns true if successful.
    *******************************************************************************}
    
    function LogOut2: Boolean;
      begin
        If(not(LoggedIn)) then
          begin
            Exit;
          end;
          LGT := DTMFromString('78DA63D4646060106640015756C4836946289' +
              'F510F48F0A1AA99D6598CA9461055CDADE38B30D588A2AAB971A4' +
              '17558D3E909024A006648E0CAA9A1553B330D5C812708F0690902' +
              '3A0468908357244D8254B84BFE488081F3922C21964172FAA9AEF' +
              '5F9EA0AA510512DCA86A22CFDBA0AA5127428D1EA65DAFEE6E415' +
              '10300D2182776');
          If(DTMRotated(LGT, x, y, 0, 0, 1024, 768)) then
            begin
              Mouse(x, y, 2, 2, true);
              Wait(750 +random(250));
              ClickText('here', UpChars, MIX1, MIY1, MIX2, MIY2, true);
              Result:= True;
            end;
          If(not(DTMRotated(LGT, x, y, 857, 136, 885, 160))) then
            begin
              Result:= False;
              WriteLN('You are not in a Runescape client.');
              Exit;
            end;
    end;
     
  3. Unread #2 - Jan 26, 2008 at 3:03 PM
  4. Blankothe3rd
    Joined:
    May 27, 2007
    Posts:
    259
    Referrals:
    0
    Sythe Gold:
    0

    Blankothe3rd Forum Addict

    Log Out Function

    It looks good! Saving into the Plugins folder... I'll test it if I have the time. 5/5
     
  5. Unread #3 - Jan 27, 2008 at 2:33 PM
  6. ProphesyOfWolf
    Joined:
    Dec 6, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    ProphesyOfWolf Member

    Log Out Function

    I forgot to mention.. You can use this as long as you keep the little header above the code, or mention the fact that I made it somewhere in your script.
     
  7. Unread #4 - Jan 28, 2008 at 8:02 PM
  8. Blankothe3rd
    Joined:
    May 27, 2007
    Posts:
    259
    Referrals:
    0
    Sythe Gold:
    0

    Blankothe3rd Forum Addict

    Log Out Function

    Thanks for letting me know.
     
  9. Unread #5 - Feb 1, 2008 at 1:20 PM
  10. spambot7000
    Referrals:
    0

    spambot7000 Guest

    Log Out Function

    "failed to run logout"
     
  11. Unread #6 - Feb 2, 2008 at 12:50 PM
  12. dark mage766
    Joined:
    Sep 11, 2005
    Posts:
    72
    Referrals:
    0
    Sythe Gold:
    0

    dark mage766 Member

    Log Out Function

    Sorry new to scar the other day,Whats this script do mate?
     
  13. Unread #7 - Feb 3, 2008 at 3:30 AM
  14. ->{Nauman}<-
    Joined:
    Dec 28, 2007
    Posts:
    12
    Referrals:
    0
    Sythe Gold:
    0

    ->{Nauman}<- Newcomer

    Log Out Function

    It's meant to log you out with the new rs interface. Although SRL have updated their login :/
     
  15. Unread #8 - Mar 6, 2008 at 2:19 PM
  16. Rdogg999
    Joined:
    Jan 16, 2008
    Posts:
    215
    Referrals:
    0
    Sythe Gold:
    0

    Rdogg999 Active Member

    Log Out Function

    Line 9: [Error] (9:8): Unknown identifier 'LoggedIn' in script
    Failed when compiling
     
< [SRL][300K][2 GBP/4 U$D]GuildXMiner[/SRL][/300K][/2 GBP] | ProphesyOfWolf's *Almost* Everything Fletcher >

Users viewing this thread
1 guest


 
 
Adblock breaks this site