Results 1 to 15 of 15

Thread: ChooseOption not working.

  1. #1
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default ChooseOption not working.

    ChooseOption is not working at all for me. I want to have my script right click on items and bank it but upon right clicking and calling the ChooseOption function, nothing happens. It just completely skips it and the script continues.

    Also when I try to open a bank booth, it will right click the bank booth and pause, and then continue searching for bank booths, even though it right clicked on one. It isn't clicking any of the options, which leads me to believe ChooseOption isn't working.

    I don't know if this is a problem with SRL or if it is a problem with me, but it isn't working, and yes everything is up to date.
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Forgot the name, but right click something and call the function that reads the options and have it writeln what it reads.

  3. #3
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    But with OpenBank it should select the option, no?
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  4. #4
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    writeln(getchooseoptions);

    add a 100-200msec wait before that.

  5. #5
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    writeln(getchooseoptions);
    [Error] (360:27): Invalid number of parameters at line 359
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  6. #6
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Quote Originally Posted by cycrosism View Post
    [Error] (360:27): Invalid number of parameters at line 359
    function GetChooseOptions(TextType: string): Array of TOptions;

    Not sure what the TextType is..

  7. #7
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    function GetChooseOptions(TextType: string): Array of TOptions;

    Not sure what the TextType is..
    I tried finding the correct text but it didn't find it.

    Also, does OpenBank work for anyone else? Could someone else try it at Varrock East bank

    Simba Code:
    OpenBank('veb', true, true);

    And tell me if it opens the bank?
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  8. #8
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Best to just ACA and make own, are you graphics/color settings all proper?
    I have heard a few complaints about CooseOption being messed up, but not very many, and as far as I know most scripts are working just fine because otherwise there would be 9999 threads complaining about it.

  9. #9
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Best to just ACA and make own, are you graphics/color settings all proper?
    I have heard a few complaints about CooseOption being messed up, but not very many, and as far as I know most scripts are working just fine because otherwise there would be 9999 threads complaining about it.
    Graphics settings at the moment are on:

    Fixed screen size, on "Min" setup
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  10. #10
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Highest Brightness?

  11. #11
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Brightness is up all the way, settings currently are on this:

    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  12. #12
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    Simba Code:
    Program New;
      {$i SRL/srl.simba}
    Begin
    SetupSRL;
    ActivateClient;
    If OpenBank('veb', true, false) Then
      WriteLn('success');
    End.

    Worked; opened bank, with no error.

    Progress Report:
    SRL Compiled in 0 msec
    success
    Successfully executed.

  13. #13
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Hmm I don't know how to fix it then, I just tried getting it to work on my laptop but SMART opens and the script doesn't detect the Runescape client and it just hits 3 minutes and stops.

    I'll see if I can figure something out
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  14. #14
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

  15. #15
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    GetChooseOptions(TextType: string)

    TextType doesn't do anything... was left for compatibility reasons. So really u can just do '' in it.
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

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
  •