Need help with dropping.

Discussion in 'Scar/Simba Help' started by xminimanx, Apr 24, 2008.

Need help with dropping.
  1. Unread #1 - Apr 24, 2008 at 3:52 PM
  2. xminimanx
    Referrals:
    0

    xminimanx Guest

    Need help with dropping.

    Ok so I made a script, thanks to the tut on this site :) But I have no Idea how to make the script drop the ores take a look
    (its pretty simple)

    --------------------------------------------------------------------------

    program ScottysPowerminer;

    Var
    i,x,y: Integer;

    Const
    RockColor1= 8421770;//Set the color of the Rock
    RockCOlor2= 8421770;//Set another color of the Rock
    Orecolor= 3559008;//The Color of ore you are dropping


    Procedure Introduction;
    begin
    ClearDebug;
    Writeln('Hi, welcome to ScottysPowerminer!');
    Wait(1000);
    Writeln('Please let me know if there are any bugs, and enjoy your autoing!');
    end;

    Procedure Mine;
    begin
    i:= 0;
    repeat
    i:= i + 1;
    If(FindColor(x,y,Rockcolor1,0,0,517,337)) and
    (FIndColor(x,y,RockColor2,0,0,517,337)) then
    begin
    Writeln('Now Mining')
    MoveMouseSmoothEx(x,y +random(0),20,40,45,25,20);
    ClickMouse(x,y,true);
    Wait(10000+random(500));
    end;
    until(false);
    end;

    begin
    Introduction;
    Mine;
    End.

    --------------------------------------------------------------------------
    As you can see, I put "Orecolor" in the const area because thats what I want it to be (if you get what I mean) Any ideas on how to write a dropping procedure for this?
    Thanks
     
  3. Unread #2 - Apr 28, 2008 at 5:28 PM
  4. Jethr0x
    Joined:
    Jan 24, 2007
    Posts:
    3,070
    Referrals:
    13
    Sythe Gold:
    0

    Jethr0x Grand Master
    Banned

    Need help with dropping.

    this script = ban.

    use SRL.
     
< Stop pming me for help with scar | unfinished fire crafter script >

Users viewing this thread
1 guest


 
 
Adblock breaks this site