Results 1 to 13 of 13

Thread: Auto dropper help.

  1. #1
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Auto dropper help.

    Sorry for asking for help so much, But i see in power choppers how people just say Dropall; And it drops it all, if some1 could help, Cause my scripts useing Mouse and mmouse to goto the cords and to drops/ here it is////

    EDIT: Also When you use color finding- findcolor(x,y,20,20) Wat does that actually do does it find the color and give u the cords for the interger x,y or does it click once it find the color?



    Code:
    { Just a auto dropper that drops the first 2 rows in your inventory        }
    { Just Hit Play. and it works, Just a simple script fr learning            }
    {No point in the script will be updating to a full auto dropper and antiban}
    {Script to help with my powerchopper im going to do soon :)                }
    
    
    
    
    program AutoDropper;
    {.include SRL\SRL.SCAR}
    
    begin;
      Wait(200+random(5));
       Mouse(582,229,4,10,false);
        wait(100-random(50));
         Mouse(599,261,2,1,true)
    begin;
      Wait(200+random(5));
       Mouse(630,229,1,6,false);
        wait(100-random(50));
         Mouse(636,261,2,1,true)
    begin;
      Wait(200+random(5));
       Mouse(680,229,3,6,false);
        wait(100-random(50));
         Mouse(701,261,1,2,true)
    begin;
      Wait(200+random(5));
       Mouse(711,229,1,6,false);
        wait(100-random(50));
         Mouse(737,261,3,1,true)
    begin;
      Wait(200+random(5));
       Mouse(577,266,2,6,false);
        wait(100-random(50));
         Mouse(577,300,2,1,true)
    begin;
      Wait(200+random(5));
       Mouse(617,266,7,6,false);
        wait(100-random(50));
         Mouse(621,300,2,2,true)
    begin;
      Wait(200+random(5));
       Mouse(667,266,9,6,false);
        wait(100-random(50));
         Mouse(673,300,1,2,true)
    begin;
      Wait(200+random(5));
       Mouse(715,266,9,6,false);
        wait(100-random(50));
         Mouse(709,312,2,2,true)
           end;
          end;
         end;
        end;
       end;
      end;
     end;
    end.

  2. #2
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    just put in dropall; and it will drop everything

    or, if you don't want to drop the first inv spot, dropto(2,28);
    Interested in C# and Electrical Engineering? This might interest you.

  3. #3
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    SCAR Code:
    procedure DropTo(x,y: Integer);

    Try that procedure, its used like this.

    SCAR Code:
    program Dropper;
      begin
        DropTo(1, 8); //Drops from slot '1' to slot '8' (2 rows)
      end;

    ^_^ Try it if dosent work, reply.

  4. #4
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [QUOTE=ShawnjohnSJ;93645]
    SCAR Code:
    procedure DropTo(x,y: Integer);

    Try that procedure, its used like this.
    QUOTE]


    would i have to use variables for that ^^^^^^^^

    EDIT: THx so much, Dropall; Works well, and Dropto(2,28), Thx still havent figured out the integer thingy u posted, want to find out that

  5. #5
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    Nope you won't have to use variables. :]

    SCAR Code:
    procedure DropTo(x, y: Integer);

    x = The slot you want to start at
    y = The slot you want to end at.

    So any slot between those numbers (including the numbers themselves) will be dropped.

    Sooo...
    SCAR Code:
    DropTo(5, 10)

    Would drop Inventory slots 5,6,7,8,9, and 10. :] Do you get it now?

  6. #6
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well yes, but why do i have to put integer, if i can just put dropto(x,y)

    EDIT: Kinda stuck on procedures >< Do u have msn, cause i have no clue wat procudures do

  7. #7
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    *edited out* Oops, x and y aren't for coords I read it once but it didn't register until I read it again.

    Edit: If you don't know the basics of procedures, go back and read one of the beginner tutorials.

    Edit: You don't put "DropTo(x, y)," you fill in x and y with the slot numbers. 2, 28 would drop from slots 2, going until 28.

  8. #8
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    Oh yes, you can put that.

    SCAR Code:
    DropTo(x, y);

    But I remind you, you have to declare them in the variables still and they have to be inventory slot numbers, not Mouse Coords ^_^

    So

    SCAR Code:
    x := slotx; //Start slot; for example slotx = 5
    y := sloty; //End slot; for example sloty = 10
    DropTo(x, y);

  9. #9
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OO no i know there not mouse cords, buit i just put x,y just because i didnt want to put a random number also wats wrong with this .. Says Semicolon (';') expected in script

    BTW Jason u stole my f***ing soul lol


    program AutoDropper;
    {.include SRL\SRL.SCAR}


    const
    TreeColor = '2246712' //Put Tree color Here



    ////////////////Finding Tree/////////////////

    begin;
    if FindColor(x,y,TreeColor,0,0,765,500) then
    Mouse(x,y,10,13,true)

    begin;
    wait(5000+random(200));
    dropto(2,28);
    end;
    end.

  10. #10
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    Okay ^_^ Im not sure how well that would work if it would but I dont have SCAR on this one. But sounds like your doing okay.

  11. #11
    Join Date
    Jun 2006
    Location
    New Zealand
    Posts
    285
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You forgot to put a semicolon after
    SCAR Code:
    TreeColor = '2246712'
    And you can't have two main loops... Put Finding Tree as a procedure and call it in your main loop like so:
    SCAR Code:
    program AutoDropper;
    {.include SRL\SRL.SCAR}


    const
    TreeColor = '2246712'; //Put Tree color Here



    ////////////////Finding Tree/////////////////
    procedure FindingTree; // A procedure
    begin
      if FindColor(x,y,TreeColor,0,0,765,500) then
      Mouse(x,y,10,13,true)
    end;

    begin    // Main lopp
    FindingTree; // Calling the procedure FindingTree;
    wait(5000+random(200));
    dropto(2,28)
    end.
    Huehuehuehuehue

  12. #12
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Ramage View Post
    You forgot to put a semicolon after
    SCAR Code:
    TreeColor = '2246712'
    And you can't have two main loops... Put Finding Tree as a procedure and call it in your main loop like so:
    SCAR Code:
    program AutoDropper;
    {.include SRL\SRL.SCAR}


    const
    TreeColor = '2246712';  //Color of tree



    ////////////////Finding Tree/////////////////
    procedure FindingTree; // A procedure
    begin
      if FindColor(x,y,TreeColor,0,0,765,500) then
      Mouse(x,y,10,13,true)
    end;

    begin    // Main lopp
    FindingTree; // Calling the procedure FindingTree;
    wait(5000+random(200));
    dropto(2,28)
    end.

    Ok. I updated my script using wat u said but adding more to it, now it says Line 12: [Error] (17347:40): Type mismatch in script


    Here it is
    Code:
    program Powercutter;
    {.include SRL\SRL.SCAR}
    
    const
    TreeColor= '2906184'; //Color of tree
    
    
    ////////////////Finding Tree/////////////////
    
    Procedure FindTree;
    begin;
     if FindColor(x,y,TreeColor,0,0,765,500)then
      Wait(2000+random(234))
       Mouse(x,y,10,13,true)
    end;
    
    begin // Main loop
    repeat
     FindTree; // Calling The Procedure
    until (InventoryFull);
     if (InventoryFull) then
      DropTo(2,28)
      end;
    end.

  13. #13
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    SCAR Code:
    program Powercutter;
    {.include SRL\SRL.SCAR}

    const
    TreeColor= '2906184'; //Color of tree


    ////////////////Finding Tree/////////////////

    Procedure FindTree;
    begin;
     if FindColor(x,y,TreeColor,0,0,765,500)then
      Wait(2000+random(234))
       Mouse(x,y,10,13,true)
    end;

    begin // Main loop
    repeat
     FindTree; // Calling The Procedure
    until (InventoryFull);
     if (InventoryFull) then
      DropTo(2,28)
      end;
    end.

    Get rid of the '' in

    SCAR Code:
    TreeColor= '2906184';

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Auto Dropper
    By Oranges_Exist in forum RS3 Outdated / Broken Scripts
    Replies: 4
    Last Post: 05-10-2008, 10:33 PM
  2. Auto Dropper Help
    By lilmike in forum OSR Help
    Replies: 3
    Last Post: 09-04-2007, 11:22 PM
  3. auto dropper
    By Flame Guard in forum RS3 Outdated / Broken Scripts
    Replies: 4
    Last Post: 06-13-2007, 02:18 PM
  4. auto dropper need help
    By phonokin in forum OSR Help
    Replies: 3
    Last Post: 01-19-2007, 04:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •