Results 1 to 3 of 3

Thread: Leo sleep wont work

  1. #1
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default Leo sleep wont work

    For some reason , everything says its working, but it types 'aa' everytime. So i go to the hc folder to see the bitmap its making, they are all just black rectangles. Nothing inside of them.

    That must mean my coords are off. Im using this
    SCAR Code:
    const
      hc_route = 'C:\Users\Aaron\Desktop\RSCLEO\SBot6.6\hc.bmp';
      txt_route = 'C:\Users\Aaron\Desktop\RSCLEO\SBot6.6\slword.txt';
     
    procedure getimage(); //Thanks too 'gottapercha'

    var
      b: Integer;
    begin
      b:= Bitmapfromstring(RSSX1+254,39, ''); //Create an empty bitmap with the correct width and height
      alert('1');
      CopyClientToBitmap(b, RSSX1+255, 230, RSSX1 + 509, 269); //Take a screenshot and copy it to b
      alert('2');
      sleep(400);
      SaveBitmap(b, hc_route );
      alert('3');
      sleep(5000);
      writeln('Got Image Sent to Leosleep!');
      //FreeBitmap(b); //Don't forget to free your bitmap after using
      alert('4');
    end;

    procedure gettext; // By Thick As Blood
    var
      s2 : string;
      InFile : Integer;
    begin
       InFile:= OpenFile(txt_route, False);
       alert('5');
       writeln('Typeing Text Now');
       ReadFileString(InFile, s2, FileSize(InFile));
       alert('6');
       s2 := GetLetters(s2);
       CloseFile(InFile);
       alert('7');
       if s2 = 'unknown' then//antiban...
       begin
         Mouse(RSSX1+170, 298, 12, 3, true);
         Exit;
       end;
       Wait(Random(1500));
       TypeSend(s2);
       //inc(players[currentplayer].integers[1]);

    end;

    begin
     getimage;
     gettext;
    end.

  2. #2
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default interesting

    does this works?

  3. #3
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by tom99 View Post
    does this works?
    Obviously no. He just said it doesn't (for him at least).
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

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
  •