Results 1 to 14 of 14

Thread: Help plz im fairly new to scar

  1. #1
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help plz im fairly new to scar

    ok i have read the stick tut and i am trying tomake my own port sarim willow chopper n dropper i can get it cut 1 tree when standing in the right place will post pics and i need to know hw to get it to cut more than 1 tree until 27 in ur inventory (its small atm the script)

    program Firstscriptwillowcutteranddropper;
    begin
    movemouse(114,138);
    wait(200);
    clickmouse(114,138,true);
    end.

  2. #2
    Join Date
    Jan 2007
    Location
    Uk
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Read the SRl manual and use their procedures instead of clickmouse and movemouse.
    You may want to use colors instead at a later date.
    Also to repeat use:

    SCAR Code:
    program Firstscriptwillowcutteranddropper;
    begin
    repeat
    movemouse(114,138);
    wait(200);
    clickmouse(114,138,true);
    until (InvFull)
    end.


    Good Luck =]

  3. #3
    Join Date
    Jun 2006
    Location
    Tennessee, USA
    Posts
    2,603
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    oh wow lol. you have alot of work to do. what you posted will get you banned so fast its not even funny. there would be no way i can help you without me having to write pretty much a tut. and since there are already tuts that could help you, i suggest you to go look at some tuts.

  4. #4
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    for serious dude ok this is what i have to say:

    first of all the procedure for moving the mouse in srl is MMouse
    and ClickMouse=Mouse;

    Now What your gunna have to do is split your script into at least 3 sections recommended much more;

    AntiRandoms, CutTheTrees, Drop the logs --thats is at the simplest!

    Now All antirandoms can be found in the manual --the link is on the main forums page--

    Now to cut the logs your gunna need a procedure like this

    SCAR Code:
    program Example;
    {.include srl/srl.scar}
    {.include srl/srl/skill/woodcutting.scar}

    const WillowColor = (WillowColorHere);
          TimeTowait=(TimeToWaitBe4ClickingOnAnotherTree);
         
    var WX,WY : integer;

    procedure CutTheLogs;
    begin
    repeat
    FindColorSpiral(WX,WY,(WillowColor)6,6,310,536);
    Mmouse(WX,WY,0,0);
    Mouse(WX,WY,0,0,true);
    wait((TimeToWait)+random(500));
    until(InvFull);
    end;

    Procedure DropTheLogs;
    begin
    DropAllLogs;
    end;

    begin
    repeat
    CutTheLogs;
    DropAllLogs
    until(false);
    end.

    Thats about as simple as it can get you must also add antirandoms after you click on the tree and while dropping the logs...

    Join the fastest growing merchanting clan on the the net!

  5. #5
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks i have read the tut 3 times lol

  6. #6
    Join Date
    Dec 2006
    Location
    Helsinki, Finland
    Posts
    177
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  7. #7
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this script all went wrong check out my new 1 i need to add randoms it in this board

  8. #8
    Join Date
    Jun 2006
    Location
    Tennessee, USA
    Posts
    2,603
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    Quote Originally Posted by pwnaz0r View Post
    for serious dude ok this is what i have to say:
    first of all the procedure for moving the mouse in srl is MMouse
    and ClickMouse=Mouse;
    well i dont wanna sound like a know it all or nothing but thats wrong.
    Mouse= Moves the mouse to a specified location then clicks. the procedure that just clicks the mouse is CMouse

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

    Default

    Clickmouse is bad. If you just want to just click then do

    getmousepos(x,y)
    mouse(x,y,0,0true)

    This will click exactly where the mouse currently is (no randomness here because I assume there was randomness when moving to the spot).

  10. #10
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this scripts wazzzzzzzzzzz rubish check my new 1 i just need to add randoms then ill release

  11. #11
    Join Date
    Jun 2006
    Location
    Tennessee, USA
    Posts
    2,603
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    Quote Originally Posted by Boreas View Post
    Cmouse is bad. If you just want to click then do

    getmousepos(x,y)
    mouse(x,y,0,0true)

    This will click exactly where the mouse currently is (no randomness here because I assume there was randomness when moving to the spot).
    whats wrong with CMouse?

  12. #12
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mjordan View Post
    whats wrong with CMouse?
    It adds no randomness to the click so it clicks at the exact location the mouse is at every time. Therefore making it very detectable Mouse adds a randomness to the x, and y values.
    SUMMER BREAK be back when I want to

  13. #13
    Join Date
    Jun 2006
    Location
    Tennessee, USA
    Posts
    2,603
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    oh ok, thanks whales

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

    Default

    Oops I meant clickmouse, nvm.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need fairly advanced c++ help
    By syberium in forum C/C++ Help and Tutorials
    Replies: 8
    Last Post: 07-18-2007, 03:39 AM
  2. fairly easy
    By the flea in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 05-09-2007, 06:32 PM
  3. Probably fairly simple script needed
    By vycoex in forum RS3 Outdated / Broken Scripts
    Replies: 12
    Last Post: 04-30-2007, 06:07 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
  •