Page 1 of 2 12 LastLast
Results 1 to 25 of 38

Thread: Chooseoption help

  1. #1
    Join Date
    Aug 2008
    Location
    Illinois
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Chooseoption help

    if i want it to click on drop logs do i do chooseoption('rop')? cause thats not working for me someone help plz

  2. #2
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Brianb View Post
    if i want it to click on drop logs do i do chooseoption('rop')? cause thats not working for me someone help plz
    Post your script ?
    First you need to move the mouse there ,
    SCAR Code:
    Mouse(x, y, 3, 3, False);
    Wait(100 + Random(100));
    ChooseOption('rop');
    Hope this helps ..
    ~Eerik~

  3. #3
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    if you have already made it rightclick then you will want it to wait because SCAR is to fast for the rs client

    so once you have made it rightclick make it wait 400+random(400) before calling ChooseOption
    that way it will have time for the menu to appear

    ~shut

  4. #4
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    if you have already made it rightclick then you will want it to wait because SCAR is to fast for the rs client

    so once you have made it rightclick make it wait 400+random(400) before calling ChooseOption
    that way it will have time for the menu to appear

    ~shut
    (400 + random (400)) is a bit too much imo .. but it depends on connection speed , too .
    ~Eerik~

  5. #5
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by heavenzeyez1 View Post
    (400 + random (400)) is a bit too much imo .. but it depends on connection speed , too .
    ~Eerik~
    i use 400+random(400) all the time and it seems fast and reliable to me
    never missed a ChooseOption ever

    ~shut

  6. #6
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    i use 400+random(400) all the time and it seems fast and reliable to me
    never missed a ChooseOption ever

    ~shut
    tbh i'm using (100 + random(51)) and i've never failed , it's like almost 6 times faster , too ? :O
    But nvm , what matters, is that it won't miss it .
    ~Eerik~

  7. #7
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lol. I use Wait(75);

    I don't see a need for randomness =]

    I'm a fast clicker.

  8. #8
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  9. #9
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Have you ever been banned for not using randomness?

  10. #10
    Join Date
    Sep 2006
    Location
    include srl/srl.scar ( aussie)
    Posts
    2,875
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes for stuffff like Mouse(234,234,0,0,true); and Wait(100) ect.

  11. #11
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So you've been banned for that?

    Show me proof where JaGex said: "You have been banned for not using random mouse movements."

  12. #12
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by TheVoiceInYourHead View Post
    So you've been banned for that?

    Show me proof where JaGex said: "You have been banned for not using random mouse movements."
    My main was banned exactly for that reason , so Sshh. (Well , they didn't write it , but i know what i did . , ALWAYS use randomness .
    ~Eerik~

  13. #13
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No, you don't know what you did.

    You assume that's what you did. When in reality, it wasn't your fault at all.

  14. #14
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  15. #15
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you're using a script, it's not your fault.

  16. #16
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by TheVoiceInYourHead View Post
    If you're using a script, it's not your fault.
    but...
    1. if he made the script himself then it was his fault for not using randomness
    2. he used the script at his own risk, so if he didnt use it then he wouldnt have got banned, therefore it was his fault

    but anyway lets not turn this into an argument

    ~shut

  17. #17
    Join Date
    Aug 2008
    Location
    Illinois
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    procedure droplogs;
    begin
    if (findcolor(x, y, treeininvcolor, 0, 0, 1000, 700)) then
    begin
    mouse(x, y, 5, 5, false);
    wait(5000+random(500));
    chooseoption('rop');
    end;
    end;

    still doesn't work

  18. #18
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    why don't you use dtm's, its alot more reliable, or just use the srl drop function that works pretty good for me
    “Ignorance, the root and the stem of every evil.”

  19. #19
    Join Date
    Aug 2008
    Location
    Illinois
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok whats the srl drop function?

  20. #20
    Join Date
    Aug 2008
    Location
    Illinois
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok i made a whole new script just for you guys
    program New;
    {.include srl/srl.scar}
    var
    x, y:integer;
    begin
    setupSRL;
    if (findcolor (x, y, 4358821, 552, 210, 730, 459)) then
    mouse(x, y, 5 ,5, false);
    wait(2500+random(500));
    if chooseoption('rop') then
    writeln('script succesfull')
    else
    writeln('not found')
    end.


    and this was the debug box:
    Successfully executed
    Successfully compiled (3357 ms)
    SRL Compiled in 16 msec
    not found
    Successfully executed
    Successfully compiled (3325 ms)
    SRL Compiled in 15 msec
    not found
    Successfully executed
    any help?

  21. #21
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There's actually a built-in scar function in the inventory scar script. I'm finding it now.

    ED: Here's something quick I cooked up:
    SCAR Code:
    program New;
    {.include SRL\SRL.scar}

    const
      LogColor = ''; //Color of the log you want to drop.

    var
      x, y: Integer;
     
    begin
      SetupSRL;
      ClickAllItems(LogColor, 'color', 'Drop', 120, [0]);
    end.

    You just need to change the const LogColor to the color of the log. Make sure it's a unique color only to that type of log. I recommend using DTMs though.

    If you want to use Bitmaps, however, use this:
    SCAR Code:
    program New;
    {.include SRL\SRL.scar}

    const
      LogName = ''; //Normal, Oak, Willow, Maple, or Yew

    var
      x, y, LogBMP: Integer;

    begin
      SetupSRL;
      case LowerCase(LogName) of
        'normal': LogBMP := srl_GetBitmap(56);
        'oak': LogBMP := srl_GetBitmap(57);
        'willow': LogBMP := srl_GetBitmap(58);
        'maple': LogBMP := srl_GetBitmap(59);
        'yew': LogBMP := srl_GetBitmap(60);
      end;
      ClickAllItems(LogBMP, 'bitmap', 'Drop', 120, [0]);
    end.

  22. #22
    Join Date
    May 2008
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    did it move the mouse to the log? If not then its your colors, not the srl chooseoption thingy

  23. #23
    Join Date
    Apr 2007
    Location
    Here
    Posts
    109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    imo, if you're not going to use scar's drop function, I would use like a DDTM with a case situation for the main log color so that way you don't have to have multiple dtm's or bmp's, just my opinon though.
    bobbohobbo has a good walking DDTM tut that you could probably figure out how to use them from that Here
    Like:
    Code:
     function FindLog(LogUsed:String;var cx, cy; x1, y1, x2, y2: integer) boolean;
    var
    (your variables for the ddtm)
    begin
      case logused of
           'log': logcolor:= 5;
           'oak': logcolor:= 6;
      end;
    setarraylength(logsp,2);
    dtmMainPoint.color:= logcolor;
    (all the rest of the mp junk too)
    (then just leave all your subpoints alone and just make sure
    that the color is black.)
    
    (add this to the bottom)
      Log:=AddDTM(TempTDTM);
      
      result:=findDTM(Log,rx,ry,x1,y1,x2,y2);
      freeDTM(Log);
    Also don't pick too high of a tolerance or it may end up
    dropping a log it's not supposed to which isn't bad if you want to drop all. You
    could also use this if you wanted to burn logs or fletch them.

    then all you need to do is add it into whatever procedure you need it to do such as your burning and fletching or just droping instead of that findcolor that you used you would use the function you made.

  24. #24
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lol. You don't need a DDTM for a static object. Especially with logs, because all logs are the same shape, just the main point are different colors. I suggest using plain old DTMs or the DropTo function =]

  25. #25
    Join Date
    Apr 2007
    Location
    Here
    Posts
    109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you use a DDTM you don't have to make a bunch of dtm's you only have to make one DDTM and then use the case to assign the midpoint color, which is what I suggested.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ChooseOption
    By Harry in forum OSR Help
    Replies: 12
    Last Post: 03-03-2008, 04:20 AM
  2. Hwo to use ChooseOption
    By PwNZoRNooB in forum OSR Help
    Replies: 3
    Last Post: 04-29-2007, 09:22 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
  •