Results 1 to 13 of 13

Thread: [SRL]LumbridgeLogBuyer By Eicca

  1. #1
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [SRL]LumbridgeLogBuyer By Eicca

    My first script buys the logs and goes to the lumbridge starting point, what do you think of it?

    My very first actual script.

    SCAR Code:
    {LumbridgeLogBuyer By: Eicca
    All players must be at the very center of the lumbridge.}



    program LLB;
    {.include SRL\SRL.scar}
    var colorofgsmark, colorofshopkeeper, logcolor, staircolor, k, r, a, s: Integer;

    procedure ToShop;
    begin

    colorofgsmark := 922711 //<--
    colorofshopkeeper := 3103108 //<--
    logcolor := 3430257 //<--
    staircolor := 866395 //<--

    MakeCompass('N');
    Mouse(647, 11, 0, 0, True);
    Wait(25000+random(2000));
    FindMMColor(x, y, colorofgsmark);
    Mouse(x, y, 0, 0, True);
    writeln('we got in to the shop (i think)');
    Wait(8000+random(2000));
    end;

    procedure BuyLogs;
    begin
    if FindObj(x, y, 'Shop', colorofshopkeeper, 50)
    then
     begin
     writeln('found shop assistant');
     Mouse(x, y, 2, 1, False);
     GetMousePos(x, y);
     ChooseOption(x, y, 'rade')
     Wait(5000+random(1000));
     if(FindObj(x, y, 'Log', logcolor, 50))
     then
      begin
      writeln('found logs');
      k := x;
      r := y;
      a := x;
      s := y;
      Mouse(x, y, 0, 0, False);
      ChooseOption(x, y, '10');
      Mouse(k, r, 0, 0, False);
      ChooseOption(k, r, '10');
      Mouse(a, s, 0, 0, False);
      ChooseOption(a, s, '10');
      writeln('bought logs');
      end else
     begin
     writeln('didnt find shop assistant!');
     end;
     end else
    begin
    writeln('didnt find logs!');
    end;
    end;

    procedure ToBank;
    begin
    MakeCompass('N');
    Mouse(643, 153, 0, 0, True);
    Wait(30000+random(5000));
    FindMMColor(x, y, staircolor);
    Mouse(x, y, 0, 0, True);

    end;




    begin
    Mouse(750, 17, 0, 0, True);
    ToShop;
    BuyLogs;
    ToBank;
    end.

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You could use some if then's for your FindMMColor things, or it will try to click even if it didn't find the color =)

    And you should learn DTM's for the logs, and learn radial walking. Overall it's a nice first script, keep it up!

    You're going to have some competition pretty soon, because I'm making one myself, almost done

  3. #3
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ummmm, im confused, how are you an SRL member if it's your first script???

  4. #4
    Join Date
    Jul 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So does it bank the logs?

  5. #5
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    He probably joined before SRL went private, and was automatically memberized.

  6. #6
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ahh, i see. I was wondering about that..

  7. #7
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hehe, and it've been like half of year before i scripted and i think i made some woodcutter or tried to solve some randoms, but my scripts werent very good. And JAD, there is like 3 of lumbridge log buyers coming soon, so I think that I wont be updating this no more :P

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

    Default

    It seems like everyone is making this script... see my siggy. Lol One thing is though. I don't get (from looking at your script) how it gets from the shop to the bank in 2 clicks?

  9. #9
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Eicca
    Hehe, and it've been like half of year before i scripted and i think i made some woodcutter or tried to solve some randoms, but my scripts werent very good. And JAD, there is like 3 of lumbridge log buyers coming soon, so I think that I wont be updating this no more :P
    Are you a girl or boy?
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  10. #10
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    eerm, y does that need to be answered? =S
    Originally Posted by YoHoJo
    I like hentai.

  11. #11
    Join Date
    Jun 2007
    Location
    England
    Posts
    262
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    God... we're getting off topic... .

  12. #12
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    haha, i dp that alot
    Originally Posted by YoHoJo
    I like hentai.

  13. #13
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I am a boy.

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
  •