Results 1 to 10 of 10

Thread: stupid question about 'chooseOption(' ' )'

  1. #1
    Join Date
    Feb 2012
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default stupid question about 'chooseOption(' ' )'

    im making my summoning script and im trying to make it choose the option 'infuse-all' i wrote it like this

    Simba Code:
    MouseBox(45, 68, 82, 116, 0);
      Mouse(x, y, 5, 5, True);
      wait(randomrange(200,500));
     ChooseOption('infuse-all');
      Wait(RandomRange(2500,3500));

    i also tried stuff like

    Simba Code:
    ChooseOption('nfuse-al');
    ChooseOption('fuse-a');
    ChooseOption('-all');
    but it doesnt work.... what am i doing wrong? the mouse jut right click, choose no option(like if it doesnt find the right one)

    thanks

  2. #2
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    try and use WaitOptionMulti, much more efficient and will cut down some of the lines of your code

    Simba Code:
    MouseBox(45, 68, 82, 116, 0);
      //Mouse(x, y, 5, 5, True);  Left clicks?
      Mouse(x, y, 5, 5, mouse_Right);
      WaitOptionMulti(['nfus', 'se-all'],1500);
      Wait(RandomRange(2500,3500));

    Make sure it is all the correct case like spacing, capital letters etc.

  3. #3
    Join Date
    Feb 2012
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    didnt work =( i made it

    Simba Code:
    MouseBox(45, 68, 82, 116, 0);
       Mouse(x, y, 5, 5, mouse_Right);
       WaitOptionMulti(['Infuse-All','Infuse-Al','nfus','nfuse-A','nfuse- Al','nfuse - Al','nfuse -Al', 'se-All','Al'],1500);
        Wait(RandomRange(2500,3500))

    i dont get why it doesnt clcik the 'infuse-all' option
    Last edited by ogustuce; 08-04-2012 at 02:14 AM.

  4. #4
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    Are you able to post the whole code/at least the procedure here?
    How far through said procedure does it get before it stuffs up and what does it do instead of clicking the option?

  5. #5
    Join Date
    Feb 2012
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    i sent u the procedure

  6. #6
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Add writeln's throughout the procedure, so u can see where its screwing up.
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  7. #7
    Join Date
    Feb 2012
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    ik where it messes up =p. my procedure steps are simple:
    1) click the obelisk
    2)right click the pouch image
    3) left click the option 'Infuse-All' <--- thats where it screws up. i doesnt even hover the options (winch are Infuse , Infuse-10, Infuse-All, Infuse-X). when the options pops up, the mouse just move away then left click the pouch image again
    Last edited by ogustuce; 08-05-2012 at 01:48 AM.

  8. #8
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try using GetChooseOptions to check if it finds the option when you right click.

  9. #9
    Join Date
    Nov 2011
    Location
    United states
    Posts
    516
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by ogustuce View Post
    ik where it messes up =p. my procedure steps are simple:
    1) click the obelisk
    2)right click the pouch image
    3) left click the option 'Infuse-All' <--- thats where it screws up. i doesnt even hover the options (winch are Infuse , Infuse-10, Infuse-All, Infuse-X). when the options pops up, the mouse just move away then left click the pouch image again
    Edit: ops you wrote:
    Simba Code:
    MouseBox(45, 68, 82, 116, 0);
      Mouse(x, y, 5, 5, True);
      wait(randomrange(200,500));
     ChooseOption('infuse-all');
      Wait(RandomRange(2500,3500));

    Try:
    Simba Code:
    MouseBox(45, 68, 82, 116, 0);
    wait(randomrange(200,500));//just incase you lagg
      Mouse(x, y, 5, 5, False);//false
      wait(randomrange(200,500));
     ChooseOption('infuse-all');
      Wait(RandomRange(2500,3500));

    could you maybe post your script or the part where this is used to see if it is something else that is affecting it?

  10. #10
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    Helped via PM, I think this is all sorted now

Thread Information

Users Browsing this Thread

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

Posting Permissions

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