Results 1 to 9 of 9

Thread: I need good drop procedure(first script)

  1. #1
    Join Date
    Aug 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default I need good drop procedure(first script)

    Problem solved thnx for helping

  2. #2
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm thinking it would be
    Code:
    if FindColourSpiralTolerance(x,y,tol,col,true) then
    begin
    Mouse(x,y,2,2,false)
    ClickText ('Drop')
    Just my two cents

  3. #3
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Nah use dtm's of logs. Make the dtm with only the black outline, and it will work for all logs. Then use find item in inventory dtm, something like that check inventory.scar and then mouse false, option drop. Basically it's all in srl. Look at a powerminer/cutter if you're still confused.

  4. #4
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    first include SRL like this in beginning of a script
    Code:
    {.include srl/srl.scar}
    then add in ur main loop first command:

    Code:
    setupsrl;
    now u have included srl if u have already done this then just add to the line u want to drop:

    Code:
    Dropall;
    example:

    SCAR Code:
    Program powercutter;

    {.include srl/srl.scar} //the include

    procedure cut; //ur cutting procedure
    begin
    cut cut;
    end;

    begin  //main loop

    setupsrl; //to activate the include

    repeat //repeating the procedure until inventory is full

    cutcut; //cut trees, chop chop lol

    until(invfull) //until inventory full then it drops.

    Dropall; //now it will drop

    nextplayer; //a little advance but it changes player remove if u want

    end.

    something like that

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  5. #5
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Be careful with dropall, because it will drop alll. Including axe if it's not equipped, and anything good you get from randoms.

  6. #6
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Theese are some good/easy procedures to use:
    SCAR Code:
    DropTo(1,28)//from first inven slot to last
    SCAR Code:
    DropTo(2,28)//from second inven slot ti last

    Or you can use bitmap masks of the object.

    SCAR Code:
    Var
      Clay, OreMask : integer;

    Procedure LoadBitmaps;
    Begin
      Clay := BitmapFromString(4, 4, '86714C89734D8B7650907A52978' +
           '1569781569A8357957E55A1895CA38B5D9F875B9C8559AC9262A8' +
           '8F60A58D5FA1895C');

      OreMask := BitmapFromString(11, 11, 'z78DA73730301033070436' +
           '2238B60024C35B84CC0A5923C13F0BB937813F0EB22DE04CC5022' +
           'CF04CADD404CC890EA0BFCE2F85D4E4C6A212FF470998FCC0600F' +
           'B599CC1');
    End;

    Procedure DropOres;
    Begin
      If (invfull) = True Then
      DwarfItem;
      ClickAllItemsBmpMaskTolWait('rop', OreMask, 20, 25, 30 + Random(30));
      ClickAllItemsBmpTolWait('rop', Clay, 10, 30 + Random(30));
    End;


    This will also work. Im not sure if your going to need to change the bitmap masks though.

  7. #7
    Join Date
    Aug 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thnx for all feed back i ended up just using simple DropTO (2,28); procedure but when i put it in script i get wierd error if u wanna see script cause im not sure how to explain it ud have to see script then ill pm it to u just psot here if u wanna help and ill pm it

  8. #8
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    PM it to me ill be glad to fix, but it wont be fixed untill later, ill be out for a little.

  9. #9
    Join Date
    Aug 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh nvm i forgot to put until false lol but ty for ofering

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Drop Procedure
    By HempLord in forum OSR Help
    Replies: 12
    Last Post: 04-16-2008, 06:18 PM
  2. Drop procedure?
    By iambowling247 in forum OSR Help
    Replies: 16
    Last Post: 12-09-2007, 04:35 PM
  3. Easiest Drop procedure lol
    By destroyface in forum Research & Development Lounge
    Replies: 25
    Last Post: 08-31-2007, 09:20 PM
  4. Drop All Procedure?
    By Rune Hacker in forum OSR Help
    Replies: 13
    Last Post: 04-08-2007, 02:11 AM
  5. Drop Procedure
    By TheGodfather in forum OSR Help
    Replies: 6
    Last Post: 02-13-2007, 06:59 PM

Posting Permissions

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