Results 1 to 9 of 9

Thread: Take And Bury(very basic)

  1. #1
    Join Date
    Apr 2012
    Location
    Portugal
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Take And Bury(very basic)

    Hi guys ! I just started learning to script and i've done some scripts... i've done chop/fletch/drop, M1D1 and now a loot and bury(in lumby chickens)... All very basic only with the materials i know :$ plz, all feedback is welcome...

    Simba Code:
    program New;
    {$i SRL\SRL.simba}

    var
      x, y, Bones: Integer;


    procedure FindBones;
    var
      x, y: Integer;
    begin
      if FindObj(x, y, 'Take', 10002613, 5)then
      Mouse(x, y, 2, 0, False);
      ChooseOption('ones');
    end;

    procedure BuryThem;
    var
      Bones, x,y: Integer;
    begin
      Bones:= DTMFromString('mggAAAHicY2NgYJjGxMAwE4gnA3EvEE8C4nlA/Bgodx+I70Hpl0D8FIg3rFjBsHjObIZpEyYAeUwM65YvY1gydy4DLsCIA0MAAAGqElA=');
      if FindDTM(Bones, x, y, MIX1, MIY1, MIX2, MIY2) then
      Mouse(x, y, 0, 0, True);
    end;


    begin
    SetupSRL;
    repeat
    repeat
      FindBones;
    until InvCount > 5;
    Wait(500);
    WriteLn('We have some bones!');
    repeat
      BuryThem;
    until InvCount < 3;
    WriteLn('Bones Buried');
    until(False);
    FreeDTM(Bones);
    end.

  2. #2
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Could you explain how to setup/what it does?

  3. #3
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    This is very simple, but a nice start. NKN looks like you just start it and it picks up bones and buries them. Seems more like a function that can be used in a script

    Edit: 800TH POST
    Current Project: Retired

  4. #4
    Join Date
    Apr 2012
    Location
    Portugal
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is very basic... load runescape from your browser, set up graphic properly(all to min, brightness to max).... then, open the script, select runescape game window and press play... what it do ? start in chickens and loot all the bones and then bury them... very basic :$


    EDIT: ahahaha gratz gucci

  5. #5
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    I meant edit first post, so people could understand how to use it.

    Seems pretty good, does it kill chickens, or loot other peoples bones?

  6. #6
    Join Date
    Apr 2012
    Location
    Portugal
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    loot other people bones...

    i know it's very basic, but i'm starting to understand this things xD

  7. #7
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Remember to ask if you need help. :P

    Wouldn't want you to get stuck, and shy away from that area.

  8. #8
    Join Date
    Feb 2012
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Good script for your first, work on adding more complex and accurate methods.



  9. #9
    Join Date
    Feb 2012
    Posts
    438
    Mentioned
    1 Post(s)
    Quoted
    16 Post(s)

    Default

    A good place to go with this would be incorperating it into a fighting script possibly just an idea
    Ski-U-Mah

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
  •